From 7a968011cd557e3f962ef3423f276cc6a5294479 Mon Sep 17 00:00:00 2001 From: Heikki Levanto Date: Tue, 21 Apr 2015 15:05:11 +0200 Subject: [PATCH] LOC-5: Added a lot of new databases person, meeting, agent, event, organization, topic --- bibframe/triplestore.xml | 77 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 75 insertions(+), 2 deletions(-) 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/ -- 1.7.10.4