FW: RDF Question

Hello,

I passed the attached RDF (retrieved from the CS Aktive Space) project
through the RDF validator with the aim of looking at the resulting graph. I
was quite surprised by the repeated occurrence of multiple arcs all the
same. It caused me to make an enquiry of Jeremy Carroll (see below) who
suggested I report this as a bug. To a certain extent I guess a similar
comment could apply to the CS Aktive Space application itself... it
shouldn't so obviously be exporting sich repeated triple, but I think that
the validator should also be supressing the duplicates too.

Thanks,

Stuart Williams
--

-----Original Message-----
From: Jeremy Carroll [mailto:jjc@hplb.hpl.hp.com] 
Sent: 5 June 2004 08:13
To: Williams, Stuart
Subject: Re: RDF Question


It's a bug, pls report to www-rdf-validator@w3.org (I think)

Here is my comment on it, to be included in any such report.
[[
ARP returns the triples one at a time as they are found. It is the job of
the consuming application to remove duplicates. In the RDF Validator the
consuming application is responsible for drawing the graph, and should
eliminate duplicates before doing so.
It would be possible to use Jena as an intermediary between ARP and the RDF
Validator code, in order to achieve this. i.e. instead of using ARP
directly, the validator would read the input into a Jena model and then
display the Jena model. A Jena model eliminates duplicates.
Downsides to such an approach would be:
- the triples would be arbitrarily reordered
- bnode identifiers (from the RDF/XML) would be lost

Both of these are conformant, whereas the current behaviour is
non-conformant. The best fix would be to make a minor modification to the
validator code keeping a set of the triples as they are found and skipping
any triple that is already in the set.
]]

Williams, Stuart wrote:

