Skip to content

Commit

Permalink
#1: proposal/highway=track.wiki.ttl; literal version started (no infe…
Browse files Browse the repository at this point in the history
…rence/easy to generate)
  • Loading branch information
fititnt committed Dec 9, 2022
1 parent 40d7161 commit b23fdbb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,7 @@ <h3>Relation</h3>
</pre>

<pre class="example" title="The reference Relation in RDF/Turtle" data-content-type="text/turtle"
data-oninclude="escapeExample escapeExamplePREFIX" data-include="proposal/relation-10000.ttl">
</pre>
data-oninclude="escapeExample escapeExamplePREFIX" data-include="proposal/relation-10000.ttl"></pre>
</section>

<section>
Expand Down Expand Up @@ -348,9 +347,10 @@ <h3>Wiki Infobox Tag</h3>
<div class="issue" data-number="1">
How to encode Wiki infoboxes for tags in RDF/Turtle?
</div>
<pre class="example" title="Tag:highway=track" data-content-type="txt" data-oninclude="escapeExample"
data-include="reference/highway=track.wiki.txt">
</pre>
<pre class="example" title="Tag:highway=track (reference)" data-content-type="txt" data-oninclude="escapeExample"
data-include="reference/highway=track.wiki.txt"></pre>
<pre class="example" title="Tag:highway=track in RDF/Turtle" data-content-type="text/turtle"
data-oninclude="escapeExample escapeExamplePREFIX" data-include="proposal/highway=track.wiki.ttl"></pre>
</section>
</section>

Expand Down
20 changes: 20 additions & 0 deletions proposal/highway=track.wiki.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
PREFIX osmm: <https://example.org/todo-meta/>
PREFIX osmt: <https://example.org/todo-tag/>
PREFIX osmw: <https://wiki.openstreetmap.org/wiki/>
PREFIX ex: <https://example.org/>

# @FIXME decide ex:_ prefix for something better

<https://wiki.openstreetmap.org/wiki/Tag:highway=track>
# osmm:highway=track
a osmw:Tag ;
ex:_key "highway" ;
ex:_value "track" ;
ex:_description "A minor land-access road like a farm or forest track."@en ;
# @TODO osmcarto-rendering=File:Mapnik-tracktype-not-set.png
# @TODO osmcarto-rendering-size=125px
ex:_onNode "no" ;
ex:_onWay "yes" ;
ex:_onArea "no" ;
ex:_onRelation "no" ;
.

0 comments on commit b23fdbb

Please sign in to comment.