Skip to content

project 4#2

Open
lchill2 wants to merge 1 commit into
mainfrom
lchill2project4
Open

project 4#2
lchill2 wants to merge 1 commit into
mainfrom
lchill2project4

Conversation

@lchill2

@lchill2 lchill2 commented Mar 27, 2023

Copy link
Copy Markdown
Owner

Dear @JaronJCheung could you check my project 4 work.

@lchill2 lchill2 closed this Mar 27, 2023
@lchill2 lchill2 reopened this Mar 27, 2023
@JaronJCheung

Copy link
Copy Markdown

Dear @lchill2,

Thank you for inviting me to review your Project johnbeve#4! I am glad you were able to open up this pull request. Below are my comments.

I have copy and pasted your problem here, please correct me if I am missing any other parts of your project.

(1) Level-8 Kata Description: Retrieve at least 3 of Plato's works using a SPARQL query.

Solution: PREFIX wd: http://www.wikidata.org/entity/ PREFIX wdt: http://www.wikidata.org/prop/direct/ PREFIX schema: http://schema.org/ PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema#

SELECT ?work ?author WHERE { ?work wdt:P50 ?author . FILTER ( ?author = wd:Q859) } LIMIT 5

Answer: https://w.wiki/6W4A

This SPARQL query successfully retrieves at least three of Plato's works. Well done!

I have two suggestions, if I may. I suggest that when you upload these SPARQL queries that you separate the WHERE clause from the SELECT line to make things clearer by moving it a line below. Secondly, make sure you move your overall query down a few lines so that they are separate from Beverley's text. Or you can make dividing lines by underscoring three times in Github like so "___" (without the quotes when you actually do it).

Again, great job and thanks for allowing me to review your project!

Best,
Jaron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants