Hi List,


I am trying to generate the following RDF property with some XML content as its 
value (in accordance with the relevant RDF spec at: 
http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-XML-literals):



<net:nodeGeometry rdf:parseType="Literal"><gml:Point><gml:pos 
srsDimension="2">530980 179740</gml:pos></gml:Point></net:nodeGeometry>



And I have the following D2RQ PropertyBridge defined:



map:trans_pt_point_the_geom a d2rq:PropertyBridge;

        d2rq:belongsToClassMap map:trans_pt_point;

        d2rq:property net:nodeGeometry;

        d2rq:propertyDefinitionLabel "trans_pt_point the_geom";

        d2rq:sqlExpression "ST_AsGML(3, trans_pt_point.the_geom, 20, 1)";

        d2rq:datatype rdf:XMLLiteral;

        .



But what I get from D2RQ is as follows:



<net:nodeGeometry 
rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral";>&lt;gml:Point&gt;&lt;gml:pos<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>
 srsDimension="2"&gt;147780 
30660&lt;/gml:pos&gt;&lt;/gml:Point&gt;</net:nodeGeometry>



As it is shown above, the XML tags are escaped.



Could someone please advise what I am doing wrong?



Regards

Arif





******************************************************************

Dr Arif Shaon



Software Research Scientist,

Scientific Applications Group,

E-Science Centre, Science and Technology Facilities Council,

Rutherford Appleton Laboratory Chilton, Didcot, OXON, OX11 0QX, UK

tel:  +44 1235 448178

[email protected]<mailto:[email protected]<mailto:[email protected]%3cmailto:[email protected]>>


-- 
Scanned by iCritical.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to