> Hi Jeremy,
> 
> I just ran the RDF below which comes from the CS Aktive Space project 
> site through the W3C RDF Validation service to try to see what it looks
like.
> There are as stupid number of repeated owl:sameAs properties in the 
> source and they show up repeatedly in the graph drawn by the 
> validator. I have to say that I was surprised, I thought that graphs 
> were strictly sets of triples - so the triple can only be present in the
graph once.
> 
> Did the set thing change in revising the RDF specs, or is this a bug?
> 
> Ta
> 
> Stuart
> --
> 
> 
> <?xml version="1.0" encoding="UTF-8"?> <rdf:RDF 
> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>          xmlns:ns0="http://www.aktors.org/ontology/portal#"
>          xmlns:owl="http://www.w3.org/2002/07/owl#"
>          xmlns:ns1="http://www.aktors.org/ontology/news#">
>   <rdf:Description
> rdf:about="http://194.66.183.26/WEBSITE/GOW/ViewGrant.aspx?Grant=GR/F2
> 8618/0
> 1">
>     <ns0:has-project-leader
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>   </rdf:Description>
>   <rdf:Description
> rdf:about="http://194.66.183.26/WEBSITE/GOW/ViewGrant.aspx?Grant=GR/F3
> 5968/0
> 1">
>     <ns0:has-project-leader
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>   </rdf:Description>
>   <rdf:Description
> rdf:about="http://194.66.183.26/WEBSITE/GOW/ViewGrant.aspx?Grant=GR/K7
> 4258/0
> 1">
>     <ns0:has-project-member
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
> 
>   </rdf:Description>
>   <rdf:Description
> rdf:about="http://194.66.183.26/WEBSITE/GOW/ViewGrant.aspx?Grant=GR/N1
> 5764/0
> 1">
>     <ns0:has-project-leader
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>   </rdf:Description>
>   <rdf:Description
> rdf:about="http://194.66.183.26/WEBSITE/GOW/ViewGrant.aspx?Grant=GR/P0
> 0437/0
> 1">
>     <ns0:has-project-member
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>   </rdf:Description>
>   <rdf:Description
> rdf:about="http://194.66.183.26/WEBSITE/GOW/ViewGrant.aspx?Grant=GR/P0
> 1182/0
> 1">
>     <ns0:has-project-member
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
> 
>   </rdf:Description>
>   <rdf:Description
> rdf:about="http://194.66.183.26/WEBSITE/GOW/ViewGrant.aspx?Grant=GR/R6
> 7705/0
> 1">
>     <ns0:has-project-member
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>   </rdf:Description>
>   <rdf:Description
> rdf:about="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179">
>     <ns0:family-name>Shadbolt</ns0:family-name>
>     <ns0:full-name>NR Shadbolt</ns0:full-name>
>     <ns0:has-appellation>Professor</ns0:has-appellation>
> 
>     <ns0:has-email-address>nrs@ecs.soton.ac.uk</ns0:has-email-address>
>     <ns0:has-fax-number>+442380592865</ns0:has-fax-number>
>     <ns0:has-telephone-number>+442380597682</ns0:has-telephone-number>
>     <ns0:has-research-interest
> rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm
> #123"/
> 
>     <ns0:has-research-interest
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm#23"/>
>     <ns0:has-research-interest
> rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm
> #173"/
> 
>     <ns0:has-research-interest
> rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm
> #169"/
> 
> 
>     <ns0:has-research-interest
> rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm
> #267"/
> 
>     <ns0:has-research-interest
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm#44"/>
>     <ns0:has-research-interest
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm#1"/>
>     <ns0:has-research-interest
> rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm
> #154"/
> 
>     <ns0:has-research-interest
> rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm
> #166"/
> 
>     <ns0:has-research-interest
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm#88"/>
>     <ns0:has-research-interest
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm#62"/>
>     <ns0:has-research-interest
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/research_topics_def.htm#37"/>
>     <ns0:works-for rdf:resource="http://www.hesa.ac.uk/#H-0160"/>
> 
>     <ns0:works-in-unit
> rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewDepartment.aspx?Dep
> artmen
> t=750"/>
>     <rdf:type
> rdf:resource="http://www.aktors.org/ontology/portal#Researcher-In-Acad
> emia"/
> 
>     <owl:sameAs
> rdf:resource="http://www.ecs.soton.ac.uk/info/#person-02686"/>
>     <owl:sameAs
> rdf:resource="http://www.ecs.soton.ac.uk/info/#person-02686"/>
>     <owl:sameAs
> rdf:resource="http://www.ecs.soton.ac.uk/info/#person-02686"/>
>     <owl:sameAs
> rdf:resource="http://www.ecs.soton.ac.uk/info/#person-02686"/>
>     <owl:sameAs
> rdf:resource="http://www.ecs.soton.ac.uk/info/#person-02686"/>
>     <owl:sameAs
> rdf:resource="http://www.ecs.soton.ac.uk/info/#person-02686"/>
>     <owl:sameAs
> rdf:resource="http://www.ecs.soton.ac.uk/info/#person-02686"/>
> 
>     <owl:sameAs
> rdf:resource="http://www.ecs.soton.ac.uk/info/#person-02686"/>
>     <owl:sameAs
> rdf:resource="http://www.ecs.soton.ac.uk/info/#person-02686"/>
>     <owl:sameAs
> rdf:resource="http://www.ecs.soton.ac.uk/info/#person-02686"/>
>   </rdf:Description>
>   <rdf:Description rdf:about="http://news.kmi.open.ac.uk/353">
>     <ns1:visiting-person
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>   </rdf:Description>
>   <rdf:Description rdf:about="http://www.hero.ac.uk/rae/#Id-227401">
>     <owl:sameAs
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
> 
>     <owl:sameAs
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>     <owl:sameAs
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>     <owl:sameAs
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>     <owl:sameAs
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>     <owl:sameAs
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>     <owl:sameAs
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>     <owl:sameAs
>
rdf:resource="http://194.66.183.26/WEBSITE/GOW/ViewPerson.aspx?Person=14179"
> />
>   </rdf:Description>
> </rdf:RDF>
>   

Received on Sunday, 6 June 2004 16:02:38 UTC