-
Notifications
You must be signed in to change notification settings - Fork 13
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
Define an easier profile of RDF #15
Comments
Suggest that this could be a tag in its own right for issues to discuss what should be in the easy profile and what not |
@azaroth42, I am willing to create a tag for this purpose, but I wonder if it might be clearer if we explicitly list candidate profile features here, and reference the related issues. |
Okay, I'll start ... Every resource should have exactly one class, given with |
Wouldn't that give users the idea that RDF is like object-oriented model, where an object is an instance of a single class? If you take inference into account, I would say there are basically no RDF datasets that fit this if profile. If a resource description uses more than one property with ranges that are different types, you already got 2 types for that resource. |
It's a great idea to just gather profile things, possibly without lots of discussion on each. |
@namedgraph It would make it easier for people who understand object-oriented programming and do not have a strong grasp of RDF (e.g. the target audience) to work with the data, as they could easily make an ORM that turned RDF classes into OO classes and instantiated RDF resources using those OO classes. I agree that if you turn on inferencing, you will never satisfy this constraint, and thus you should not turn on inferencing. @HughGlaser If you want the class of the instance to be eg:Woman then yes, you would need to construct it as a subClass of foaf:Person. Then the ORM would know that it was a Person by inheritance. @dbooth-boston And that the first one generated two comments in under two hours I think validates the need for a separate tag with separate issues. |
Yes, @azaroth42 , I think @namedgraph 's comment is instructive. On subClass, I'm going to live with that :-) |
@azaroth42 from my experience, ORM is absolutely the wrong approach for RDF. It is a subject to both impedance mismatch and leaky abstractions. |
@azaroth42, I think I previously misunderstood your suggestion for a new tag. Now I think you meant a tag to act as a new issue category, which I have now created: "Category: easier profile". See https://github.com/w3c/EasierRDF/labels |
Which brings to another point ... :-) So I read |
@namedgraph I think you're missing the point of this exercise. Per @HughGlaser:
💯! @HughGlaser I do agree. The intent is that there should be a trivial way to take the properties of the resource and construct an in-memory instance of a class, that can manage properties, functions and so forth. @dbooth-boston Thanks! Will create a new issue with that label for this discussion |
Not sure where this thread is going, but when designing a simpler profile, the first thing would be to identify potential use cases. (1) didactic (basically a learning tool, identifying most essential vocabulary elements but leaving out less intuitive parts), I think (3) and (2) would be most essential, and the following possible simplifications would be in line with that:
This would be a cut, deep into the core of the SW, but I am not suggesting to abandon inferences (nor anything else). Instead, I'm suggesting to reserve this for advanced users. This Lite profile would be a plain graph format, then. I would not like to see the one type per representation, because then, this profile has no advantage anymore in comparison to XML or plain JSON other than being upward-compatible with proper RDF and RDFS. Wth these or similar specification, the spec for the profile would become short and neat ;) The semantics would be extremely shallow, but it would allow newbies to both populate ABoxes and to access end points (regardless of whether the triples they find are inferred or explicit). |
"We could probably put together a profile that disallows certain
RDF usages and encourages certain idioms"
https://lists.w3.org/Archives/Public/semantic-web/2018Nov/0216.html
The text was updated successfully, but these errors were encountered: