Adding rdf:type to a blank node in Ontorefine

169 Views Asked by At

I'm using Ontorefine within GraphDB to create RDF triples from a csv source. It seems impossible to add a rdf:type when the subject is a blank node.

When you hit the arrow in the bottom right corner of an object that is a blank node, you can type a owl:Restiction (or rdf:type owl:Restriction for that matter), but after applying, it disappears.

Even if you manually add the statement (in the JSON source) that this blank node has rdf:type owl:Restriction as property en object, it still does not create the actual triple. See picture below. The configuration is there, but the example states: empty empty. And indeed, no triple is created.

enter image description here

Is this in someway a feature of Ontotext, or is this a bug? In several occasions this is needed, for instance in creating a restriction in OWL.

2

There are 2 best solutions below

0
Tony On BEST ANSWER

The issue was addressed in the newer versions of the tool.

Currently the latest Ontotext Refine version is 1.2, where the issue is not present.

0
Nikola Tulechki On

Hello this is still present in the tool but it seems to be a purely a bug in the mapping UI . If you produce a mapping without the rdf:type and generate a SPAQRL query from that mapping, you can just add the rdf:type in the construct/insert part of the mapping query and use it to produce RDF or insert it GraphDB.