AKSW / sml-converters

Converter for the Sparqlification Mapping Language to R2RML and back
Apache License 2.0
4 stars 0 forks source link

Handle object maps with rr:joinCondition #7

Open patrickwestphal opened 10 years ago

patrickwestphal commented 10 years ago

Currently object maps with a rr:joinCondition are not considered during R2RML-to-SML conversion. Can they be 'normalized away' or do they need special treatment?

Aklakan commented 9 years ago

(argh, need to leave now, need to finish this later ;) For now we should just nomalize them away. So for such a view v, we do something like

Create View foo As
  Construct {
    ?s {child.} ?o.
  }

SELECT {v.parent.rrTable} As {v.parent.alias} JOIN {v.child.rrTable} As {v.child.alias} WHERE v.{parent.alias}.rrParent = v.{child.alias}.rrChild