-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate owl:equivalentClass triples #41
Comments
Interesting point. I think yes, but by definition I think all mappings in [R2]RML create always subjects as instances. Please show an example if you have found a way to do it. I'm thinking, maybe, deleting the rr:class and in a POM stating that is an owl:class? Anyway, this issue is more related to what RML and R2RML can represent. The only problem I can see that addresses Mapeathor if it forces the user to specify a rr:class for the subject. I meant, please check first if this can be done and correctly processed by an [R2]RML-processor, and if so, I'll see if it affects the current behaviour of Mapeathor, because right now I'm not sure if it is affected. |
Here is how I do it in YARRRML:
This generates the following RML rules
|
I see, I've been running tests and mapeathor creates "rr:class nan" when provided with no class, so that should be changed in order to address your use case, the rest (I think) is fine. Tagging for modification |
The new release v1.5.4 can create a subject with no class, I hope it works for you now! |
Hi @anaigmo, subject with no class creation works for me, thank you ! |
I'm glad that works :) I'm re-opening the issue for the additional column issue. Could you provide an example of the IRI that is recognized as BN? So I can see why it behaving like this. I'd like to avoid adding more columns when possible, so first I want to check if it is possible to distinguish IRI/BN in all cases. Thanks! |
Here are a few examples I would like to be able to create owl:equivalentClass triples between elements in the iri and queryIRI columns |
Hi, I just realized that what I meant all along was not to generate owl:sameAs triples but owl:equivalentClass triples (to indicate that two classes are equivalent). I have changed all my previous posts to reflect this. I am still interested in creating triples relating classes (and not individuals). |
Hi,
As part of my knowledge graph creation process, I have some data in a csv file I need to transform into owl:equivalentClass triples.
My data basically consists of two columns, one with the subject IRI, the second with the object IRI, and I want to generate triples of the form (subject_iri, owl:equivalentClass, object_iri).
It does not seem possible, as mapeathor treats each subject as individuals. Here, my subjects are classes.
Am I right ?
The text was updated successfully, but these errors were encountered: