Navigation Menu

Skip to content

Commit

Permalink
Merge b044076 into b642405
Browse files Browse the repository at this point in the history
  • Loading branch information
Tpt committed Nov 15, 2018
2 parents b642405 + b044076 commit d247255
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Expand Up @@ -275,6 +275,9 @@ String getRangeUri(PropertyIdValue propertyIdValue) {
return null;

switch (datatype) {
case DatatypeIdValue.DT_MONOLINGUAL_TEXT:
this.rdfConversionBuffer.addDatatypeProperty(propertyIdValue);
return Vocabulary.RDF_LANG_STRING;
case DatatypeIdValue.DT_STRING:
case DatatypeIdValue.DT_EXTERNAL_ID:
case DatatypeIdValue.DT_MATH:
Expand All @@ -291,6 +294,7 @@ String getRangeUri(PropertyIdValue propertyIdValue) {
case DatatypeIdValue.DT_URL:
case DatatypeIdValue.DT_GEO_SHAPE:
case DatatypeIdValue.DT_TABULAR_DATA:
case DatatypeIdValue.DT_QUANTITY:
this.rdfConversionBuffer.addObjectProperty(propertyIdValue);
return Vocabulary.OWL_THING;
default:
Expand Down
Expand Up @@ -89,6 +89,7 @@ public class Vocabulary {

// Vocabulary elements that are part of ontology language standards
public static final String RDF_TYPE = PREFIX_RDF + "type";
public static final String RDF_LANG_STRING = PREFIX_RDF + "langString";
public static final String RDFS_LABEL = PREFIX_RDFS + "label";
public static final String RDFS_SEE_ALSO = PREFIX_RDFS + "seeAlso";
public static final String RDFS_LITERAL = PREFIX_RDFS + "Literal";
Expand Down

0 comments on commit d247255

Please sign in to comment.