From: Heikki Levanto Date: Tue, 21 Apr 2015 13:05:11 +0000 (+0200) Subject: LOC-5: Added a lot of new databases X-Git-Tag: v0.5~13 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=7a968011cd557e3f962ef3423f276cc6a5294479;p=mp-sparql-moved-to-github.git LOC-5: Added a lot of new databases person, meeting, agent, event, organization, topic --- diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index 55ebfc6..7277edb 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -1,6 +1,7 @@ - + + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ @@ -69,7 +70,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} @@ -78,6 +79,78 @@ ?place bf:label %v FILTER(contains(%v, %s)) ?place bf:label %v FILTER(contains(%v, %s))
+ + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns + bf: http://bibframe.org/vocab/ +
SELECT DISTINCT ?label ?id ?person ?relatedTo ?authorizedAccessPoint
+ ?person a bf:Person + ?person bf:label ?label + OPTIONAL { ?person bf:identifier ?id} + OPTIONAL { ?person bf:relatedTo ?relatedTo} + OPTIONAL { ?person bf:authorizedAccessPoint ?authorizedAccessPoint} + ?person bf:label %v FILTER(contains(%v, %s)) + ?person bf:label %v FILTER(contains(%v, %s)) +
+ + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns + bf: http://bibframe.org/vocab/ +
SELECT DISTINCT ?label ?id ?meeting ?relatedTo ?authorizedAccessPoint
+ ?meeting a bf:Meeting + ?meeting bf:label ?label + OPTIONAL { ?meeting bf:identifier ?id} + OPTIONAL { ?meeting bf:relatedTo ?relatedTo} + OPTIONAL { ?meeting bf:authorizedAccessPoint ?authorizedAccessPoint} + ?meeting bf:label %v FILTER(contains(%v, %s)) + ?meeting bf:label %v FILTER(contains(%v, %s)) +
+ + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns + bf: http://bibframe.org/vocab/ +
SELECT DISTINCT ?label ?id ?agent ?relatedTo ?authorizedAccessPoint
+ ?agent a bf:Agent + ?agent bf:label ?label + OPTIONAL { ?agent bf:identifier ?id} + OPTIONAL { ?agent bf:relatedTo ?relatedTo} + OPTIONAL { ?agent bf:authorizedAccessPoint ?authorizedAccessPoint} + ?agent bf:label %v FILTER(contains(%v, %s)) + ?agent bf:label %v FILTER(contains(%v, %s)) +
+ + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns + bf: http://bibframe.org/vocab/ +
SELECT DISTINCT ?label ?id ?event ?relatedTo ?authorizedAccessPoint
+ ?event a bf:Event + ?event bf:label ?label + OPTIONAL { ?event bf:identifier ?id} + OPTIONAL { ?event bf:relatedTo ?relatedTo} + OPTIONAL { ?event bf:authorizedAccessPoint ?authorizedAccessPoint} + ?event bf:label %v FILTER(contains(%v, %s)) + ?event bf:label %v FILTER(contains(%v, %s)) +
+ + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns + bf: http://bibframe.org/vocab/ +
SELECT DISTINCT ?label ?id ?organization ?relatedTo ?authorizedAccessPoint
+ ?organization a bf:Organization + ?organization bf:label ?label + OPTIONAL { ?organization bf:identifier ?id} + OPTIONAL { ?organization bf:relatedTo ?relatedTo} + OPTIONAL { ?organization bf:authorizedAccessPoint ?authorizedAccessPoint} + ?organization bf:label %v FILTER(contains(%v, %s)) + ?organization bf:label %v FILTER(contains(%v, %s)) +
+ + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns + bf: http://bibframe.org/vocab/ +
SELECT DISTINCT ?label ?id ?topic ?relatedTo ?authorizedAccessPoint
+ ?topic a bf:Topic + ?topic bf:label ?label + OPTIONAL { ?topic bf:identifier ?id} + OPTIONAL { ?topic bf:relatedTo ?relatedTo} + OPTIONAL { ?topic bf:authorizedAccessPoint ?authorizedAccessPoint} + ?topic bf:label %v FILTER(contains(%v, %s)) + ?topic bf:label %v FILTER(contains(%v, %s)) +
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/