Skip to content
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

Literal termType when p is rdf:type #172

Open
dachafra opened this issue Jul 12, 2022 · 2 comments
Open

Literal termType when p is rdf:type #172

dachafra opened this issue Jul 12, 2022 · 2 comments

Comments

@dachafra
Copy link

Issue type: 🐛 Bug

Description

If the p is rdf:type, the object term type is rr:termType rr:Literal, but when p is a, then the object is correct (i.e. rr:termType IRI)

Steps

Use a mapping with a po such as [rdf:type, ex:myClass]

@pheyvaer
Copy link
Collaborator

Hi @dachafra

Technically speaking this is not a bug. You need to write [rdf:type, ex:myClass~iri]. That being said I think it makes sense to default to ~iri when the predicate is rdf:type!

@dachafra
Copy link
Author

Well, if a=rdf:type and the default behavior for a is ~iri I think both should be treated the same right? ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants