VIVO-491 migrating hasGeographicLocation on Addresses

This commit is contained in:
brianjlowe 2013-11-06 11:31:17 -05:00
parent 2704258977
commit 5b5bc34d1a
2 changed files with 8 additions and 0 deletions

View file

@ -11,12 +11,15 @@ CONSTRUCT {
_:address v:region ?addressState .
_:address v:postalCode ?addressPostalCode .
_:address v:country ?addressCountry .
_:address <http://purl.obolibrary.org/obo/RO_0001025> ?location .
?location <http://purl.obolibrary.org/obo/RO_0001015> _:address .
} WHERE {
?s vivo:mailingAddress ?address .
OPTIONAL { ?address vivo:addressCity ?addressCity }
OPTIONAL { ?address vivo:addressState ?addressState }
OPTIONAL { ?address vivo:addressPostalCode ?addressPostalCode }
OPTIONAL { ?address vivo:addressCountry ?addressCountry }
OPTIONAL { ?address vivo:hasGeographicLocation ?location }
?s arg:ARG_2000028 ?vcard .
OPTIONAL {
?address vivo:address1 ?address1 .

View file

@ -17,6 +17,7 @@ CONSTRUCT {
?s vivo:faxNumber ?faxNumber .
?s vivo:mailingAddress ?address .
?address ?addressP ?addressO .
?addressS ?addressQ ?address .
?s vivo:webpage ?webpage .
?webpage ?webpageP ?webpageO .
} WHERE {
@ -58,6 +59,10 @@ CONSTRUCT {
?s vivo:mailingAddress ?address .
?address ?addressP ?addressO
}
UNION {
?s vivo:mailingAddress ?address .
?addressS ?addressQ ?address
}
UNION {
?s vivo:webpage ?webpage
}