Skip to content

Commit

Permalink
Fixing date, little typos and result for locations example added
Browse files Browse the repository at this point in the history
  • Loading branch information
anaigmo committed Apr 21, 2022
1 parent 1356cd9 commit ee2adaf
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<div class="head">
<div style="float:right">language <a href="index-en.html"><b>en</b></a> </div>
<h1>Conceptual Mapping</h1>
<h2>Release 2022-03-23</h2>
<h2>Release 2022-04-21</h2>


<dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,10 @@ <h3 id="examples1-2" class="list">Examples: Cities and Locations with other mapp
FIELD zipcodes &ltzipcodes>
}

ITERATOR coord_json &ltjsonpath: $.coordinates[*]> {
FIELD lat &lt$.latitude>
FIELD long &lt$.longitude>
FIELD loc_city &lt$.city>
ITERATOR coord_json &ltjsonpath: coordinates[*]> {
FIELD lat &ltlatitude>
FIELD long &ltlongitude>
FIELD loc_city &ltcity>
}

EXPRESSION cit_locs &ltcities_source.cities_rdb.c_city JOIN coord_source.coord_json.loc_city>
Expand Down
30 changes: 30 additions & 0 deletions examples/Locations and cities/result.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix eg: <http://example.com/geo#> .

<http://ex.com/loc/40.4189--3.6919> a eg:Location ;
eg:lat "40.4189"^^xsd:decimal ;
eg:long "-3.6919"^^xsd:decimal .

<http://ex.com/loc/43.3713--8.4188> a eg:Location ;
eg:lat "43.3713"^^xsd:decimal ;
eg:long "-8.4188"^^xsd:decimal .

<http://ex.com/loc/36.8333--2.45> a eg:Location ;
eg:lat "36.8333"^^xsd:decimal ;
eg:long "-2.45"^^xsd:decimal .

<http://ex.com/city/ACoruña> a eg:City ;
eg:zipcode 15001, 15002, 15003, 15004 ;
eg:location <http://ex.com/loc/43.3713--8.4188> .

<http://ex.com/city/Almería> a eg:City ;
eg:zipcode 04001, 04002 ;
eg:population 201322 ;
eg:location <http://ex.com/loc/36.8333--2.45> .

<http://ex.com/city/Madrid> a eg:City ;
eg:zipcode 28001, 28002, 28003, 28004, 28005, 28006 ;
eg:population 3334730 ;
eg:location <http://ex.com/loc/40.4189--3.6919> .

0 comments on commit ee2adaf

Please sign in to comment.