Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Maybe have a look at the <a href="http://attempto.ifi.uzh.ch" rel="noreferrer">Attempto project</a> the goal of which is to define a fragment of English that can be automatically mapped to first-order logic. Part of this effort is a mapping to OWL 2 DL. See e.g. <a href="http://attempto.ifi.uzh.ch/site/docs/writing_owl_in_ace.html" rel="noreferrer">Writing OWL ontologies in ACE</a>.</p> <p>Your example sentence</p> <pre><code>Bob, over on 42nd street, will have a job at the Mall after the owner approves </code></pre> <p>could be rewritten in Attempto Controlled English (ACE) as</p> <pre><code>If an owner of Mall approves John whose address is "42nd street" then he is employed by Mall. </code></pre> <p>(or something similar, depending on what you exactly intend to say.)</p> <p>This sentence can be automatically mapped to an OWL2 <em>SubClassOf</em>-axiom</p> <pre><code> SubClassOf( ObjectIntersectionOf( ObjectOneOf( :Mall ) ObjectSomeValuesFrom( :owner ObjectSomeValuesFrom( :approve ObjectIntersectionOf( ObjectOneOf( :John ) DataHasValue( :address "42nd street"^^&lt;http://www.w3.org/2001/XMLSchema#string&gt; ) ) ) ) ) ObjectSomeValuesFrom( :employ ObjectOneOf( :John ) ) ) </code></pre> <p>This mapping implements certain conventions about basic word classes:</p> <ul> <li>common nouns map to OWL class names</li> <li>proper names map to OWL individual names</li> <li>transitive verbs, transitive adjectives, and <em>of</em>-constructions map to OWL property names: data property names if their argument is a number or string, object property names otherwise</li> </ul> <p>Many word classes that ACE supports are not supported by this mapping, e.g. intransitive and ditransitive verbs, intransitive adjectives, and adverbs. The coverage could be extended, e.g. intransitive verbs could map to OWL classes (e.g. "<em>John sleeps.</em>" could be taken to mean that the individual <strong>John</strong> belongs to the class of <strong>sleepers</strong>). It is less clear how to handle e.g. ditransitive verbs and adverbs.</p> <p>In general, English is much richer in terms of its building blocks (nouns, different types of adjectives, different types of verbs, ...) than OWL (which has classes, individuals, object and data properties, and (typed) data items such as strings and numbers). And this is just the "word vs entity" level. Things like tense are more complicated as they have many surface representations in English and lack any built-ins on the OWL side.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload