Created
January 18, 2022 06:45
-
-
Save rnsrk/e20077d1c295e7054b7e15e8e28c7feb 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 ?aNote ?bNote ?cNote where { | |
{ | |
service <https://graphdb.nasarek.org/repositories/Adapter_1> | |
{ | |
?A rdf:type ontology_1:E21_Person ; | |
ontology_1:P1_is_identified_by ?a ; | |
ontology_1:P2_has_type ?b . | |
?a ontology_1:P3_has_note ?aNote . | |
?b ontology_1:P3_has_note ?bNote . | |
} | |
} UNION { | |
service <https://graphdb.nasarek.org/repositories/Adapter_3> | |
{ | |
?B rdf:type ontology_1:E20_Biological_Object ; | |
ontology_1:P1_is_identified_by ?a ; | |
ontology_1:P56_bears_feature ?c . | |
?a ontology_1:P3_has_note ?aNote . | |
?c ontology_1:P3_has_note ?cNote . | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment