W3C home > Mailing lists > Public > semantic-web@w3.org > June 2008

Re: Query of individuals that "May" belong to a class

From: Richard H. McCullough <rhm@pioneerca.com>
Date: Wed, 11 Jun 2008 05:39:09 -0700
Message-ID: <523B8BBF39954A38964415364FC86D8E@rhm8200>
To: "Cristiano Longo" <cristiano.longo@tvblob.com>
Cc: "Semantic Web at W3C" <semantic-web@w3.org>

I'm not sure what your question is.
But I think that you  could use the mKR language
to get your answer.

You can retrieve all individuals from the KB using 
    every x isu Individual; {
        ... $x ...
    };

Then you can test $x using a conditional expression.
For example, if you want to test property P
    if $x has P;
    then ...
    else ...
    fi;

Or, if you want to test class C
    if $x isu C;
    then ...
    else ...
    fi;

Is the test on P, or the test on C, what you had in mind?

Dick McCullough
http://mKRmKE.org/
knowledge := man do identify od existent done;
knowledge haspart proposition list;
mKE do enhance od "Real Intelligence" done;

----- Original Message ----- 
From: "Cristiano Longo" <cristiano.longo@tvblob.com>
To: <semantic-web@w3.org>
Sent: Wednesday, June 11, 2008 2:13 AM
Subject: Query of individuals that "May" belong to a class


> 
> Hi, i wonder to retrieve in my knowledge base all the individuals that 
> "May" belong to a class. For instance, given a property prop P and 
> another class C, all the individuals that do not have an instance of C 
> as P role filler.  Say this class D because of the open world 
> assumpition, I think that we are not able to retrieve all the 
> individuals in the KB that "colud" belong to D. Some ideas? Epistemic 
> Operators could help?
> 
> I'm using Jena + Pellet.
> 
> thanks in advance,
> Cristiano Longo
> 
> 
>
Received on Wednesday, 11 June 2008 12:41:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 08:45:07 UTC