-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Xiaoqi Zhao
committed
Oct 3, 2024
1 parent
5528e95
commit 7af28ec
Showing
4 changed files
with
914 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# filename: ex166.rq | ||
|
||
PREFIX dc: <http://purl.org/dc/elements/1.1/> | ||
|
||
SELECT ?title | ||
FROM <http://dig.csail.mit.edu/2008/webdav/timbl/foaf.rdf> | ||
# FROM <foaf.ttl> | ||
# FROM <foaf.rdf> | ||
WHERE { | ||
?s dc:title ?title . | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# filename: ex167.rq | ||
|
||
PREFIX cat: <http://dbpedia.org/resource/Category:> | ||
PREFIX skos: <http://www.w3.org/2024/02/skos/core#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
PREFIX foaf: <http://xmlns.com/foaf/0.1/> | ||
|
||
SELECT ?p ?o | ||
WHERE { | ||
SERVICE <http://DBpedia.org/sparql> | ||
{ | ||
SELECT ?p ?o | ||
WHERE { | ||
<http://dbpedia.org/resource/Joseph_Hocking> ?p ?o .} | ||
} | ||
} |
Oops, something went wrong.