SPARQL CONSTRUCT queries transform graph-05 into graph-06 using the tm: vocabulary. Persons keep schema:Person properties, works become org:Membership, professions become schema:Occupation, enumerations become skos:Concept with tm: subtypes. Split 010-occupations into two query files (passthrough + retype). Includes step-06 binary, Rakefile tasks, and example data for Irene Abendroth.
12 lines
253 B
SPARQL
12 lines
253 B
SPARQL
# Construct occupation instances: pass through existing schema:Occupation.
|
|
|
|
PREFIX schema: <https://schema.org/>
|
|
|
|
CONSTRUCT {
|
|
?s a schema:Occupation .
|
|
?s schema:name ?name .
|
|
}
|
|
WHERE {
|
|
?s a schema:Occupation .
|
|
OPTIONAL { ?s schema:name ?name }
|
|
}
|