|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lirmm.graphik.cogui.rdf.ImportNaturalRDF
public class ImportNaturalRDF
The Class ImportNaturalRDF parse RDF and build a "natural" conversion in cg
| Constructor Summary | |
|---|---|
ImportNaturalRDF(Environment env,
boolean modifySignature,
boolean supportCompletion,
boolean allowPartitionWithI,
boolean considerOwl,
boolean disjointWith,
boolean allValuesFrom,
boolean symmetry,
boolean transitivity,
boolean inverse,
boolean keepAnonymousClasses,
boolean removeIsolatedConcept,
boolean removeConceptsReferringToTypes)
Instantiates a new transfo2. |
|
| Method Summary | |
|---|---|
void |
addAnonymousTC(com.hp.hpl.jena.rdf.model.Resource r)
Adds the anonymous tc. |
java.lang.String |
addConceptGen(java.lang.String v)
Adds the concept gen. |
java.lang.String |
addConceptInd(java.lang.String i)
Adds the concept ind. |
java.lang.String |
addDataType(com.hp.hpl.jena.rdf.model.Literal literal)
Adds the data type. |
java.lang.String |
addIndividual(com.hp.hpl.jena.rdf.model.Literal l,
java.lang.String type)
AddIndividual(i) : si i appartient a? |
void |
addIndividual(com.hp.hpl.jena.rdf.model.Resource i,
java.lang.String type)
AddIndividual(i) : si i appartient a? |
void |
addOrderTC(java.lang.String child,
java.lang.String parent)
placer child sous parent dans TC. |
void |
addOrderTR(java.lang.String child,
java.lang.String parent)
placer child sous parent dans TR. |
void |
addRelation(java.lang.String t,
java.lang.String idC1,
java.lang.String idC2)
Adds the relation. |
void |
addTypeInSignature(java.lang.String relationType,
java.lang.String conceptType,
int numorder)
Adds the type in signature. |
void |
addTypeTC(com.hp.hpl.jena.rdf.model.Resource r)
AddTypeTC(t) : si t appartient a Tr ou t ? |
void |
addTypeToConcept(java.lang.String id,
java.lang.String t)
Adds the type to concept and normalize types if necessary. |
void |
addTypeTR(com.hp.hpl.jena.rdf.model.Resource r)
AddTypeTR(t) : si t appartient a? |
boolean |
appartientIndiv(java.lang.String s)
Appartient indiv. |
boolean |
appartientTC(java.lang.String s)
Appartient tc. |
boolean |
appartientTR(java.lang.String s)
Appartient tr. |
void |
parseStatement(com.hp.hpl.jena.rdf.model.Statement statement)
Parses the statement. |
void |
prepare()
Prepare. |
void |
terminate()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportNaturalRDF(Environment env,
boolean modifySignature,
boolean supportCompletion,
boolean allowPartitionWithI,
boolean considerOwl,
boolean disjointWith,
boolean allValuesFrom,
boolean symmetry,
boolean transitivity,
boolean inverse,
boolean keepAnonymousClasses,
boolean removeIsolatedConcept,
boolean removeConceptsReferringToTypes)
env - the environment voc+graphsmodifySignature - allow to modify signaturesupportCompletion - allow to complete supportallowPartitionWithI - the allow partition with iconsiderOwl - the consider owlallValuesFrom - the all values fromsymmetry - the symmetrytransitivity - the transitivitykeepAnonymousClasses - the keep anonymous classesremoveIsolatedConcept - the remove isolated conceptremoveConceptsReferringToTypes - the remove concepts referring to types| Method Detail |
|---|
public void prepare()
prepare in interface ImportRDF
public void parseStatement(com.hp.hpl.jena.rdf.model.Statement statement)
throws java.lang.Exception
parseStatement in interface ImportRDFstatement - the statement to parse
java.lang.Exception - the exceptionpublic void terminate()
terminate in interface ImportRDF
public void addTypeTC(com.hp.hpl.jena.rdf.model.Resource r)
throws java.lang.Exception
r - the r
java.lang.Exception - the exceptionpublic void addAnonymousTC(com.hp.hpl.jena.rdf.model.Resource r)
r - the r
public void addTypeTR(com.hp.hpl.jena.rdf.model.Resource r)
throws java.lang.Exception
r - the r
java.lang.Exception - the exception
public void addIndividual(com.hp.hpl.jena.rdf.model.Resource i,
java.lang.String type)
throws java.lang.Exception
i - the itype - the type
java.lang.Exception - the exception
public java.lang.String addIndividual(com.hp.hpl.jena.rdf.model.Literal l,
java.lang.String type)
throws java.lang.Exception
l - the ltype - the type
java.lang.Exception - the exception
public void addOrderTC(java.lang.String child,
java.lang.String parent)
child - the childparent - the parent
public void addOrderTR(java.lang.String child,
java.lang.String parent)
child - the childparent - the parentpublic boolean appartientTC(java.lang.String s)
s - the s
public boolean appartientTR(java.lang.String s)
s - the s
public boolean appartientIndiv(java.lang.String s)
s - the s
public java.lang.String addConceptInd(java.lang.String i)
i - the i
public java.lang.String addConceptGen(java.lang.String v)
v - the v
public void addTypeToConcept(java.lang.String id,
java.lang.String t)
id - the idt - the t
public void addRelation(java.lang.String t,
java.lang.String idC1,
java.lang.String idC2)
t - the tidC1 - the id c1idC2 - the id c2
public void addTypeInSignature(java.lang.String relationType,
java.lang.String conceptType,
int numorder)
relationType - the relation typeconceptType - the concept typenumorder - the numorderpublic java.lang.String addDataType(com.hp.hpl.jena.rdf.model.Literal literal)
literal - the literal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||