Note that these are CONSTRUCT queries designed to create a small Jena model for export as a whole after a series of queries has been run. The PERSON_URI variable is substituted by VIVO at runtime.
Code Block |
---|
|
Code Block |
---|
language | xml |
---|
title | Address |
---|
collapse | true |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
CONSTRUCT {
?address ?property ?object .
} WHERE {
PERSON_URI obo:ARG_2000028 ?vcard .
?vcard vcard:hasAddress ?address .
?address ?property ?object .
} |
Code Block |
---|
language | xml |
---|
title | Location of address | collapse | truelocationOfAddress.sparql |
---|
|
PREFIX core: <http://vivoweb.org/ontology/core#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
CONSTRUCT {
?geographicLocation ?property ?object .
} WHERE {
PERSON_URI obo:ARG_2000028 ?vcard .
?vcard vcard:hasAddress ?address .
?address obo:RO_0001025 ?geographicLocation .
?geographicLocation ?property ?object .
} |