query-17f4503eac798a0688a676b7c6f0e9db

rq turtle/ttl

Propertiesinstance of (P31)subclass of (P279)country (P17)country of origin (P495)manufacturer (P176)computer performance (P7256)power consumed (P2791)TOP500 System ID (P7307)operating system (P306)number of processor cores (P1141)inception (P571)service entry (P729)bus (P8107)ranking (P1352)review score by (P447)point in time (P585)start time (P580)end time (P582)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:timeline of #1 in Top500
#defaultView:Timeline
SELECT distinct ?item ?itemLabel ?countryLabel ?creatorLabel ?perf ?procs ?heat ?top500 ?osLabel ?time ?totime ?busLabel
WHERE 
{
  ?item wdt:P31/wdt:P279* wd:Q121117.
  OPTIONAL {?item wdt:P17|wdt:P495 ?country.}
  OPTIONAL {?item wdt:P176 ?creator.}
  OPTIONAL {?item wdt:P7256 ?perf.}
  OPTIONAL {?item wdt:P2791 ?heat.}
  OPTIONAL {?item wdt:P7307 ?top500.}
  OPTIONAL {?item wdt:P306 ?os.}
  OPTIONAL {?item wdt:P1141 ?procs.}
  OPTIONAL {?item wdt:P571|wdt:P729 ?creat.}
  OPTIONAL {?item wdt:P8107 ?bus.}
  FILTER (STR(?rank)="1") 
  ?item p:P1352 [ps:P1352 ?rank; pq:P447 wd:Q633765].
  OPTIONAL { {?item p:P1352 [ps:P1352 ?rank; pq:P585 ?time].} UNION
     {?item p:P1352 [ps:P1352 ?rank; pq:P580 ?time].} }
  OPTIONAL {?item p:P1352 [ps:P1352 ?rank; pq:P582 ?totime].}
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?time ?fromtime

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v13("?bus") v5("?country") v12("?creat") v6("?creator") v2("?fromtime") v8("?heat"):::projected v4("?item"):::projected v10("?os") v7("?perf"):::projected v11("?procs"):::projected v3("?rank") v1("?time"):::projected v9("?top500"):::projected v14("?totime"):::projected a1((" ")) a2((" ")) a3((" ")) a4((" ")) a5((" ")) c24(["bd:serviceParam"]):::iri c4(["wd:Q121117"]):::iri c18(["wd:Q633765"]):::iri c26(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["str(?rank) = '1'"]] f0 --> v3 v4 --"p:direct/P31"--> a1 a1 --"p:direct/P279"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v4 -."p:direct/P495".-> v5 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v4 --"p:direct/P17"--> v5 end union0r <== or ==> union0l end end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v4 -."p:direct/P176".-> v6 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v4 -."p:direct/P7256".-> v7 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v4 -."p:direct/P2791".-> v8 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v4 -."p:direct/P7307".-> v9 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v4 -."p:direct/P306".-> v10 end subgraph optional6["(optional)"] style optional6 fill:#bbf,stroke-dasharray: 5 5; v4 -."p:direct/P1141".-> v11 end subgraph optional7["(optional)"] style optional7 fill:#bbf,stroke-dasharray: 5 5; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v4 -."p:direct/P729".-> v12 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v4 --"p:direct/P571"--> v12 end union1r <== or ==> union1l end end subgraph optional8["(optional)"] style optional8 fill:#bbf,stroke-dasharray: 5 5; v4 -."p:direct/P8107".-> v13 end a2 --"p:statement/P1352"--> v3 a2 --"p:qualifier/P447"--> c18 v4 --"p:P1352"--> a2 subgraph optional9["(optional)"] style optional9 fill:#bbf,stroke-dasharray: 5 5; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; a4 -."p:statement/P1352".-> v3 a4 --"p:qualifier/P580"--> v1 v4 --"p:P1352"--> a4 end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; a3 --"p:statement/P1352"--> v3 a3 --"p:qualifier/P585"--> v1 v4 --"p:P1352"--> a3 end union2r <== or ==> union2l end end subgraph optional10["(optional)"] style optional10 fill:#bbf,stroke-dasharray: 5 5; a5 -."p:statement/P1352".-> v3 a5 --"p:qualifier/P582"--> v14 v4 --"p:P1352"--> a5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c24 --"wikibase:language"--> c26 end