geometry2rdf(v2 boris)
DESCRIPTION
geometry2rdf, a Library for Generating RDF from Geometrical InformationTRANSCRIPT
![Page 1: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/1.jpg)
geometry2rdf
Victor Saquicela, Boris Villazón-Terrazas, Alexander de León, Luis M. Vilches, and Oscar Corcho
Facultad de Informática, Universidad Politécnica de Madrid
Campus de Montegancedo sn, 28660 Boadilla del Monte, Madrid
http://www.oeg-upm.net
Phone: 34.91.3366605, Fax: 34.91.3524819
![Page 2: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/2.jpg)
ToC
• Motivation
• Brief description
• How it works
• Future Work
2
![Page 3: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/3.jpg)
Motivation
• Holidays to visit Mora Municipality in Spain.• Want to know places to practice water-related sports
close to the area
3
?
![Page 4: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/4.jpg)
Motivation
In the geospatial context, the transformation and publication of the
• OpenStreetMap• Ordnance Survey• GeoLinkedData
data according to the Linked Data principles have added a new dimension to the Web of Data. In this way spatial data can be retrieved and interlinked.
4
![Page 5: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/5.jpg)
Motivation
• So, let’s convert the geospatial information into RDF
• But, how?
5
geometry2rdf
http://www.oeg-upm.net/index.php/en/downloads/151-geometry2rdf
http://mccarthy.dia.fi.upm.es/geometry2rdf/
![Page 6: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/6.jpg)
geometry2rdf
• Tool for generating RDF from geometrical information
• The geometry could be available in GML or WKT
• The RDF generated follows our Geometry Model
• How it works?
6
![Page 7: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/7.jpg)
In a nutshell
7
![Page 8: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/8.jpg)
Extracting the GML from the Oracle GeoSpatial Databases
Oracle STO UTIL package
SELECT TO_CHAR(SDO_UTIL.TO_GML311GEOMETRY(geometry)) AS Gml311Geometry
FROM "BCN200"."BCN200_0301L_RIO" cWHERE c.Etiqueta='Arroyo'
8
![Page 9: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/9.jpg)
Generation of the RDF resources
9
![Page 10: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/10.jpg)
Generation of the RDF resources
10
Java geo objects
![Page 11: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/11.jpg)
Geometry Model
11
geoes:ontology/Polígono
geoes: http://geo.linkeddata.es/geo: http://www.w3.org/2003/01/geo/wgs84_pos#
geoes:ontology/Geometría
geoes:ontology/Curvageo:Point
rdfs:subClassOf
rdfs:subClassOf
rdfs:subClassOf
3939geo:lat geo:long Collection of 2 or more geo:Points
Collection of 3 or more geo:Points
formadoPor formadoPor
![Page 12: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/12.jpg)
RDF generated according to our Geometry Model
0
0
1 2
12
![Page 13: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/13.jpg)
• Now, we can express our queryPREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
SELECT ?subject ?latitude2 ?longitude2 (bif:st_distance(bif:st_point(?longitude,?latitude),
bif:st_point(?longitude2,?latitude2)) ) as ?distancia ?latitude ?longitude
WHERE {
<http://geo.linkeddata.es/resource/Municipio/Mora> geo:geometry ?g .
?g geo:lat ?latitude. ?g geo:long ?longitude.
?subject geo:geometry ?g2.
?g2 geo:lat ?latitude2. ?g2 geo:long ?longitude2.
} limit 20
13
![Page 14: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/14.jpg)
Visualize it on the map, and …
14
![Page 15: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/15.jpg)
Future work
• Include the generation • from shape files• from other DBMS
• Improve our Geometry Model
15
![Page 16: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/16.jpg)
16
![Page 17: Geometry2rdf(v2 boris)](https://reader036.vdocuments.mx/reader036/viewer/2022081413/547dbd32b4af9faa158b54be/html5/thumbnails/17.jpg)
geometry2rdf
Victor Saquicela, Boris Villazón-Terrazas, Alexander de León, Luis M. Vilches, and Oscar Corcho
Facultad de Informática, Universidad Politécnica de Madrid
Campus de Montegancedo sn, 28660 Boadilla del Monte, Madrid
http://www.oeg-upm.net
Phone: 34.91.3366605, Fax: 34.91.3524819