Θέμα: [protege-owl] Re: SPARQL QUERIES

Hey, I have run the query and I got the error "unresolved qname=a:Editor". What's wrong? I have an ontology named Editor with the properties name,salary and by_name. Could you, please, tell me how am I gonna write the query? thank u

Re: [protege-owl] Θέμα: [protege-owl] Re: SPARQL QUERIES

"?E" is a variable
"a" is a shortcut for "rdf:type"
You need a space between the "a" and the ":"

The colon with nothing preceding it means that the thing after is in the
current namespace. If the concept Editor were defined in namespace
"foo", then you would say "foo:Editor" to reference
the resource "Editor" and "foo:hasSalary" to
reference the predicate hasSalary.

At 02:53 PM 2/10/2006, you wrote:

Dear Mark,
thank you very much for your response. Could you, please, explain to me
what is E? Why do I have to use a:Editor? I run the query, but gives me
an error.unsolved qname-> a:Editor

Re: SPARQL QUERIES

are you discussin abt the Newspaper ontology? If so, then I cudn't load the SPARQL query panel in Protege after opening this Newspaper ontology, b'cos there is no option for this in the tab list of selection... so can you let me know how to use SPARQL in the non-owl ontologies?

Re: SPARQL QUERIES

Raj, as far as I know there is no support for SPARQL ourside ProtegeOWL.

Nick

Raj M Verma wrote:

> hi,
>
> are you discussin abt the Newspaper ontology? If so, then I cudn't
> load the SPARQL query panel in Protege after opening this Newspaper
> ontology, b'cos there is no option for this in the tab list of
> selection... so can you let me know how to use SPARQL in the non-owl
> ontologies?
>
> thanx,
> Raj.

Re: SPARQL QUERIES

That is, Protege Frames does not have support for SPARQL.
Nick

Nick Drummond wrote:

> Raj, as far as I know there is no support for SPARQL ourside ProtegeOWL.
>
> Nick
>
> Raj M Verma wrote:
>
>> hi,
>>
>> are you discussin abt the Newspaper ontology? If so, then I cudn't
>> load the SPARQL query panel in Protege after opening this Newspaper
>> ontology, b'cos there is no option for this in the tab list of
>> selection... so can you let me know how to use SPARQL in the non-owl
>> ontologies?
>>
>> thanx,
>> Raj.
>
>
>