d3web Demo#
Here we define our objects/questions
The rule:
Dialog to test the knowledge. Answer the first question, the rule will answer the second automatically (red square to reset)
Shows the currently derived fact:
Here we have the markup to define and compile the knowledge. You can download/export it here (tools in the top right corner):
Ontology demo#
We define our ontology:
demo.Person
demo:Persona
rdfs.Class
rdfs:Class.
demo.John
demo:Johna
demo.Person
demo:Person.
demo.Mary
demo:Marya
demo.Person
demo:Person.
demo.loves
demo:lovesa
rdf.Property
rdf:Property.
demo.buysPresent
demo:buysPresenta
rdf.Property
rdf:Property.
demo.loves
demo:lovesowl.sameAs
owl:sameAsdemo.buysPresent
demo:buysPresent.
demo.John
demo:Johndemo.loves
demo:lovesdemo.Mary
demo:Mary.
A query do see who loves whom:
A query do see who buys a present for whom:
Here we have again a markup to compile the ontology. You can download/export it here (tools in the top right corner):
Some technical stuff: We define a separate package for all the knowledge on this page, so it is separate from all the other knowledge on d3web.de