Hi,
I think I found a bug with property paths and optional statements in VOS7
(DBpedia sparql endpoint)
See the following queries. Q1 runs fine but Q2 doesn't. If I remove the '+'
from Q2 (Q3) then the query returns fine again. So there seems to be a bug
with multiple optional statements and property paths
(ps the example does not make sense)
Best,
Dimitris
====
Q1
====
select * {
?class rdfs:subClassOf+ dbpedia-owl:Person .
OPTIONAL { ?class rdfs:subPropertyOf ?subproperty } .
}
====
Q2
====
select * {
?class rdfs:subClassOf+ dbpedia-owl:Person .
OPTIONAL { ?class rdfs:subPropertyOf ?subproperty } .
OPTIONAL { ?class rdfs:domain ?domain } .
OPTIONAL { ?class rdfs:range ?range } .
}
====
Q3select * {
?class rdfs:subClassOf dbpedia-owl:Person .
OPTIONAL { ?class rdfs:subPropertyOf ?subproperty } .
OPTIONAL { ?class rdfs:domain ?domain } .
OPTIONAL { ?class rdfs:range ?range } .
}
--
Kontokostas Dimitris
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users