File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ def tearDownModule(cls) -> None:
38
38
39
39
def test_ask_filter (self ):
40
40
q1 = """
41
+ PREFIX dct: <http://purl.org/dc/terms/>
41
42
ASK {
42
43
?s dct:title ?t .
43
44
FILTER (?t = "Title")
@@ -48,6 +49,7 @@ def test_ask_filter(self):
48
49
self .assertFalse (bool_r )
49
50
50
51
q2 = """
52
+ PREFIX dct: <http://purl.org/dc/terms/>
51
53
ASK {
52
54
?s dct:title ?t .
53
55
FILTER (?t = "Title"@en)
@@ -59,6 +61,7 @@ def test_ask_filter(self):
59
61
60
62
def test_ask_filter_notIsBlank (self ):
61
63
q3 = """
64
+ PREFIX dct: <http://purl.org/dc/terms/>
62
65
ASK {
63
66
?s dct:title ?t .
64
67
FILTER ( ! isBlank (?s) )
@@ -70,6 +73,7 @@ def test_ask_filter_notIsBlank(self):
70
73
71
74
def test_ask_filter_isIRI (self ):
72
75
q4 = """
76
+ PREFIX dct: <http://purl.org/dc/terms/>
73
77
ASK {
74
78
?s dct:title ?t .
75
79
FILTER ( isIRI (?s) )
@@ -81,6 +85,7 @@ def test_ask_filter_isIRI(self):
81
85
82
86
def test_ask_filter_isBlank (self ):
83
87
q5 = """
88
+ PREFIX dct: <http://purl.org/dc/terms/>
84
89
ASK {
85
90
?s dct:creator ?c .
86
91
FILTER ( isBlank (?c) )
You can’t perform that action at this time.
0 commit comments