You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arbitrary attribute-value descriptions can be added to 1) the subjects created from a particular row and 2) the objects created from a particular cell.
Annotating the object (i.e., "cell")
For a given conversion:predicate/conversion:object pair, the default behavior ("annotating the object") is to annotate the rdfs:Resource resulting from a cell value's resource promotion. This is the case for columns 1 and greater. Note that the conversion:range must be rdfs:Resource to promote the cell's value to a resource.
conversion:enhance [
ov:csvCol 1;
conversion:predicate "Predicate for subjects pointing to column 1";
conversion:object "Value of predicate";
];
The one special case is to apply a conversion:predicate/conversion:object pair to an enhancement for column 0. Since column counting begins at 1, we aren't annotating any cell. Conceptually, the row is at position 0. Since the subject is created from the row by default, annotating column 0 will annotate the subject instead of the object.
conversion:enhance [
a conversion:SubjectAnnotation;
conversion:predicate skos:inScheme;
conversion:object my:Scheme;
];
Note this DOES NOT (and should not and cannot) work:
conversion:enhance [
ov:csvCol 0;
conversion:predicate ""; # DO NOT DO THIS
conversion:object ""; # DO NOT DO THIS
conversion:predicate ""; # DO NOT DO THIS
conversion:object ""; # DO NOT DO THIS
];
How would we know which object goes with which predicate?