From: Adam Dickmeiss Date: Mon, 12 Jan 2015 12:41:48 +0000 (+0100) Subject: Database work+instance with basic Bib-1 attributes X-Git-Tag: v0.2~3 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=29b5585d478fd67ca994c6c76bc454a8e24f79f1;p=mp-sparql-moved-to-github.git Database work+instance with basic Bib-1 attributes --- diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index 47e160a..7a6f506 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -1,13 +1,32 @@ - + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns bf: http://bibframe.org/vocab/ - ?work ?wtitle + DISTINCT ?work ?wtitle ?creatorlabel ?subjectlabel ?work a bf:Work + ?work bf:workTitle ?wt ?wt bf:titleValue ?wtitle - ?wt bf:titleValue %v FILTER(contains(%v, %s)) + ?wt bf:titleValue %v FILTER(contains(%v, %s)) + ?work bf:creator ?creator + ?creator bf:label ?creatorlabel + ?creator bf:label %v FILTER(contains(%v, %s)) + ?work bf:subject ?subject + ?subject bf:label ?subjectlabel + ?subject bf:label %v FILTER(contains(%v, %s)) + + + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns + bf: http://bibframe.org/vocab/ + DISTINCT ?instance ?title ?format + ?instance a bf:Instance + + ?instance bf:title ?title + ?instance bf:title %v FILTER(contains(%v, %s)) + ?instance bf:format ?format + ?instance bf:format %s +