Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Mapping vocabulary"

(Mapping Functions)
Line 18: Line 18:
 
==Mapping Functions==
 
==Mapping Functions==
 
@@@TODO complete the following
 
@@@TODO complete the following
 +
@@@or should these just be representative
  
rolePathClassRDFValue (role, link, class)
+
rolePathLiteral (roles, link, att)
* find the p:Person by role
+
* find the <code>p:Person</code> by ''roles''
* search all links of type link for an object of class class
+
* find complex attributes of type ''link'' find a target entity e1
* if found return the rdf:value  
+
* if found return the value of attribute ''att'' of e1
  
rolePathClassLiteral(RPRole, link, class, att)
+
rolePathClassRDFValue (roles, link, class)
* find the p:Person by role
+
* find the <code>p:Person</code> by roles
* find link of type link whose value is of class class
+
* find complex attributes of type ''link'' for an object of class ''class''
* return (literal) value of att attribute
+
* if found return the rdf:value  
  
currentEmployerName
+
rolePathClassLiteral(roles, link, class, att)
* find the p:Person by role
+
* find the <code>p:Person</code> by ''roles''
* look at the h:start..h:end ranges for all osoc:jobs
+
* find complex attributes of type ''link'' whose value is of class ''class''
* return list of all osoc:name values
+
* return (literal) value of ''att'' attribute
  
timeAtCurrentEmployer
+
currentEmployerName (roles)
* find the p:Person by role
+
* find the <code>p:Person</code> by ''roles''
* look at the h:start..h:end ranges for all osoc:jobs
+
* find the <code>h:start..h:end ranges</code> for all osoc:jobs
* return list of all osoc:name values
+
* return list of all <code>osoc:name</code> values
  
 +
timeAtCurrentEmployer (roles)
 +
* find the <code>p:Person</code> by ''roles''
 +
* find the <code>h:start..h:end ranges</code> ranges for all <code>osoc:jobs</code>
 +
* return list of all <code>osoc:name</code> values
  
 
== Links ==
 
== Links ==
 
* [[Persona Data Model 2.0]]
 
* [[Persona Data Model 2.0]]
 
* [[Persona vocabulary]]
 
* [[Persona vocabulary]]

Revision as of 11:44, 4 November 2010

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
Higgins logo 76Wx100H.jpg

Vocabulary for attribute schema mapping rules. Imported by Persona vocabulary.

Files

UML Overview

Mapping 2.0.100.png

Classes

@@@TODO

Attributes

@@@TODO

Mapping Functions

@@@TODO complete the following @@@or should these just be representative

rolePathLiteral (roles, link, att)

  • find the p:Person by roles
  • find complex attributes of type link find a target entity e1
  • if found return the value of attribute att of e1

rolePathClassRDFValue (roles, link, class)

  • find the p:Person by roles
  • find complex attributes of type link for an object of class class
  • if found return the rdf:value

rolePathClassLiteral(roles, link, class, att)

  • find the p:Person by roles
  • find complex attributes of type link whose value is of class class
  • return (literal) value of att attribute

currentEmployerName (roles)

  • find the p:Person by roles
  • find the h:start..h:end ranges for all osoc:jobs
  • return list of all osoc:name values

timeAtCurrentEmployer (roles)

  • find the p:Person by roles
  • find the h:start..h:end ranges ranges for all osoc:jobs
  • return list of all osoc:name values

Links

Back to the top