Skip to content

Commit

Permalink
multi_annotations : updated file names and content
Browse files Browse the repository at this point in the history
  • Loading branch information
pk-mitre committed Apr 17, 2024
1 parent 759a8e5 commit 4ad9529
Show file tree
Hide file tree
Showing 11 changed files with 91 additions and 91 deletions.
2 changes: 0 additions & 2 deletions docs/examples/meks_annotations_header_old.tsv

This file was deleted.

67 changes: 0 additions & 67 deletions docs/examples/meks_annotations_new.owl

This file was deleted.

2 changes: 0 additions & 2 deletions docs/examples/meks_annotations_new.tsv

This file was deleted.

2 changes: 0 additions & 2 deletions docs/examples/meks_annotations_old.tsv

This file was deleted.

2 changes: 2 additions & 0 deletions docs/examples/multi_annotations_header_old.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
LABEL ID A acme:p-0000000049 A acme:p-0000000050 A acme:p-0000000051

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:meks="https://foundry.ai.mil/ontology/meks/"
xmlns:acme="https://shangrila.ef.zz/ontology/acme/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<Ontology/>

Expand All @@ -22,21 +22,21 @@



<!-- https://foundry.ai.mil/ontology/meks/p-0000000049 -->
<!-- https://shangrila.ef.zz/ontology/acme/p-0000000049 -->

<AnnotationProperty rdf:about="https://foundry.ai.mil/ontology/meks/p-0000000049"/>
<AnnotationProperty rdf:about="https://shangrila.ef.zz/ontology/acme/p-0000000049"/>



<!-- https://foundry.ai.mil/ontology/meks/p-0000000050 -->
<!-- https://shangrila.ef.zz/ontology/acme/p-0000000050 -->

<AnnotationProperty rdf:about="https://foundry.ai.mil/ontology/meks/p-0000000050"/>
<AnnotationProperty rdf:about="https://shangrila.ef.zz/ontology/acme/p-0000000050"/>



<!-- https://foundry.ai.mil/ontology/meks/p-0000000051 -->
<!-- https://shangrila.ef.zz/ontology/acme/p-0000000051 -->

<AnnotationProperty rdf:about="https://foundry.ai.mil/ontology/meks/p-0000000051"/>
<AnnotationProperty rdf:about="https://shangrila.ef.zz/ontology/acme/p-0000000051"/>



Expand All @@ -51,17 +51,17 @@



<!-- https://foundry.ai.mil/ontology/meks/s-0000014176 -->
<!-- https://shangrila.ef.zz/ontology/acme/s-0000014176 -->

<Class rdf:about="https://foundry.ai.mil/ontology/meks/s-0000014176">
<rdfs:label>RODNIK Communication Satellite</rdfs:label>
<meks:p-0000000049>(U)</meks:p-0000000049>
<meks:p-0000000050>KECF6</meks:p-0000000050>
<meks:p-0000000051>SATL,COMMO,RODNIK</meks:p-0000000051>
<Class rdf:about="https://shangrila.ef.zz/ontology/acme/s-0000014176">
<rdfs:label>ACME Communications INC</rdfs:label>
<acme:p-0000000049> Value ZZ</acme:p-0000000049>
<acme:p-0000000050>ABCD 1234</acme:p-0000000050>
<acme:p-0000000051>CBS ABC,CNN,PBS</acme:p-0000000051>
</Class>
</rdf:RDF>



<!-- Generated by the OWL API (version 4.5.25) https://github.com/owlcs/owlapi -->
<!-- Generated by the OWL API (version 4.5.26) https://github.com/owlcs/owlapi -->

2 changes: 2 additions & 0 deletions docs/examples/multi_annotations_new.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Term Term ID Annotations
ACME Communications INC acme:s-0000014176 acme:p-0000000049 " Value ZZ"|acme:p-0000000050 "ABCD 1234"|acme:p-0000000051 "CBS ABC,CNN,PBS"
67 changes: 67 additions & 0 deletions docs/examples/multi_annotations_old.owl
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<rdf:RDF xmlns="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2002/07/owl"
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:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:acme="https://shangrila.ef.zz/ontology/acme/"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<Ontology/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Annotation properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- https://shangrila.ef.zz/ontology/acme/p-0000000049 -->

<AnnotationProperty rdf:about="https://shangrila.ef.zz/ontology/acme/p-0000000049"/>



<!-- https://shangrila.ef.zz/ontology/acme/p-0000000050 -->

<AnnotationProperty rdf:about="https://shangrila.ef.zz/ontology/acme/p-0000000050"/>



<!-- https://shangrila.ef.zz/ontology/acme/p-0000000051 -->

<AnnotationProperty rdf:about="https://shangrila.ef.zz/ontology/acme/p-0000000051"/>



<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Classes
//
///////////////////////////////////////////////////////////////////////////////////////
-->




<!-- https://shangrila.ef.zz/ontology/acme/s-0000014176 -->

<Class rdf:about="https://shangrila.ef.zz/ontology/acme/s-0000014176">
<rdfs:label>ACME Communications INC</rdfs:label>
<acme:p-0000000049> Value ZZ</acme:p-0000000049>
<acme:p-0000000050>ABCD 1234</acme:p-0000000050>
<acme:p-0000000051>CBS ABC,CNN,PBS</acme:p-0000000051>
</Class>
</rdf:RDF>



<!-- Generated by the OWL API (version 4.5.26) https://github.com/owlcs/owlapi -->

2 changes: 2 additions & 0 deletions docs/examples/multi_annotations_old.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Term Term ID classification1 classification2 classification3
ACME Communications INC acme:s-0000014176 (U) CBS ABC,CNN,PBS
8 changes: 4 additions & 4 deletions docs/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ robot template --template animals_template_error.tsv \
```
MEKS ROBOT multi annotation in a single column

robot template --prefix "meks: https://foundry.ai.mil/ontology/meks/" \
--template meks_annotations_new.tsv \
--external-template meks_annotations_header_new.tsv
--output results/meks_annotations_new.owl
robot template --prefix "acme: https://shangrila.ef.zz/ontology/acme/" \
--template multi_annotations_new.tsv \
--external-template multi_annotations_header_new.tsv
--output results/multi_annotations_new.owl


\* NOTE: the imports would be merged into the output if `--collapse-import-closure true` is included instead.
Expand Down

0 comments on commit 4ad9529

Please sign in to comment.