On Thu, Aug 2, 2012 at 5:36 AM, Alexandre Blanquart
<
alex.bl...@gmail.com> wrote:
> Do you have any pointer to ripple listing these custom pipes that could be
> materialized as well in Gremlin?
Well, they're "custom" because you define them yourself, e.g. using
regular expression syntax [1]. Maybe Marko can comment on the best
way to do regex paths in Gremlin. Here's a more complete list of RDFS
steps/mappings:
@list subclasses: rdfs:subClassOf~+
@list superclasses: rdfs:subClassOf+
@list subproperties: rdfs:subPropertyOf~+
@list superproperties: rdfs:subPropertyOf+
@list properties: :superclasses? rdfs:domain~. :superproperties?
@list types: rdf:type. :superclasses?
> Do they implement the specifications ? meaning are they for example OWL
> compliant ?
If we were to add OWL (Full) semantics, we would have many more
mappings and the above would turn into something more like:
@list in-list: rdf:first~. rdf:rest~*
@list subclasses: ((rdfs:subClassOf~ (owl:unionOf. each.) (:in-list.
owl:intersectionOf~.) each. apply.)+
@list superclasses: ((rdfs:subClassOf (:in-list. owl:unionOf~.)
owl:intersectionOf) each. apply.)+
[...]
Yikes. But it can be done.
Josh
[1]
https://github.com/joshsh/ripple/wiki/Syntax