-
-
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 4, 2024
1 parent
e58fc34
commit 1e7389a
Showing
4 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
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,7 @@ | ||
PREFIX prop: <http://dbpedia.org/property/> | ||
ASK | ||
{ | ||
<http://dbpedia.org/resource/Amazon_River> prop:length ?amazon . | ||
<http://dbpedia.org/resource/Nile> prop:length ?nile . | ||
FILTER(?amazon = ?nile) . | ||
} |
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,8 @@ | ||
PREFIX prop: <http://dbpedia.org/property/> | ||
SELECT * | ||
WHERE | ||
{ | ||
<http://dbpedia.org/resource/Amazon_River> prop:length ?amazon . | ||
<http://dbpedia.org/resource/Nile> prop:length ?nile . | ||
# FILTER(?amazon < ?nile) . | ||
} |
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,4 @@ | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
|
||
CONSTRUCT { ?s ?p ?o . } | ||
WHERE { VALUES ?p { rdfs:subClassOf rdfs:subPropertyOf rdfs:domain rdfs:range} ?s ?p ?o } |