The Scientific World Journal / 2014 / Article / Alg 1

Research Article

Ontology-Based Multiple Choice Question Generation

Algorithm 1

Bibtex OWL/XML ontology for “Book”.
<owl:Class rdf:ID="Book">
<rdfs:subClassOf rdf:resource="#Entry" />
<rdfs:label xml:lang="en">Book</rdfs:label>
<rdfs:comment xml:lang="en">A book with an explicit publisher.</rdfs:comment>
<rdfs:subClassOf>
   <owl:Restriction>
      <owl:onProperty rdf:resource="#humanCreator" />
      <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality>
   </owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
   <owl:Restriction>
   <owl:onProperty rdf:resource="#hasTitle" />
      <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality>
   </owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
      <owl:onProperty rdf:resource="#hasPublisher" />
      <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
      <owl:onProperty rdf:resource="#hasYear" />
      <owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality>
</owl:Restriction>
</rdfs:subClassOf>
</owl:Class>