Commit d5caa110 authored by Luca Matteis's avatar Luca Matteis
Browse files

added longitude and altitude based on geonames vocabulary...

added longitude and altitude based on geonames vocabulary http://www.geonames.org/ontology/documentation.html
parent 2678e64f
......@@ -5,6 +5,7 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix ex: <http://example.org/stuff/1.0/> .
@prefix wgs84_pos: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
# using DarwinCore
@prefix dwc: <http://rs.tdwg.org/dwc/terms/> .
# using https://code.google.com/p/darwincore-germplasm/
......@@ -22,5 +23,22 @@
dwc:genus "<c:out value="${accession.taxonomy.genus}" />";
# using http://rs.tdwg.org/dwc/terms/specificEpithet but could also use "subgenus"
dwc:specificEpithet "<c:out value="${accession.taxonomy.species}" />";
germplasm:biologicalStatus "<c:out value="${accession.sampleStatus}" />"
germplasm:biologicalStatus "<c:out value="${accession.sampleStatus}" />";
<c:if test="${accessionEnvironment ne null}">
# found here: http://www.geonames.org/ontology/documentation.html
<c:if test="${accessionEnvironment.latitude ne null}">
wgs84_pos:lat "<c:out value="${accessionEnvironment.latitude}" />";
</c:if>
<c:if test="${accessionEnvironment.longitude ne null}">
wgs84_pos:long "<c:out value="${accessionEnvironment.longitude}" />";
</c:if>
</c:if>
.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment