Leyla Jael García Castro wrote:
Hello Hugh, I was reading the referenced page by Benjamin (http://docs.openlinksw.com/virtuoso/rdfsparqlrule.html). If subclass inference is supported, it means I could query
SELECT ?sub
WHERE {?sub a :Animal . ?sub :hasWings ?obj}

And then I would get any sub which is an Animal or any subclass (Bird, Dog, Cat, etc.) and which is related to obj through the predicate hasWings?

Would it work if I try it with your demo EndPoint? I tried sometime a similar query and it only retrieved sub belonging to Animal class but to Bird, for instance. What am I missing?
You need the Transitive Option (V6 and higher required) for Subsumption.

Links:

1. http://docs.openlinksw.com:80/virtuoso/rdfsparql.html#rdfsparqlimplementatiotransexamples5


Kingsley

Best,
LG


*Von:* Hugh Williams [mailto:[email protected]]
*Gesendet:* Donnerstag, 7. Januar 2010 03:33
*An:* Benjamin Großmann
*Cc:* [email protected]
*Betreff:* Re: [Virtuoso-users] Inference via Web Interface?

Hi Benjamin

By "web interface" I presume you mean the SPARQL endpoint (ie http://<your-hostname>/sparql), as I would expect this to work pretty much the same as with isql, with the exception that the query is not prepended with the "sparql" keyword ?

Please provide more details on what exactly is failing for you ...

Best Regards

Hugh Williams

Professional Services

OpenLink Software

Web: http://www.openlinksw.com

Support: http://support.openlinksw.com

Forums: http://boards.openlinksw.com/support

Twitter: http://twitter.com/OpenLink

On 6 Jan 2010, at 13:24, Benjamin Großmann wrote:

Hi,

I want to use virtuoso’s inferencing feature described at

http://docs.openlinksw.com/virtuoso/rdfsparqlrule.html

On a demo dataset I could successfully inference rdfs:subClassOf statements in isql.

I would like to know, if it’s possible to use it in SPARQL queries via web interface.

The “define input:inference …” statement doesn’t seem to work here.

Thanks in advance,

Benjamin

--------------------------------

Benjamin Grossmann

neofonie GmbH

Robert-Koch-Platz 4

10115 Berlin

fon: +49.30 24627 100

fax: +49.30 24627 120

[email protected]

http://www.neofonie.de

Handelsregister

Berlin-Charlottenburg: HRB 67460

Geschaeftsfuehrung

Helmut Hoffer von Ankershoffen

(Sprecher der Geschaeftsfuehrung)

Nurhan Yildirim

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


------------------------------------------------------------------------
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now. <http://clk.atdmt.com/GBL/go/196390709/direct/01/>
------------------------------------------------------------------------

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ------------------------------------------------------------------------

_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


--


Regards,

Kingsley Idehen       Weblog: http://www.openlinksw.com/blog/~kidehen
President & CEO OpenLink Software Web: http://www.openlinksw.com





Reply via email to