title: How to query individuals in DL Manchester OWL Syntax?
body: <p>I know this sounds like a very stupid question, but I've been trying to figure this out and I can't find anything on this, though it seems obvious that this should be doable.</p>
  
  <p>I'm developing something that queries an OWL file through its API using the Manchester OWL Syntax and a HermiT reasoner. I alternatively also run queries on the DL Query tab in Protege 4 to check my query results on that file. The file is basically the Friend Of A Friend (FOAF) ontology with added data instances.</p>
  
  <p>The problem: I can't find a way to query an instance by its unique identifier.</p>
  
  <p>It's supposed to be the URI so e.g. for a Person object with URI  <code>http://xmlns.com/foaf/0.1/Andrew_Kuchling</code>, I tried to run the following queries:</p>
  
  <pre><code>Person and URI value "http://xmlns.com/foaf/0.1/Andrew_Kuchling"
  
  Person value "http://xmlns.com/foaf/0.1/Andrew_Kuchling"
  
  Person and URI value "Andrew_Kuchling"
  
  Person that "Andrew_Kuchling"
  </code></pre>
  
  <p>none of these work. (The URI is constructed by prefixing <code>http://xmlns.com/foaf/0.1/</code> to whatever string you enter and URI is not actually identified in the ontology as a property).</p>
  
  <p>In FOAF, <code>mbox_sha1sum</code> is the sha1sum of a mailbox. Mailboxes are uniquely connected to individuals. So I tried the following query:</p>
  
  <pre><code>Person and mbox_sha1sum value "mbox_sha1sum-property-value-here"
  </code></pre>
  
  <p>However, it doesn't even execute this query because it feels the query is incorrect. The <code>mbox_sha1sum</code> value is the same that I've added for this Person. It exists in Individuals.</p>
  
  <p>It does execute this query:</p>
  
  <pre><code>Person and firstName value "Andrew"
  </code></pre>
  
  <p>All data properties are not specialised data types. Treated as literals by default.</p>
  
  <p>I really don't know what I'm doing wrong. Can someone please please help?</p>