HI:
I’m newly in ontop-spatial, and I follow the example wiki tutorial and download the mapping files from ConstantB/Ontop-spatial-example, which contains lgd-bremen.obda and lgd-bremen.ttl, But it seems that i cannot use it correctly.I import the example database according the example wiki at first. Then i encounter some questions when i import or creating the mappings.
First and formost, Where can I download the latest ontop-spatial boundled protégé. Currently, I download Protege-5.0.0-beta-17, which contain ontopPro 1.16.1 from Ontop-spatial (uoa.gr), and it seems not the latest version which may lead to the following errors. So please tell me where I can find the latest version.
Second,How can i import lgd-bremen.obda using ontop-spatial boundled protégé.The example wiki says Ontop supports both .obda and R2RML mappings. But i cannot find the funciton tab.
Third, I turn to create mappings using mapping manager manually after creating datasource connection and successfully connected in ontop Mappings>datasource manager>datasource editor on protege desktop. But I cannot correctly add the mapping language, even when I copy the sample code in example wiki(lgd:{gid} lgd:landUse lgd:{type} . lgd:{gid} lgd:hasName {name} . lgd:{gid} geo:asWKT {geom}^^geo:wktLiteral . ), and the Target (Triples Template) shows red box.Although it seems solved when I follow functions in mapping files - the st_asText(geom) propblem(see in following code), But I’m not very sure if I will encounter other questions.So please tell me why I cannot excute the sample code in example wiki.
mappingId lgd_point
target :poi-{name} a :poi ; :geom {geomWKT} ; :name {name}^^xsd:string .
source select gid, type, st_asText(geom) AS geomWKT, name from landuse
Fourth,I try to load the lgd-bremen.ttl through ontop>import R2RML mapings... on protege.But protege jump out the error:” An error occured while parsing the mappings.For more info,see the logs”. and logs shows as follows:
java.lang.Exception: Unable to parse the query: <http://linkedgeodata.org/ontology#{gid}> <http://www.opengis.net/ont/geosparql#asWKT> {geom}^^http://www.opengis.net/ont/geosparql#wktLiteral . , it.unibz.krdb.obda.parser.TargetQueryParserException: <http://linkedgeodata.org/ontology#{gid}> <http://www.opengis.net/ont/geosparql#asWKT> {geom}^^http://www.opengis.net/ont/geosparql#wktLiteral .
at it.unibz.krdb.obda.protege4.utils.QueryPainter.recolorQuery(QueryPainter.java:344)
at it.unibz.krdb.obda.protege4.utils.OBDAMappingListRenderer.prepareRenderer(OBDAMappingListRenderer.java:432)
at it.unibz.krdb.obda.protege4.utils.OBDAMappingListRenderer.getListCellRendererComponent(OBDAMappingListRenderer.java:377) ……Unknown Source)…..
So, Please help me solve these questions or point out my error, Thanks a lot !!!
--
Please follow our guidelines on how to report a bug https://ontop-vkg.org/community/contributing/bug-report
---
You received this message because you are subscribed to the Google Groups "ontop4obda" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontop4obda+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontop4obda/c091e6da-65db-43ec-b980-a2ac790bab11n%40googlegroups.com.