Named question about pod
How many of each kind
How many things of each type the pod's files state. Records and entries share a type, so an allergy or intolerance counts both the allergies each source sent and the entries the allergies view joins them into. GRAPH ?file reads one file at a time, and only files under the storage root count: a type only the derivations state, such as cascade:Record, is in the derived state's own graph and is left out.
The query
PREFIX pim: <http://www.w3.org/ns/pim/space#>
SELECT ?type (COUNT(DISTINCT ?thing) AS ?things)
WHERE {
GRAPH ?file { ?thing a ?type }
?owner pim:storage ?root .
FILTER (STRSTARTS(STR(?file), STR(?root)))
}
GROUP BY ?type
ORDER BY ?type
Terms it reads
Rules and decision notes that name it
No rule or decision note writes its path.
Its rows on Alex Rivera's pod
The first 10 of 30 rows, as Alex Rivera's explorer shows them. Every row of every question is in answers.json.
| type | things |
|---|---|
| dcat:Dataset | 1 |
| oa:FragmentSelector | 32 |
| pim:ConfigurationFile | 1 |
| prov:Activity | 12 |
| prov:Association | 2 |
| prov:Entity | 35 |
| prov:Person | 1 |
| prov:Plan | 6 |
| prov:SoftwareAgent | 9 |
| solid:TypeIndex | 1 |