Is it possible to define the cardinality of data property in OWL? For instance considering a class "Person" with the data property "Age", is there a way to declare that the data property "Age" must have a single value?
相关问题
- Calculate the depth of subclass in the OWL ontolog
- MVC2 - Consume RSS feed with RDF and namespace htt
- RDFlib 'on disk' store
- owl:someValuesFrom vs. owl:minCardinalilty
- jena.query.ResultSet and jena.query.QuerySolution:
相关文章
- RDF libraries for Scala [closed]
- The difference between blank nodes and variables i
- Triple extraction from a sentance
- Meaning of owl:hasValue?
- boundary for arbitrary property path in SPARQL 1.1
- sparql complete tree from subject
- Jena Fuseki assembler file + TDB + OWL reasoner
- Can I combine local and remote dataset within SPAR
You use the axiom that you would with an object property (DL and Manchester syntaxes):
Here's a small ontology with just such axioms:
Using exact cardinality restrictions with datatype properties is actually a little more convenient with datatype properties than with object properties in some situations, because reasoners (should be able to) recognize inequality among literals (e.g., 2 ≠ 3 and "foo" ≠ "bar") automatically, whereas individuals can have multiples names.