ok the extra results are because the graph uri... =]
but what can explain the opencyc concepts in the results if they doesnt have
any subclass? something wrong with the query?

On Sun, Oct 17, 2010 at 4:28 PM, Mauricio Chicalski <[email protected]
> wrote:

> Hi all,
>
> I was wondering whats happening..
>
> the following query returns only yago (root classes) when executed with the
> browser (firefox)..
> but when running the query with the jena sparql service... it also returns
> opencyc concepts and some others (including "classes" that apparently doesnt
> have subclasses)..
>
> CONSTRUCT {
> ?y <http://www.w3.org/2000/01/rdf-schema#label> ?label
> } WHERE {
> ?sub  <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?y  .
> ?y <http://www.w3.org/2000/01/rdf-schema#label> ?label .
> OPTIONAL {?y <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?super} .
> filter(!bound(?super))}
>
> by the way.. if I also Include in the construct clause the subclasses of
> ?y.. ?sub  <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?y
> then jena cant parse the resulting xml... invalid chars..
>
> CONSTRUCT {
> ?y <http://www.w3.org/2000/01/rdf-schema#label> ?label .
> ?sub  <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?y
> } WHERE {
> ?sub  <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?y  .
> ?y <http://www.w3.org/2000/01/rdf-schema#label> ?label .
> OPTIONAL {?y <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?super} .
> filter(!bound(?super))}
>
> thanks for attention...
>
>
>
>
>
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to