@traqula/test-utils 0.0.9 → 0.0.10
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/lib/statics/sparql-1-1/count-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/group-and-bind-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/group-brackets-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/group-concat-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/group-variable-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sparql-11-1-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sparql-11-2-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sparql-11-3-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sparql-11-4-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sparql-11-5-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sparql-12-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sparql-19-a-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sparql-9-3c-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sparql-modifiers-order-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sparql-values-clause-generated.sparql +1 -1
- package/lib/statics/sparql-1-1/sum-count-generated.sparql +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
SELECT ?p (
|
|
1
|
+
SELECT ?p ( COUNT( * ) AS ?n ) WHERE { [ ?p _:g_1 ; ] . }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://www.example.org/> SELECT ( :foo AS ?foo ) (
|
|
1
|
+
PREFIX : <http://www.example.org/> SELECT ( :foo AS ?foo ) ( COUNT( ?outObject ) AS ?out ) WHERE { ?s :predicate ?outObject . } GROUP BY ?s
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://www.example.org/> SELECT ?company (
|
|
1
|
+
PREFIX : <http://www.example.org/> SELECT ?company ( COUNT( DISTINCT ?key ) AS ?keyCount ) WHERE { ?company <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> :Company . ?company :hasKey ?key . } GROUP BY ?company ORDER BY ASC ( ?company )
|
|
@@ -1 +1 @@
|
|
|
1
|
-
SELECT ?s (
|
|
1
|
+
SELECT ?s ( GROUP_CONCAT( ?p ;SEPARATOR=" " ) AS ?plist ) ( GROUP_CONCAT( DISTINCT ?p ;SEPARATOR=",\"/" ) AS ?plist2 ) ( GROUP_CONCAT( DISTINCT ?p ;SEPARATOR="" ) AS ?plist3 ) WHERE { ?s ?p ?c . } GROUP BY ?s
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://www.example.org/> SELECT ?O12 (
|
|
1
|
+
PREFIX : <http://www.example.org/> SELECT ?O12 ( COUNT( ?O1 ) AS ?C ) WHERE { ?S :p ?O1 . ?S :q ?O2 . } GROUP BY ( ( ?O1 + ?O2 ) AS ?O12 ) ORDER BY ASC ( ?O12 )
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://books.example/> SELECT (
|
|
1
|
+
PREFIX : <http://books.example/> SELECT ( SUM( ?lprice ) AS ?totalPrice ) WHERE { ?org :affiliates ?auth . ?auth :writesBook ?book . ?book :price ?lprice . } GROUP BY ?org HAVING ( SUM( ?lprice ) > "10"^^<http://www.w3.org/2001/XMLSchema#integer> )
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://data.example/> SELECT (
|
|
1
|
+
PREFIX : <http://data.example/> SELECT ( AVG( ?y ) AS ?avg ) WHERE { ?a :x ?x . ?a :y ?y . } GROUP BY ?x
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://data.example/> SELECT (
|
|
1
|
+
PREFIX : <http://data.example/> SELECT ( AVG( ?size ) AS ?asize ) WHERE { ?x :size ?size . } GROUP BY ?x HAVING ( AVG( ?size ) > "10"^^<http://www.w3.org/2001/XMLSchema#integer> )
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://example.com/data/#> SELECT ?x ( (
|
|
1
|
+
PREFIX : <http://example.com/data/#> SELECT ?x ( ( MIN( ?y ) * "2"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?min ) WHERE { ?x :p ?y . ?x :q ?z . } GROUP BY ?x STR( ?z )
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://example.com/data/#> SELECT ?g (
|
|
1
|
+
PREFIX : <http://example.com/data/#> SELECT ?g ( AVG( ?p ) AS ?avg ) ( ( ( MIN( ?p ) + MAX( ?p ) ) / "2"^^<http://www.w3.org/2001/XMLSchema#integer> ) AS ?c ) WHERE { ?g :p ?p . } GROUP BY ?g
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://people.example/> PREFIX : <http://people.example/> SELECT ?y ?minName WHERE { :alice :knows ?y . { SELECT ?y (
|
|
1
|
+
PREFIX : <http://people.example/> PREFIX : <http://people.example/> SELECT ?y ?minName WHERE { :alice :knows ?y . { SELECT ?y ( MIN( ?name ) AS ?minName ) WHERE { ?y :name ?name . } GROUP BY ?y } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
SELECT ?p (
|
|
1
|
+
SELECT ?p ( COUNT( * ) AS ?n ) WHERE { [ ?p _:g_1 ; ] . }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://example/> SELECT (
|
|
1
|
+
PREFIX : <http://example/> SELECT ( SUM( ?x ) AS ?total ) WHERE { :order ( :item / :price ) ?x . }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://books.example/> SELECT (
|
|
1
|
+
PREFIX : <http://books.example/> SELECT ( SUM( ?lprice ) AS ?totalPrice ) WHERE { ?org :affiliates ?auth . ?auth :writesBook ?book . ?book :price ?lprice . } GROUP BY ?org HAVING ( SUM( ?lprice ) > "10"^^<http://www.w3.org/2001/XMLSchema#integer> ) ORDER BY ASC ( ?totalPrice )
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX : <http://books.example/> SELECT (
|
|
1
|
+
PREFIX : <http://books.example/> SELECT ( SUM( ?lprice ) AS ?totalPrice ) WHERE { ?org :affiliates ?auth . ?auth :writesBook ?book . ?book :price ?lprice . } GROUP BY ?org HAVING ( SUM( ?lprice ) > "10"^^<http://www.w3.org/2001/XMLSchema#integer> ) ORDER BY ASC ( ?totalPrice ) VALUES( ?book ){ ( :book2 ) }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT (
|
|
1
|
+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ( SUM( ?val ) AS ?sum ) ( COUNT( ?a ) AS ?count ) ( COUNT( * ) AS ?countAll ) WHERE { ?a rdf:value ?val . } GROUP BY ?a
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@traqula/test-utils",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.10",
|
|
5
5
|
"description": "Test utils used by the Traqula monorepo",
|
|
6
6
|
"lsd:module": true,
|
|
7
7
|
"license": "MIT",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@rdfjs/types": "^2.0.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "94b444f4b1a6904fa4e8979f023a119a48ee4a1d"
|
|
52
52
|
}
|