-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#474 examples (1)with array of 2 labels and (2) label with string val…
…ue rather than array. No code change for now.
- Loading branch information
1 parent
541ea74
commit 68cb34e
Showing
3 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"ontologies": [ | ||
{ | ||
"id": "xmpl", | ||
"preferredPrefix": "XMPL", | ||
"title": "Example terminology with user defined pref label", | ||
"uri": "http://exmpl.org/xmpl/", | ||
"description": "This config will not use the defined label_property as label for a class. In OLS3 the value of label_property is a string.", | ||
"base_uri": [ | ||
"http://exmpl.org/xmpl/" | ||
], | ||
"label_property": "http://exmpl.org/xmpl/Preferred_name", | ||
"synonym_property": [ | ||
"http://exmpl.org/xmpl/Synonym" | ||
], | ||
"reasoner": "none", | ||
"ontology_purl": "./testcases/iri-labels/user-defined-pref-label.owl" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"ontologies": [ | ||
{ | ||
"id": "xmpl", | ||
"preferredPrefix": "XMPL", | ||
"title": "Example terminology with user defined pref label", | ||
"uri": "http://exmpl.org/xmpl/", | ||
"description": "This config will use the defined label_property as label for a class. In OLS4 the value of label_property is a collection.", | ||
|
||
"base_uri": [ | ||
"http://exmpl.org/xmpl/" | ||
], | ||
"label_property": [ | ||
"http://exmpl.org/xmpl/Preferred_name", | ||
"http://exmpl.org/xmpl/Other_preferred_name" | ||
], | ||
"synonym_property": [ | ||
"http://exmpl.org/xmpl/Synonym" | ||
], | ||
"reasoner": "none", | ||
"ontology_purl": "./testcases/iri-labels/user-defined-pref-label.owl" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0"?> | ||
<rdf:RDF xmlns="http://exmpl.org/xmpl/xmpl.owl#" | ||
xml:base="http://exmpl.org/xmpl/xmpl.owl" | ||
xmlns:xmpl="http://exmpl.org/xmpl/" | ||
xmlns:owl="http://www.w3.org/2002/07/owl#" | ||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xmlns:xml="http://www.w3.org/XML/1998/namespace" | ||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" | ||
xmlns:metadata="http://data.bioontology.org/metadata/"> | ||
<owl:Ontology rdf:about="http://exmpl.org/xmpl/xmpl.owl"/> | ||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Annotation properties | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
<!-- http://exmpl.org/xmpl/Preferred_name --> | ||
|
||
<owl:AnnotationProperty rdf:about="http://exmpl.org/xmpl/Preferred_name"> | ||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> | ||
</owl:AnnotationProperty> | ||
|
||
<!-- http://exmpl.org/xmpl/Synonym --> | ||
|
||
<owl:AnnotationProperty rdf:about="http://exmpl.org/xmpl/Synonym"> | ||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> | ||
</owl:AnnotationProperty> | ||
|
||
|
||
|
||
<!-- | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Classes | ||
// | ||
/////////////////////////////////////////////////////////////////////////////////////// | ||
--> | ||
|
||
|
||
<!-- http://exmpl.org/xmpl/XMPL000001 --> | ||
|
||
<owl:Class rdf:about="http://exmpl.org/xmpl/XMPL000001"> | ||
<xmpl:Preferred_name xml:lang="en">parent class pref label</xmpl:Preferred_name> | ||
<xmpl:Synonym xml:lang="en">label of the parent class</xmpl:Synonym> | ||
<rdfs:label xml:lang="en">XMPL000001</rdfs:label> | ||
</owl:Class> | ||
|
||
<!-- http://exmpl.org/xmpl/XMPL000002 --> | ||
|
||
<owl:Class rdf:about="http://exmpl.org/xmpl/XMPL000002"> | ||
<rdfs:subClassOf rdf:resource="http://exmpl.org/xmpl/XMPL000001"/> | ||
<xmpl:Preferred_name xml:lang="en">1st children class pref label</xmpl:Preferred_name> | ||
<xmpl:Synonym xml:lang="en">label of the first children class</xmpl:Synonym> | ||
<rdfs:label xml:lang="en">XMPL000002</rdfs:label> | ||
</owl:Class> | ||
|
||
<!-- http://exmpl.org/xmpl/XMPL000003 --> | ||
|
||
<owl:Class rdf:about="http://exmpl.org/xmpl/XMPL000003"> | ||
<rdfs:subClassOf rdf:resource="http://exmpl.org/xmpl/XMPL000001"/> | ||
<xmpl:Other_preferred_name xml:lang="en">2nd children class pref label</xmpl:Other_preferred_name> | ||
<xmpl:Synonym xml:lang="en">label of the second children class</xmpl:Synonym> | ||
<rdfs:label xml:lang="en">XMPL000003</rdfs:label> | ||
</owl:Class> | ||
|
||
</rdf:RDF> | ||
|
||
|
||
|
||
|