-
Notifications
You must be signed in to change notification settings - Fork 560
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #552 from RDFLib/fix-issue-545
let paths be comparable against all nodes. Fixes #545
- Loading branch information
Showing
2 changed files
with
45 additions
and
5 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
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,19 @@ | ||
|
||
from rdflib.plugins import sparql | ||
from rdflib.namespace import RDFS, OWL, DC, SKOS | ||
|
||
def test_issue(): | ||
|
||
|
||
|
||
query = sparql.prepareQuery( | ||
""" | ||
SELECT DISTINCT ?property ?parent | ||
WHERE{ | ||
?property a owl:DeprecatedProperty . | ||
?property dc:relation ?relation . | ||
?property rdfs:subPropertyOf ?parent . | ||
?property rdfs:label | skos:altLabel ?label . | ||
} | ||
""", | ||
initNs = {"rdfs":RDFS, "owl":OWL, "dc":DC, "skos":SKOS}) |