sparql-examples

A set of SPARQL examples that are used in different SIB resources

View the Project on GitHub sib-swiss/sparql-examples

Statistics for SPARQL algebra features in use

Some basic statisics on SPARQL algebra features, as determined after parsing with RDF4j.

Statitics are collected over 1147 queries. Using 6.73 statement patterns per query.

Type Count Queries
Statement patterns 7719 1144
Filter 801 585
Optional 79 49
Property path 130 93
Service 128 103
Union 137 90
Minus 2 2
Exists 186 127
Group 145 137
Order 155 154
Aggregate 406 137
- Average 8 4
- Count 312 115
- GroupConcat 46 20
- Max 4 2
- Min 4 2
- Sample 22 8
- Sum 10 3

Note describe queries may have zero statement patterns.

Statistics for SPARQL variables and constants

This is distinct constants and variables. Two uses of the same IRI predicate in multiple triple paterns count as one constant.

Count Avg
Variables 15383 13.41
Constants 8626 7.52