Open alegrm opened 8 years ago
Hello and thanks for your interest in using TripleGeo.
In order to transform GML files into RDF, you should make changes at the GML2RDF.xsl stylesheet. In particular, you have to specify suitable values for all XSL variables marked with EDIT in this stylesheet, including the base URI to be used for the triples, the geospatial ontology (e.g., GeoSPARQL WKT), the tag specifying the geometry, etc.
In addition, you must pay attention to the version of the GML features, as specified in the corresponding XMLNS namespace in the header of your input (e.g., "http://www.opengis.net/gml" or "http://www.opengis.net/gml/3.2"). Make sure that you specify an identical XMLNS in the headers of both GML2RDF.xsl and GML2RDF.xsl stylesheets. This latter stylesheet is called by GML2RDF.xsl, and it is the one that actually transforms GML geometries into WKT serializations compliant with GeoSPARQL.
Once all this is properly specified, TripleGeo can readily proceed to generate the RDF triples.
Hi, I'm testing the XML transformations with GML, and I used the airport.gml file, but the output RDF has in the rdf:description all extracted points. Probably is something I should change in the xslt files?