query-61423c67f26181970af85c8aae192500

rq turtle/ttl

People

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
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#>
PREFIX target1: <http://www.wikidata.org/entity/Q6053150>
PREFIX target2: <http://www.wikidata.org/entity/Q125207937>

SELECT
  ?year

  ?event ?eventLabel
  (CONCAT("#scientificevent/", SUBSTR(STR(?event), 32)) AS ?eventUrl)

  ?person ?personLabel
  (CONCAT("#author/", SUBSTR(STR(?person), 32)) AS ?personUrl)
  ?personDescription
WHERE {
  ?event wdt:P179 target1: ;
         p:P664 ?organizer_statement .
  ?organizer_statement ps:P664 ?person ;
                        pq:P3831 target2: .
  OPTIONAL {
    ?event wdt:P580| wdt:P585 ?datetime .
    BIND(YEAR(?datetime) AS ?year)
  }

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?year)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?datetime") v2("?event"):::projected v6("?eventUrl") v3("?organizer_statement") v4("?person"):::projected v7("?personUrl") v6("?year"):::projected c6([http://www.wikidata.org/entity/Q125207937]):::iri c10(["bd:serviceParam"]):::iri c2([http://www.wikidata.org/entity/Q6053150]):::iri c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"p:direct/P179"--> c2 v2 --"p:P664"--> v3 v3 --"p:statement/P664"--> v4 v3 --"p:qualifier/P3831"--> c6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v2 -."p:direct/P585".-> v5 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"p:direct/P580"--> v5 end union0r <== or ==> union0l end bind0[/"year-from-dateTime(?datetime)"/] v5 --o bind0 bind0 --as--o v6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end bind1[/"concat('#scientificevent/',substring(str(?event),'32^^xsd:integer'))"/] v2 --o bind1 bind1 --as--o v6 bind2[/"concat('#author/',substring(str(?person),'32^^xsd:integer'))"/] v4 --o bind2 bind2 --as--o v7