# Cryptographic hash function (E149)
# https://www.wikidata.org/wiki/EntitySchema:E149

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

#query map:  SELECT ?item WHERE {?item wdt:P31 wd:Q477202. } LIMIT 10

start =@<#cryptographic_hash_function>
<#cryptographic_hash_function> {

    # instance of
    wdt:P31 [ wd:Q477202 ] ;
    # publication date or inception date 
	(  p:P577 { ps:P577 xsd:dateTime } ; p:P571 { ps:P571 xsd:dateTime } ?
	 | p:P571 { ps:P571 xsd:dateTime } ) *;
    # country of origin
    wdt:P495 [ <http://www.wikidata.org/entity>~ ] ? ;
    # described by source
    wdt:P1343 [ <http://www.wikidata.org/entity>~ ] * ;
    # discoverer or inventor
    wdt:P61 [ <http://www.wikidata.org/entity>~ ] * ;
    # image
    wdt:P18 [ <http://commons.wikimedia.org/wiki/Special:FilePath>~ ] ? ;
    # developer
    wdt:P178 [ <http://www.wikidata.org/entity>~ ] * ;
    # based on
    wdt:P144 [ <http://www.wikidata.org/entity>~ ] * ;
    # designed by
    wdt:P287 [ <http://www.wikidata.org/entity>~ ] * ;
    # PRONOM file format identifier
    wdt:P2748 xsd:string ? ;
    # exact match
    wdt:P2888 IRI * ;
    # Uniform Resource Identifier Scheme
    wdt:P4742 xsd:string ? ;
    # Stack Exchange tag
    wdt:P1482 [ <https://stackoverflow.com/tags>~ ] ? ;
    # Rosetta Code ID
    wdt:P5047 xsd:string ? ;
    # File Format Wiki page ID
    wdt:P3381 xsd:string ? ;
    # ITU/ISO/IEC object identifier
    wdt:P3743 xsd:string ? ;
}