Simple Question (Direct)
Simple Question
Q6115016
P641
Q349
USER
Which sport did Jack Saville participate in ?
(Q6115016,P641,c(Q349))
action filter_type
action find
entity Q6115016
relation P641
type Q349
['Q6115016', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q6115016 property:P641 ?e . ?e rdf:type ontology:Q349 }
Jack Saville
action filter_type
action find
entity Jack Saville
relation sport
type sport
['Jack Saville', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Jack_Saville property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6115016,P641,c(Q349))
action filter_type
action find
entity Q6115016
relation P641
type Q349
Jack Saville participated in [ANSWER]
['Q6115016', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q6115016 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Jack Saville participated in association football
association football
action filter_type
action find
entity Jack Saville
relation sport
type sport
['Jack Saville', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Jack_Saville property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6115016
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q6115016
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q6115016 property:P21 ?g . ?g rdf:type ontology:Q290 }
Jack Saville
action filter_type
action find
entity Jack Saville
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Jack_Saville property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q6115016
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q6115016 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Jack Saville
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Jack_Saville property:gender ?g . ?g rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q15968016
P21
Q502895
USER
Is Charles-Antoine Hourier-Eloy a that sex ?
(Q15968016,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q15968016
relation P21
['Q15968016', 'P21', 'Q6581097']
ASK WHERE { resource:Q15968016 property:P21 resource:Q6581097 }
male Charles-Antoine Hourier-Eloy
action is_in
entity male
action find
entity Charles-Antoine Hourier-Eloy
relation gender
['Charles-Antoine Hourier-Eloy', 'gender', 'male']
ASK WHERE { resource:Charles-Antoine_Hourier-Eloy property:gender resource:male }
[]
common name
SYSTEM
YES
(Q15968016,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q15968016
relation P21
[ANSWER]
['Q15968016', 'P21', 'Q6581097']
ASK WHERE { resource:Q15968016 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Charles-Antoine Hourier-Eloy
relation gender
['Charles-Antoine Hourier-Eloy', 'gender', 'male']
ASK WHERE { resource:Charles-Antoine_Hourier-Eloy property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6115016
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Jack Saville ?
(Q6115016,P27,c(Q15617994))
action filter_type
action find
entity Q6115016
relation P27
type Q15617994
['Q6115016', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q6115016 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Jack Saville
action filter_type
action find
entity Jack Saville
relation country of citizenship
type designation for an administrative territorial entity
['Jack Saville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jack_Saville property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6115016,P27,c(Q15617994))
action filter_type
action find
entity Q6115016
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Jack Saville
['Q6115016', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q6115016 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Jack Saville
United Kingdom
action filter_type
action find
entity Jack Saville
relation country of citizenship
type designation for an administrative territorial entity
['Jack Saville', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jack_Saville property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6115016
P106
Q12737077
USER
What is the job of that person ?
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q6115016
relation P106
type Q12737077
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q6115016 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Jack Saville
action filter_type
action find
entity Jack Saville
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Jack_Saville property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q6115016
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q6115016 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Jack Saville
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Jack_Saville property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q2342494
USER
Which occupations are the fields of work of more number of people or collectables than that occupation ?
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q502895
type Q2342494
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:P101 ?h . ?s rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } UNION { ?s property:P101 ?h . ?h rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q2342494 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:P101 resource:Q937857 . { { ?m rdf:type ontology:Q2342494 } UNION { ?m rdf:type ontology:Q502895 } } } } . FILTER ( ?p > ?d ) }
action greater
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:field_of_work ?h . ?s rdf:type ontology:common_name . ?h rdf:type ontology:occupation } UNION { ?s property:field_of_work ?h . ?h rdf:type ontology:occupation . ?s rdf:type ontology:collectable } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:field_of_work resource:association_football_player . { { ?m rdf:type ontology:collectable } UNION { ?m rdf:type ontology:common_name } } } } . FILTER ( ?p > ?d ) }
[]
occupation common name collectable
Q16009483 Q1930187 Q212238
SYSTEM
sideshow performer, journalist, civil servant
Q6625963 Q177220 Q39631 Q33999 Q706364 Q17156912 Q333634 Q183888 Q593644 Q81096 Q170790 Q2405480 Q1930187 Q212238 Q131524 Q1172458 Q169470 Q201788 Q483501 Q1114448 Q1028181 Q36834 Q245068 Q16009483 Q1607826 Q639669 Q11774891 Q6981670
(c(Q502895)|c(Q2342494),P101,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q502895
type Q2342494
[ANSWERS] are the fields of work of more number of people or collectables than that occupation
[[{'concept': 'Q502895'}, {'concept': 'Q2342494'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:P101 ?h . ?s rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } UNION { ?s property:P101 ?h . ?h rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q2342494 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:P101 resource:Q937857 . { { ?m rdf:type ontology:Q2342494 } UNION { ?m rdf:type ontology:Q502895 } } } } . FILTER ( ?p > ?d ) }
novelist singer physician actor art director malariologist translator software developer chemist engineer mathematician voice actor journalist civil servant entrepreneur muhaddith physicist historian artist cartoonist painter composer comedian sideshow performer editor musician ice hockey player Navajo weaving
Sideshow performer, journalist and civil servant are the fields of work of more number of people or collectables than that occupation
sideshow performer journalist civil servant
action greater
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type common name
type collectable
[[{'concept': 'common name'}, {'concept': 'collectable'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?s ) AS ?p ) WHERE { { ?s property:field_of_work ?h . ?s rdf:type ontology:common_name . ?h rdf:type ontology:occupation } UNION { ?s property:field_of_work ?h . ?h rdf:type ontology:occupation . ?s rdf:type ontology:collectable } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:field_of_work resource:association_football_player . { { ?m rdf:type ontology:collectable } UNION { ?m rdf:type ontology:common_name } } } } . FILTER ( ?p > ?d ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q212238
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
(c(Q502895),P39,Q212238)
action filter_type
action find_reverse
entity Q212238
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q212238']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q212238 . ?d rdf:type ontology:Q502895 }
civil servant
action filter_type
action find_reverse
entity civil servant
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'civil servant']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:civil_servant . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1930187
SYSTEM
Did you mean journalist ?
Q16009483 Q1930187 Q212238
(c(Q502895),P39,Q16009483) (c(Q502895),P39,Q1930187) (c(Q502895),P39,Q212238)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q16009483'] [{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q212238']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q212238 . ?d rdf:type ontology:Q502895 }
sideshow performer journalist civil servant
Did you mean journalist ?
journalist
[{'concept': 'common name'}, 'position held', 'sideshow performer'] [{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'civil servant']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:civil_servant . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant civil servant. Could you tell me the answer for that?
(c(Q502895),P39,Q212238)
Q212238
[{'concept': 'Q502895'}, 'P39', 'Q212238']
[{'concept': 'common name'}, 'position held', 'civil servant']
[]
Q65539 Q44612 Q78500
SYSTEM
Peter Altmaier, Horst Seehofer, Alois Hitler
Q1429425 Q110220 Q1233229 Q1716466 Q1411268 Q65539 Q839282 Q1446747 Q1670764 Q104979 Q1467562 Q1738265 Q839215 Q69338 Q87623 Q98125 Q347605 Q1268258 Q78500 Q1667808 Q5234570 Q1360664 Q57849 Q1458580 Q167902 Q1100036 Q1560355 Q1467682 Q328782 Q216427 Q1467742 Q44612 Q1732317 Q2039821 Q88537 Q120809 Q2038753 Q1661240 Q1117363 Q123958 Q1446816 Q984191 Q1099881 Q87786 Q67563 Q842241 Q104693 Q1732145 Q1506271 Q935136 Q100431 Q1292218 Q1846045 Q17624676 Q1712906 Q434317 Q125029 Q68351 Q785397 Q1458563 Q1372995 Q36184 Q1239150 Q114920 Q1736528 Q1744992 Q114858 Q123551 Q115286 Q1657581 Q4298 Q2041344 Q1467121 Q119328 Q28085 Q1224128 Q1373005 Q1506323 Q122503 Q283733 Q1712884 Q964738 Q1629071 Q391458 Q113451 Q124363 Q1737620 Q85225 Q1989979 Q96018 Q368806 Q1458437 Q1668021 Q1665819 Q360695 Q2039799 Q1669355
(c(Q502895),P39,Q212238)
action filter_type
action find_reverse
entity Q212238
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q212238']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q212238 . ?d rdf:type ontology:Q502895 }
Florens Heinrich von Bockum-Dolffs Friedrich Martin Mattschull Robert Hildebrand Roman Rittweger Fidelis Graf Peter Altmaier Ortai Franz Ferdinand von Schiller Johann Georg Joseph Königsfeld Ludwig Schwamb Fritz Mooshake Wilhelm Julius Reinhold Winzer William Robinson Erwin Teufel Johann Rudolf Czernin von und zu Chudenitz Hans Plüschke Adalbert von Nordeck zur Rabenau Eduard Rückert Alois Hitler Michael Christian Göring Hiroyuki Mori Ernst Witte Michel Roger Friedrich Buchsieb Castulus Klemens August Menken Günter Bovermann Fritz Nöpel Rashid-al-Din Hamadani Günther von Bültzingslöwen Fritz Pauli Horst Seehofer Karl Maurer Otto Ludwig Krug von Nidda Franz Konrad Jean-Marc Sauvant Otto Fraydt von Fraydenegg Julius Lerche Johann Baptist Lorenz Lehner Heinz Geyer Franz Coels von der Bruegghen John O. Brennan Clemens August Schröder Johann Bernhard von Fünfkirchen Ernst Uhrlau Li Wei Siegfried von Roedern Paul Leopold Michaelis Georg Vietmeyer Robert Gibbs Ulrich Birkenheier Ignatz Karl Engelbert Maria von Landsberg-Velen zu Steinfurt A.H.J Lovink Charles Tamazount Julius Reinecke Dee Dee Myers Louis de Buade de Frontenac August von Senarclens de Grancy Francesco Feroni Peter Lafite Eugen Heinrich von Brockhausen Bram Stoker Étienne Dennery Adolph Ernst von Ernsthausen Peter Raisch Klaus Dieter Leister Ulrich von Behr-Negendank Henning von Qualen Theodor Weishaupt Ignaz Schurda Publius Flavius Vegetius Renatus Otto Decken Fritz Krieger Friedrich Ernst von Schwerin Adolf Eichmann Dietrich von Büchel Eugen von Kesseler Georg Walter Vincent von Wiese Jérôme Carcopino Fernando Masone Julius Philipp Heintzmann Peter the Patrician Horst-Jürgen Lahmann Agathocles of Egypt Friedrich von Hövel Gunter Armonat Ludwig Karl August Godin Heinrich Ritter von Wittek Jacob Hubert Patijn Eduard von Moeller Jean Talon Friedrich Besch Wolf Koller Julius Mentz Adolf Achenbach Otto Linsenmaier Karl Richter
Peter Altmaier, Horst Seehofer and Alois Hitler were responsible for occupying the position of that occupation
Peter Altmaier Horst Seehofer Alois Hitler
action filter_type
action find_reverse
entity civil servant
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'civil servant']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:civil_servant . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q65539
P39
Q12737077
USER
What were the positions held by that person ?
(Q65539,P39,c(Q12737077))
action filter_type
action find
entity Q65539
relation P39
type Q12737077
['Q65539', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q65539 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Peter Altmaier
action filter_type
action find
entity Peter Altmaier
relation position held
type occupation
['Peter Altmaier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Peter_Altmaier property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q44612
SYSTEM
Did you mean Horst Seehofer ?
Q65539 Q44612 Q78500
(Q65539,P39,c(Q12737077)) (Q44612,P39,c(Q12737077)) (Q78500,P39,c(Q12737077))
[ANSWER]
['Q65539', 'P39', {'concept': 'Q12737077'}] ['Q44612', 'P39', {'concept': 'Q12737077'}] ['Q78500', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q65539 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Peter Altmaier Horst Seehofer Alois Hitler
Did you mean Horst Seehofer ?
Horst Seehofer
['Peter Altmaier', 'position held', {'concept': 'occupation'}] ['Horst Seehofer', 'position held', {'concept': 'occupation'}] ['Alois Hitler', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Peter_Altmaier property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Peter Altmaier. Could you tell me the answer for that?
(Q65539,P39,c(Q12737077))
Q65539
['Q65539', 'P39', {'concept': 'Q12737077'}]
['Peter Altmaier', 'position held', {'concept': 'occupation'}]
[]
Q212238 Q248352 Q1939555
SYSTEM
civil servant, Bundesminister, member of the German Bundestag
Q212238 Q1939555 Q19731005 Q1307072 Q248352 Q518564
(Q65539,P39,c(Q12737077))
action filter_type
action find
entity Q65539
relation P39
type Q12737077
The positions held by that person were [ANSWERS]
['Q65539', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q65539 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
civil servant member of the German Bundestag Parliamentary Secretary in Germany Chief Whip Bundesminister Federal Minister for Special Affairs of Germany
The positions held by that person were civil servant, Bundesminister and member of the German Bundestag
civil servant Bundesminister member of the German Bundestag
action filter_type
action find
entity Peter Altmaier
relation position held
type occupation
['Peter Altmaier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Peter_Altmaier property:position_held ?m . ?m rdf:type ontology:occupation }
[]