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

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]


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

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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:14 UTC