VIVO-786 and VIVO-751 changes to default property annotations and 1.7 migration
This commit is contained in:
parent
67ce187eac
commit
a607b240a5
68 changed files with 9109 additions and 16475 deletions
|
@ -1,19 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?advisee <http://purl.obolibrary.org/obo/RO_0000053> _:AdviseeRole .
|
||||
_:AdviseeRole <http://purl.obolibrary.org/obo/RO_0000052> ?advisee .
|
||||
_:AdviseeRole a vivo:AdviseeRole .
|
||||
_:AdviseeRole vivo:relatedBy ?advisingRelationship .
|
||||
?advisingRelationship vivo:relates _:AdviseeRole .
|
||||
?advisingRelationship vivo:relates ?advisee .
|
||||
?advisee vivo:relatedBy ?advisingRelationship .
|
||||
} WHERE {
|
||||
?advisee vivo:adviseeIn ?advisingRelationship .
|
||||
FILTER NOT EXISTS {
|
||||
?advisee <http://purl.obolibrary.org/obo/RO_0000053> ?adviseeRoleNode .
|
||||
?adviseeRoleNode vivo:relatedBy ?advisingRelationship .
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?advisor <http://purl.obolibrary.org/obo/RO_0000053> _:AdvisorRole .
|
||||
_:AdvisorRole <http://purl.obolibrary.org/obo/RO_0000052> ?advisor .
|
||||
_:AdvisorRole a vivo:AdvisorRole .
|
||||
_:AdvisorRole vivo:relatedBy ?advisingRelationship .
|
||||
?advisingRelationship vivo:relates _:AdvisorRole .
|
||||
?advisingRelationship vivo:relates ?advisor .
|
||||
?advisor vivo:relatedBy ?advisingRelationship .
|
||||
} WHERE {
|
||||
?advisor vivo:advisorIn ?advisingRelationship .
|
||||
FILTER NOT EXISTS {
|
||||
?advisor <http://purl.obolibrary.org/obo/RO_0000053> ?advisorRoleNode .
|
||||
?advisorRoleNode vivo:relatedBy ?advisingRelationship .
|
||||
}
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?person vivo:relatedBy _:Editorship .
|
||||
_:Editorship a vivo:Editorship .
|
||||
_:Editorship vivo:relates ?person .
|
||||
_:Editorship vivo:relates ?document .
|
||||
?document vivo:relatedBy _:Editorship .
|
||||
} WHERE {
|
||||
{
|
||||
?person vivo:editorOf ?document
|
||||
} UNION {
|
||||
?document vivo:editor ?person
|
||||
FILTER NOT EXISTS { ?person vivo:editorOf ?document }
|
||||
}
|
||||
FILTER NOT EXISTS {
|
||||
?person vivo:relatedBy ?editorshipNode .
|
||||
?editorshipNode vivo:relates ?document .
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?person <http://purl.obolibrary.org/obo/RO_0000053> _:leaderRole .
|
||||
_:leaderRole <http://purl.obolibrary.org/obo/RO_0000052> ?person .
|
||||
_:leaderRole a vivo:LeaderRole .
|
||||
_:leaderRole vivo:roleContributesTo ?org .
|
||||
?org vivo:contributingRole _:leaderRole .
|
||||
} WHERE {
|
||||
{ ?person vivo:currentlyHeadOf ?org }
|
||||
UNION
|
||||
{ ?org vivo:currentlyHeadedBy ?person
|
||||
FILTER NOT EXISTS { ?person vivo:currentlyHeadOf ?org }
|
||||
}
|
||||
FILTER NOT EXISTS {
|
||||
?person <http://purl.obolibrary.org/obo/RO_0000053> ?leaderRoleNode .
|
||||
?leaderRoleNode vivo:roleContributesTo ?org .
|
||||
}
|
||||
}
|
|
@ -1,21 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?person <http://purl.obolibrary.org/obo/RO_0000053> _:memberRole .
|
||||
_:memberRole <http://purl.obolibrary.org/obo/RO_0000052> ?person .
|
||||
_:memberRole a vivo:MemberRole .
|
||||
_:memberRole vivo:roleContributesTo ?org .
|
||||
?org vivo:contributingRole _:memberRole .
|
||||
} WHERE {
|
||||
{ ?person vivo:currentMemberOf ?org }
|
||||
UNION
|
||||
{ ?org vivo:hasCurrentMember ?person
|
||||
FILTER NOT EXISTS { ?person vivo:currentMemberOf ?org }
|
||||
}
|
||||
FILTER NOT EXISTS {
|
||||
?person <http://purl.obolibrary.org/obo/RO_0000053> ?memberRoleNode .
|
||||
?memberRoleNode vivo:roleContributesTo ?org .
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
|
||||
CONSTRUCT {
|
||||
?concept a skos:Concept .
|
||||
} WHERE {
|
||||
{ ?s vivo:hasResearchArea ?concept } UNION
|
||||
{ ?s vivo:hasSubjectArea ?concept }
|
||||
FILTER NOT EXISTS {
|
||||
?concept a skos:Concept
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?role vivo:relatedBy ?grant .
|
||||
?grant vivo:relates ?role
|
||||
} WHERE {
|
||||
?role vivo:roleContributesTo ?grant .
|
||||
{ ?grant a vivo:Grant } UNION { ?grant a vivo:Contract }
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?agent <http://purl.obolibrary.org/obo/RO_0000053> _:adminRole .
|
||||
_:adminRole a vivo:AdministratorRole .
|
||||
_:adminRole <http://purl.obolibrary.org/obo/RO_0000052> ?agent .
|
||||
_:adminRole vivo:relatedBy ?grant .
|
||||
?grant vivo:relates _:adminRole .
|
||||
?grant vivo:relates ?agent .
|
||||
?agent vivo:relatedBy ?grant .
|
||||
} WHERE {
|
||||
{ ?agent vivo:administers ?grant }
|
||||
UNION
|
||||
{ ?grant vivo:administeredBy ?agent
|
||||
FILTER NOT EXISTS { ?agent vivo:administers ?grant }
|
||||
}
|
||||
FILTER NOT EXISTS {
|
||||
?agent <http://purl.obolibrary.org/obo/RO_0000053> ?adminRoleNode .
|
||||
?adminRoleNode a vivo:AdministratorRole .
|
||||
?adminRoleNode vivo:relatedBy ?grant .
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
|
||||
CONSTRUCT {
|
||||
?s vivo:orcidId ?orcidURI .
|
||||
?orcidURI a owl:Thing .
|
||||
} WHERE {
|
||||
?s vivo:orcidId ?orcidString
|
||||
FILTER(isLiteral(?orcidString))
|
||||
FILTER (regex(str(?orcidString), "^[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9]([0-9]|X)$"))
|
||||
BIND(IRI(concat("http://orcid.org/", str(?orcidString))) AS ?orcidURI)
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?agent vivo:relatedBy ?grant .
|
||||
?grant vivo:relates ?agent
|
||||
} WHERE {
|
||||
?agent <http://purl.obolibrary.org/obo/RO_0000053> ?role .
|
||||
?role vivo:relatedBy ?grant .
|
||||
{ ?grant a vivo:Grant } UNION { ?grant a vivo:Contract }
|
||||
FILTER NOT EXISTS { ?grant vivo:relates ?agent }
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?awardReceipt vivo:assignedBy ?org .
|
||||
?org vivo:assigns ?awardReceipt .
|
||||
} WHERE {
|
||||
?org vivo:assigns ?award .
|
||||
?award a vivo:Award .
|
||||
?org a foaf:Organization .
|
||||
?awardReceipt vivo:relates ?award .
|
||||
?awardReceipt a vivo:AwardReceipt .
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> _:awardedDegree .
|
||||
_:awardedDegree <http://purl.obolibrary.org/obo/RO_0002353> ?educationalProcess .
|
||||
_:awardedDegree a vivo:AwardedDegree .
|
||||
_:awardedDegree vivo:relates ?degree .
|
||||
?degree vivo:relatedBy _:awardedDegree .
|
||||
_:awardedDegree vivo:relates ?person .
|
||||
?person vivo:relatedBy _:awardedDegree .
|
||||
_:awardedDegree vivo:assignedBy ?org .
|
||||
?org vivo:assigns _:awardedDegree .
|
||||
} WHERE {
|
||||
?person <http://purl.obolibrary.org/obo/RO_0000056> ?educationalProcess .
|
||||
?person a foaf:Person .
|
||||
?educationalProcess a vivo:EducationalProcess .
|
||||
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> ?degree .
|
||||
?degree a vivo:AcademicDegree .
|
||||
OPTIONAL {
|
||||
?educationalProcess <http://purl.obolibrary.org/obo/RO_0000057> ?org .
|
||||
?org a foaf:Organization
|
||||
}
|
||||
FILTER NOT EXISTS {
|
||||
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> ?awardedDegreeNode .
|
||||
?person vivo:relatedBy ?awardedDegreeNode .
|
||||
}
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?educationalProcess <http://purl.obolibrary.org/obo/BFO_0000055> ?role .
|
||||
?role <http://purl.obolibrary.org/obo/BFO_0000054> ?educationalProcess .
|
||||
} WHERE {
|
||||
?educationalProcess vivo:contributingAdvising ?advising .
|
||||
?person <http://purl.obolibrary.org/obo/RO_0000056> ?educationalProcess .
|
||||
?person a foaf:Person .
|
||||
?educationalProcess a vivo:EducationalProcess .
|
||||
?advising vivo:relates ?role .
|
||||
?role a <http://purl.obolibrary.org/obo/BFO_0000023> .
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?s arg:ARG_2000028 _:vcard .
|
||||
_:vcard arg:ARG_2000029 ?s .
|
||||
_:vcard a v:Individual .
|
||||
} WHERE {
|
||||
?s a foaf:Person
|
||||
FILTER (
|
||||
EXISTS { ?s foaf:firstName ?firstName } ||
|
||||
EXISTS { ?s foaf:lastName ?lastName } ||
|
||||
EXISTS { ?s vivo:middleName ?middleName } ||
|
||||
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 } ||
|
||||
EXISTS { ?s vivo:preferredTitle ?preferredTitle } ||
|
||||
EXISTS { ?s bibo:prefixName ?prefixName } ||
|
||||
EXISTS { ?s bibo:suffixName ?suffixName }
|
||||
)
|
||||
FILTER NOT EXISTS { ?s arg:ARG_2000028 ?vcardNode }
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
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 }
|
||||
}
|
|
@ -1,22 +0,0 @@
|
|||
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:Group .
|
||||
} WHERE {
|
||||
?s a foaf:Group
|
||||
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 }
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
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#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
|
||||
CONSTRUCT {
|
||||
?s arg:ARG_2000028 _:vcard .
|
||||
_:vcard arg:ARG_2000029 ?s .
|
||||
_:vcard a v:Kind .
|
||||
} WHERE {
|
||||
?s a owl:Thing
|
||||
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 }
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?vcard v:hasTitle _:title .
|
||||
_:title a v:Title .
|
||||
_:title v:title ?preferredTitle .
|
||||
} WHERE {
|
||||
?s <http://vivoweb.org/ontology/core#preferredTitle> ?preferredTitle .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasTitle ?title
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?vcard v:hasName _:name .
|
||||
_:name a v:Name .
|
||||
_:name v:givenName ?firstName .
|
||||
} WHERE {
|
||||
?s foaf:firstName ?firstName .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasName ?name
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?name v:givenName ?firstName .
|
||||
} WHERE {
|
||||
?s foaf:firstName ?firstName .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
?vcard v:hasName ?name
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?vcard v:hasName _:name .
|
||||
_:name a v:Name .
|
||||
_:name vivo:middleName ?middleName .
|
||||
} WHERE {
|
||||
?s vivo:middleName ?middleName .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasName ?name
|
||||
}
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?name vivo:middleName ?middleName .
|
||||
} WHERE {
|
||||
?s vivo:middleName ?middleName .
|
||||
?s a foaf:Person .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
?vcard v:hasName ?name
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?vcard v:hasName _:name .
|
||||
_:name a v:Name .
|
||||
_:name v:familyName ?lastName .
|
||||
} WHERE {
|
||||
?s foaf:lastName ?lastName .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasName ?name
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?name v:familyName ?lastName .
|
||||
} WHERE {
|
||||
?s foaf:lastName ?lastName .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
?vcard v:hasName ?name
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?vcard v:hasName _:name .
|
||||
_:name a v:Name .
|
||||
_:name v:honorificPrefix ?prefixName .
|
||||
} WHERE {
|
||||
?s bibo:prefixName ?prefixName .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasName ?name
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?name v:honorificPrefix ?prefixName .
|
||||
} WHERE {
|
||||
?s bibo:prefixName ?prefixName .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
?vcard v:hasName ?name
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?vcard v:hasName _:name .
|
||||
_:name a v:Name .
|
||||
_:name v:honorificSuffix ?suffixName .
|
||||
} WHERE {
|
||||
?s bibo:suffixName ?suffixName .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasName ?name
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?name v:honorificSuffix ?suffixName .
|
||||
} WHERE {
|
||||
?s bibo:suffixName ?suffixName .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
?vcard v:hasName ?name
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
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 {
|
||||
?vcard v:hasEmail _:email .
|
||||
_:email a v:Email .
|
||||
_:email v:email ?email .
|
||||
} WHERE {
|
||||
?s vivo:email ?email .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasEmail ?emailnode
|
||||
}
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
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 {
|
||||
?vcard v:hasEmail _:primaryEmail .
|
||||
_:primaryEmail a v:Email .
|
||||
_:primaryEmail a v:Work .
|
||||
_:primaryEmail v:email ?primaryEmail .
|
||||
} WHERE {
|
||||
?s vivo:primaryEmail ?primaryEmail .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasEmail ?email .
|
||||
?email a v:Work .
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
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 {
|
||||
?vcard v:hasTelephone _:telephone .
|
||||
_:telephone a v:Telephone .
|
||||
_:telephone a v:Voice .
|
||||
_:telephone v:telephone ?phoneNumber .
|
||||
} WHERE {
|
||||
?s vivo:phoneNumber ?phoneNumber .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasTelephone ?telephoneNode .
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
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 {
|
||||
?vcard v:hasTelephone _:primaryTelephone .
|
||||
_:primaryTelephone a v:Telephone .
|
||||
_:primaryTelephone a v:Voice .
|
||||
_:primaryTelephone a v:Work .
|
||||
_:primaryTelephone v:telephone ?primaryPhoneNumber .
|
||||
} WHERE {
|
||||
?s vivo:primaryPhoneNumber ?primaryPhoneNumber .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasTelephone ?telephoneNode .
|
||||
?vcard a v:Work .
|
||||
}
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
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 {
|
||||
?vcard v:hasTelephone _:fax .
|
||||
_:fax a v:Telephone .
|
||||
_:fax a v:Fax.
|
||||
_:fax v:telephone ?faxNumber .
|
||||
} WHERE {
|
||||
?s vivo:faxNumber ?faxNumber .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasTelephone ?faxNode .
|
||||
?faxNode a v:Fax .
|
||||
}
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
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 {
|
||||
?vcard v:hasAddress ?address .
|
||||
?address a v:Address .
|
||||
?address v:streetAddress ?streetAddress .
|
||||
?address v:locality ?addressCity .
|
||||
?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 .
|
||||
?address vivo:address2 ?address2 .
|
||||
?address vivo:address3 ?address3 .
|
||||
BIND (CONCAT(?address1, ", ", ?address2, ", ", ?address3) AS ?streetAddress)
|
||||
}
|
||||
OPTIONAL {
|
||||
?address vivo:address1 ?address1 .
|
||||
?address vivo:address2 ?address2 .
|
||||
FILTER NOT EXISTS { ?address vivo:address3 ?address3 }
|
||||
BIND (CONCAT(?address1, ", ", ?address2) AS ?streetAddress)
|
||||
}
|
||||
OPTIONAL {
|
||||
?address vivo:address1 ?address1
|
||||
BIND(?address1 as ?streetAddress)
|
||||
}
|
||||
FILTER NOT EXISTS {
|
||||
?vcard v:hasAddress ?addressNode
|
||||
}
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
PREFIX arg: <http://purl.obolibrary.org/obo/>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
PREFIX v: <http://www.w3.org/2006/vcard/ns#>
|
||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
|
||||
CONSTRUCT {
|
||||
?vcard v:hasURL ?webpage .
|
||||
?webpage a v:URL .
|
||||
?webpage v:url ?linkURI .
|
||||
?webpage rdfs:label ?linkAnchorText
|
||||
} WHERE {
|
||||
?s vivo:webpage ?webpage .
|
||||
?webpage vivo:linkURI ?linkURI .
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
OPTIONAL {
|
||||
?webpage vivo:linkAnchorText ?linkAnchorText
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?advisor vivo:advisorIn ?advisingRelationship .
|
||||
?advisingRelationship vivo:advisor ?advisor
|
||||
} WHERE {
|
||||
?advisor vivo:advisorIn ?advisingRelationship .
|
||||
OPTIONAL {
|
||||
?advisingRelationship vivo:advisor ?advisor
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?advisee vivo:adviseeIn ?advisingRelationship .
|
||||
?advisingRelationship vivo:advisee ?advisee .
|
||||
} WHERE {
|
||||
?advisee vivo:adviseeIn ?advisingRelationship .
|
||||
OPTIONAL {
|
||||
?advisingRelationship vivo:advisee ?advisee .
|
||||
}
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?person vivo:editorOf ?document .
|
||||
?document vivo:editor ?person
|
||||
} WHERE {
|
||||
{
|
||||
?person vivo:editorOf ?document
|
||||
} UNION {
|
||||
?document vivo:editor ?person
|
||||
}
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
|
||||
CONSTRUCT {
|
||||
?concept a owl:Thing .
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
{ ?s vivo:hasResearchArea ?concept } UNION
|
||||
{ ?s vivo:hasSubjectArea ?concept }
|
||||
?concept a owl:Thing
|
||||
} FILTER (!regex(str(?g), "kb-inf"))
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?role vivo:roleContributesTo ?grant .
|
||||
?grant vivo:contributingRole ?role .
|
||||
} WHERE {
|
||||
?role vivo:roleContributesTo ?grant .
|
||||
{ ?grant a vivo:Grant } UNION { ?grant a vivo:Contract }
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
|
||||
CONSTRUCT {
|
||||
?s vivo:orcidId ?orcidString .
|
||||
} WHERE {
|
||||
?s vivo:orcidId ?orcidString
|
||||
FILTER(isLiteral(?orcidString))
|
||||
FILTER (regex(str(?orcidString), "^[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9]([0-9]|X)$"))
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?award vivo:assignedBy ?org .
|
||||
?org vivo:assigns ?award .
|
||||
} WHERE {
|
||||
?org vivo:assigns ?award .
|
||||
?award a vivo:Award .
|
||||
?org a foaf:Organization .
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
||||
|
||||
CONSTRUCT {
|
||||
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> ?degree .
|
||||
?degree <http://purl.obolibrary.org/obo/RO_0002353> ?educationalProcess .
|
||||
} WHERE {
|
||||
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> ?degree .
|
||||
?person <http://purl.obolibrary.org/obo/RO_0000056> ?educationalProcess .
|
||||
?degree a vivo:AcademicDegree .
|
||||
OPTIONAL { ?degree <http://purl.obolibrary.org/obo/RO_0002353> ?educationalProcess }
|
||||
}
|
|
@ -1,131 +0,0 @@
|
|||
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#>
|
||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
||||
|
||||
CONSTRUCT {
|
||||
?s foaf:firstName ?firstName .
|
||||
?s foaf:lastName ?lastName .
|
||||
?s vivo:middleName ?middleName .
|
||||
?s bibo:prefixName ?prefix .
|
||||
?s bibo:suffixName ?suffix .
|
||||
?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 vivo:mailingAddressFor ?s .
|
||||
?address a ?addressType .
|
||||
?address vivo:address1 ?address1 .
|
||||
?address vivo:address2 ?address2 .
|
||||
?address vivo:address3 ?address3 .
|
||||
?address vivo:addressCity ?city .
|
||||
?address vivo:addressState ?state .
|
||||
?address vivo:addressPostalCode ?postalCode .
|
||||
?address vivo:addressCountry ?country .
|
||||
?address vivo:hasGeographicLocation ?location .
|
||||
?location vivo:geographicLocationOf ?address .
|
||||
?s vivo:webpage ?webpage .
|
||||
?webpage vivo:webpageOf ?s .
|
||||
?webpage vivo:linkAnchorText ?linkAnchorText .
|
||||
?webpage vivo:linkURI ?linkURI .
|
||||
?webpage a vivo:URLLink .
|
||||
} WHERE {
|
||||
{
|
||||
?s foaf:firstName ?firstName .
|
||||
}
|
||||
UNION {
|
||||
?s foaf:lastName ?lastName .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:middleName ?middleName .
|
||||
?s a foaf:Person .
|
||||
}
|
||||
UNION {
|
||||
?s bibo:prefixName ?prefix
|
||||
}
|
||||
UNION {
|
||||
?s bibo:suffixName ?suffix
|
||||
}
|
||||
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 {
|
||||
?address vivo:mailingAddressFor ?s .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:mailingAddress ?address .
|
||||
?address a ?addressType
|
||||
FILTER(regex(str(?addressType),"vivoweb.org/ontology/core"))
|
||||
}
|
||||
UNION {
|
||||
?s vivo:mailingAddress ?address .
|
||||
?address vivo:address1 ?address1 .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:mailingAddress ?address .
|
||||
?address vivo:address2 ?address2 .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:mailingAddress ?address .
|
||||
?address vivo:address3 ?address3 .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:mailingAddress ?address .
|
||||
?address vivo:addressCity ?city .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:mailingAddress ?address .
|
||||
?address vivo:addressState ?state .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:mailingAddress ?address .
|
||||
?address vivo:addressPostalCode ?postalCode .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:mailingAddress ?address .
|
||||
?address vivo:addressCountry ?country .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:mailingAddress ?address .
|
||||
?address vivo:hasGeographicLocation ?location .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:mailingAddress ?address .
|
||||
?location vivo:geographicLocationOf ?address .
|
||||
}
|
||||
UNION {
|
||||
?s vivo:webpage ?webpage
|
||||
}
|
||||
UNION {
|
||||
?webpage vivo:webpageOf ?s
|
||||
}
|
||||
UNION {
|
||||
?s vivo:webpage ?webpage
|
||||
}
|
||||
UNION {
|
||||
?s vivo:webpage ?webpage .
|
||||
?webpage vivo:linkURI ?linkURI
|
||||
}
|
||||
UNION {
|
||||
?s vivo:webpage ?webpage .
|
||||
?webpage vivo:linkAnchorText ?linkAnchorText
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue