Skip to content

Commit

Permalink
add 014
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoqi Zhao committed Apr 28, 2024
1 parent 8b76900 commit 3946353
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 0 deletions.
Binary file modified LearningSPARQL.pptx
Binary file not shown.
6 changes: 6 additions & 0 deletions ch02/02-03/02-03-04/ex036.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# filename: ex036.ttl

@prefix v: <http://www.w3.org/2006/vcard/> .

<http://www.w3.org/People/Berners-Lee/card#i> v:title "Director"@en .
<http://www.w3.org/People/Berners-Lee/card#i> v:title "Directeur"@fr .
10 changes: 10 additions & 0 deletions ch02/02-03/02-03-04/ex037.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# filename: ex037.ttl

@prefix : <http://www.learningsparql.com/ns/demo#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

:sideDish42 rdfs:label "french fries"@en-US .
:sideDish42 rdfs:label "chips"@en-GB .

:sideDish43 rdfs:label "chips"@en-US .
:sideDish43 rdfs:label "crisps"@en-GB .
8 changes: 8 additions & 0 deletions ch02/02-03/02-03-04/ex038.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# filename: ex038.ttl

<http://www.w3.org/People/Berners-Lee/card#i>
<http://www.w3.org/2000/01/rdf-schema#label>
"Tim Berners-Lee" .
<http://www.w3.org/People/Yasen-Zhao/card#i>
<http://www.w3.org/2000/01/rdf-schema#label>
"Yasen" .
7 changes: 7 additions & 0 deletions ch02/02-03/02-03-04/ex039.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# filename: ex039.ttl

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<http://dbpedia.org/resource/Switzerland>
rdfs:label
"Switzerland"@en, "Suiza"@es, "Sveitsi"@fi, "Suisse"@fr, "瑞士"@cn .
4 changes: 4 additions & 0 deletions ch02/02-03/02-03-04/q.rq
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SELECT *
WHERE {
?s ?p ?o .
}

0 comments on commit 3946353

Please sign in to comment.