-
-
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 5, 2024
1 parent
991bb52
commit 565d8b2
Showing
2 changed files
with
26 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,16 @@ | ||
# filename: ex224.ttl | ||
|
||
@prefix d: <http://learningsparql.com/ns/data#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
d:item1 rdfs:label "sample string 1" . | ||
d:item2 rdfs:label 'sample string 2' . | ||
d:item3 rdfs:label 'These quotes are "ironic" quotes' . | ||
d:item4 rdfs:label "These too are \"ironic\" quotes" . | ||
d:item5 rdfs:label "McDonald's is not my kind of place." . | ||
d:item6 rdfs:label """this | ||
has tow carriage returns | ||
in | ||
the middle | ||
""" . |
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,10 @@ | ||
# filename: ex225.rq | ||
|
||
PREFIX d: <http://learningsparql.com/ns/data#> | ||
|
||
SELECT ?s ?o | ||
FROM <ex224.ttl> | ||
WHERE { | ||
?s ?p ?o . | ||
} | ||
ORDER BY ?s |