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"
Line 15: | Line 15: | ||
==Attributes== | ==Attributes== | ||
@@@TODO | @@@TODO | ||
+ | |||
+ | ==Mapping Functions== | ||
+ | @@@TODO complete the following | ||
+ | |||
+ | rolePathClassRDFValue (role, link, class) | ||
+ | * find the p:Person by role | ||
+ | * search all links of type link for an object of class class | ||
+ | * if found return the rdf:value | ||
+ | |||
+ | rolePathClassLiteral(RPRole, link, class, att) | ||
+ | * find the p:Person by role | ||
+ | * find link of type link whose value is of class class | ||
+ | * return (literal) value of att attribute | ||
+ | |||
+ | currentEmployerName | ||
+ | * find the p:Person by role | ||
+ | * look at the h:start..h:end ranges for all osoc:jobs | ||
+ | * return list of all osoc:name values | ||
+ | |||
+ | timeAtCurrentEmployer | ||
+ | * find the p:Person by role | ||
+ | * look at the h:start..h:end ranges for all osoc:jobs | ||
+ | * return list of all osoc:name values | ||
+ | |||
== Links == | == Links == | ||
* [[Persona Data Model 2.0]] | * [[Persona Data Model 2.0]] | ||
* [[Persona vocabulary]] | * [[Persona vocabulary]] |
Revision as of 11:37, 4 November 2010
{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}Vocabulary for attribute schema mapping rules. Imported by Persona vocabulary.
Files
- Most recently published
- Svn source: mapping.owl
UML Overview
Classes
@@@TODO
Attributes
@@@TODO
Mapping Functions
@@@TODO complete the following
rolePathClassRDFValue (role, link, class)
- find the p:Person by role
- search all links of type link for an object of class class
- if found return the rdf:value
rolePathClassLiteral(RPRole, link, class, att)
- find the p:Person by role
- find link of type link whose value is of class class
- return (literal) value of att attribute
currentEmployerName
- find the p:Person by role
- look at the h:start..h:end ranges for all osoc:jobs
- return list of all osoc:name values
timeAtCurrentEmployer
- find the p:Person by role
- look at the h:start..h:end ranges for all osoc:jobs
- return list of all osoc:name values