Hi Richard,

here is an example of a valid GML literal for this GeoSPARQL version of Jena:

<gml:Point xmlns:gml="http://www.opengis.net/ont/gml";><gml:posList>-83.38 33.95</gml:posList></gml:Point>

The system is a bit fuzzy about the namespace declaration I think.

More below

On 23/06/2020 01:36, Richard Dijkstra wrote:
Thank you.

<gml:Point><gml:posList>-83.38 33.95</gml:posList></gml:Point>

might work than but is not excepted with the same message.


On Monday, June 22, 2020 at 4:59:22 PM UTC+2, Stephane Fellah wrote:

    your syntax is compatible with wktLiteral, not gmlLiteral. GML
    Literal is encoded in XML.

    On Mon, Jun 22, 2020 at 10:14 AM Richard Dijkstra
    <[email protected] <javascript:>> wrote:

        Dear all,

        Great 6.4 beta is available. So I have just downloaded 6.4 to
        look at the geosparql functionality.
        However creating a datagraph with a gmlliteral gives issues.

        Having definied a property as follows:

        ontetest64:POS
          a geosparql:gmlLiteral ;

What is the purpose/intention of this triple? It doesn't look right.

Regards,
Holger


          a owl:Class ;
          a sh:NodeShape ;
          rdfs:comment "Position class" ;
          rdfs:label "POS" ;
          rdfs:subClassOf owl:Thing ;
          sh:property ontetest64:POS-StadLoc ;
        .
        ontetest64:POS-StadLoc
          a sh:PropertyShape ;
          sh:path ontetest64:StadLoc ;
          sh:datatype geosparql:gmlLiteral ;
          sh:name "Stad loc" ;


        I assume EDG would accept as a gmlliteral:

            Point(-83.38 33.95)

        But EDG raise 2 errors:

        Malformed literal for datatype GML Literal
        Value: Point(-83.38 33.95)

        Value must be a valid literal of type gmlLiteral
        Value: Point(-83.38 33.95)

        I assume I am doing something wrong, but what?

        Kind regards,
        Richard Dijkstra
-- You received this message because you are subscribed to the
        Google Groups "TopBraid Suite Users" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to [email protected] <javascript:>.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/topbraid-users/6f03c637-50ee-45db-8cb0-2c430289f7bdo%40googlegroups.com
        
<https://groups.google.com/d/msgid/topbraid-users/6f03c637-50ee-45db-8cb0-2c430289f7bdo%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/92a0d20f-4f81-43e4-ba38-4e66c15a6855o%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/92a0d20f-4f81-43e4-ba38-4e66c15a6855o%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "TopBraid 
Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/89797d1c-a4bb-8b5d-b210-15e6831f8eb0%40topquadrant.com.

Reply via email to