我需要帮助为门生中的一个简单数学问题创建一个本体。问题是这样的,
“有5盒8支铅笔,6盒2支铅笔,4支3支铅笔。有多少支铅笔?”
可以更改项目的数量和名称。我只是想要一个帮助,如何获得一个模式来代表这个问题。
这是我本体的一部分。但它并不代表每个项目数量集的数量。
<!-- Item1 -->
<owl:NamedIndividual rdf:about="http://www.semanticweb.org/imesha/ontologies/2015/7/untitled-ontology-26#Item1">
<rdf:type rdf:resource="http://www.semanticweb.org/imesha/ontologies/2015/7/untitled-ontology-26#Item"/>
<Item1_Name rdf:datatype="http://www.w3.org/2001/XMLSchema#string">PencilBox</Item1_Name>
<Item2_Name rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Pencil</Item2_Name>
<include rdf:resource="http://www.semanticweb.org/imesha/ontologies/2015/7/untitled-ontology-26#Item2"/>
</owl:NamedIndividual>
<!-- Item2 -->
<owl:NamedIndividual rdf:about="http://www.semanticweb.org/imesha/ontologies/2015/7/untitled-ontology-26#Item2">
<rdf:type rdf:resource="http://www.semanticweb.org/imesha/ontologies/2015/7/untitled-ontology-26#Item"/>
<Item2_Name rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Pencil</Item2_Name>
</owl:NamedIndividual>