W3C home > Mailing lists > Public > www-rdf-validator@w3.org > September 2009

Two identical triples in a graph

From: Gerald Reif <reif@ifi.uzh.ch>
Date: Fri, 25 Sep 2009 13:27:53 +0200
Message-Id: <11ADA2F3-54CE-4151-88C7-068188FF58CF@ifi.uzh.ch>
To: www-rdf-validator@w3.org
Hello,

I think that in the following case the RDF Validator does not behave  
like it should. If you enter an RDF graph, that contains two RDF  
triples with the same subject, predicate and object (the object is a  
literal), then the output contains two instead of one triple.

It should be one Triple since
- the and RDF graph is a set of RDF triples. [1]
- the literal equality rules are fulfilled. [2]

Example:

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/">
   <rdf:Description rdf:about="http://www.w3.org/">
     <dc:title>World Wide Web Consortium</dc:title>
     <dc:title>World Wide Web Consortium</dc:title>
   </rdf:Description>
</rdf:RDF>

Best,
Gerald Reif

[1] http://www.w3.org/TR/rdf-concepts/#section-rdf-graph
[2] http://www.w3.org/TR/rdf-concepts/#section-Literal-Equality
Received on Friday, 25 September 2009 11:28:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 1 May 2011 06:15:20 GMT