Skip to content

Commit

Permalink
- Update testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
haideriqbal committed Aug 30, 2024
1 parent 79a6dae commit 2869881
Show file tree
Hide file tree
Showing 51 changed files with 18,036 additions and 10,982 deletions.
2 changes: 2 additions & 0 deletions compare_testcase_output_mac.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
diff -r -q -a -B -w --strip-trailing-cr --exclude=.gitkeep testcases_output/testcases testcases_expected_output/ > testcases_compare_result.log
5 changes: 5 additions & 0 deletions testcases/annotation-properties/gitIssue502.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"id": "gitIssue502",
"preferredPrefix": "gitIssue502",
"ontology_purl": "./testcases/annotation-properties/gitIssue502.owl"
},
{
"id": "oio",
"ontology_purl": "https://gist.githubusercontent.com/haideriqbal/4a2b1a9aa81d9fa26cae81e0b0b7730b/raw/527665128b9be9d7d6133f9a796379600151c737/oboInOwl.owl",
"base_uri": ["http://www.geneontology.org/formats/oboInOwl#"]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -715,3 +715,32 @@
{"ontologyId":"gitissue502","id":"gitissue502+property+http://www.w3.org/2000/01/rdf-schema#label","label":"label"}
{"ontologyId":"gitissue502","id":"gitissue502+property+http://www.w3.org/2004/02/skos/core#closeMatch","label":"closeMatch"}
{"ontologyId":"gitissue502","id":"gitissue502+property+http://www.w3.org/2004/02/skos/core#exactMatch","label":"exactMatch"}
{"ontologyId":"oio","id":"oio+class+http://www.geneontology.org/formats/oboInOwl#DbXref","label":"database_cross_reference"}
{"ontologyId":"oio","id":"oio+class+http://www.geneontology.org/formats/oboInOwl#Definition","label":"definition"}
{"ontologyId":"oio","id":"oio+class+http://www.geneontology.org/formats/oboInOwl#ObsoleteClass","label":"obsolete_class"}
{"ontologyId":"oio","id":"oio+class+http://www.geneontology.org/formats/oboInOwl#Subset","label":"subset"}
{"ontologyId":"oio","id":"oio+class+http://www.geneontology.org/formats/oboInOwl#Synonym","label":"synonym"}
{"ontologyId":"oio","id":"oio+class+http://www.geneontology.org/formats/oboInOwl#SynonymType","label":"synonym_type"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#ObsoleteProperty","label":"obsolete_property"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#SubsetProperty","label":"subset_property"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#SynonymTypeProperty","label":"synonym_type_property"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#consider","label":"consider"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasAlternativeId","label":"has_alternative_id"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasBroadSynonym","label":"has_broad_synonym"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasDate","label":"has_date"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasDbXref","label":"has_dbxref"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasDefaultNamespace","label":"has_default_namespace"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasDefinition","label":"has_definition"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasExactSynonym","label":"has_exact_synonym"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasNarrowSynonym","label":"has_narrow_synonym"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasOBONamespace","label":"has_obo_namespace"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym","label":"has_related_synonym"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasSubset","label":"has_subset"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasSynonym","label":"has_synonym"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasSynonymType","label":"has_synonym_type"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasURI","label":"has_URI"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#hasVersion","label":"has_version"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#inSubset","label":"in_subset"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#isCyclic","label":"is_cyclic"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#replacedBy","label":"replaced_by"}
{"ontologyId":"oio","id":"oio+property+http://www.geneontology.org/formats/oboInOwl#savedBy","label":"saved_by"}
588 changes: 297 additions & 291 deletions testcases_expected_output/annotation-properties/gitIssue502/classes.jsonl

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"id:ID",":LABEL","_json","iri","numberOfIndividuals:string[]","linkedEntities:string[]","ontology_purl:string[]","numDescendants:string[]","numberOfProperties:string[]","numberOfClasses:string[]","language:string[]","numHierarchicalDescendants:string[]","isObsolete:string[]","importsFrom:string[]","type:string[]","preferredPrefix:string[]","directAncestor:string[]","exportsTo:string[]","imported:string[]","numberOfEntities:string[]","ontologyId:string[]","http__//www.w3.org/1999/02/22-rdf-syntax-ns#type:string[]"
"gitissue502+ontology+http://purl.obolibrary.org/obo/mondo.owl","Ontology","{""ontologyId"":""gitissue502"",""importsFrom"":[""skos"",""rdfs""],""exportsTo"":[],""iri"":""http://purl.obolibrary.org/obo/mondo.owl"",""preferredPrefix"":""gitIssue502"",""ontology_purl"":""./testcases/annotation-properties/gitIssue502.owl"",""type"":[""ontology""],""directAncestor"":[],""http://www.w3.org/1999/02/22-rdf-syntax-ns#type"":""http://www.w3.org/2002/07/owl#Ontology"",""imported"":false,""isObsolete"":false,""language"":{""type"":[""literal""],""value"":""en""},""numDescendants"":0.0,""numHierarchicalDescendants"":0.0,""numberOfClasses"":{""type"":[""literal""],""value"":""249""},""numberOfEntities"":{""type"":[""literal""],""value"":""412""},""numberOfIndividuals"":{""type"":[""literal""],""value"":""0""},""numberOfProperties"":{""type"":[""literal""],""value"":""163""},""searchableAnnotationValues"":[false,{""type"":[""literal""],""value"":""en""},{""type"":[""literal""],""value"":""249""},{""type"":[""literal""],""value"":""412""},{""type"":[""literal""],""value"":""0""},{""type"":[""literal""],""value"":""163""}],""linkedEntities"":{}}","http://purl.obolibrary.org/obo/mondo.owl","0","","./testcases/annotation-properties/gitIssue502.owl","0.0","163","249","en","0.0","false","skos|rdfs","ontology","gitIssue502","","","false","412","gitissue502","http://www.w3.org/2002/07/owl#Ontology"
"gitissue502+ontology+http://purl.obolibrary.org/obo/mondo.owl","Ontology","{""ontologyId"":""gitissue502"",""importsFrom"":[""oio"",""skos"",""rdfs""],""exportsTo"":[],""iri"":""http://purl.obolibrary.org/obo/mondo.owl"",""preferredPrefix"":""gitIssue502"",""ontology_purl"":""./testcases/annotation-properties/gitIssue502.owl"",""type"":[""ontology""],""directAncestor"":[],""http://www.w3.org/1999/02/22-rdf-syntax-ns#type"":""http://www.w3.org/2002/07/owl#Ontology"",""imported"":false,""isObsolete"":false,""language"":{""type"":[""literal""],""value"":""en""},""numDescendants"":0.0,""numHierarchicalDescendants"":0.0,""numberOfClasses"":{""type"":[""literal""],""value"":""249""},""numberOfEntities"":{""type"":[""literal""],""value"":""412""},""numberOfIndividuals"":{""type"":[""literal""],""value"":""0""},""numberOfProperties"":{""type"":[""literal""],""value"":""163""},""searchableAnnotationValues"":[false,{""type"":[""literal""],""value"":""en""},{""type"":[""literal""],""value"":""249""},{""type"":[""literal""],""value"":""412""},{""type"":[""literal""],""value"":""0""},{""type"":[""literal""],""value"":""163""}],""linkedEntities"":{}}","http://purl.obolibrary.org/obo/mondo.owl","0","","./testcases/annotation-properties/gitIssue502.owl","0.0","163","249","en","0.0","false","oio|skos|rdfs","ontology","gitIssue502","","","false","412","gitissue502","http://www.w3.org/2002/07/owl#Ontology"

Large diffs are not rendered by default.

Loading

0 comments on commit 2869881

Please sign in to comment.