Lab Assignment 6 - SaratM34/KDM-Lab-Assignments GitHub Wiki

Name: Mudunuri Sri Sai Sarat Chandra Varma
Class ID: 14

Objective: Complete the family Ontology as explained in tutorial and Design your own ontology (classes, hierarchy, object and data properties) based one of categories from my own dataset and from the yahoo question answering dataset.

In Class Question:

Complete the family Ontology as explained in tutorial in the following manner.

  • Initial Build:

  • Create Equivalent Classes for all possible classes: Created equivalent classes which have similar properties.

  • Add additional details to the object properties which don’t have domain or range specified: Added additional object properties and related them to corresponding classes.

  • Under the Ethnicity Class, create at least 3 subclasses and 2 object properties: Under Ethnicity added five subclasses: Asian, African, Russian, Korean, American and two object properties: hasEthnicity, hasCountry.

  • Add 5 individuals to the Ontology: Added a total of five individual by class.

  • Perform SPARQL queries based on your new object properties: Performed three SPARQL queries which retrieves objects corresponding to particular class and also retrieves distinct objects related to different classes.

Final Ontology: The below is the complete ontology for family.

Take home Question:

i.Design your own ontology (classes, hierarchy, object and data properties) based one of categories from

  • Your own data: Used my own dataset to generate ontology graph with different relationships among different classes.

  • Yahoo! Answer data (The training data contains 2,698 questions, already labeled with one of the following 7 categories. The test data contains 1,874 questions that are unlabeled): Used yahoo dataset to create an ontology with different topics and relationships.

ii.Create a sample triplet set from your data based on the object and data properties in your ontology and populate it: Created different triplets from the dataset with different object and data properties and populated the ontology graph.

iii.Formulate 5 valid and informative queries and execute them. Report the results: Used total of six queries and retrieved corresponding objects and instances and relationships between different classes.

⚠️ **GitHub.com Fallback** ⚠️