DistinctSubjects
19
Triples
265
WasGeneratedBy
Category variable name
name
Chart type
Series variable name
spaces
Title
Largest parking facilities
Text
PREFIX schema: <https://schema.org/>
PREFIX dct: <http://purl.org/dc/terms/>

SELECT DISTINCT ?name ?spaces
WHERE
{
    GRAPH ?g
    {
        ?parking a ?type ;
            dct:title ?name ;
            schema:maximumAttendeeCapacity ?spaces .
        # the class is in this dataspace's namespace, whatever base URI it was installed under;
        # the data endpoint gives a relative IRI no base, so the class is matched by name instead
        FILTER(STRENDS(STR(?type), "/ns#ParkingFacility"))
    }
}
ORDER BY DESC(?spaces)
LIMIT 100
Title
Largest parking facilities
Text
PREFIX foaf:       <http://xmlns.com/foaf/0.1/>
PREFIX dct:        <http://purl.org/dc/terms/>
PREFIX schema:     <https://schema.org/> 
PREFIX geo:        <http://www.w3.org/2003/01/geo/wgs84_pos#> 
PREFIX xsd:        <http://www.w3.org/2001/XMLSchema#> 
PREFIX dh:         <https://w3id.org/atomgraph/linkeddatahub/document-hierarchy#>
PREFIX sioc:       <http://rdfs.org/sioc/ns#>

CONSTRUCT
{
    GRAPH ?item
    {
        ?item a dh:Item ;
            sioc:has_container ?container ;
            dh:slug ?id ;
            dct:title ?name ;
            foaf:primaryTopic ?parking .

        ?parking a ?type ;
            geo:lat ?lat ;
            geo:long ?long ;
            dct:title ?name ;
            schema:streetAddress ?address ;
            schema:postalCode ?postcode ;
            schema:maximumAttendeeCapacity ?spaces ;
            schema:additionalProperty ?parkingType ;
            schema:comment ?information ;
            dct:identifier ?id .
        ?owner a ?ownerType ;
            schema:owns ?parking .
    }
}
WHERE
{
    ?parking_row <#FID> ?id ;
        <#name> ?name ;
        <#address> ?address ;
        <#lat> ?lat_string ;
        <#postcode> ?postcode ;
        <#parkingSpace> ?spaces_string ;
        <#parkingType> ?parkingType ;
        <#information> ?information ;
        <#long> ?long_string . 
        {
            ?parking_row <#owner> 'Privat' .
            BIND(BNODE() AS ?owner)
            BIND(schema:Corporation AS ?ownerType)
        }
        UNION
        {
            ?parking_row <#owner> 'Kommune' .
            BIND (<http://www.wikidata.org/entity/Q504125> AS ?owner) # Copenhagen Municipality
        }

    BIND(uri(concat(str($base), "parking-facilities/")) AS ?container)
    BIND(uri(concat(str($base), "ns#ParkingFacility")) AS ?type)
    BIND(uri(concat(str(?container), encode_for_uri(?id), "/")) AS ?item)
    BIND(uri(concat(str(?item), "#this")) AS ?parking)
    BIND(xsd:float(?lat_string) AS ?lat)
    BIND(xsd:float(?long_string) AS ?long)
    BIND(xsd:integer(?spaces_string) AS ?spaces)
}
Title
Parking facilities
Delimiter
,
EndedAtTime
25 October 2026 17:40
StartedAtTime
25 October 2026 17:40
Title
Parking facilities
FileName
parking-facilities.csv
Format
Sha1sum (hex)
2fd3f43e8e157e6c0b45980aec2477d6fd3e2a65
Title
Parking facilities
FileName
parking-facilities.rq
Format
Sha1sum (hex)
cb3a13a1bcaa8f75666fdb3125f23a4195606c0c
Title
parking-facilities.rq