Skip to content

Commit

Permalink
attempt to parameterize doi
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorrit Poelen committed Dec 21, 2023
1 parent a348c4a commit 99fc756
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doi.rq
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ SELECT DISTINCT
?archiveUrl
?seenAt
WHERE
{
{
SELECT ?contentId ?seenAt ?archiveUrl ?uuid ?doi
BIND(?_doi_iri as ?doi)
{
SELECT ?contentId ?seenAt ?archiveUrl ?uuid
WHERE {
graph ?g1 {
?uuid <http://www.w3.org/ns/prov#hadMember> ?archiveUrl .
Expand All @@ -28,7 +29,7 @@ WHERE {
}
UNION
{
SELECT ?contentId ?seenAt ?archiveUrl ?uuid ?doi
SELECT ?contentId ?seenAt ?archiveUrl ?uuid
WHERE {
?uuid <http://www.w3.org/ns/prov#hadMember> ?archiveUrl .
?uuid <http://www.w3.org/1999/02/22-rdf-syntax-ns#seeAlso> ?_doi_iri .
Expand Down

0 comments on commit 99fc756

Please sign in to comment.