Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Mapping vocabulary"
(→Classes) |
|||
Line 8: | Line 8: | ||
==Classes== | ==Classes== | ||
+ | |||
+ | This section lists a set of subclasses of <code>spin:Templates</code>. Each class | ||
===roleAge (''role[]'') === | ===roleAge (''role[]'') === | ||
Find best p:Person entity matching against ''role'' (if any). Lookup the literal value of v:bday attribute. Function value is age in years based on current dateTime. | Find best p:Person entity matching against ''role'' (if any). Lookup the literal value of v:bday attribute. Function value is age in years based on current dateTime. | ||
+ | * subClassOf: spin:Templates | ||
===roleAgeRange (''role[]'') === | ===roleAgeRange (''role[]'') === | ||
Find best p:Person entity matching against ''role'' (if any). Lookup the literal value of v:bday attribute. Function value is one of the possible values of the ageRangeValues attribute. | Find best p:Person entity matching against ''role'' (if any). Lookup the literal value of v:bday attribute. Function value is one of the possible values of the ageRangeValues attribute. | ||
+ | * subClassOf: spin:Templates | ||
===roleEntity (''role[], mappedAtt'')=== | ===roleEntity (''role[], mappedAtt'')=== | ||
Find best p:Person entity matching against ''role'' parameter (if any). Function value is (object) value of that entity's ''mappedAtt'' attribute. | Find best p:Person entity matching against ''role'' parameter (if any). Function value is (object) value of that entity's ''mappedAtt'' attribute. | ||
+ | * subClassOf: spin:Templates | ||
===roleFullnane (''role[]'') === | ===roleFullnane (''role[]'') === | ||
Find best p:Person entity matching against ''role'' parameter (if any). Function value is string concatenation of the (string) values of the following attributes of the v:Name instance that is the value of the v:n attribute of this entity. The attributes to concatentate are: v:honorific-prefix, v:given-name, v:additional-name(s), v:family-name, v:honorific-suffix. | Find best p:Person entity matching against ''role'' parameter (if any). Function value is string concatenation of the (string) values of the following attributes of the v:Name instance that is the value of the v:n attribute of this entity. The attributes to concatentate are: v:honorific-prefix, v:given-name, v:additional-name(s), v:family-name, v:honorific-suffix. | ||
+ | * subClassOf: spin:Templates | ||
===roleLiteral (''role[], mappedAtt'')=== | ===roleLiteral (''role[], mappedAtt'')=== | ||
Find best p:Person entity matching against ''role'' parameter (if any). Function value is the simple, literal value of that entity's ''mappedAtt'' attribute. | Find best p:Person entity matching against ''role'' parameter (if any). Function value is the simple, literal value of that entity's ''mappedAtt'' attribute. | ||
+ | * subClassOf: spin:Templates | ||
===roleLiteralInitial (''role[], mappedAtt'')=== | ===roleLiteralInitial (''role[], mappedAtt'')=== | ||
Find best p:Person entity matching against ''role'' parameter (if any). Function value is the upper-cased first character of the simple, literal value of that entity's ''mappedAtt'' attribute. | Find best p:Person entity matching against ''role'' parameter (if any). Function value is the upper-cased first character of the simple, literal value of that entity's ''mappedAtt'' attribute. | ||
+ | * subClassOf: spin:Templates | ||
===rolePathClassLiteral(''role[], path, className, mapppedAtt'')=== | ===rolePathClassLiteral(''role[], path, className, mapppedAtt'')=== | ||
Find best p:Person entity matching against ''role'' parameter (if any). Find the the set, A, of (complex) values of the ''path'' attribute where the values are instances of class ''className''. Function value is literal value(s) of the ''mappedAtt'' attribute of all members of A. | Find best p:Person entity matching against ''role'' parameter (if any). Find the the set, A, of (complex) values of the ''path'' attribute where the values are instances of class ''className''. Function value is literal value(s) of the ''mappedAtt'' attribute of all members of A. | ||
+ | * subClassOf: spin:Templates | ||
===rolePathLiteral (''role[], path, mappedAtt'')=== | ===rolePathLiteral (''role[], path, mappedAtt'')=== | ||
Find best p:Person entity matching against ''role'' parameter (if any). Find the the set, A, of (complex) values of the ''path'' attribute. Function value is literal value(s) of the ''mappedAtt'' attribute of all members of A. | Find best p:Person entity matching against ''role'' parameter (if any). Find the the set, A, of (complex) values of the ''path'' attribute. Function value is literal value(s) of the ''mappedAtt'' attribute of all members of A. | ||
+ | * subClassOf: spin:Templates | ||
===rolePathLiteral2 (''role[], path, mappedAtt'')=== | ===rolePathLiteral2 (''role[], path, mappedAtt'')=== | ||
Like rolePathLiteral except that the mappedAtt param may be an rdf:Property instead of an owl:DatatypeProperty AND the path param may be an rdf:Property instead of an owl:ObjectProperty | Like rolePathLiteral except that the mappedAtt param may be an rdf:Property instead of an owl:DatatypeProperty AND the path param may be an rdf:Property instead of an owl:ObjectProperty | ||
+ | * subClassOf: spin:Templates | ||
===rolePathLiteralInitial (''role[], path, mappedAtt'')=== | ===rolePathLiteralInitial (''role[], path, mappedAtt'')=== |
Revision as of 16:51, 1 March 2011
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}Vocabulary for attribute schema mapping rules. Imported by Persona vocabulary. Used by Flat Persona vocabulary.
Contents
- 1 Files
- 2 Classes
- 2.1 roleAge (role[])
- 2.2 roleAgeRange (role[])
- 2.3 roleEntity (role[], mappedAtt)
- 2.4 roleFullnane (role[])
- 2.5 roleLiteral (role[], mappedAtt)
- 2.6 roleLiteralInitial (role[], mappedAtt)
- 2.7 rolePathClassLiteral(role[], path, className, mapppedAtt)
- 2.8 rolePathLiteral (role[], path, mappedAtt)
- 2.9 rolePathLiteral2 (role[], path, mappedAtt)
- 2.10 rolePathLiteralInitial (role[], path, mappedAtt)
- 2.11 rolePathPartialPostal (role[], path, mappedAtt)
- 2.12 rolePathPartialPostal (role[], path, mappedAtt)
- 2.13 sameAs (equivalentAttribute)
- 2.14 Under development
- 3 Attributes
- 4 Links
Files
- Most recently published
- Svn source: mapping.owl
Classes
This section lists a set of subclasses of spin:Templates
. Each class
roleAge (role[])
Find best p:Person entity matching against role (if any). Lookup the literal value of v:bday attribute. Function value is age in years based on current dateTime.
- subClassOf: spin:Templates
roleAgeRange (role[])
Find best p:Person entity matching against role (if any). Lookup the literal value of v:bday attribute. Function value is one of the possible values of the ageRangeValues attribute.
- subClassOf: spin:Templates
roleEntity (role[], mappedAtt)
Find best p:Person entity matching against role parameter (if any). Function value is (object) value of that entity's mappedAtt attribute.
- subClassOf: spin:Templates
roleFullnane (role[])
Find best p:Person entity matching against role parameter (if any). Function value is string concatenation of the (string) values of the following attributes of the v:Name instance that is the value of the v:n attribute of this entity. The attributes to concatentate are: v:honorific-prefix, v:given-name, v:additional-name(s), v:family-name, v:honorific-suffix.
- subClassOf: spin:Templates
roleLiteral (role[], mappedAtt)
Find best p:Person entity matching against role parameter (if any). Function value is the simple, literal value of that entity's mappedAtt attribute.
- subClassOf: spin:Templates
roleLiteralInitial (role[], mappedAtt)
Find best p:Person entity matching against role parameter (if any). Function value is the upper-cased first character of the simple, literal value of that entity's mappedAtt attribute.
- subClassOf: spin:Templates
rolePathClassLiteral(role[], path, className, mapppedAtt)
Find best p:Person entity matching against role parameter (if any). Find the the set, A, of (complex) values of the path attribute where the values are instances of class className. Function value is literal value(s) of the mappedAtt attribute of all members of A.
- subClassOf: spin:Templates
rolePathLiteral (role[], path, mappedAtt)
Find best p:Person entity matching against role parameter (if any). Find the the set, A, of (complex) values of the path attribute. Function value is literal value(s) of the mappedAtt attribute of all members of A.
- subClassOf: spin:Templates
rolePathLiteral2 (role[], path, mappedAtt)
Like rolePathLiteral except that the mappedAtt param may be an rdf:Property instead of an owl:DatatypeProperty AND the path param may be an rdf:Property instead of an owl:ObjectProperty
- subClassOf: spin:Templates
rolePathLiteralInitial (role[], path, mappedAtt)
@@@TODO
rolePathPartialPostal (role[], path, mappedAtt)
@@@TODO
rolePathPartialPostal (role[], path, mappedAtt)
@@@TODO
sameAs (equivalentAttribute)
Indirection. The value of this function is the value of the equivalentAttribute in some other vocabulary.
Under development
currentEmployerName (role[])
- find the
p:Person
by role - find the
h:start..h:end ranges
for all osoc:jobs - return list of all
osoc:name
values
timeAtCurrentEmployer (role[])
- find the
p:Person
by role - find the
h:start..h:end ranges
ranges for allosoc:jobs
- return list of all
osoc:name
values
Attributes
ageRangeValues
- values: one of {"13-17" , "18-24" , "25-34" , "35-44" , "45-54" , "55-64" , "65+"}