various and sundry data migration changes
This commit is contained in:
parent
aca312b7cc
commit
6d77fc7871
12 changed files with 65 additions and 24 deletions
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,17 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
|
||||
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
|
||||
}
|
||||
}
|
|
@ -8,4 +8,5 @@ CONSTRUCT {
|
|||
} WHERE {
|
||||
?agent <ihttp://purl.obolibrary.org/obo/RO_0000053> ?role .
|
||||
?role vivo:relatedBy ?grant
|
||||
FILTER NOT EXISTS { ?grant vivo:relates ?agent }
|
||||
}
|
|
@ -2,6 +2,7 @@ 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 .
|
||||
|
@ -9,6 +10,8 @@ CONSTRUCT {
|
|||
_:name v:givenName ?firstName .
|
||||
_:name vivo:middleName ?middleName .
|
||||
_:name v:familyName ?lastName .
|
||||
_:name v:honorificPrefix ?prefix .
|
||||
_:name v:honorificSuffix ?suffix .
|
||||
} WHERE {
|
||||
?s arg:ARG_2000028 ?vcard .
|
||||
OPTIONAL {
|
||||
|
@ -23,5 +26,11 @@ CONSTRUCT {
|
|||
?s vivo:middleName ?middleName
|
||||
BIND("yes" as ?test)
|
||||
}
|
||||
OPTIONAL {
|
||||
?s bibo:prefixName ?prefix
|
||||
}
|
||||
OPTIONAL {
|
||||
?s bibo:suffixName ?suffix
|
||||
}
|
||||
FILTER(bound(?test))
|
||||
}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#Thing>
|
||||
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
|
||||
}
|
||||
}
|
|
@ -8,11 +8,13 @@ CONSTRUCT {
|
|||
?educationalProcess vivo:relates ?org .
|
||||
?org vivo:relatedBy ?educationalProcess .
|
||||
} WHERE {
|
||||
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> ?degree .
|
||||
?person <http://purl.obolibrary.org/obo/RO_0000056> ?educationalProcess .
|
||||
?educationalProcess a vivo:EducationalProcess .
|
||||
?educationalProcess <http://purl.obolibrary.org/obo/RO_0002234> ?degree .
|
||||
OPTIONAL { ?degree <http://purl.obolibrary.org/obo/RO_0002353> ?educationalProcess }
|
||||
OPTIONAL {
|
||||
?educationalProcess vivo:relates ?org .
|
||||
?org a foaf:Organization .
|
||||
}
|
||||
?degree a vivo:AcademicDegree .
|
||||
}
|
|
@ -2,11 +2,14 @@ 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 .
|
||||
|
@ -25,6 +28,12 @@ CONSTRUCT {
|
|||
}
|
||||
UNION {
|
||||
?s vivo:middleName ?middleName
|
||||
}
|
||||
UNION {
|
||||
?s bibo:prefixName ?prefix
|
||||
}
|
||||
UNION {
|
||||
?s bibo:suffixName ?suffix
|
||||
}
|
||||
UNION {
|
||||
?s vivo:email ?email
|
||||
|
|
BIN
rdf/display/everytime/.PropertyConfig.n3.swp
Normal file
BIN
rdf/display/everytime/.PropertyConfig.n3.swp
Normal file
Binary file not shown.
|
@ -2,6 +2,7 @@
|
|||
<rdf:RDF xmlns="http://purl.obolibrary.org/obo/arg/contact-vcard.owl#"
|
||||
xml:base="http://purl.obolibrary.org/obo/arg/contact-vcard.owl"
|
||||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||
xmlns:obo="http://purl.obolibrary.org/obo/"
|
||||
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
|
@ -2086,6 +2087,16 @@ Was called IMPP in vCard.</rdfs:comment>
|
|||
|
||||
|
||||
|
||||
<!-- http://vivoweb.org/ontology/core#F1000Link -->
|
||||
|
||||
<owl:Class rdf:about="http://vivoweb.org/ontology/core#F1000Link">
|
||||
<rdfs:label xml:lang="en">f1000 link</rdfs:label>
|
||||
<rdfs:subClassOf rdf:resource="http://www.w3.org/2006/vcard/ns#URL"/>
|
||||
<obo:IAO_0000112 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">F1000 is a place where faculty go to critique papers published in PubMed. Any given record in F1000 might have anywhere from one to dozens of reviews.</obo:IAO_0000112>
|
||||
</owl:Class>
|
||||
|
||||
|
||||
|
||||
<!-- http://www.w3.org/2006/vcard/ns#Unknown -->
|
||||
|
||||
<owl:Class rdf:about="http://www.w3.org/2006/vcard/ns#Unknown">
|
||||
|
|
|
@ -78,18 +78,6 @@
|
|||
|
||||
|
||||
|
||||
<!-- http://vivoweb.org/ontology/core#URLLink -->
|
||||
|
||||
<owl:Class rdf:about="http://vivoweb.org/ontology/core#URLLink">
|
||||
<rdfs:label xml:lang="en">urllink</rdfs:label>
|
||||
<rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/IAO_0000030"/>
|
||||
<obo:IAO_0000112 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">The full URL.</obo:IAO_0000112>
|
||||
<obo:IAO_0000115 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Uniform Resource Locator (URL) specifies where an identified resource is available and the mechanism for retrieving it.</obo:IAO_0000115>
|
||||
<obo:IAO_0000112 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">http://info.slis.indiana.edu/~katy/</obo:IAO_0000112>
|
||||
</owl:Class>
|
||||
|
||||
|
||||
|
||||
<!-- http://www.w3.org/2004/02/skos/core#Concept -->
|
||||
|
||||
<owl:Class rdf:about="http://www.w3.org/2004/02/skos/core#Concept"/>
|
||||
|
|
|
@ -1017,16 +1017,6 @@ This class allows for linking an author to a publication while indicating inform
|
|||
|
||||
|
||||
|
||||
<!-- http://vivoweb.org/ontology/core#F1000Link -->
|
||||
|
||||
<owl:Class rdf:about="http://vivoweb.org/ontology/core#F1000Link">
|
||||
<rdfs:label xml:lang="en">f1000 link</rdfs:label>
|
||||
<rdfs:subClassOf rdf:resource="http://vivoweb.org/ontology/core#URLLink"/>
|
||||
<obo:IAO_0000112 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">F1000, is a place where faculty go to critique papers published in PubMed. Any given record in F1000 might have anywhere from one to dozens of reviews.</obo:IAO_0000112>
|
||||
</owl:Class>
|
||||
|
||||
|
||||
|
||||
<!-- http://vivoweb.org/ontology/core#InvitedTalk -->
|
||||
|
||||
<owl:Class rdf:about="http://vivoweb.org/ontology/core#InvitedTalk">
|
||||
|
|
Loading…
Add table
Reference in a new issue