RDF
RDF Data Query Language
10:45, 21 Sep 2001 UTC | Edd Dumbill

Andy Seaborne of HP Labs, Bristol, has announced a "preview release" of a query language for the Jena RDF API.

Derived from Libby Miller's work on SquishQL, RDQL treats RDF as data and provides query with triple patterns and constraints over a single RDF model. Seaborne notes that RDQL is targetted at scripting use and for experimenttion in information modeling languages.

His examples include:

All the triples in the model:

        SELECT *
        WHERE (?x, ?y, ?z)

The contents of bags:

        SELECT ?b, ?y
        WHERE  (?b, <rs:type>, <rs:Bag>), (?b, ?x, ?y)
        AND    ! ( ?x eq <rs:type> && ?y eq <rs:Bag> )
        USING  rs FOR <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

Java JAR files, Javadoc and examples can be found from the RDQL web page.

| See 1 comment

Newest comments

Re: RDF Data Query Language (cheryl - 09:50, 28 Jan 2003)
what is the funtion of <rs>and </rs>tag in html
  
xmlhack: developer news from the XML community

Front page | Search | Find XML jobs

Related categories
RDF
Java