Simple Question (Direct)
Simple Question
Q1689239
P26
Q502895
USER
Who is the spouse of Jim Wallis ?
(Q1689239,P26,c(Q502895))
action filter_type
action find
entity Q1689239
relation P26
type Q502895
['Q1689239', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1689239 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Jim Wallis
action filter_type
action find
entity Jim Wallis
relation spouse
type common name
['Jim Wallis', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Jim_Wallis property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q6297056
SYSTEM
Joy Carroll
Q6297056
(Q1689239,P26,c(Q502895))
action filter_type
action find
entity Q1689239
relation P26
type Q502895
The spouse of Jim Wallis is named [ANSWER]
['Q1689239', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1689239 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Joy Carroll
The spouse of Jim Wallis is named Joy Carroll
Joy Carroll
action filter_type
action find
entity Jim Wallis
relation spouse
type common name
['Jim Wallis', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Jim_Wallis property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6297056
P21
Q290
USER
Which sex does that person have ?
(Q6297056,P21,c(Q290))
action filter_type
action find
entity Q6297056
relation P21
type Q290
['Q6297056', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q6297056 property:P21 ?j . ?j rdf:type ontology:Q290 }
Joy Carroll
action filter_type
action find
entity Joy Carroll
relation gender
type sex
['Joy Carroll', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Joy_Carroll property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q6297056,P21,c(Q290))
action filter_type
action find
entity Q6297056
relation P21
type Q290
That person has a [ANSWER]
['Q6297056', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q6297056 property:P21 ?j . ?j rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Joy Carroll
relation gender
type sex
['Joy Carroll', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Joy_Carroll property:gender ?j . ?j rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes do around the same number of people possess as that sex ?
(c(Q502895),P21,c(Q290))
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:P21 ?e . ?e rdf:type ontology:Q290 . ?j rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z rdf:type ontology:Q290 . resource:Q6581072 property:P21 ?z } } . FILTER ( ?f = ?d ) }
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:gender ?e . ?e rdf:type ontology:sex . ?j rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z rdf:type ontology:sex . resource:female property:gender ?z } } . FILTER ( ?f = ?d ) }
[]
sex common name
Q6581072
SYSTEM
female
Q6581072
(c(Q502895),P21,c(Q290))
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[ANSWER] around the same number of people possess as that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:P21 ?e . ?e rdf:type ontology:Q290 . ?j rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z rdf:type ontology:Q290 . resource:Q6581072 property:P21 ?z } } . FILTER ( ?f = ?d ) }
female
Female around the same number of people possess as that sex
female
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?f ) WHERE { ?j property:gender ?e . ?e rdf:type ontology:sex . ?j rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { ?z rdf:type ontology:sex . resource:female property:gender ?z } } . FILTER ( ?f = ?d ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 62 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 62
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { FILTER ( ?j <= 62 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?a } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 62
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { FILTER ( ?j <= 62 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?a } }
[]
musical instrument common name
SYSTEM
54
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 62
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { FILTER ( ?j <= 62 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?a } }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar drum Kayamb Paraguayan harp
54
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 62
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { FILTER ( ?j <= 62 ) . { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q593995
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as player piano ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q593995
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q593995 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?f = ?k ) }
player piano
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity player piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:player_piano property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?k ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q593995
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q593995 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?f = ?k ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity player piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:player_piano property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1178361
P1303
Q34379 Q502895
USER
And what about davul?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1178361
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?f ) WHERE { ?o rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 . ?l property:P1303 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q1178361 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?f = ?q ) }
davul
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity davul
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?f ) WHERE { ?o rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name . ?l property:instrument ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:davul property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?q ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1178361
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?f ) WHERE { ?o rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 . ?l property:P1303 ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q1178361 property:P1303 ?m . ?m rdf:type ontology:Q34379 } } . FILTER ( ?f = ?q ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity davul
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?l ) AS ?f ) WHERE { ?o rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name . ?l property:instrument ?o } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:davul property:instrument ?m . ?m rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1689239
P1346
Q618779
USER
Which award was won by Jim Wallis ?
(c(Q618779),P1346,Q1689239)
action filter_type
action find_reverse
entity Q1689239
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q1689239']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q1689239 . ?z rdf:type ontology:Q618779 }
Jim Wallis
action filter_type
action find_reverse
entity Jim Wallis
relation winner
type award
[{'concept': 'award'}, 'winner', 'Jim Wallis']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Jim_Wallis . ?z rdf:type ontology:award }
[]
award
Q973645
SYSTEM
Pacem in Terris Award
Q973645
(c(Q618779),P1346,Q1689239)
action filter_type
action find_reverse
entity Q1689239
relation P1346
type Q618779
The [ANSWER] was won by Jim Wallis
[{'concept': 'Q618779'}, 'P1346', 'Q1689239']
SELECT DISTINCT ?z WHERE { ?z property:P1346 resource:Q1689239 . ?z rdf:type ontology:Q618779 }
Pacem in Terris Award
The Pacem in Terris Award was won by Jim Wallis
Pacem in Terris Award
action filter_type
action find_reverse
entity Jim Wallis
relation winner
type award
[{'concept': 'award'}, 'winner', 'Jim Wallis']
SELECT DISTINCT ?z WHERE { ?z property:winner resource:Jim_Wallis . ?z rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q973645
P166
Q502895
USER
Which people were honoured with that award ?
(c(Q502895),P166,Q973645)
action filter_type
action find_reverse
entity Q973645
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q973645']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P166 resource:Q973645 }
Pacem in Terris Award
action filter_type
action find_reverse
entity Pacem in Terris Award
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Pacem in Terris Award']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:award_received resource:Pacem_in_Terris_Award }
[]
common name
Q9696 Q8027 Q444
SYSTEM
John F. Kennedy, Martin Luther King, Jr., Lech Wałęsa
Q157655 Q431092 Q5294909 Q251223 Q1689239 Q4800287 Q290428 Q6778436 Q2214379 Q362711 Q5191269 Q5349357 Q30547 Q545644 Q15439069 Q6144766 Q9696 Q1699788 Q355425 Q93997 Q206505 Q150281 Q6782044 Q317248 Q5539550 Q260879 Q6408370 Q2039526 Q16106899 Q444 Q937519 Q1160089 Q720153 Q724895 Q744108 Q1250309 Q25649 Q43033 Q378326 Q6135022 Q8027 Q4516542 Q5623427 Q156058 Q382715
(c(Q502895),P166,Q973645)
action filter_type
action find_reverse
entity Q973645
relation P166
type Q502895
[ANSWERS] were honoured with that award
[{'concept': 'Q502895'}, 'P166', 'Q973645']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P166 resource:Q973645 }
Mairead Maguire Helen Caldicott Donald Mosley Álvaro Leonel Ramazzini Imeri Jim Wallis Arthur Simon Helen Prejean Marvin Mottet Salim Ghazal Thomas Gumbleton Crystal Lee Sutton Eileen Egan Mother Teresa Jean Vanier Ernest Leo Unterkoefler James W. Douglass John F. Kennedy John Dear Cesar Chavez Hildegard Goss-Mayr Adolfo Pérez Esquivel Dorothy Day María Julia Hernández Sargent Shriver George G. Higgins John Howard Griffin Kim Bobo Maurice John Dingman Simone Campbell Lech Wałęsa Samuel Ruiz Daniel Berrigan A. Philip Randolph Philip Hannan Joseph Bernardin Dorothy Hennessey Saul Alinsky Desmond Tutu Hélder Câmara James Groppi Martin Luther King, Jr. James C. Murray Gwen Hennessey George F. Kennan Harold Hughes
John F. Kennedy, Martin Luther King, Jr. and Lech Wałęsa were honoured with that award
John F. Kennedy Martin Luther King, Jr. Lech Wałęsa
action filter_type
action find_reverse
entity Pacem in Terris Award
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Pacem in Terris Award']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:award_received resource:Pacem_in_Terris_Award }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P991
Q877353 Q40231
USER
How many indirect elections or elections were that person a successful candidate from ?
(c(Q877353),P991,Q9696) (c(Q40231),P991,Q9696) (c(Q877353),P991,Q9696) (c(Q40231),P991,Q9696) (c(Q877353),P991,Q8027) (c(Q40231),P991,Q8027) (c(Q877353),P991,Q444) (c(Q40231),P991,Q444)
[{'concept': 'Q877353'}, 'P991', 'Q9696'] [{'concept': 'Q40231'}, 'P991', 'Q9696'] [{'concept': 'Q877353'}, 'P991', 'Q9696'] [{'concept': 'Q40231'}, 'P991', 'Q9696'] [{'concept': 'Q877353'}, 'P991', 'Q8027'] [{'concept': 'Q40231'}, 'P991', 'Q8027'] [{'concept': 'Q877353'}, 'P991', 'Q444'] [{'concept': 'Q40231'}, 'P991', 'Q444']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P991 resource:Q9696 } UNION { ?y property:P991 resource:Q9696 } UNION { ?z property:P991 resource:Q9696 } UNION { ?y property:P991 resource:Q9696 } UNION { ?z property:P991 resource:Q6776048 } UNION { ?y property:P991 resource:Q6776048 } UNION { ?z property:P991 resource:Q444 } UNION { ?y property:P991 resource:Q444 } } . ?z rdf:type ontology:Q877353 . ?y rdf:type ontology:Q40231 }
[{'concept': 'indirect election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'indirect election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'indirect election'}, 'successful candidate', 'Martin Luther King, Jr.'] [{'concept': 'election'}, 'successful candidate', 'Martin Luther King, Jr.'] [{'concept': 'indirect election'}, 'successful candidate', 'Lech Wałęsa'] [{'concept': 'election'}, 'successful candidate', 'Lech Wałęsa']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:successful_candidate resource:John_F._Kennedy } UNION { ?y property:successful_candidate resource:John_F._Kennedy } UNION { ?z property:successful_candidate resource:John_F._Kennedy } UNION { ?y property:successful_candidate resource:John_F._Kennedy } UNION { ?z property:successful_candidate resource:Martin_Luther_King,_Jr. } UNION { ?y property:successful_candidate resource:Martin_Luther_King,_Jr. } UNION { ?z property:successful_candidate resource:Lech_Wałęsa } UNION { ?y property:successful_candidate resource:Lech_Wałęsa } } . ?z rdf:type ontology:indirect_election . ?y rdf:type ontology:election }
[]
indirect election election
Quantitative|Count|Mult. entity type|Clarification
Q8027
SYSTEM
Did you mean Martin Luther King, Jr. ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P991 resource:Q9696 } UNION { ?y property:P991 resource:Q9696 } UNION { ?z property:P991 resource:Q9696 } UNION { ?y property:P991 resource:Q9696 } UNION { ?z property:P991 resource:Q6776048 } UNION { ?y property:P991 resource:Q6776048 } UNION { ?z property:P991 resource:Q444 } UNION { ?y property:P991 resource:Q444 } } . ?z rdf:type ontology:Q877353 . ?y rdf:type ontology:Q40231 }
Did you mean Martin Luther King, Jr. ?
Martin Luther King, Jr.
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:successful_candidate resource:John_F._Kennedy } UNION { ?y property:successful_candidate resource:John_F._Kennedy } UNION { ?z property:successful_candidate resource:John_F._Kennedy } UNION { ?y property:successful_candidate resource:John_F._Kennedy } UNION { ?z property:successful_candidate resource:Martin_Luther_King,_Jr. } UNION { ?y property:successful_candidate resource:Martin_Luther_King,_Jr. } UNION { ?z property:successful_candidate resource:Lech_Wałęsa } UNION { ?y property:successful_candidate resource:Lech_Wałęsa } } . ?z rdf:type ontology:indirect_election . ?y rdf:type ontology:election }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant John F. Kennedy. Could you tell me the answer for that?
(c(Q877353),P991,Q9696) (c(Q40231),P991,Q9696) (c(Q877353),P991,Q9696) (c(Q40231),P991,Q9696) (c(Q877353),P991,Q8027) (c(Q40231),P991,Q8027) (c(Q877353),P991,Q444) (c(Q40231),P991,Q444)
Q9696
[{'concept': 'Q877353'}, 'P991', 'Q9696'] [{'concept': 'Q40231'}, 'P991', 'Q9696'] [{'concept': 'Q877353'}, 'P991', 'Q9696'] [{'concept': 'Q40231'}, 'P991', 'Q9696'] [{'concept': 'Q877353'}, 'P991', 'Q8027'] [{'concept': 'Q40231'}, 'P991', 'Q8027'] [{'concept': 'Q877353'}, 'P991', 'Q444'] [{'concept': 'Q40231'}, 'P991', 'Q444']
[{'concept': 'indirect election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'indirect election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'indirect election'}, 'successful candidate', 'Martin Luther King, Jr.'] [{'concept': 'election'}, 'successful candidate', 'Martin Luther King, Jr.'] [{'concept': 'indirect election'}, 'successful candidate', 'Lech Wałęsa'] [{'concept': 'election'}, 'successful candidate', 'Lech Wałęsa']
[]
SYSTEM
8
Q699590 Q5255739 Q17100874 Q7892703 Q17016461 Q17100692 Q7892902 Q17100518
(c(Q877353),P991,Q9696) (c(Q40231),P991,Q9696) (c(Q877353),P991,Q9696) (c(Q40231),P991,Q9696) (c(Q877353),P991,Q8027) (c(Q40231),P991,Q8027) (c(Q877353),P991,Q444) (c(Q40231),P991,Q444)
[ANSWER]
[{'concept': 'Q877353'}, 'P991', 'Q9696'] [{'concept': 'Q40231'}, 'P991', 'Q9696'] [{'concept': 'Q877353'}, 'P991', 'Q9696'] [{'concept': 'Q40231'}, 'P991', 'Q9696'] [{'concept': 'Q877353'}, 'P991', 'Q8027'] [{'concept': 'Q40231'}, 'P991', 'Q8027'] [{'concept': 'Q877353'}, 'P991', 'Q444'] [{'concept': 'Q40231'}, 'P991', 'Q444']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P991 resource:Q9696 } UNION { ?y property:P991 resource:Q9696 } UNION { ?z property:P991 resource:Q9696 } UNION { ?y property:P991 resource:Q9696 } UNION { ?z property:P991 resource:Q6776048 } UNION { ?y property:P991 resource:Q6776048 } UNION { ?z property:P991 resource:Q444 } UNION { ?y property:P991 resource:Q444 } } . ?z rdf:type ontology:Q877353 . ?y rdf:type ontology:Q40231 }
United States presidential election, 1960 Democratic Party presidential primaries, 1960 United States presidential election in New York, 1960 United States presidential election in California, 1960 United States presidential election in Vermont, 1960 United States presidential election in New Jersey, 1960 United States presidential election in Montana, 1960 United States presidential election in Massachusetts, 1960
8
[{'concept': 'indirect election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'indirect election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'election'}, 'successful candidate', 'John F. Kennedy'] [{'concept': 'indirect election'}, 'successful candidate', 'Martin Luther King, Jr.'] [{'concept': 'election'}, 'successful candidate', 'Martin Luther King, Jr.'] [{'concept': 'indirect election'}, 'successful candidate', 'Lech Wałęsa'] [{'concept': 'election'}, 'successful candidate', 'Lech Wałęsa']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:successful_candidate resource:John_F._Kennedy } UNION { ?y property:successful_candidate resource:John_F._Kennedy } UNION { ?z property:successful_candidate resource:John_F._Kennedy } UNION { ?y property:successful_candidate resource:John_F._Kennedy } UNION { ?z property:successful_candidate resource:Martin_Luther_King,_Jr. } UNION { ?y property:successful_candidate resource:Martin_Luther_King,_Jr. } UNION { ?z property:successful_candidate resource:Lech_Wałęsa } UNION { ?y property:successful_candidate resource:Lech_Wałęsa } } . ?z rdf:type ontology:indirect_election . ?y rdf:type ontology:election }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5544915 Q444
P166
Q618779
USER
Which awards were received by Lech Wałęsa or George Stringer ?
OR((Q444,P166,c(Q618779)), (Q5544915,P166,c(Q618779)))
action filter_type
action union
action find
entity Q444
relation P166
action find
entity Q5544915
relation P166
type Q618779
{'OR': [['Q444', 'P166', {'concept': 'Q618779'}], ['Q5544915', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?x ) { ( resource:Q444 ) ( resource:Q5544915 ) } . ?x property:P166 ?k } . ?k rdf:type ontology:Q618779 }
George Stringer Lech Wałęsa
action filter_type
action union
action find
entity Lech Wałęsa
relation award received
action find
entity George Stringer
relation award received
type award
{'OR': [['Lech Wałęsa', 'award received', {'concept': 'award'}], ['George Stringer', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?x ) { ( resource:Lech_Wałęsa ) ( resource:George_Stringer ) } . ?x property:award_received ?k } . ?k rdf:type ontology:award }
[]
award
Q60476 Q14539974 Q84020 Q20859482 Q20895009 Q219578 Q15715257 Q686661 Q973645 Q20966518
SYSTEM
Some of them are Order of the Cross of Terra Mariana, Knight Grand Cross of the Order of Merit of the Italian Republic, Order of the White Eagle, Grand Collar of the Order of Prince Henry, great-cross of the Order of Vytautas the Great, Victoria Cross, Grand Cross of the Order of Polonia Restituta, Monismanien Prize, Pacem in Terris Award, grand cross of the Order of the White Lion
Q219578 Q10905105 Q973645 Q20895009 Q84020 Q20966518 Q15715257 Q14539974 Q686661 Q60476 Q20853482 Q20859482
OR((Q444,P166,c(Q618779)), (Q5544915,P166,c(Q618779)))
action filter_type
action union
action find
entity Q444
relation P166
action find
entity Q5544915
relation P166
type Q618779
[ANSWERS] were received by Lech Wałęsa or George Stringer
{'OR': [['Q444', 'P166', {'concept': 'Q618779'}], ['Q5544915', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?x ) { ( resource:Q444 ) ( resource:Q5544915 ) } . ?x property:P166 ?k } . ?k rdf:type ontology:Q618779 }
Victoria Cross Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany Pacem in Terris Award great-cross of the Order of Vytautas the Great Order of the White Eagle grand cross of the Order of the White Lion Grand Cross of the Order of Polonia Restituta Knight Grand Cross of the Order of Merit of the Italian Republic Monismanien Prize Order of the Cross of Terra Mariana Grand Cross of the Order of Merit of the Republic of Poland Grand Collar of the Order of Prince Henry
Order of the Cross of Terra Mariana, Knight Grand Cross of the Order of Merit of the Italian Republic, Order of the White Eagle, Grand Collar of the Order of Prince Henry, great-cross of the Order of Vytautas the Great, Victoria Cross, Grand Cross of the Order of Polonia Restituta, Monismanien Prize, Pacem in Terris Award and grand cross of the Order of the White Lion were received by Lech Wałęsa or George Stringer
Order of the Cross of Terra Mariana Knight Grand Cross of the Order of Merit of the Italian Republic Order of the White Eagle Grand Collar of the Order of Prince Henry great-cross of the Order of Vytautas the Great Victoria Cross Grand Cross of the Order of Polonia Restituta Monismanien Prize Pacem in Terris Award grand cross of the Order of the White Lion
action filter_type
action union
action find
entity Lech Wałęsa
relation award received
action find
entity George Stringer
relation award received
type award
{'OR': [['Lech Wałęsa', 'award received', {'concept': 'award'}], ['George Stringer', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?x ) { ( resource:Lech_Wałęsa ) ( resource:George_Stringer ) } . ?x property:award_received ?k } . ?k rdf:type ontology:award }
[]