Last active
May 18, 2022 22:31
-
-
Save abroniewski/79226b50ba74d973bb637bf2ae3c2d89 to your computer and use it in GitHub Desktop.
Query 4 - SDM Lab 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 4. Find all the papers written by a given author that where published in database conferences. | |
| given_author = "Firstname Lastname" | |
| @prefix : <http://example.org/> . | |
| SELECT ?papers | |
| WHERE | |
| { | |
| ?paper rdf:type :Paper ; | |
| :submitted ?submission . | |
| ?author rdf:type :author ; | |
| rdf:label given_author | |
| :participatedIn ?paper . | |
| ?submission rdf:type :Submission ; | |
| :publishedIn ?venue . | |
| ?venue rdf:type :Conference . | |
| :relatedTo ?subject . | |
| ?subject rdf:type :SubjectArea ; | |
| rdfs:label "database" . | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment