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.Student
demo:Studentrdfs.subClassOf
rdfs:subClassOfdemo.Person
demo:Personnull
demo:John a demo:Student.
demo.玛丽
demo:玛丽a
demo.Student
demo:Student.
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.玛丽
demo:玛丽.
A query do see who loves whom:
A query do see who buys a present for whom:
A visualization of the ontology:
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