major rework of external concept migration. updated list view for concepts.
This commit is contained in:
parent
a305d7f59d
commit
30d26ffa81
5 changed files with 1 additions and 101 deletions
|
@ -1,23 +0,0 @@
|
||||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
||||||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
|
||||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
||||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
|
||||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
|
||||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
||||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
|
||||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
||||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
|
||||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
|
||||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
||||||
|
|
||||||
Construct {
|
|
||||||
?something vivo:hasSubjectArea ?uri .
|
|
||||||
?uri vivo:subjectAreaFor ?something
|
|
||||||
} where {
|
|
||||||
?something vivo:hasSubjectArea ?concept .
|
|
||||||
?concept vivo:sourceVocabularyReference ?urllink .
|
|
||||||
?urllink vivo:linkURI ?uri
|
|
||||||
}
|
|
|
@ -1,23 +0,0 @@
|
||||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
||||||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
|
||||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
||||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
|
||||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
|
||||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
||||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
|
||||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
||||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
|
||||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
|
||||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
||||||
|
|
||||||
Construct {
|
|
||||||
?person vivo:hasResearchArea ?uri .
|
|
||||||
?uri vivo:researchAreaOf ?person
|
|
||||||
} where {
|
|
||||||
?person vivo:hasResearchArea ?concept .
|
|
||||||
?concept vivo:sourceVocabularyReference ?urllink .
|
|
||||||
?urllink vivo:linkURI ?uri
|
|
||||||
}
|
|
|
@ -1,26 +0,0 @@
|
||||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
||||||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
|
||||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
||||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
|
||||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
|
||||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
||||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
|
||||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
||||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
|
||||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
|
||||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
||||||
|
|
||||||
Construct {
|
|
||||||
?something vivo:hasSubjectArea ?concept .
|
|
||||||
?concept ?property ?object .
|
|
||||||
?subject ?property2 ?concept .
|
|
||||||
} where {
|
|
||||||
?something vivo:hasSubjectArea ?concept .
|
|
||||||
?concept vivo:sourceVocabularyReference ?urllink .
|
|
||||||
?urllink vivo:linkURI ?uri .
|
|
||||||
?concept ?property ?object .
|
|
||||||
?subject ?property2 ?concept
|
|
||||||
}
|
|
|
@ -1,26 +0,0 @@
|
||||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
||||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
|
||||||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
|
||||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
|
||||||
PREFIX swrl: <http://www.w3.org/2003/11/swrl#>
|
|
||||||
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#>
|
|
||||||
PREFIX vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#>
|
|
||||||
PREFIX vivo: <http://vivo.library.cornell.edu/ns/0.1#>
|
|
||||||
PREFIX bibo: <http://purl.org/ontology/bibo/>
|
|
||||||
PREFIX dcterms: <http://purl.org/dc/terms/>
|
|
||||||
PREFIX event: <http://purl.org/NET/c4dm/event.owl#>
|
|
||||||
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
|
|
||||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
||||||
PREFIX vivo: <http://vivoweb.org/ontology/core#>
|
|
||||||
|
|
||||||
Construct {
|
|
||||||
?person vivo:hasResearchArea ?concept .
|
|
||||||
?concept ?property ?object .
|
|
||||||
?subject ?property2 ?concept .
|
|
||||||
} where {
|
|
||||||
?person vivo:hasResearchArea ?concept .
|
|
||||||
?concept vivo:sourceVocabularyReference ?urllink .
|
|
||||||
?urllink vivo:linkURI ?uri .
|
|
||||||
?concept ?property ?object .
|
|
||||||
?subject ?property2 ?concept .
|
|
||||||
}
|
|
|
@ -14,9 +14,7 @@
|
||||||
SELECT ?conceptLabel ?concept
|
SELECT ?conceptLabel ?concept
|
||||||
WHERE {
|
WHERE {
|
||||||
?subject ?property ?concept .
|
?subject ?property ?concept .
|
||||||
?concept rdf:type skos:Concept .
|
optional {?concept rdfs:label ?conceptLabel}
|
||||||
?concept rdfs:label ?conceptLabel .
|
|
||||||
|
|
||||||
} ORDER BY ?conceptLabel
|
} ORDER BY ?conceptLabel
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue