query-6fca50602b654e5d561ff18a8c6c0bac

rq turtle/ttl

added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) ) added 2017-07-16, updated 2020-07-08 SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel WHERE { ?doctor wdt:P31 wd:Q47543030 . OPTIONAL { ?doctor wdt:P1545 ?ordinal } OPTIONAL { ?doctor p:P175 / ps:P175 ?performer } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" } } ORDER BY ASC(xsd:integer(?ordinal) )

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#added 2017-07-16, updated 2020-07-08
SELECT ?doctor ?doctorLabel ?ordinal ?performer ?performerLabel
WHERE {
  ?doctor wdt:P31 wd:Q47543030 .
  OPTIONAL { ?doctor wdt:P1545 ?ordinal }
  OPTIONAL { ?doctor p:P175 / ps:P175 ?performer }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en" }
}
ORDER BY ASC(xsd:integer(?ordinal) )

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?doctor"):::projected v1("?ordinal"):::projected v3("?performer"):::projected a1((" ")) c2(["wd:Q47543030"]):::iri c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,mul,en"]):::literal v2 --"p:direct/P31"--> c2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P1545".-> v1 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:P175".-> a1 a1 --"p:statement/P175"--> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end