ThaCovenant / COMP474_Project

Build an intelligent agent that can answer university course and student related questions, using a knowledge graph and natural language processing
0 stars 0 forks source link

SPARQL queries #44

Closed Mishtec closed 5 months ago

Mishtec commented 6 months ago

Write SPARQL queries that can answer the following questions:

  1. For a course c, list all covered topics t, printing out their English labels and their DBpedia/Wikidata URI, together with the course event URI (e.g., ’lab3’) and resource URI (e.g., ’slides10’) where they appeared. Filter out duplicates.
  2. For a given topic t (DBpedia or Wikidata URI), list all courses c and their events e where the given topic t appears, along with the count of occurrences, with the results sorted by this count in descending order.
  3. For a given topic t, list the precise course URI, course event URI and corresponding resource URI where the topic is covered (e.g., “NLP” is covered in COMP474 → Lecture 10→ Lab 10 Notes).
  4. Write a SPARQL query to identify any course events or resources within a specific course c that do not have any associated topic entities. This query helps in verifying that all relevant educational materials have been adequately linked to topics in the knowledge base, ensuring completeness and providing insights into potential areas for improvement.
Mishtec commented 5 months ago

Create new queries and updated old queries to match new triples generated