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

Reimplement RDFS module using sound backward chaining #29

Open
wouterbeek opened this issue May 27, 2016 · 0 comments
Open

Reimplement RDFS module using sound backward chaining #29

wouterbeek opened this issue May 27, 2016 · 0 comments
Assignees

Comments

@wouterbeek
Copy link
Contributor

Made a first attempt that is not very performant. There seems to be some looping.

Proposed API:

  • rdf_mt(?S, ?P, ?O)
  • rdf_mt(?S, ?P, ?O, -Tree)
  • rdf_property(?P)
  • rdfs_class(?C)
  • rdfs_instance(?I, ?C)
  • rdfs_property(?P)
  • rdfs_subclass(?C, ?D)
  • rdfs_subproperty(?P, ?Q)

Improvements WRT rdfs.pl:

  • rdf_mt/3 allows all entailment results to be generated, not only sublclass, subproperty and instanace relations. (The class/property/instance predicates are all implemented as simple wrappers of rdf_mt/3.)
  • rdf_mt/4 gives a proof tree for each match.
  • Rename "individual" -> "instance"
  • rdfs:domain and rdfs:range are not used by the instance-of relation.
  • Interactions between rdfs:subPropertyOf are other entailment rules are not supported.

Two possible solutions for the looping:

  • Tabling
  • TMS
@wouterbeek wouterbeek self-assigned this May 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant