Search Mailing List Archives
[protege-discussion] Need help in Query
Timothy Redmond
tredmond at stanford.edu
Wed Sep 1 15:45:08 PDT 2010
I don't really know much about sparql and didn't immediately see how to
make your query work. But there is a tutorial page on sparql [1] and
there are several other sources on the web.
-Timothy
[1] http://jena.sourceforge.net/ARQ/Tutorial/
On 08/29/2010 03:45 AM, Farhana Sarker wrote:
> Hello Expert,
>
> I have created an OWL Lite Ontology using Protege-Owl (Protege 3.4.4).
> I have also query on my ontology using Protege built-in SPARQL.
> I did the following query:
>
> SELECT ?subject ?object
> WHERE {
> ?subject rdfs:subClassOf ?object.
> }
>
> I get the result which is OK. Now I want to filter some specific
> information from the result of the above query. I used FILTER option
> in SPARQL but it return me NO MATCHES FOUND. BUT in the above query
> result there is those information what I was expected to filter.
>
> For your clear understanding I am giving some data from my query
> result which is as follows:
>
> Subject Object
> Accreditation influences *some*
> plagiarism
> Accreditation influences *some* Funding
> Accreditation influences *some* Tenure
> Accreditation Challenges
> Funding influences
> *some* plagiarism
> Funding influences
> *some* Research
> Funding influences *some* Tenure
> Funding Challenges
>
>
> This is my above query result. Now I just want to filter Accreditation
> Part. I like the result only
> Accreditation influences
> *some* plagiarism
> Accreditation influences *some* Funding
> Accreditation influences *some* Tenure
>
> *Could you please help me by sending the query that will give me the
> result?*
>
>
> For more information about my ontology:
> Here, Accreditation is a SUBCLASS of CHALLENGES and influences is
> OBJECT PROPERTY and plagiarism,Tenure,Funding,Research are also
> subclass of Challenges.
> They are connected with SOME value restriction
>
> Please help me.
>
>
> Thank you
> Farhana
>
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20100901/8f79f9fd/attachment.html>
More information about the protege-discussion
mailing list