From: Heikki Levanto Date: Fri, 8 May 2015 09:40:45 +0000 (+0200) Subject: typo X-Git-Tag: v0.6~31 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=cd1e5e0f93b8d769e9b19e739c64f6de321cf747;p=mp-sparql-moved-to-github.git typo --- diff --git a/bibframe/triplestore.xml b/bibframe/triplestore.xml index 25fab14..8de1293 100644 --- a/bibframe/triplestore.xml +++ b/bibframe/triplestore.xml @@ -24,11 +24,10 @@ CONSTRUCT { - ?thing ?rel ?subj + %u ?rel ?subj } WHERE { - ?thing ?rel ?subj . - ?thing ?rel ?subj FILTER( str(?thing) = %s ) + %u ?rel ?subj . } @@ -324,11 +323,11 @@ } WHERE { %u a bf:Instance . - %u ?irel1 ?iobj1 + %u ?irel1 ?iobj1 . OPTIONAL { ?iobj1 ?irel2 ?iobj2 MINUS { ?iobj2 a bf:Work } - MINUS { ?iobj2 a bf:Instance } + MINUS { ?iobj2 a bf:Instance } . OPTIONAL { ?iobj2 ?irel3 ?iobj3 MINUS { ?iobj3 a bf:Work } @@ -336,12 +335,12 @@ } } OPTIONAL { - %u bf:instanceOf ?work - ?work ?wrel1 ?wobj1 + %u bf:instanceOf ?work . + ?work ?wrel1 ?wobj1 . OPTIONAL { ?wobj1 ?wrel2 ?wobj2 MINUS { ?wobj1 a bf:Work } - MINUS { ?wobj1 a bf:Instance } + MINUS { ?wobj1 a bf:Instance } . OPTIONAL { ?wobj2 ?wrel3 ?wobj3 MINUS { ?wobj2 a bf:Work }