W3C home > Mailing lists > Public > www-rdf-interest@w3.org > October 2003

RE: XPATH for RDF ?

From: Sheshagiri, Mithun <Mithun.Sheshagiri@hp.com>
Date: Tue, 21 Oct 2003 09:59:46 +0100
Message-ID: <5E13A1874524D411A876006008CD059F07383780@0-mail-1.hpl.hp.com>
To: "'leo@gnowsis.com'" <leo@gnowsis.com>, www-rdf-interest@w3.org

There are some efforts being made to develop a XPATH like language to
extract information from XML/RDF.

RDF Twig <http://rdftwig.sourceforge.net/> by Norman Walsh
TreeHugger <http://rdfweb.org/people/damian/treehugger/> by Damian Steer
RDF Template <http://www.semanticplanet.com/2003/08/rdft/spec> by Ian Davis

I have tried using all of these but finally ended using querying the PSO
represenation rather than the XML file, using JESS (Java Expert System
Shell) based defqueries. Jena 2 provides RDQL which has a similar approach.
But in general, I strongly advise not to use pure XSLT for querying XML/RDF.

Regards,
Mithun
http://www.cs.umbc.edu/~mits1

> -----Original Message-----
> From: Leo Sauermann [mailto:leo@gnowsis.com] 
> Sent: Tuesday, October 21, 2003 9:41 AM
> To: www-rdf-interest@w3.org
> Subject: XPATH for RDF ? 
> 
> 
> 
> 
> Is there a project that does a thing similiar to "XPATH" for RDF ?
> 
> Selecting TRIPLES or PARTS of triples by single strings, like 
> xpath does for XSLT ?
> 
> We cannot use XPATH, as there is million ways in noting the 
> simple statement
> 
> <dc:Document rdf:about="http://test.com/test"
> 	dc:author="Leo" />
> </dc:Document>
> 
> f.e.
> <rdf:triple>
> 	<rdf:subject> ....
> 	<rdf:object>...
> ....
> 
> (It's awful how many ways we have to note the same 
> information, I hope some RDF/XML-LITE vocabulary subset will 
> evolve to simplify parsers a
> bit)
> 
> 
> So XML parsing won't work, we need a XPATH-thing that has a 
> RDF graph as a basis for data querying.
> 
> 
> WHO DOES THIS ?
> 
> HOW FAR ARE THEY ?
> 
> IS IT W3C ?
> 
> 
> greetings
> Leo
> 
Received on Tuesday, 21 October 2003 05:00:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:02 GMT