X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bibframe%2Ftriplestore.xml;h=3f7d34ce8a1fb20efb4bbcd320602455f7b4edb3;hb=4ac3a5c367f8a1ccf102cd2a053370f51b735bb6;hp=13eee027728ad28131677ce59e047f8bb77b725f;hpb=cca60a38323ce892b615d6643a45fc5f688e506c;p=mp-sparql-moved-to-github.git diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index 13eee02..3f7d34c 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -1,5 +1,6 @@ + @@ -70,7 +71,7 @@ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
SELECT ?label ?id ?place ?relatedTo ?authorizedAccessPoint
+
SELECT DISTINCT ?label ?id ?place ?relatedTo ?authorizedAccessPoint
?place a bf:Place ?place bf:label ?label OPTIONAL { ?place bf:identifier ?id} @@ -82,7 +83,7 @@ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
SELECT ?label ?id ?person ?relatedTo ?authorizedAccessPoint
+
SELECT DISTINCT ?label ?id ?person ?relatedTo ?authorizedAccessPoint
?person a bf:Person ?person bf:label ?label OPTIONAL { ?person bf:identifier ?id} @@ -94,7 +95,7 @@ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
SELECT ?label ?id ?meeting ?relatedTo ?authorizedAccessPoint
+
SELECT DISTINCT ?label ?id ?meeting ?relatedTo ?authorizedAccessPoint
?meeting a bf:Meeting ?meeting bf:label ?label OPTIONAL { ?meeting bf:identifier ?id} @@ -106,7 +107,7 @@ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
SELECT ?label ?id ?agent ?relatedTo ?authorizedAccessPoint
+
SELECT DISTINCT ?label ?id ?agent ?relatedTo ?authorizedAccessPoint
?agent a bf:Agent ?agent bf:label ?label OPTIONAL { ?agent bf:identifier ?id} @@ -118,7 +119,7 @@ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
SELECT ?label ?id ?event ?relatedTo ?authorizedAccessPoint
+
SELECT DISTINCT ?label ?id ?event ?relatedTo ?authorizedAccessPoint
?event a bf:Event ?event bf:label ?label OPTIONAL { ?event bf:identifier ?id} @@ -130,7 +131,7 @@ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
SELECT ?label ?id ?organization ?relatedTo ?authorizedAccessPoint
+
SELECT DISTINCT ?label ?id ?organization ?relatedTo ?authorizedAccessPoint
?organization a bf:Organization ?organization bf:label ?label OPTIONAL { ?organization bf:identifier ?id} @@ -142,7 +143,7 @@ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
SELECT ?label ?id ?topic ?relatedTo ?authorizedAccessPoint
+
SELECT DISTINCT ?label ?id ?topic ?relatedTo ?authorizedAccessPoint
?topic a bf:Topic ?topic bf:label ?label OPTIONAL { ?topic bf:identifier ?id} @@ -154,7 +155,7 @@ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
SELECT ?title ?titleValue + SELECT DISTINCT ?title ?titleValue ?formDesignation ?partNumber ?partTitle ?subtitle ?titleAttribute ?titleQualifier ?titleSource ?titleType ?titleVariationDate
@@ -174,12 +175,20 @@ ?title bf:partTitle %v FILTER(contains(%v, %s)) ?title ?rel %v FILTER(contains(str(%v), %s))
- + + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ -
DESCRIBE ?node
+
SELECT ?node ?rel ?obj
?node ?rel ?obj FILTER( str(?node) = %s )
+ + + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns + bf: http://bibframe.org/vocab/ +
SELECT ?node ?rel ?obj
+ ?node ?rel ?obj FILTER( str(?obj) = %s ) +
http