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"

(Files)
(Classes)
Line 10: Line 10:
 
@@@TODO complete the following
 
@@@TODO complete the following
  
rolePathLiteral (''role[], link, att'')
+
===roleAge (''role[]'') ===
* find the <code>p:Person</code> by ''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 complex attributes of type ''link'' find a target entity e1
+
* if found return the value of attribute ''att'' of e1
+
  
rolePathClassRDFValue (''role[], link, class'')
+
===roleEntity (''role[], mappedAtt'')===
* find the <code>p:Person</code> by ''role''
+
Find best p:Person entity matching against ''role'' parameter (if any). Function value is (object) value of that entity's ''mappedAtt'' attribute.
* find complex attributes of type ''link'' for an object of class ''class''
+
* if found return the rdf:value
+
  
rolePathClassLiteral(''role[], link, class, att'')
+
===roleFullnane (''role[]'') ===
* find the <code>p:Person</code> by ''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 complex attributes of type ''link'' whose value is of class ''class''
+
* return (literal) value of ''att'' attribute
+
  
 +
===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.
 +
 +
===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.
 +
 +
===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.
 +
 +
===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.
 +
 +
===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
 +
 +
===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.
 +
 +
==Not yet defined==
 
currentEmployerName (''role[]'')
 
currentEmployerName (''role[]'')
 
* find the <code>p:Person</code> by ''role''
 
* find the <code>p:Person</code> by ''role''
Line 34: Line 56:
 
* find the <code>h:start..h:end ranges</code> ranges for all <code>osoc:jobs</code>
 
* 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
 
* return list of all <code>osoc:name</code> values
 
@@@TODO: complete
 
  
 
==Attributes==
 
==Attributes==

Revision as of 20:59, 27 February 2011

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

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

Files

Classes

@@@TODO complete the following

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.

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.

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.

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.

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.

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.

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.

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

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.

Not yet defined

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 all osoc:jobs
  • return list of all osoc:name values

Attributes

@@@TODO

Links

Back to the top