projects
/
mp-sparql-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
One more fix in works
[mp-sparql-moved-to-github.git]
/
bibframe
/
triplestore.xml
diff --git
a/bibframe/triplestore.xml
b/bibframe/triplestore.xml
index
8de1293
..
36e49eb
100644
(file)
--- a/
bibframe/triplestore.xml
+++ b/
bibframe/triplestore.xml
@@
-21,7
+21,7
@@
<!-- The BF-L present format is the same for everything -->
<!-- The BF-L present format is the same for everything -->
- <!-- Each db is supposed to provide a dedicated BF-F present format -->
+ <!-- Each db is supposed to provide a dedicated BF-V present format -->
<present type="BF-L">
CONSTRUCT {
%u ?rel ?subj
<present type="BF-L">
CONSTRUCT {
%u ?rel ?subj
@@
-160,19
+160,19
@@
<!-- Present formats -->
<!-- BF-L comes from the "thing" template -->
<!-- Present formats -->
<!-- BF-L comes from the "thing" template -->
- <!-- BF-F expands all links, even to instances but not other works -->
- <present type="BF-F">
+ <!-- BF-V expands all links, even to instances but not other works -->
+ <present type="BF-V">
CONSTRUCT {
CONSTRUCT {
- %u ?rel ?wobj1 .
- ?wobj1 ?wrel1 ?wobj2 .
- ?wobj2 ?wrel2 ?wobj3 .
+ %u ?wrel1 ?wobj1 .
+ ?wobj1 ?wrel2 ?wobj2 .
+ ?wobj2 ?wrel3 ?wobj3 .
?inst ?irel1 ?iobj1 .
?iobj1 ?irel2 ?iobj2 .
?iobj2 ?irel3 ?iobj3
}
WHERE {
%u a bf:Work .
?inst ?irel1 ?iobj1 .
?iobj1 ?irel2 ?iobj2 .
?iobj2 ?irel3 ?iobj3
}
WHERE {
%u a bf:Work .
- %u ?rel ?wobj1 .
+ %u ?wrel1 ?wobj1 .
OPTIONAL {
?wobj1 ?wrel2 ?wobj2
OPTIONAL {
?wobj1 ?wrel2 ?wobj2
@@
-312,7
+312,7
@@
<!-- Present formats. BF-L comes from "thing" -->
<!-- Full instance, with the related work too -->
<!-- Present formats. BF-L comes from "thing" -->
<!-- Full instance, with the related work too -->
- <present type="BF-F">
+ <present type="BF-V">
CONSTRUCT {
%u ?irel1 ?iobj1 .
?iobj1 ?irel2 ?iobj2 .
CONSTRUCT {
%u ?irel1 ?iobj1 .
?iobj1 ?irel2 ?iobj2 .
@@
-363,7
+363,7
@@
<!-- but have different "any" indexes -->
<db path="smallbody" include="thing">
<!-- but have different "any" indexes -->
<db path="smallbody" include="thing">
- <present type="BF-F">
+ <present type="BF-V">
<!-- I don't think we need more than one level -->
<!--for these simple databases -->
CONSTRUCT {
<!-- I don't think we need more than one level -->
<!--for these simple databases -->
CONSTRUCT {