Individuals relating to classes should be represented as restrictions in the KB.
E.g. table where the column (i.e. keyword) is a ObjectProperty and the entry is a Class.
It will end up looking like this initially dataset1 isOutputOf Simulation, but this is not valid.
It should be:
:dataset1 a
dcat:Dataset ,
[ a owl:Restriction ;
owl:onProperty :isOutputOf ;
owl:someValuesFrom :Simulation
] .
This means that Tripper must know whether :Simulation is an individual or a class. Currently it is just assumed that they are all individuals.
Tasks:
Individuals relating to classes should be represented as restrictions in the KB.
E.g. table where the column (i.e. keyword) is a ObjectProperty and the entry is a Class.
It will end up looking like this initially
dataset1 isOutputOf Simulation, but this is not valid.It should be:
This means that Tripper must know whether :Simulation is an individual or a class. Currently it is just assumed that they are all individuals.
Tasks:
This function could be called once in
datadoc.store().datadoc.update_individuals()function that converts references to classes.