Write SPARQL queries that can answer the following questions:
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.
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.
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).
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.
Write SPARQL queries that can answer the following questions: