[Attempto] Searching property values using ACE

Kaarel Kaljurand kaljurand at gmail.com
Thu Jul 29 19:22:12 CEST 2010


Hi,

On Thu, Jul 29, 2010 at 18:22, Ruesche-Jr, Daniel H
<daniel.h.ruesche-jr at boeing.com> wrote:
>
> I have Protégé 4+ and the ACE View Tab.  I can ACE query successfully the classes and individuals but have not succeeded in using the values of properties.
>
> It appears what gets searched is the text tagged as acetext in the .OWL file.  It also appears this acetext is the results of generating ACE snippets.  My expectation is, the user should be able to produce an ACE snippet corresponding to a property and therefore enable an ACE search on that value.

This paragraph I don't understand completely. The Q&A view in ACE View
is based on DL-Query. ACE queries are mapped to OWL class expressions
and these are then "evaluated" using the reasoner to find out which
individuals and classes relate to the class expression.

Maybe the problem is that your properties are not object or data
properties but _annotation_ properties, which do not participate in
reasoning.
Can you send a snippet of your ontology in OWL functional-style syntax?

> ItemA is a "candy apple red Porsche carrera, blah blah blah"

This is not a correct ACE sentence because quoted strings cannot
have a determiner ('a') in front of them (in this sense they act like
proper names).
Correct would be e.g.

ItemA is "candy apple red Porsche carrera, blah blah blah".
Every n:ItemA is "candy apple red Porsche carrera, blah blah blah".

> I have been unable to find the ACE syntax to properly format the snippet.  What is the correct syntax?
>
> <noun> is a <lengthy text string>

These are the basic syntax rules that apply in this case:

1. Every common noun is preceded by a determiner.
2. No quoted string is preceded by a determiner.
3. Every declarative ACE sentence ends with a dot.

So, correct would be:

<det> <noun> is <string> .

> In the above example, the real ontology has a class “ItemA” (not an individual) the Dublin Core property known as description to hold the text string "candy apple red Porsche carrera, blah blah blah"

So, I would write e.g.:

For every itemA its description is "blah blah".
Whose description is "blah blah"?

Hope this helps,
Kaarel


More information about the attempto mailing list