Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PREFIX g: <http://www.semanticweb.org/anato/ontologies/2017/7/untitled-ontology-186#>
- SELECT DISTINCT *
- WHERE {
- ?p1 (g:hasGoodRel|^g:hasGoodRel)|(g:hasBadRel|^g:hasBadRel) ?p2.
- ?p2 (g:hasGoodRel|^g:hasGoodRel)|(g:hasBadRel|^g:hasBadRel) ?p3.
- ?p3 (g:hasGoodRel|^g:hasGoodRel)|(g:hasBadRel|^g:hasBadRel) ?p1
- FILTER(STR(?p1) < STR(?p2) && STR(?p2) < STR(?p3))
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement