Created
January 18, 2022 06:44
-
-
Save rnsrk/21e6851e7c208271c8c6b8f1baab6da3 to your computer and use it in GitHub Desktop.
Part of case collection for federated queries.
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
PREFIX ontology_1: <http://ontology_1/> | |
PREFIX ontology_2: <http://ontology_2/> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
select distinct ?c where { | |
{ | |
service <https://graphdb.nasarek.org/repositories/Adapter_1> | |
{ | |
?a rdf:type ontology_1:E21_Person ; | |
ontology_1:P1_is_identified_by ?b. | |
?b ontology_1:P3_has_note ?c. | |
} | |
} UNION { | |
service <https://graphdb.nasarek.org/repositories/Adapter_3> | |
{ | |
?a rdf:type ontology_1:E20_Biological_Object ; | |
ontology_1:P1_is_identified_by ?b. | |
?b ontology_1:P3_has_note ?c. | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment