api-tuner 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rules/assertions.n3 +4 -2
package/package.json
CHANGED
package/rules/assertions.n3
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
|
2
|
+
PREFIX list: <http://www.w3.org/2000/10/swap/list#>
|
|
1
3
|
PREFIX tuner: <https://api-tuner.described.at/>
|
|
2
4
|
prefix string: <http://www.w3.org/2000/10/swap/string#>
|
|
3
5
|
prefix log: <http://www.w3.org/2000/10/swap/log#>
|
|
@@ -10,9 +12,9 @@ prefix log: <http://www.w3.org/2000/10/swap/log#>
|
|
|
10
12
|
true
|
|
11
13
|
{
|
|
12
14
|
(
|
|
13
|
-
{ ?msg
|
|
14
|
-
{ ?expr^tuner:logFailedAssertion }
|
|
15
|
+
{ ?msg!log:rawType list:in ( log:Literal rdf:List ) }
|
|
15
16
|
{ ?msg^tuner:logFailedAssertion }
|
|
17
|
+
{ ?expr^tuner:logFailedAssertion }
|
|
16
18
|
) log:ifThenElseIn [].
|
|
17
19
|
true log:equalTo false .
|
|
18
20
|
}
|