|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.content.mediator.KBCaller
org.activemath.content.mediator.kbimpl.MathsThesaurusCaller
public class MathsThesaurusCaller
Collects items from http://thesaurus.maths.org .
| Field Summary | |
|---|---|
protected static boolean |
DEBUG
|
| Constructor Summary | |
|---|---|
MathsThesaurusCaller(String url,
String user,
String password)
|
|
| Method Summary | |
|---|---|
String |
getContent(String uri)
Returns the whole content of the learning object corresponding to the given uri. |
String |
getMappingURL()
Returns the URL of the mapping file. |
String |
getName()
Each KBCaller has name, which can be returned by this method. |
String |
getOntologyURL()
Returns the URL of the owl-file which specifies the metadata structure of the kb. |
String |
getUniqueURIPrefix()
Returns a unique prefix of the URIs belonging to this repository. |
Set |
queryClass(String item)
Returns the set of class labels the given item belongs to. |
Set |
queryProperty(String item)
Returns a Set of lists, where each list comprises two elements: [attribute,value]. |
Set |
queryRelation(String rel,
String item)
Here we get items with BrowserIDs in it. |
Set |
queryRelation(String rel,
String item,
String c)
Returns the set of all items x for which holds: x rel item. |
| Methods inherited from class org.activemath.content.mediator.KBCaller |
|---|
getOIOMapping, getOntologyModel, optimizeKBQuery, setOIOMapping, setOntologyModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final boolean DEBUG
| Constructor Detail |
|---|
public MathsThesaurusCaller(String url,
String user,
String password)
throws KBCallerException
KBCallerException| Method Detail |
|---|
public Set queryClass(String item)
KBCaller
queryClass in class KBCaller
public Set queryRelation(String rel,
String item)
queryRelation in class KBCallerKBCaller.queryRelation(java.lang.String, java.lang.String)public Set queryProperty(String item)
KBCaller
queryProperty in class KBCallerpublic String getName()
KBCaller
getName in class KBCallerpublic String getOntologyURL()
KBCaller
getOntologyURL in class KBCallerpublic String getMappingURL()
KBCaller
getMappingURL in class KBCallerpublic String getUniqueURIPrefix()
KBCaller
getUniqueURIPrefix in class KBCallerKBCaller.getUniqueURIPrefix()public String getContent(String uri)
KBCaller
getContent in class KBCallerKBCaller.getContent(java.lang.String)
public Set queryRelation(String rel,
String item,
String c)
KBCaller
queryRelation in class KBCaller
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||