Created
August 20, 2018 09:27
-
-
Save vfrico/280c3927efe2ae676d24956580fa2c11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select distinct ?s ?p1 ?p2 | |
where { | |
graph ?rGraphA { | |
?_x1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?s; | |
<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> ?p1; | |
<http://dbpedia.org/x-template> ?templateA; | |
<http://dbpedia.org/x-attribute> ?attributeA . | |
} | |
graph ?rGraphB { | |
?_x2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?s; | |
<http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> ?p2; | |
<http://dbpedia.org/x-template> ?templateB; | |
<http://dbpedia.org/x-attribute> ?attributeB . | |
} | |
} limit 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment