owltools.gaf.owl
Class GAFOWLBridge
java.lang.Object
owltools.gaf.owl.GAFOWLBridge
public class GAFOWLBridge
- extends Object
Constructor Summary |
GAFOWLBridge(OWLGraphWrapper g)
|
GAFOWLBridge(OWLGraphWrapper g,
org.semanticweb.owlapi.model.OWLOntology tgtOnt)
The ontology generated from the gaf will be placed in tgtOnt
The graphwrapper object should include ontologies required to resolve certain entities,
including the relations used in col16. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GAFOWLBridge
public GAFOWLBridge(OWLGraphWrapper g)
GAFOWLBridge
public GAFOWLBridge(OWLGraphWrapper g,
org.semanticweb.owlapi.model.OWLOntology tgtOnt)
- The ontology generated from the gaf will be placed in tgtOnt
The graphwrapper object should include ontologies required to resolve certain entities,
including the relations used in col16. In future it will also be used to translate GAF evidence
codes into ECO class IRIs.
These ontologies could be the main ontology or support ontologies. A standard pattern is to have
GO as the main, ro.owl and go/extensions/gorel.owl as support. (gorel is where many of the c16 relations
are declared)
- Parameters:
g
- tgtOnt
-
isGenerateIndividuals
public boolean isGenerateIndividuals()
setGenerateIndividuals
public void setGenerateIndividuals(boolean isGenerateIndividuals)
getTargetOntology
public org.semanticweb.owlapi.model.OWLOntology getTargetOntology()
setTargetOntology
public void setTargetOntology(org.semanticweb.owlapi.model.OWLOntology targetOntology)
translate
public org.semanticweb.owlapi.model.OWLOntology translate(GafDocument gafdoc)
- Parameters:
gafdoc
-
- Returns:
Copyright © 2010-2012. All Rights Reserved.