-
Notifications
You must be signed in to change notification settings - Fork 35
conversion:domain_name
timrdf edited this page Nov 21, 2011
·
36 revisions
"What does each row represent?" is one of the first questions about an unfamiliar table of data. The conversion:domain_name enhancement answers this common question. For example, in our [quick and easy conversion](A quick and easy conversion), each row is an oil well; In the White House visitor records, each row is a person's visit to the White House.
Because the need to specify the conversion:domain_name is so common, it is included in the default enhancement parameters.
#conversion:enhance [
# conversion:domain_template "thing_[r]";
# conversion:domain_name "Thing";
#];
#conversion:enhance [
# conversion:class_name "Thing";
# conversion:subclass_of <http://purl.org/...>;
#];
conversion:domain_name "AgencyBudgetDistribution";
- Types the subject row.
- changes the local name of the subject row's URI (
from thing_2toagencyBudgetDistribution_2). For more control of the local name or the full URI of the subject, see conversion:domain_template. - asserts a
con:preferredURIfrom thething_2row instance to (e.g.)agencyBudgetDistribution_2. This wasowl:sameAs, but has been withdrawn in favor ofcon:preferredURI.
(results):
PREFIX conversion: <http://purl.org/twc/vocab/conversion/>
SELECT distinct ?dataset ?template
WHERE {
GRAPH <http://logd.tw.rpi.edu/vocab/Dataset> {
?dataset conversion:conversion_process [
conversion:enhance [
conversion:domain_name ?template
]
]
}
}