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)
(Mapping Functions)
Line 20: Line 20:
 
@@@TODO complete the following
 
@@@TODO complete the following
  
rolePathLiteral (link, att)
+
rolePathLiteral (role[], link, att)
* find the <code>p:Person</code> by ''role[]''
+
* find the <code>p:Person</code> by ''role''
 
* find complex attributes of type ''link'' find a target entity e1
 
* find complex attributes of type ''link'' find a target entity e1
 
* if found return the value of attribute ''att'' of e1
 
* if found return the value of attribute ''att'' of e1
  
rolePathClassRDFValue (link, class)
+
rolePathClassRDFValue (role[], link, class)
* find the <code>p:Person</code> by ''role[]''
+
* find the <code>p:Person</code> by ''role''
 
* find complex attributes of type ''link'' for an object of class ''class''
 
* find complex attributes of type ''link'' for an object of class ''class''
 
* if found return the rdf:value  
 
* if found return the rdf:value  
  
rolePathClassLiteral(link, class, att)
+
rolePathClassLiteral(role[], link, class, att)
* find the <code>p:Person</code> by ''role[]''
+
* find the <code>p:Person</code> by ''role''
 
* find complex attributes of type ''link'' whose value is of class ''class''
 
* find complex attributes of type ''link'' whose value is of class ''class''
 
* return (literal) value of ''att'' attribute
 
* return (literal) value of ''att'' attribute

Revision as of 20:04, 6 December 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

rolePathLiteral (role[], link, att)

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

rolePathClassRDFValue (role[], link, class)

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

rolePathClassLiteral(role[], link, class, att)

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

currentEmployerName ()

  • 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 ()

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

Links

Back to the top