gmlLiteral in TB 6.4

23 views
Skip to first unread message

Richard Dijkstra

unread,
Jun 22, 2020, 10:14:07 AM6/22/20
to TopBraid Suite Users
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 ;
  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

Stephane Fellah

unread,
Jun 22, 2020, 10:59:22 AM6/22/20
to topbrai...@googlegroups.com
your syntax is compatible with wktLiteral, not gmlLiteral. GML Literal is encoded in XML.

--
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 topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/6f03c637-50ee-45db-8cb0-2c430289f7bdo%40googlegroups.com.

Richard Dijkstra

unread,
Jun 22, 2020, 11:36:40 AM6/22/20
to TopBraid Suite Users
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.
To unsubscribe from this group and stop receiving emails from it, send an email to topbrai...@googlegroups.com.

Holger Knublauch

unread,
Jun 22, 2020, 6:23:44 PM6/22/20
to topbrai...@googlegroups.com

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 <richarddi...@gmail.com> 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


To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/92a0d20f-4f81-43e4-ba38-4e66c15a6855o%40googlegroups.com.

Richard Dijkstra

unread,
Jun 23, 2020, 4:15:27 AM6/23/20
to TopBraid Suite Users
Hi Holger,

Thank you, this literal is accepted by EDG. I have also create a Google maps API key and registered in the server configuration.
In my opinion this all would lead to the availability to a maps panel. But that is not the case.

Any clue for what is required more for accessing the map?

Kind regards,
Richard D

Holger Knublauch

unread,
Jun 23, 2020, 4:45:33 AM6/23/20
to topbrai...@googlegroups.com

Did you activate GeoSparql for your asset collection on its Management tab?

Holger

--
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 topbraid-user...@googlegroups.com.

Richard Dijkstra

unread,
Jun 23, 2020, 5:14:41 AM6/23/20
to TopBraid Suite Users
That works perfect, thank you.
Rereading the key improvements this was described.

To unsubscribe from this group and stop receiving emails from it, send an email to topbrai...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages