@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.
@@ -1 +1 @@
1
- SELECT ?p ( count( * ) AS ?n ) WHERE { [ ?p _:g_1 ; ] . }
1
+ SELECT ?p ( COUNT( * ) AS ?n ) WHERE { [ ?p _:g_1 ; ] . }
@@ -1 +1 @@
1
- PREFIX : <http://www.example.org/> SELECT ( :foo AS ?foo ) ( count( ?outObject ) AS ?out ) WHERE { ?s :predicate ?outObject . } GROUP BY ?s
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 ( 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
+ 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 ( 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
+ 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 ( count( ?O1 ) AS ?C ) WHERE { ?S :p ?O1 . ?S :q ?O2 . } GROUP BY ( ( ?O1 + ?O2 ) AS ?O12 ) ORDER BY ASC ( ?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 ( 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
+ 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 ( avg( ?y ) AS ?avg ) WHERE { ?a :x ?x . ?a :y ?y . } GROUP BY ?x
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 ( avg( ?size ) AS ?asize ) WHERE { ?x :size ?size . } GROUP BY ?x HAVING ( avg( ?size ) > "10"^^<http://www.w3.org/2001/XMLSchema#integer> )
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 ( ( 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
+ 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 ( 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
+ 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 ( min( ?name ) AS ?minName ) WHERE { ?y :name ?name . } GROUP BY ?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 ( count( * ) AS ?n ) WHERE { [ ?p _:g_1 ; ] . }
1
+ SELECT ?p ( COUNT( * ) AS ?n ) WHERE { [ ?p _:g_1 ; ] . }
@@ -1 +1 @@
1
- PREFIX : <http://example/> SELECT ( sum( ?x ) AS ?total ) WHERE { :order ( :item / :price ) ?x . }
1
+ PREFIX : <http://example/> SELECT ( SUM( ?x ) AS ?total ) WHERE { :order ( :item / :price ) ?x . }
@@ -1 +1 @@
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
+ 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 ( 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
+ 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 ( sum( ?val ) AS ?sum ) ( count( ?a ) AS ?count ) ( count( * ) AS ?countAll ) WHERE { ?a rdf:value ?val . } GROUP BY ?a
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.9",
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": "c13cd255122c688daad98bf313a3397cbffdc45d"
51
+ "gitHead": "94b444f4b1a6904fa4e8979f023a119a48ee4a1d"
52
52
  }