vivo/productMods/WEB-INF/ontologies/update/sparqlConstructs/deletions/vcardDel.sparql
2013-09-09 11:49:23 -04:00

58 lines
1.4 KiB
SPARQL

PREFIX arg: <http://purl.obolibrary.org/obo/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
PREFIX vivo: <http://vivoweb.org/ontology/core#>
CONSTRUCT {
?s foaf:firstName ?firstName .
?s foaf:lastName ?lastName .
?s vivo:middleName ?middleName .
?s vivo:email ?email .
?s vivo:primaryEmail ?primaryEmail .
?s vivo:phoneNumber ?phoneNumber .
?s vivo:primaryPhoneNumber ?primaryPhoneNumber .
?s vivo:faxNumber ?faxNumber .
?s vivo:mailingAddress ?address .
?address ?addressP ?addressO .
?s vivo:webpage ?webpage .
?webpage ?webpageP ?webpageO .
} WHERE {
{
?s foaf:firstName ?firstName .
}
UNION {
?s foaf:lastName ?lastName .
}
UNION {
?s vivo:middleName ?middleName
}
UNION {
?s vivo:email ?email
}
UNION {
?s vivo:primaryEmail ?primaryEmail
}
UNION {
?s vivo:phoneNumber ?phoneNumber
}
UNION {
?s vivo:primaryPhoneNumber ?primaryPhoneNumber
}
UNION {
?s vivo:faxNumber ?faxNumber
}
UNION {
?s vivo:mailingAddress ?address .
}
UNION {
?s vivo:mailingAddress ?address .
?address ?addressP ?addressO
}
UNION {
?s vivo:webpage ?webpage
}
UNION {
?s vivo:webpage ?webpage .
?webpage ?webpageP ?webpageO
}
}