Simple Question (Direct)
Simple Question
Q11917627
P39
Q12737077
USER
Which occupations were the positions occupied by Domingo Portefaix y Páez ?
(Q11917627,P39,c(Q12737077))
action filter_type
action find
entity Q11917627
relation P39
type Q12737077
['Q11917627', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q11917627 property:P39 ?f }
Domingo Portefaix y Páez
action filter_type
action find
entity Domingo Portefaix y Páez
relation position held
type occupation
['Domingo Portefaix y Páez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Domingo_Portefaix_y_Páez property:position_held ?f }
[]
occupation
Q30185 Q708492
SYSTEM
mayor, councillor
Q30185 Q708492
(Q11917627,P39,c(Q12737077))
action filter_type
action find
entity Q11917627
relation P39
type Q12737077
The [ANSWERS] were the positions occupied by Domingo Portefaix y Páez
['Q11917627', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q11917627 property:P39 ?f }
mayor councillor
The mayor and councillor were the positions occupied by Domingo Portefaix y Páez
mayor councillor
action filter_type
action find
entity Domingo Portefaix y Páez
relation position held
type occupation
['Domingo Portefaix y Páez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Domingo_Portefaix_y_Páez property:position_held ?f }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30185 Q708492
P106
Q502895
USER
Which people have the profession of those occupations ?
(c(Q502895),P106,Q30185) (c(Q502895),P106,Q708492)
action filter_type
action find_reverse
entity prev_answer
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q30185'] [{'concept': 'Q502895'}, 'P106', 'Q708492']
SELECT DISTINCT ?f WHERE { VALUES ( ?t ) { ( resource:Q30185 ) ( resource:Q708492 ) } . ?f rdf:type ontology:Q502895 . ?f property:P106 ?t }
mayor councillor
action filter_type
action find_reverse
entity prev_answer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'mayor'] [{'concept': 'common name'}, 'occupation', 'councillor']
SELECT DISTINCT ?f WHERE { VALUES ( ?t ) { ( resource:mayor ) ( resource:councillor ) } . ?f rdf:type ontology:common_name . ?f property:occupation ?t }
[]
common name
Q7387725 Q15989988 Q90533
SYSTEM
S. O. Davies, Hugh Franklin, Rudi Pawelka
Q20054192 Q27665572 Q5481949 Q12266475 Q12260703 Q2651847 Q4532603 Q22575367 Q15733509 Q26769575 Q23722885 Q22575326 Q12264899 Q6205978 Q2888552 Q4892191 Q24040723 Q21529239 Q1693809 Q23732273 Q16014394 Q26903901 Q18626306 Q1401188 Q7177382 Q26822072 Q17022238 Q23765472 Q1350989 Q2696117 Q11912412 Q5111164 Q1080660 Q734492 Q11293036 Q7416653 Q23765836 Q4963401 Q1910176 Q23765512 Q6387718 Q15438758 Q7615170 Q90533 Q6148402 Q5930286 Q2137612 Q2589705 Q11681819 Q25106981 Q16766285 Q16888117 Q7329769 Q3249062 Q17505072 Q1085158 Q17306267 Q17047280 Q5129278 Q5700022 Q15428951 Q22958294 Q5667566 Q4777674 Q16221356 Q1561938 Q25106972 Q15435859 Q22893959 Q25403798 Q4685721 Q19295021 Q11692631 Q4708696 Q15438829 Q23908963 Q23908965 Q19776209 Q15989988 Q5606139 Q21877507 Q6787208 Q1459050 Q25106842 Q1442695 Q1342080 Q5526189 Q1991842 Q1598683 Q1411485 Q11216063 Q7387725 Q1359172 Q6831818 Q24877317 Q2468662 Q1687064 Q2078548 Q6232947 Q23908507 Q1230272 Q16728179 Q1984776 Q23908514 Q23061316 Q7609931 Q15431885 Q18341589 Q7346429 Q23901335 Q7659720 Q5110963 Q23722835 Q25917006 Q7363926 Q12053097 Q8001983 Q12022633 Q23908459 Q13422446 Q4717407 Q1784955 Q2716441
(c(Q502895),P106,Q30185) (c(Q502895),P106,Q708492)
action filter_type
action find_reverse
entity prev_answer
relation P106
type Q502895
[ANSWERS] have the profession of those occupations
[{'concept': 'Q502895'}, 'P106', 'Q30185'] [{'concept': 'Q502895'}, 'P106', 'Q708492']
SELECT DISTINCT ?f WHERE { VALUES ( ?t ) { ( resource:Q30185 ) ( resource:Q708492 ) } . ?f rdf:type ontology:Q502895 . ?f property:P106 ?t }
Tomáš Hájek Dominique-François Sébire Francis Moon Ramón Fernandez Garaialde Jose Maria Soroa Ramón Labayen Sansinenea Heo Nam-sik Jiří Štěpán Kees IJmkers Camille Dunant Vladimír Ninger František Gábor Nora Galparsoro Joanna Strathdee Sergio Puyol Odón Elorza González Jules Coste Radek Popelka Johann Georg Ehrlich Šárka Jelínková William Parker Henson Jean-François Quivogne Johann Christian Schröder Jacob van den Eynde Peter Tripodi Guido Reil Natalie Suleyman Pavel Himl Erhart Griesser Franz Carl Egloff Carles Martí i Jufresa Christine Rose Christian Koppe Pascal Smet Henri Longville Sandra Kabir Martin Mach Brian Coleman Matthias Naeff Jakub Lepš Ken Guild Eberhard Heinrich Löhr Steven Purcell Rudi Pawelka Tomás Alba Hugh Casey Theodoricus Lyndemann Wolfgang Glaner Fernando Castelló Jan Tvrdík Alberto Garre Anton Thurler Richard Waldron José Sarria Eve Dutton Christoph Herwart Jim McMahon Manel Ferré i Montañés Claudia Webbe Antonio Vallejo Alberola Johann Daniel Reutern Jaromíra Vítková Alfredo C. Ortiz Antônio Vicente da Fontoura John Paul Jenkins Veit Schnorr Jiří Brdlík Johann Heinrich Schröder Vlastislav Navrátil Marcel Hájek Adrienne Ryan Lucas von Spreckelsen Miguel Barrachina Alastair Cranston Valentin Heider Věra Ježková Anna Hubáčková John Inglis Hugh Franklin Greg Piper Tomáš Bouzek Mathieu Eugene Nicol Römer Ivan Doležal Francois de Vroede Engelhard von Nathusius Gary Womersley Nikolaus von the Lippe Heinrich Saff Nikolaus von Bismarck Rafael Guerra del Río S. O. Davies Ernst Lange Michael Kelly Jindřich Bláha Casper Willem de Sauvage Nolting Jenny Randerson Peter Stromer John Fenty Jaroslav Hejl Johann Erasmus Senckenberg Robin D. Cook Nicholas Ball Lumír Kantor Johann Christoph Weigel Stephen Mayne Helga Lange Patrik Nacher Robert Knox Arnold Wlome Syd Rapson Christine Caughey Jiří Peřina Jitka Volfová Ron Hoenig Mary Barbour Wilfrid Roberts Jan Jílek Jiří Čejka Xabier de Antoñana Alex MacLeod Matthäus Schlüter Henning Bardenwerper
S. O. Davies, Hugh Franklin and Rudi Pawelka have the profession of those occupations
S. O. Davies Hugh Franklin Rudi Pawelka
action filter_type
action find_reverse
entity prev_answer
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'mayor'] [{'concept': 'common name'}, 'occupation', 'councillor']
SELECT DISTINCT ?f WHERE { VALUES ( ?t ) { ( resource:mayor ) ( resource:councillor ) } . ?f rdf:type ontology:common_name . ?f property:occupation ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30185
P361
Q15617994
USER
What is mayor a component of ?
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q30185 property:P361 ?n . ?n rdf:type ontology:Q15617994 }
mayor
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:mayor property:part_of ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15284
SYSTEM
municipality
Q15284
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
Mayor is a component of [ANSWER]
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q30185 property:P361 ?n . ?n rdf:type ontology:Q15617994 }
municipality
Mayor is a component of municipality
municipality
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:mayor property:part_of ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30185
P466
Q811430
USER
What is occupied by that occupation ?
(c(Q811430),P466,Q15284)
action filter_type
action find_reverse
entity Q30185
relation P466
type Q811430
[{'concept': 'Q811430'}, 'P466', 'Q15284']
SELECT DISTINCT ?t WHERE { ?t property:P466 resource:Q30185 . ?t rdf:type ontology:Q811430 }
mayor
action filter_type
action find_reverse
entity mayor
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'municipality']
SELECT DISTINCT ?t WHERE { ?t property:occupant resource:mayor . ?t rdf:type ontology:construction }
[]
construction
Q1309294
SYSTEM
Einsteinhaus Caputh
Q1309294
(c(Q811430),P466,Q15284)
action filter_type
action find_reverse
entity Q30185
relation P466
type Q811430
[ANSWER] is occupied by that occupation
[{'concept': 'Q811430'}, 'P466', 'Q15284']
SELECT DISTINCT ?t WHERE { ?t property:P466 resource:Q30185 . ?t rdf:type ontology:Q811430 }
Einsteinhaus Caputh
Einsteinhaus Caputh is occupied by that occupation
Einsteinhaus Caputh
action filter_type
action find_reverse
entity mayor
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'municipality']
SELECT DISTINCT ?t WHERE { ?t property:occupant resource:mayor . ?t rdf:type ontology:construction }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3026186 Q15284
P106 P1313
Q12737077
USER
Which occupations serve as the political office that are fulfilled by the head of the government of municipality or have Diane Beckman as his/her as a career ?
OR((Q15284,P1313,c(Q12737077)), (Q3026186,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q15284
relation P1313
action find
entity Q3026186
relation P106
type Q12737077
{'OR': [['Q15284', 'P1313', {'concept': 'Q12737077'}], ['Q3026186', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q15284 property:P1313 ?a } UNION { resource:Q3026186 property:P106 ?a } } . ?a rdf:type ontology:Q12737077 }
Diane Beckman municipality
action filter_type
action union
action find
entity municipality
relation office held by head of government
action find
entity Diane Beckman
relation occupation
type occupation
{'OR': [['municipality', 'office held by head of government', {'concept': 'occupation'}], ['Diane Beckman', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { { { resource:municipality property:office_held_by_head_of_government ?a } UNION { resource:Diane_Beckman property:occupation ?a } } . ?a rdf:type ontology:occupation }
[]
occupation
Q30185 Q496728 Q4991371
SYSTEM
mayor, municipal manager, soldier
Q30185 Q496728 Q4991371
OR((Q15284,P1313,c(Q12737077)), (Q3026186,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q15284
relation P1313
action find
entity Q3026186
relation P106
type Q12737077
[ANSWERS] serve as the political office that are fulfilled by the head of the government of municipality or have Diane Beckman as his/her as a career
{'OR': [['Q15284', 'P1313', {'concept': 'Q12737077'}], ['Q3026186', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q15284 property:P1313 ?a } UNION { resource:Q3026186 property:P106 ?a } } . ?a rdf:type ontology:Q12737077 }
mayor municipal manager soldier
Mayor, municipal manager and soldier serve as the political office that are fulfilled by the head of the government of municipality or have Diane Beckman as his/her as a career
mayor municipal manager soldier
action filter_type
action union
action find
entity municipality
relation office held by head of government
action find
entity Diane Beckman
relation occupation
type occupation
{'OR': [['municipality', 'office held by head of government', {'concept': 'occupation'}], ['Diane Beckman', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { { { resource:municipality property:office_held_by_head_of_government ?a } UNION { resource:Diane_Beckman property:occupation ?a } } . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4991371
P180
Q234460
USER
Which texts demonstrate soldier ?
(c(Q234460),P180,Q4991371)
action filter_type
action find_reverse
entity Q4991371
relation P180
type Q234460
[{'concept': 'Q234460'}, 'P180', 'Q4991371']
SELECT DISTINCT ?b WHERE { ?b property:P180 resource:Q4991371 . ?b rdf:type ontology:Q234460 }
soldier
action filter_type
action find_reverse
entity soldier
relation depicts
type text
[{'concept': 'text'}, 'depicts', 'soldier']
SELECT DISTINCT ?b WHERE { ?b property:depicts resource:soldier . ?b rdf:type ontology:text }
[]
text
Q1193148 Q1046358 Q785720
SYSTEM
The Silent Angel, The Train Was on Time, And where were you, Adam?
Q1046358 Q1193148 Q785720 Q2547981
(c(Q234460),P180,Q4991371)
action filter_type
action find_reverse
entity Q4991371
relation P180
type Q234460
[ANSWERS]
[{'concept': 'Q234460'}, 'P180', 'Q4991371']
SELECT DISTINCT ?b WHERE { ?b property:P180 resource:Q4991371 . ?b rdf:type ontology:Q234460 }
The Train Was on Time The Silent Angel And where were you, Adam? Stranger, Bear Word to the Spartans We…
The Silent Angel, The Train was on Time and And where were you, Adam demonstrate soldier
The Silent Angel The Train Was on Time And where were you, Adam?
action filter_type
action find_reverse
entity soldier
relation depicts
type text
[{'concept': 'text'}, 'depicts', 'soldier']
SELECT DISTINCT ?b WHERE { ?b property:depicts resource:soldier . ?b rdf:type ontology:text }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1193148 Q1046358 Q785720
P800
Q502895
USER
Which people are accredited with being the author of the notable work those texts ?
(c(Q502895),P800,Q1193148) (c(Q502895),P800,Q1046358) (c(Q502895),P800,Q785720)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q1193148'] [{'concept': 'Q502895'}, 'P800', 'Q1046358'] [{'concept': 'Q502895'}, 'P800', 'Q785720']
SELECT DISTINCT ?h WHERE { ?h property:P800 ?r . VALUES ( ?r ) { ( resource:Q1046358 ) ( resource:Q1193148 ) ( resource:Q785720 ) } . ?h rdf:type ontology:Q502895 }
The Silent Angel The Train Was on Time And where were you, Adam?
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Silent Angel'] [{'concept': 'common name'}, 'notable work', 'The Train Was on Time'] [{'concept': 'common name'}, 'notable work', 'And where were you, Adam?']
SELECT DISTINCT ?h WHERE { ?h property:notable_work ?r . VALUES ( ?r ) { ( resource:The_Train_Was_on_Time ) ( resource:The_Silent_Angel ) ( resource:And_where_were_you,_Adam? ) } . ?h rdf:type ontology:common_name }
[]
common name
Q42747
SYSTEM
Heinrich Böll
Q42747
(c(Q502895),P800,Q1193148) (c(Q502895),P800,Q1046358) (c(Q502895),P800,Q785720)
action filter_type
action find_reverse
entity prev_answer
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work those texts
[{'concept': 'Q502895'}, 'P800', 'Q1193148'] [{'concept': 'Q502895'}, 'P800', 'Q1046358'] [{'concept': 'Q502895'}, 'P800', 'Q785720']
SELECT DISTINCT ?h WHERE { ?h property:P800 ?r . VALUES ( ?r ) { ( resource:Q1046358 ) ( resource:Q1193148 ) ( resource:Q785720 ) } . ?h rdf:type ontology:Q502895 }
Heinrich Böll
Heinrich Böll is accredited with being the author of the notable work those texts
Heinrich Böll
action filter_type
action find_reverse
entity prev_answer
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Silent Angel'] [{'concept': 'common name'}, 'notable work', 'The Train Was on Time'] [{'concept': 'common name'}, 'notable work', 'And where were you, Adam?']
SELECT DISTINCT ?h WHERE { ?h property:notable_work ?r . VALUES ( ?r ) { ( resource:The_Train_Was_on_Time ) ( resource:The_Silent_Angel ) ( resource:And_where_were_you,_Adam? ) } . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42747
P463
Q19335303
USER
Which German business organization had that person as its member ?
(Q42747,P463,c(Q19335303))
action filter_type
action find
entity Q42747
relation P463
type Q19335303
['Q42747', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?n WHERE { resource:Q42747 property:P463 ?n . ?n rdf:type ontology:Q19335303 }
Heinrich Böll
action filter_type
action find
entity Heinrich Böll
relation member of
type type of business entity in Germany
['Heinrich Böll', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?n WHERE { resource:Heinrich_Böll property:member_of ?n . ?n rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q414110
SYSTEM
Academy of Arts, Berlin
Q414110
(Q42747,P463,c(Q19335303))
action filter_type
action find
entity Q42747
relation P463
type Q19335303
[ANSWER] had that person as its member
['Q42747', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?n WHERE { resource:Q42747 property:P463 ?n . ?n rdf:type ontology:Q19335303 }
Academy of Arts, Berlin
Academy of Arts, Berlin had that person as its member
Academy of Arts, Berlin
action filter_type
action find
entity Heinrich Böll
relation member of
type type of business entity in Germany
['Heinrich Böll', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?n WHERE { resource:Heinrich_Böll property:member_of ?n . ?n rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42747
P50
Q234460
USER
What are the texts written by that person ?
(c(Q234460),P50,Q414110)
action filter_type
action find_reverse
entity Q42747
relation P50
type Q234460
[{'concept': 'Q234460'}, 'P50', 'Q414110']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q234460 . ?e property:P50 resource:Q42747 }
Heinrich Böll
action filter_type
action find_reverse
entity Heinrich Böll
relation author
type text
[{'concept': 'text'}, 'author', 'Academy of Arts, Berlin']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:text . ?e property:author resource:Heinrich_Böll }
[]
text
Q514002 Q1551030 Q466140
SYSTEM
The Clown, Group Portrait with Lady, A Soldier's Legacy
Q1590916 Q289484 Q1046358 Q1193148 Q841315 Q1149714 Q2547981 Q1235081 Q1451573 Q1340275 Q1551030 Q2576568 Q1219337 Q528909 Q17332470 Q1672825 Q2550194 Q466140 Q1217325 Q785720 Q514002 Q655773 Q1985103
(c(Q234460),P50,Q414110)
action filter_type
action find_reverse
entity Q42747
relation P50
type Q234460
The texts written by that person are [ANSWERS]
[{'concept': 'Q234460'}, 'P50', 'Q414110']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q234460 . ?e property:P50 resource:Q42747 }
House without Guardians The Bread of Those Early Years The Train Was on Time The Silent Angel The Lost Honour of Katharina Blum And Never Said a Word Stranger, Bear Word to the Spartans We… Doctor Murkes total silence Women in a river landscape. A novel in dialogues and soliloquies End of a Mission Group Portrait with Lady Will Ulrike Gnade oder freies Geleit? Black Sheep Anekdote zur Senkung der Arbeitsmoral The Safety Net Irish Journal What's to Become of the Boy? A Soldier's Legacy The Balek Scales And where were you, Adam? The Clown Billiards at Half-past Nine Christmas Not Just Once a Year
The texts written by that person are The Clown, Group Portrait with Lady and A Soldier's Legacy
The Clown Group Portrait with Lady A Soldier's Legacy
action filter_type
action find_reverse
entity Heinrich Böll
relation author
type text
[{'concept': 'text'}, 'author', 'Academy of Arts, Berlin']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:text . ?e property:author resource:Heinrich_Böll }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P674
Q22988604 Q502895 Q234460
USER
How many texts have the character lesser number of mythological Greek characters or people than that text ?
(c(Q234460),P674,c(Q22988604)|c(Q502895))
[{'concept': 'Q234460'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:P674 ?j . VALUES ( ?j ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q234460 . ?y rdf:type ontology:Q22988604 . ?x rdf:type ontology:Q502895 }
[{'concept': 'text'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:characters ?j . VALUES ( ?j ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:text . ?y rdf:type ontology:mythological_Greek_character . ?x rdf:type ontology:common_name }
[]
mythological Greek character common name text
Comparative|Count over More/Less|Mult. entity type|Clarification
Q514002
SYSTEM
Did you mean The Clown ?
(c(Q234460),P674,c(Q22988604)|c(Q502895))
[ANSWER]
[{'concept': 'Q234460'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:P674 ?j . VALUES ( ?j ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q234460 . ?y rdf:type ontology:Q22988604 . ?x rdf:type ontology:Q502895 }
Did you mean The Clown ?
The Clown
[{'concept': 'text'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { ?z property:characters ?j . VALUES ( ?j ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:text . ?y rdf:type ontology:mythological_Greek_character . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q234460),P674,c(Q22988604)|c(Q502895))
[{'concept': 'Q234460'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q502895'}]]
[{'concept': 'text'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'common name'}]]
[]
SYSTEM
76
Q192551 Q2728818 Q2446784 Q21867990 Q192649 Q178075 Q743223 Q7578767 Q1140678 Q3041777 Q1195086 Q1244674 Q2718922 Q2360365 Q1151748 Q1171427 Q265546 Q144547 Q289770 Q1192552 Q228119 Q142278 Q930237 Q1192541 Q3548282 Q2418554 Q1134288 Q3235556 Q499059 Q3202724 Q2089920 Q163297 Q3204335 Q14325564 Q16647440 Q26541 Q937281 Q3020486 Q1199885 Q1621164 Q961957 Q9213168 Q1304649 Q8272 Q3224604 Q15980832 Q459667 Q7332983 Q135662 Q1476241 Q18517323 Q1115266 Q3226619 Q2420223 Q2092914 Q1340996 Q3055185 Q246732 Q1060471 Q3041826 Q3793400 Q1419545 Q170583 Q3071040 Q15838998 Q27734829 Q1567623 Q483034 Q2124930 Q2631206 Q514002 Q3208302 Q165318 Q161138 Q2467862 Q1972808
(c(Q234460),P674,c(Q22988604)|c(Q502895))
[ANSWER]
[{'concept': 'Q234460'}, 'P674', [{'concept': 'Q22988604'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P674 ?y } UNION { ?z property:P674 ?x } } . ?z rdf:type ontology:Q234460 . ?y rdf:type ontology:Q22988604 . ?x rdf:type ontology:Q502895 }
Primary Chronicle The Adventure of the Golden Pince-Nez The Adventure of the Bruce-Partington Plans The Waters of Eternal Youth The Red and the Black Skáldskaparmál Roots: The Saga of an American Family Spock Must Die! The Adventure of the Blue Carbuncle The Adventure of the Three Garridebs The Once and Future King Vita Merlini The Adventure of Charles Augustus Milverton The Adventure of the Abbey Grange The Man with the Twisted Lip The Adventure of the Empty House A Scandal in Bohemia On the Eve Ward No. 6 The Adventure of the Engineer's Thumb The Final Problem The Hare and the Hedgehog Saga of Erik the Red The Boscombe Valley Mystery The Anonymous Venetian The Lady with the Dog Gylfaginning The Adventure of the Six Napoleons The Adventure of the Cardboard Box The Adventure of the Egyptian Tomb The Adventure of the Norwood Builder The Stranger The Incredible Theft The Grasshopper Uncle Fedya Dr. No William Tell Blood from a Stone The Adventure of the Second Stain The Market Basing Mystery The Adventure of the Three Students Four and Twenty Blackbirds A Hero of Our Time Epic of Gilgamesh Dead Man's Mirror The Jest of Warburg Tantavul The Murders in the Rue Morgue Riding the Rap Cupid and Psyche The Pyramid Falling in Love The Adventure of the Noble Bachelor Romance with Double-Bass The Adventure of Wisteria Lodge The Adventure of Black Peter Death in a Strange Country Acqua Alta Satyricon The Adventure of the Speckled Band The Disappearance of Lady Frances Carfax The Hundred-Year-Old Man Who Climbed Out the Window and Disappeared Alex Rider Pride and Prejudice Murder in the Mews Ninotchka Earthly Remains Ramakien Robinson Crusoe Rabbit Remembered The Garin Death Ray The Clown The Disappearance of Mr. Davenheim Crime and Punishment Bluebeard Mumu The Golden Key, or the Adventures of Buratino
76
[{'concept': 'text'}, 'characters', [{'concept': 'mythological Greek character'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:characters ?y } UNION { ?z property:characters ?x } } . ?z rdf:type ontology:text . ?y rdf:type ontology:mythological_Greek_character . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q514002
P921
Q183366
USER
What was The Clown mainly about ?
(Q514002,P921,c(Q183366))
action filter_type
action find
entity Q514002
relation P921
type Q183366
['Q514002', 'P921', {'concept': 'Q183366'}]
SELECT DISTINCT ?a WHERE { resource:Q514002 property:P921 ?a . ?a rdf:type ontology:Q183366 }
The Clown
action filter_type
action find
entity The Clown
relation main subject
type territory
['The Clown', 'main subject', {'concept': 'territory'}]
SELECT DISTINCT ?a WHERE { resource:The_Clown property:main_subject ?a . ?a rdf:type ontology:territory }
[]
territory
Q2415901
SYSTEM
Allied-occupied Germany
Q2415901
(Q514002,P921,c(Q183366))
action filter_type
action find
entity Q514002
relation P921
type Q183366
Mainly The Clown was about the [ANSWER]
['Q514002', 'P921', {'concept': 'Q183366'}]
SELECT DISTINCT ?a WHERE { resource:Q514002 property:P921 ?a . ?a rdf:type ontology:Q183366 }
Allied-occupied Germany
Mainly The Clown was about the Allied-occupied Germany
Allied-occupied Germany
action filter_type
action find
entity The Clown
relation main subject
type territory
['The Clown', 'main subject', {'concept': 'territory'}]
SELECT DISTINCT ?a WHERE { resource:The_Clown property:main_subject ?a . ?a rdf:type ontology:territory }
[]