query-a996a9608ffd3bcd0d427013de6232f4

rq turtle/ttl

First cosmonaut/first astronaut 15:46, 6 November 2017 (UTC)) talk (Fractaler? --(Q7327)Yuri Gagarin 20:18, 6 November 2017 (UTC)) talk (Yair randHm, perhaps we should have a property for "first to..."? I'm unsure of what kind of scope we could have with this. -- 17:53, 6 November 2017 (UTC)) talk (FractalerOk. Some bot is looking for the one who was the first cosmonaut. What tool does the Wikidata offer for such user? Description? Bot should be able to understand the text of the description? -- 17:44, 6 November 2017 (UTC)) talk (Jarekt". If that is not your question than please explain. --Soviet pilot and cosmonaut, first human in space (1934–1968): "{{Autodescription | Q7327 }}I am sorry, but can you explain what is the question? Are you looking for a property counting in which order people went into space? I would be surprised if we had one. But you can use 17:38, 6 November 2017 (UTC)) talk (FractalerHow to tell the user about this? -- 17:04, 6 November 2017 (UTC)) talk (JarektYes --. So there should be possible to write SPARQL query to find it:(P619)UTC date of spacecraft launch where you can find (Q182524)Vostok 1 , which points to (P450)astronaut mission look for (Q7327)Yuri Gagarin In

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?human ?humanLabel ?mission ?missionLabel ?startDate WHERE {
  ?human wdt:P31 wd:Q5 .
  ?human wdt:P450 ?mission .
  ?mission wdt:P619 ?startDate

  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "en" .
  }
} ORDER BY ?startDate
LIMIT 1

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?human"):::projected v3("?mission"):::projected v1("?startDate"):::projected c6(["bd:serviceParam"]):::iri c2(["wd:Q5"]):::iri c8(["en"]):::literal v2 --"wdt:P31"--> c2 v2 --"wdt:P450"--> v3 v3 --"wdt:P619"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end