Ahh. I see! No problem.

Thanks for your response.

Regards
Arif
________________________________________
From: Richard Cyganiak [[email protected]]
Sent: 28 April 2011 21:13
To: Shaon, Arif (STFC,RAL,ESC)
Cc: [email protected]
Subject: Re: [d2rq-dev] Nested RDF

Hi Arif,

DESCRIBE in D2R always returns only a description of a single resource. Other 
resources (like the MD_Identifiers in your example) are only linked to.

Best,
Richard


On 28 Apr 2011, at 19:48, <[email protected]> <[email protected]> wrote:

> Hi Everyone,
>
> I was wondering if it would be possible to output the following nested RDF 
> structure using D2RQ:
>
> <rdf:RDF>
>                <acrid:CW_Station 
> rdf:about="http://www.cru.uea.ac.uk/so/station/CW_Station/cru/1001";>
>                               <om:shape 
> >010100000000000000000052400000000000004140</om:shape>
>                               <iso-mi:identifier>
>                                              <iso-m:MD_Identifier 
> rdf:about="http://www.cru.uea.ac.uk/identifier/10010-3";>
>                                                             
> <dc:identifier>010010</dc:identifier>
>                                                             <dc:title>Jan 
> Mayen</dc:title>
>                                              </iso-m:MD_Identifier>
>                               </iso-mi:identifier>
>                               <iso-mi:identifier>
>                                              <iso-m:MD_Identifier 
> rdf:about="http://www.cru.uea.ac.uk/identifier/10010-1";>
>                                                             
> <dc:identifier>010010</dc:identifier>
>                                                             
> <dc:description>local id</dc:description>
>                                              </iso-m:MD_Identifier>
>                               </iso-mi:identifier>
>                               <acrid:elevation 
> rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal";>
>                                                             54.6
>                               </acrid:elevation>
>                               <acrid:country 
> rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>Norway</acrid:country>
>                </acrid:CW_Station>
> </rdf:RDF>
>
> I have tried running a SPARQL describe query against the attached D2RQ map 
> file but the I only get references to the MD_Identifier resources as follows:
>
> <rdf:RDF
>     xmlns:iso-mi="http://www.cru.uea.ac.uk/cru/projects/acrid/metadata-2#";
>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
>     xmlns:om="http://www.cru.uea.ac.uk/cru/projects/acrid/om#";
>     xmlns:iso-m="http://www.cru.uea.ac.uk/cru/projects/acrid/metadata#";
>     xmlns:owl="http://www.w3.org/2002/07/owl#";
>     xmlns:dc="http://purl.org/dc/terms/";
>     xmlns:acrid="http://www.cru.uea.ac.uk/cru/projects/acrid/workflows#";
>     xmlns:xsd="http://www.w3.org/2001/XMLSchema#";
>     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
>     xmlns:map="file:///C:/Users/as89/Desktop/SW_Projects/d2rq-0.7/acrid.n3">
>   <acrid:CW_Station 
> rdf:about="http://www.cu.uea.ac.uk/so/station/CW_Station/cru/1001";>
>     <om:shape>010100000000000000000052400000000000004140</om:shape>
>     <acrid:elevation rdf:datatype="http://www.w3.org/2001/XMLSchema#float";
>     >54.6</acrid:elevation>
>     <acrid:country>Norway</acrid:country>
>     <iso-mi:identifier 
> rdf:resource="http://www.cu.uea.ac.uk/identifier/1001-3"/>
>     <iso-mi:identifier 
> rdf:resource="http://www.cu.uea.ac.uk/identifier/1001-1"/>
>   </acrid:CW_Station>
> </rdf:RDF>
>
> My SPARQL query is:  DESCRIBE 
> <http://www.cu.uea.ac.uk/so/station/CW_Station/cru/1001>
>
> I am sure I am missing something obvious here.
>
> Any help would be greatly appreciated.
>
> Best regards
> Arif
>
>
>
> ******************************************************************
> Dr Arif Shaon
>
> Software Research Scientist,
> Scientific Information Group,
> E-Science Centre, Science and Technology Facilities Council,
> Rutherford Appleton Laboratory Chilton, Didcot, OXON, OX11 0QX, UK
> tel: +44 1235 448178
> [email protected]
>
>
> --
> Scanned by iCritical.
>
>
> <acrid_d2rq.txt>------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd_______________________________________________
> d2rq-map-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

-- 
Scanned by iCritical.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to