23 lines
787 B
SPARQL
23 lines
787 B
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 arg:ARG_2000028 _:vcard .
|
||
|
_:vcard arg:ARG_2000029 ?s .
|
||
|
_:vcard a v:Organization .
|
||
|
} WHERE {
|
||
|
?s a foaf:Organization
|
||
|
FILTER (
|
||
|
EXISTS { ?s vivo:email ?email } ||
|
||
|
EXISTS { ?s vivo:primaryEmail ?primaryEmail } ||
|
||
|
EXISTS { ?s vivo:phoneNumber ?phoneNumber } ||
|
||
|
EXISTS { ?s vivo:primaryPhoneNumber ?primaryPhoneNumber } ||
|
||
|
EXISTS { ?s vivo:faxNumber ?faxNumber } ||
|
||
|
EXISTS { ?s vivo:mailingAddress ?address } ||
|
||
|
EXISTS { ?s vivo:webpage ?webpage }
|
||
|
)
|
||
|
FILTER NOT EXISTS { ?s arg:ARG_2000028 ?vcardNode }
|
||
|
}
|