Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Triplify object properties without rdf:type triples in R2RML

3274437Oct 7 2016

Hello,

I have the following R2RML mapping in which I'm trying to create an object property between classes C2 and C1. This mapping generates the object property triples + the rdf:type triples for class C1 because of the rr:class statement.

I would like to generate ONLY the object properties, without rdf:type triples. However, if I remove the rr:class from C1, the object properties are not mapped either.

So, is there a way to map only the object properties?

<http://mapping.org/C1>

  rr:logicalTable [ rr:tableName "C1" ] ;

  rr:subjectMap [

    rr:template <http://ex.com/C1/{ID_C1}> ;

    rr:class <http://ex.com/C1>

  ] .

<http://mapping.org/C2>

  rr:logicalTable [ rr:tableName "C2" ] ;

  rr:subjectMap [ rr:template <http://ex.com/C2/{ID_C2}> ] ;

  rr:predicateObjectMap [

    rr:predicate <http://ex.com/C2#ID_C1> ;

    rr:objectMap [

      rr:parentTriplesMap <http://mapping.org/C1> ;

      rr:joinCondition [

        rr:child "ID_C1" ;

        rr:parent "ID_C1"

      ]

    ]

  ] .

Thanks in advance,

Elisa.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 4 2016
Added on Oct 7 2016
0 comments
344 views