/
Transformácie INSPIRE do RDF

Transformácie INSPIRE do RDF

Žižkov Televion Tower (INSPIRE Building) : zizkov-tower.gml.xml 

Transformácia - INSPIRE Building to RDF: inspire-building-to-rdf.xslt

Výsledné RDF/XML

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:base="http://inspire.ec.europa.eu/schemas/base/3.3"
         xmlns:bu-base="http://inspire.ec.europa.eu/schemas/bu-base/4.0"
         xmlns:bu-core2d="http://inspire.ec.europa.eu/schemas/bu-core2d/4.0"
         xmlns:bu-ext2d="http://inspire.ec.europa.eu/schemas/bu-ext2d/4.0"
         xmlns:dbo="http://dbpedia.org/ontology/"
         xmlns:gml="http://www.opengis.net/gml/3.2"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:schema="http://schema.org/"
         xmlns:wfs="http://www.opengis.net/wfs/2.0">
   <dbo:Building rdf:about="https://linked.opendata.cz/resource/building/cz-00025712-cuzk_bu/bu.11138712">
      <schema:identifier>BU.11138712</schema:identifier>
      <schema:geo>
         <schema:GeoShape rdf:about="https://linked.opendata.cz/resource/geo-shape/cz-00025712-cuzk_bu/bu.11138712">
            <schema:polygon>50.080995 14.451077 50.080974 14.451186 50.080965 14.451198 50.080961 14.451215 50.080964 14.451232 50.080971 14.451246 50.080982 14.451251 50.080994 14.451247 50.081002 14.451234 50.081088 14.451203 50.081099 14.45121 50.081111 14.451207 50.08112 14.451194 50.081123 14.451176 50.08112 14.451158 50.081111 14.451145 50.0811 14.451141 50.081052 14.451058 50.081049 14.451039 50.081041 14.451022 50.081029 14.451013 50.081016 14.451013 50.081004 14.451021 50.080996 14.451037 50.080992 14.451057 50.080995 14.451077</schema:polygon>
         </schema:GeoShape>
      </schema:geo>
   </dbo:Building>
</rdf:RDF>

Spracované podľa: https://etl.linkedpipes.com/tutorials/how-to/convert_xml_to_rdf