Two identical triples in a graph

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 UTC