Reference no: EM132693116
CS 489 Topics in Computer Science Neural Networks, University of Waterloo
Assignment: Design and implement a SPARQL query
• Submission method: bblearn
• Document naming: SWOP_2020_Assignment3_YOUR_NAME.ext (e.g. txt, pdf, doc, html)
Note: Your report for this assignment should be the result of your own individual work. Take care to avoid plagiarism ("copying"), including all web resources, texts, and class presentations. You may discuss the problems with other students, but do not take written notes during these discussions, and do not share your written solutions. Use the numbering below when completing your responses to this assignment.
General assignment and requirements:
1) Design and implement a SPARQL query to DBpedia
• The SPARQL endpoint of DBpedia
• Select a topic that you are familiar and propose an objective of your query
• You are required to use all those keywords in your query: SELECT, WHERE, DISTINCT, COUNT AS, FILTER, OPTIONAL, UNION
• You are also required to use at least two keywords from this list: ORDER BY, GROUP BY, HAVING, LIMIT
• You are also required to use at least three keywords from this list: STR, STRLEN, REGEX, STRSTARTS, STRENDS
• Run the query at DBpedia SPARQL endpoint and ensure it retrieves what you need
2) Write a report about the design and implementation of your SPARQL query
• State the topic that you select and the purpose of your query (2-3 sentences)
• Describe the process in the design of your query: e.g. How you find relevant classes and properties in the SPARQL endpoint of DBpedia? How you select the classes and properties that can be used to compose your query? How you design different parts of your query? (4-5 sentences)
• Explain the meaning of the variables you use in the SPARQL code. Describe how you organize the sequence of your SPARQL code to achieve the purpose of the query (4-5 sentences)
Paste a copy of your SPARQL code at the end of your report, and only submit the report file.
Tips:
• In SPARQL code you can use ‘#' to add notes or comments
• On DBPedia website you can search documents about ontologies used in their triple store. You can also use SPARQL to do reverse engineering to explore the classes and properties in DBPedia, as we showed in the classroom.
Attachment:- Assignment design and implement a sparql query.rar