Public Member Functions | |
GermanDeliOWLImport () | |
OWLOntology | import_xml (String xmlfile) |
Static Public Member Functions | |
static void | main (String[] args) |
Static Public Attributes | |
static final String | GERMANDELI = "http://ias.cs.tum.edu/kb/germandeli.owl#" |
static final String | KNOWROB = "http://ias.cs.tum.edu/kb/knowrob.owl#" |
static final String | OWL = "http://www.w3.org/2002/07/owl#" |
static final DefaultPrefixManager | PREFIX_MANAGER = new DefaultPrefixManager(GERMANDELI) |
static final String | RDFS = "http://www.w3.org/2000/01/rdf-schema#" |
static final String | XML_GROUPNAME = "group" |
static final String | XML_PAGENAME = "page" |
static final String | XML_PRODNAME = "product" |
static final String | XML_PROP_BRAND = "brand" |
static final String | XML_PROP_CODE = "product_code" |
static final String | XML_PROP_COUNTRY = "country_of_origin" |
static final String | XML_PROP_DESC = "description" |
static final String | XML_PROP_ID = "id" |
static final String | XML_PROP_LINK = "link" |
static final String | XML_PROP_LOC = "location" |
static final String | XML_PROP_NAME = "name" |
static final String | XML_PROP_PERISH = "perishability" |
static final String | XML_PROP_PRICE = "sale_price" |
static final String | XML_PROP_WEIGHT = "weight" |
Protected Member Functions | |
void | add_property_restrictions (OWLClass cl, HashMap< String, String > attr, OWLOntology ontology) |
void | create_data_properties (OWLOntology ontology) |
OWLClass | create_owl_class (String name, OWLClass parent, OWLOntology ontology) |
void | parse_group (Node group, OWLClass parent, OWLOntology ontology) |
void | parse_page (Node page, OWLClass parent, OWLOntology ontology) |
void | parse_product (Node product, OWLClass parent, OWLOntology ontology) |
String | prologify (String str) |
Static Package Functions | |
[static initializer] | |
Package Attributes | |
HashMap< String, OWLDataProperty > | data_properties |
OWLDataFactory | factory |
int | inst_counter = 0 |
OWLOntologyManager | manager |
DefaultPrefixManager | pm |
Definition at line 36 of file GermanDeliOWLImport.java.
Definition at line 100 of file GermanDeliOWLImport.java.
edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.[static initializer] | ( | ) | [inline, static, package] |
void edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.add_property_restrictions | ( | OWLClass | cl, |
HashMap< String, String > | attr, | ||
OWLOntology | ontology | ||
) | [inline, protected] |
cl | |
attr | |
ontology |
Definition at line 323 of file GermanDeliOWLImport.java.
void edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.create_data_properties | ( | OWLOntology | ontology | ) | [inline, protected] |
Create new data type properties and read existing ones (e.g. from KnowRob) into the internal buffer map
ontology |
Definition at line 402 of file GermanDeliOWLImport.java.
OWLClass edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.create_owl_class | ( | String | name, |
OWLClass | parent, | ||
OWLOntology | ontology | ||
) | [inline, protected] |
OWLOntology edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.import_xml | ( | String | xmlfile | ) | [inline] |
static void edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.main | ( | String[] | args | ) | [inline, static] |
Definition at line 487 of file GermanDeliOWLImport.java.
void edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.parse_group | ( | Node | group, |
OWLClass | parent, | ||
OWLOntology | ontology | ||
) | [inline, protected] |
group | |
parent | |
ontology |
Definition at line 203 of file GermanDeliOWLImport.java.
void edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.parse_page | ( | Node | page, |
OWLClass | parent, | ||
OWLOntology | ontology | ||
) | [inline, protected] |
page | |
parent | |
ontology |
Definition at line 240 of file GermanDeliOWLImport.java.
void edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.parse_product | ( | Node | product, |
OWLClass | parent, | ||
OWLOntology | ontology | ||
) | [inline, protected] |
product | |
parent | |
ontology |
Definition at line 276 of file GermanDeliOWLImport.java.
String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.prologify | ( | String | str | ) | [inline, protected] |
Definition at line 449 of file GermanDeliOWLImport.java.
HashMap<String, OWLDataProperty> edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.data_properties [package] |
Definition at line 86 of file GermanDeliOWLImport.java.
OWLDataFactory edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.factory [package] |
Definition at line 88 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.GERMANDELI = "http://ias.cs.tum.edu/kb/germandeli.owl#" [static] |
Definition at line 53 of file GermanDeliOWLImport.java.
int edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.inst_counter = 0 [package] |
Definition at line 92 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.KNOWROB = "http://ias.cs.tum.edu/kb/knowrob.owl#" [static] |
Definition at line 44 of file GermanDeliOWLImport.java.
OWLOntologyManager edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.manager [package] |
Definition at line 89 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.OWL = "http://www.w3.org/2002/07/owl#" [static] |
Definition at line 47 of file GermanDeliOWLImport.java.
DefaultPrefixManager edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.pm [package] |
Definition at line 90 of file GermanDeliOWLImport.java.
final DefaultPrefixManager edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.PREFIX_MANAGER = new DefaultPrefixManager(GERMANDELI) [static] |
Definition at line 77 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.RDFS = "http://www.w3.org/2000/01/rdf-schema#" [static] |
Definition at line 50 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_GROUPNAME = "group" [static] |
Definition at line 59 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PAGENAME = "page" [static] |
Definition at line 60 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PRODNAME = "product" [static] |
Definition at line 61 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_BRAND = "brand" [static] |
Definition at line 73 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_CODE = "product_code" [static] |
Definition at line 70 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_COUNTRY = "country_of_origin" [static] |
Definition at line 69 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_DESC = "description" [static] |
Definition at line 63 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_ID = "id" [static] |
Definition at line 64 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_LINK = "link" [static] |
Definition at line 65 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_LOC = "location" [static] |
Definition at line 67 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_NAME = "name" [static] |
Definition at line 66 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_PERISH = "perishability" [static] |
Definition at line 68 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_PRICE = "sale_price" [static] |
Definition at line 71 of file GermanDeliOWLImport.java.
final String edu.tum.cs.ias.knowrob.comp_germandeli.GermanDeliOWLImport.XML_PROP_WEIGHT = "weight" [static] |
Definition at line 72 of file GermanDeliOWLImport.java.