Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

EDDI 2011 - A Generic Multilevel Approach for Designing Domain Ontologies Based on XML Schemas

453 views

Published on

3rd Annual European DDI Users Group Meeting (EDDI 2011) [05.12.2011 - 06.12.2011; Gothenburg, Sweden]

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

EDDI 2011 - A Generic Multilevel Approach for Designing Domain Ontologies Based on XML Schemas

  1. 1. A Generic Multilevel Approach for DesigningDomain Ontologies Based on XML Schemas 3rd Annual European DDI Users Group Meeting (EDDI 2011) 06.12.2011 Thomas Bosch M.Sc. (TUM) postgraduate student http://boschthomas.blogspot.com GESIS - Leibniz Institute for the Social Sciences
  2. 2. mapXML Schema Metamodel XML Schema Metamodel OntologyinstanceOf ⊑ External Ontologies map XML Schemas Generated Ontologies (OWL) Domain Ontologies (OWL) [XSLT]instanceOf instanceOf instanceOf mapXML Document Instances Generated Ontologies (RDF) Domain Ontologies (RDF) [XSLT] 2
  3. 3. mapXML Schema Metamodel XML Schema Metamodel OntologyinstanceOf ⊑ External Ontologies map XML Schemas Generated Ontologies (OWL) Domain Ontologies (OWL) [XSLT]instanceOf instanceOf instanceOf mapXML Document Instances Generated Ontologies (RDF) Domain Ontologies (RDF) [XSLT] 3
  4. 4. Variable: Age 4
  5. 5. XML VariableVariable: Age VariableName "Age" 5
  6. 6. XML Schema XML element Variable type name complexType "VariableType" "Variable" name complexContent"VariableType" extension sequence element VariableName element name "Age" ref "VariableName" "VariableName" 6
  7. 7. XML Schema XML element Variable type name complexType "VariableType" "Variable" name complexContent"VariableType" extension sequence element VariableName element name "Age" ref "VariableName" "VariableName" 7
  8. 8. DDI 3.1 - XML Schema | Ontology Element DDI 3.1 - XML | RDF ⊑ Variable-Element… Variable type name complexType "VariableType" "Variable" name complexContent"VariableType" extension sequence element VariableName element name "Age" ref "VariableName" "VariableName" 8
  9. 9. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF Variable-Element… Variable type name complexType "VariableType" "Variable" name complexContent"VariableType" extension sequence element VariableName element name "Age" ref "VariableName" "VariableName" 9
  10. 10. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF Variable-Element… Variable type name_Element_String complexType "VariableType" "Variable" name complexContent"VariableType" extension sequence element VariableName element name "Age" ref "VariableName" "VariableName" 10
  11. 11. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF Variable-Element… Variable type name_Element_String complexType "VariableType" "Variable" name complexContent"VariableType" extension sequence element VariableName element name "Age" ref "VariableName" "VariableName" 11
  12. 12. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF Variable-Element… Variable type name_Element_String complexType "VariableType" "Variable" name complexContent"VariableType" extension sequence element VariableName element name "Age" ref "VariableName" "VariableName" 12
  13. 13. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF Variable-Element… Variable type_Element_Type name_Element_String complexType "VariableType" "Variable" name complexContent"VariableType" extension sequence element VariableName element name "Age" ref "VariableName" "VariableName" 13
  14. 14. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF Variable-Element… Variable type_Element_Type name_Element_String complexType "VariableType" "Variable" name complexContent"VariableType" extension sequence element VariableName element name "Age" ref "VariableName" "VariableName" 14
  15. 15. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_TypeVariableType-Type… Variable-Element… Variable complexContent extension sequence element element VariableName ref name "Age" "VariableName" "VariableName" 15
  16. 16. ComplexType "VariableType" DDI 3.1 - XML | RDF ⊑ name_ComplexType_String type_Element_Type VariableType-Type… Variable-Element… Variable complexContent extension sequence element element VariableName ref name "Age" "VariableName" "VariableName" 16
  17. 17. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_TypeVariableType-Type… Variable-Element… Variable complexContent extension sequence element element VariableName ref name "Age" "VariableName" "VariableName" 17
  18. 18. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_TypeVariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContentComplexContent… extension sequence element element VariableName ref name "Age" "VariableName" "VariableName" 18
  19. 19. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_TypeVariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContentComplexContent… extension sequence element element VariableName ref name "Age" "VariableName" "VariableName" 19
  20. 20. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_TypeVariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContentComplexContent… contains_ComplexContent_Extension Extension… sequence element element VariableName ref name "Age" "VariableName" "VariableName" 20
  21. 21. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_TypeVariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContentComplexContent… contains_ComplexContent_Extension Extension… sequence element element VariableName ref name "Age" "VariableName" "VariableName" 21
  22. 22. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_TypeVariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContentComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… element element VariableName ref name "Age" "VariableName" "VariableName" 22
  23. 23. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_TypeVariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContentComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… element element VariableName ref name "Age" "VariableName" "VariableName" 23
  24. 24. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… contains_Sequence_ElementVariableName-Element-Reference… element VariableName ref name "Age" "VariableName" "VariableName" 24
  25. 25. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… contains_Sequence_ElementVariableName-Element-Reference… element VariableName ref name "Age" "VariableName" "VariableName" 25
  26. 26. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… contains_Sequence_ElementVariableName-Element-Reference… element VariableName ref_Element_Element name "Age" "VariableName" "VariableName" 26
  27. 27. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… contains_Sequence_ElementVariableName-Element-Reference… element VariableName ref_Element_Element name "Age" "VariableName" "VariableName" 27
  28. 28. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… contains_Sequence_ElementVariableName-Element-Reference… VariableName-Element… VariableName ref_Element_Element name "Age" "VariableName" 28
  29. 29. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… contains_Sequence_ElementVariableName-Element-Reference… VariableName-Element… VariableName ref_Element_Element name "Age" "VariableName" 29
  30. 30. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… Element contains_Sequence_Element ⊑VariableName-Element-Reference… VariableName-Element… VariableName ref_Element_Element name "Age" "VariableName" 30
  31. 31. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… Element contains_Sequence_Element ⊑VariableName-Element-Reference… VariableName-Element… VariableName ref_Element_Element name "Age" "VariableName" 31
  32. 32. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… Element contains_Sequence_Element ⊑VariableName-Element-Reference… VariableName-Element… VariableName ref_Element_Element name_Element_String "VariableName" "Age" 32
  33. 33. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… contains_Sequence_ElementVariableName-Element-Reference… VariableName-Element… VariableName ref_Element_Element "Age" 33
  34. 34. DDI 3.1 - XML Schema | Ontology DDI 3.1 - XML | RDF type_Element_Type VariableType-Type… Variable-Element… Variable contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… contains_Sequence_ElementVariableName-Element-Reference… VariableName-Element… VariableName ref_Element_Element value_Element_String String-Type… "Age" 34
  35. 35. mapXML Schema Metamodel XML Schema Metamodel OntologyinstanceOf ⊑ External Ontologies map XML Schemas Generated Ontologies (OWL) Domain Ontologies (OWL) [XSLT]instanceOf instanceOf instanceOf mapXML Document Instances Generated Ontologies (RDF) Domain Ontologies (RDF) [XSLT] 35
  36. 36. DDI Ontology Variable Question Variable-Age resultsInVariable hasVariableName Question-Age"Age" hasQuestionText "Age?" 36
  37. 37. DDI Ontology Variable Question Variable-Age resultsInVariable hasVariableName Question-Age"Age" hasQuestionText "Age?" 37
  38. 38. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age contains_ComplexType_ComplexContent ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… contains_Sequence_Element VariableName-Element-Reference… VariableName-Element… ref_Element_Element value_Element_String String-Type… "Age" 38
  39. 39. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc ComplexContent… contains_ComplexContent_Extension Extension… contains_Extension_Sequence Sequence… contains_Sequence_Element VariableName-Element-Reference… VariableName-Element… ref_Element_Element value_Element_String String-Type… "Age" 39
  40. 40. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc ComplexContent… c contains_ComplexContent_Extension dd Extension… contains_Extension_Sequence Sequence… contains_Sequence_Element VariableName-Element-Reference… VariableName-Element… ref_Element_Element value_Element_String String-Type… "Age" 40
  41. 41. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc ComplexContent… c contains_ComplexContent_Extension dd Extension… d contains_Extension_Sequence ee Sequence… contains_Sequence_Element VariableName-Element-Reference… VariableName-Element… ref_Element_Element value_Element_String String-Type… "Age" 41
  42. 42. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc ComplexContent… c contains_ComplexContent_Extension dd Extension… d contains_Extension_Sequence ee Sequence… e contains_Sequence_Element ff VariableName-Element-Reference… VariableName-Element… ref_Element_Element value_Element_String String-Type… "Age" 42
  43. 43. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc ComplexContent… c contains_ComplexContent_Extension dd Extension… d contains_Extension_Sequence ee Sequence… e contains_Sequence_Element ff g VariableName-Element-Reference… VariableName-Element… f ref_Element_Element g value_Element_String String-Type… "Age" 43
  44. 44. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc ComplexContent… c contains_ComplexContent_Extension dd Extension… d contains_Extension_Sequence ee Sequence… e contains_Sequence_Element ff g VariableName-Element-Reference… VariableName-Element… VariableName-Element… ( g ) f ref_Element_Element g value_Element_String String-Type… "Age" 44
  45. 45. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc ComplexContent… c contains_ComplexContent_Extension dd Extension… d contains_Extension_Sequence ee Sequence… e contains_Sequence_Element ff g VariableName-Element-Reference… VariableName-Element… VariableName-Element… ( g ) f ref_Element_Element g g value_Element_String h h String-Type… "Age" 45
  46. 46. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc ComplexContent… c contains_ComplexContent_Extension dd Extension… a hasVariableName h d contains_Extension_Sequence ee Sequence… e contains_Sequence_Element ff g VariableName-Element-Reference… VariableName-Element… VariableName-Element… ( g ) f ref_Element_Element g g value_Element_String h h String-Type… "Age" 46
  47. 47. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc ComplexContent… c contains_ComplexContent_Extension dd Extension… a hasVariableName h d contains_Extension_Sequence ee Sequence… --> Variable-Age hasVariabeName "Age" e contains_Sequence_Element ff g VariableName-Element-Reference… VariableName-Element… VariableName-Element… ( g ) f ref_Element_Element g g value_Element_String h h String-Type… "Age" 47
  48. 48. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc Variable ( a ) ComplexContent… Variable c contains_ComplexContent_Extension dd Extension… a hasVariableName h d contains_Extension_Sequence ee Sequence… e contains_Sequence_Element ff g VariableName-Element-Reference… VariableName-Element… VariableName-Element… ( g ) f ref_Element_Element g g value_Element_String h h String-Type… "Age" 48
  49. 49. DDI 3.1 Ontology DDI 3.1 RDFb a type_Element_Type b a VariableType-Type… Variable-Element… Variable-Age b contains_ComplexType_ComplexContent cc Variable ( a ) ComplexContent… Variable --> Variable ( Variable-Age ) c contains_ComplexContent_Extension dd Extension… a hasVariableName h d contains_Extension_Sequence ee Sequence… e contains_Sequence_Element ff g VariableName-Element-Reference… VariableName-Element… VariableName-Element… ( g ) f ref_Element_Element g g value_Element_String h h String-Type… "Age" 49
  50. 50. DDI Ontology Variable Question Variable-Age resultsInVariable hasVariableName Question-Age"Age" hasQuestionText "Age?" 50
  51. 51. DDI Ontology Variable Question Variable-Age resultsInVariable hasVariableName Question-AgeAge hasQuestionText Age? 51
  52. 52. DDI Ontology Variable Question Variable-Age resultsInVariable hasVariableName Question-AgeAge hasQuestionText Age? 52
  53. 53. DDI Ontology Variable Question Variable-Age resultsInVariable hasVariableName Question-AgeAge hasQuestionText Age? 53
  54. 54. DDI Ontology Variable Question Variable-Age resultsInVariable hasVariableName Question-AgeAge hasQuestionText Age? 54
  55. 55. mapXML Schema Metamodel XML Schema Metamodel OntologyinstanceOf External Ontologies ⊑ map XML Schemas Generated Ontologies (OWL) Domain Ontologies (OWL) [XSLT]instanceOf instanceOf instanceOf mapXML Document Instances Generated Ontologies (RDF) Domain Ontologies (RDF) [XSLT] 55

×