Evaluation result of the TriQL

This document describes the result of the evaluation of TriQL
This document is created by Yoshio Fukushige (fukushige.yoshio@jp.panasonic.com).

NOTE

This evaluation is based on "TriQL - A Query Language for Named Graphs" (http://www.wiwiss.fu-berlin.de/suhl/bizer/TriQL/), which is called hereafter "the document." in this evaluation.

Convention

TriQL+
TriQL supports this requirement today under a suitable protocol binding and/or query language.
TriQL-
the requirement appears to be explicitly outside of the scope of TroQL, which is not to say that it could NOT be met by a suitable revision of TriQL.
TriQL?
need more information to make the determination.

Sample Query

  SELECT ?family , ?given
  FROM   <http://example.org/JohnzVcard.rdf>
  WHERE  (?vcard  vcard:FN "John Smith")
         (?vcard  vcard:N  ?name)
         (?name   vcard:Family  ?family)
         (?name   vcard:Given  ?given)
         (?name   vcard:age  ?age)
         (?name   vcard:shoeSize  ?shoeSize)
  AND    ?shoeSize > 5
  AND    ?age >= ?shoeSize
  USING  vcard FOR <http://www.w3.org/2001/vcard-rdf/3.0#>

3.1 RDF Graph Pattern Matching

TriQL+

  WHERE  (?vcard  vcard:FN "John Smith")
         (?vcard  vcard:N  ?name)
         (?name   vcard:Family  ?family)
         (?name   vcard:Given  ?given)
         (?name   vcard:age  ?age)
         (?name   vcard:shoeSize  ?shoeSize)

go to the top of this page

3.2 Variable Binding Results

TriQL+

SELECT ?family , ?given

From the spec: [[ The variable "?x" will be bound to the label of the subject resource. All such "x" are returned ]]

go to the top of this page

3.3 Extensible Value Testing

TriQL-

Has support for equality and comparison operators for integers and matching operation for strings

go to the top of this page

3.4 Subgraph Results

TriQL-

If the matched triples are in a Named Graph, the user could get all triples in the graph, for example by the following query. But it would be the case in very limited situation.

And returning all the triples is not returing the matched subgraph in the intended sense.

  SELECT ?subj, ?pred, ?obj
  FROM   <http://example.org/JohnzVcard.rdf>
  WHERE  ?graph (?vcard  vcard:FN "John Smith" .
	 	 ?vcard  vcard:N  ?name .
	         ?name   vcard:Family  ?family .
		 ?name   vcard:Given  ?given)
	         ?name   vcard:age  ?age.
   	         ?name   vcard:shoeSize  ?shoeSize
		 ?subj	 ?pred	?obj)
  AND    ?shoeSize > 5
  AND    ?age >= ?shoeSize
  USING  vcard FOR <http://www.w3.org/2001/vcard-rdf/3.0#>

go to the top of this page

3.5 Local Queries

TriQL+

The EBNF Grammar does not allow file names,for example "example.trig", to appear after "FROM" , but in an example appeared in the document, it appears.

go to the top of this page

3.6 Optional Match

TriQL-

go to the top of this page

3.7 Limited Datatype Support

TriQL+

AND    ?shoeSize > 5
AND    ?age >= ?shoeSize
AND    ?date > "2003-01-01"^^xsd:date 
(the last example is taken from the document)

go to the top of this page

3.8 Bookmarkable Queries

TriQL-

go to the top of this page

3.10 Result Limits

TriQL-

go to the top of this page

3.11 Iterative Query

TriQL-

go to the top of this page

3.12 Streaming Results

TriQL-

go to the top of this page

4.1 Human-friendly Syntax

TriQL+

TriQL queries read like a sentence (like RDQL).

go to the top of this page

4.2 Provenance

TriQL+

This point is what the Named Graphs are for.

  SELECT ?family, ?given, ?graph
  FROM   <http://example.org/JohnzVcard.rdf>
  WHERE  ?graph (?vcard  vcard:FN "John Smith" .
	 	 ?vcard  vcard:N  ?name .
	         ?name   vcard:Family  ?family .
		 ?name   vcard:Given  ?given)
	         ?name   vcard:age  ?age.
   	         ?name   vcard:shoeSize  ?shoeSize)
  AND    ?shoeSize > 5
  AND    ?age >= ?shoeSize
  USING  vcard FOR <http://www.w3.org/2001/vcard-rdf/3.0#>

go to the top of this page

4.3 Non-existant Triples

TriQL-

go to the top of this page

4.4 User-specifiable Serialization

TriQL-

go to the top of this page

4.5 Aggregate Query

TriQL+

One can specify more than one Source Selector

go to the top of this page

4.6 Additional Semantic Information

TriQL-

go to the top of this page

4.6a Additoal Semantic Information(variant)

TriQL-

go to the top of this page

4.7 Bandwidth-efficient Protocol

TriQL-

go to the top of this page

4.8 Literal Search

TriQL+

go to the top of this page

4.9 Boolean Query

TriQL-

go to the top of this page

Created by Yoshio Fukushige
fukushige.yoshio@jp.panasonic.com