Simple Question (Direct)
Simple Question
Q5145695
P166
Q768855
USER
What was won by Colin Woods ?
(Q5145695,P166,c(Q768855))
action filter_type
action find
entity Q5145695
relation P166
type Q768855
['Q5145695', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?u WHERE { resource:Q5145695 property:P166 ?u . ?u rdf:type ontology:Q768855 }
Colin Woods
action filter_type
action find
entity Colin Woods
relation award received
type Orders, decorations, and medals of the United Kingdom
['Colin Woods', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?u WHERE { resource:Colin_Woods property:award_received ?u . ?u rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom }
[]
Orders, decorations, and medals of the United Kingdom
Q12192712
SYSTEM
Knight Commander of the Royal Victorian Order
Q12192712
(Q5145695,P166,c(Q768855))
action filter_type
action find
entity Q5145695
relation P166
type Q768855
The [ANSWER] was won by Colin Woods
['Q5145695', 'P166', {'concept': 'Q768855'}]
SELECT DISTINCT ?u WHERE { resource:Q5145695 property:P166 ?u . ?u rdf:type ontology:Q768855 }
Knight Commander of the Royal Victorian Order
The Knight Commander of the Royal Victorian Order was won by Colin Woods
Knight Commander of the Royal Victorian Order
action filter_type
action find
entity Colin Woods
relation award received
type Orders, decorations, and medals of the United Kingdom
['Colin Woods', 'award received', {'concept': 'Orders, decorations, and medals of the United Kingdom'}]
SELECT DISTINCT ?u WHERE { resource:Colin_Woods property:award_received ?u . ?u rdf:type ontology:Orders,_decorations,_and_medals_of_the_United_Kingdom }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5145695
P21
Q290
USER
What is the sex of Colin Woods ?
(Q5145695,P21,c(Q290))
action filter_type
action find
entity Q5145695
relation P21
type Q290
['Q5145695', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q5145695 property:P21 ?u }
Colin Woods
action filter_type
action find
entity Colin Woods
relation gender
type sex
['Colin Woods', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Colin_Woods property:gender ?u }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5145695,P21,c(Q290))
action filter_type
action find
entity Q5145695
relation P21
type Q290
The sex of Colin Woods is a [ANSWER]
['Q5145695', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q290 . resource:Q5145695 property:P21 ?u }
male
The sex of Colin Woods is a male
male
action filter_type
action find
entity Colin Woods
relation gender
type sex
['Colin Woods', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sex . resource:Colin_Woods property:gender ?u }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q978661 Q5145695
P607
Q198
USER
Which wars were Colin Woods or Alberto Bazzoni a part of ?
OR((Q5145695,P607,c(Q198)), (Q978661,P607,c(Q198)))
action filter_type
action union
action find
entity Q5145695
relation P607
action find
entity Q978661
relation P607
type Q198
{'OR': [['Q5145695', 'P607', {'concept': 'Q198'}], ['Q978661', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?n ) { ( resource:Q978661 ) ( resource:Q5145695 ) } . ?n property:P607 ?e } . ?e rdf:type ontology:Q198 }
Alberto Bazzoni Colin Woods
action filter_type
action union
action find
entity Colin Woods
relation conflict
action find
entity Alberto Bazzoni
relation conflict
type war
{'OR': [['Colin Woods', 'conflict', {'concept': 'war'}], ['Alberto Bazzoni', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?n ) { ( resource:Alberto_Bazzoni ) ( resource:Colin_Woods ) } . ?n property:conflict ?e } . ?e rdf:type ontology:war }
[]
war
Q362 Q361
SYSTEM
World War II, World War I
Q362 Q361
OR((Q5145695,P607,c(Q198)), (Q978661,P607,c(Q198)))
action filter_type
action union
action find
entity Q5145695
relation P607
action find
entity Q978661
relation P607
type Q198
[ANSWERS] were Colin Woods or Alberto Bazzoni a part of
{'OR': [['Q5145695', 'P607', {'concept': 'Q198'}], ['Q978661', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?n ) { ( resource:Q978661 ) ( resource:Q5145695 ) } . ?n property:P607 ?e } . ?e rdf:type ontology:Q198 }
World War II World War I
World War II and World War I were Colin Woods or Alberto Bazzoni a part of
World War II World War I
action filter_type
action union
action find
entity Colin Woods
relation conflict
action find
entity Alberto Bazzoni
relation conflict
type war
{'OR': [['Colin Woods', 'conflict', {'concept': 'war'}], ['Alberto Bazzoni', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?n ) { ( resource:Alberto_Bazzoni ) ( resource:Colin_Woods ) } . ?n property:conflict ?e } . ?e rdf:type ontology:war }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P710
Q1048835 Q3024240
USER
How many political territories or former countries participated in that war ?
(Q361,P710,c(Q1048835)) (Q361,P710,c(Q3024240)) (Q362,P710,c(Q1048835)) (Q362,P710,c(Q3024240)) (Q361,P710,c(Q1048835)) (Q361,P710,c(Q3024240))
['Q361', 'P710', {'concept': 'Q1048835'}] ['Q361', 'P710', {'concept': 'Q3024240'}] ['Q362', 'P710', {'concept': 'Q1048835'}] ['Q362', 'P710', {'concept': 'Q3024240'}] ['Q361', 'P710', {'concept': 'Q1048835'}] ['Q361', 'P710', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q471779 property:P710 ?z } UNION { resource:Q471779 property:P710 ?y } UNION { resource:Q15053459 property:P710 ?z } UNION { resource:Q15053459 property:P710 ?y } UNION { resource:Q471779 property:P710 ?z } UNION { resource:Q471779 property:P710 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q3024240 }
['World War I', 'participant', {'concept': 'political territorial entity'}] ['World War I', 'participant', {'concept': 'former country'}] ['World War II', 'participant', {'concept': 'political territorial entity'}] ['World War II', 'participant', {'concept': 'former country'}] ['World War I', 'participant', {'concept': 'political territorial entity'}] ['World War I', 'participant', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:World_War_I property:participant ?z } UNION { resource:World_War_I property:participant ?y } UNION { resource:World_War_II property:participant ?z } UNION { resource:World_War_II property:participant ?y } UNION { resource:World_War_I property:participant ?z } UNION { resource:World_War_I property:participant ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:former_country }
[]
political territorial entity former country
Quantitative|Count|Mult. entity type|Clarification
Q361
SYSTEM
Did you mean World War I ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q471779 property:P710 ?z } UNION { resource:Q471779 property:P710 ?y } UNION { resource:Q15053459 property:P710 ?z } UNION { resource:Q15053459 property:P710 ?y } UNION { resource:Q471779 property:P710 ?z } UNION { resource:Q471779 property:P710 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q3024240 }
Did you mean World War I ?
World War I
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:World_War_I property:participant ?z } UNION { resource:World_War_I property:participant ?y } UNION { resource:World_War_II property:participant ?z } UNION { resource:World_War_II property:participant ?y } UNION { resource:World_War_I property:participant ?z } UNION { resource:World_War_I property:participant ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:former_country }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q361,P710,c(Q1048835)) (Q361,P710,c(Q3024240)) (Q362,P710,c(Q1048835)) (Q362,P710,c(Q3024240)) (Q361,P710,c(Q1048835)) (Q361,P710,c(Q3024240))
['Q361', 'P710', {'concept': 'Q1048835'}] ['Q361', 'P710', {'concept': 'Q3024240'}] ['Q362', 'P710', {'concept': 'Q1048835'}] ['Q362', 'P710', {'concept': 'Q3024240'}] ['Q361', 'P710', {'concept': 'Q1048835'}] ['Q361', 'P710', {'concept': 'Q3024240'}]
['World War I', 'participant', {'concept': 'political territorial entity'}] ['World War I', 'participant', {'concept': 'former country'}] ['World War II', 'participant', {'concept': 'political territorial entity'}] ['World War II', 'participant', {'concept': 'former country'}] ['World War I', 'participant', {'concept': 'political territorial entity'}] ['World War I', 'participant', {'concept': 'former country'}]
[]
SYSTEM
2
Q12560 Q183
(Q361,P710,c(Q1048835)) (Q361,P710,c(Q3024240)) (Q362,P710,c(Q1048835)) (Q362,P710,c(Q3024240)) (Q361,P710,c(Q1048835)) (Q361,P710,c(Q3024240))
[ANSWER]
['Q361', 'P710', {'concept': 'Q1048835'}] ['Q361', 'P710', {'concept': 'Q3024240'}] ['Q362', 'P710', {'concept': 'Q1048835'}] ['Q362', 'P710', {'concept': 'Q3024240'}] ['Q361', 'P710', {'concept': 'Q1048835'}] ['Q361', 'P710', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q471779 property:P710 ?z } UNION { resource:Q471779 property:P710 ?y } UNION { resource:Q15053459 property:P710 ?z } UNION { resource:Q15053459 property:P710 ?y } UNION { resource:Q471779 property:P710 ?z } UNION { resource:Q471779 property:P710 ?y } } . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q3024240 }
Ottoman Empire Germany
2
['World War I', 'participant', {'concept': 'political territorial entity'}] ['World War I', 'participant', {'concept': 'former country'}] ['World War II', 'participant', {'concept': 'political territorial entity'}] ['World War II', 'participant', {'concept': 'former country'}] ['World War I', 'participant', {'concept': 'political territorial entity'}] ['World War I', 'participant', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:World_War_I property:participant ?z } UNION { resource:World_War_I property:participant ?y } UNION { resource:World_War_II property:participant ?z } UNION { resource:World_War_II property:participant ?y } UNION { resource:World_War_I property:participant ?z } UNION { resource:World_War_I property:participant ?y } } . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:former_country }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q198 Q178561 Q350604
USER
How many wars are approximately 25 battles or armed conflicts a part of ?
(c(Q178561)|c(Q350604),P361,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q178561
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
value 25
[[{'concept': 'Q178561'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?b ) WHERE { ?v rdf:type ?m . VALUES ( ?m ) { ( ontology:Q178561 ) ( ontology:Q350604 ) } } GROUP BY ?f } . FILTER ( ?b = 25 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type battle
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
value 25
[[{'concept': 'battle'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?b ) WHERE { ?v rdf:type ?m . VALUES ( ?m ) { ( ontology:battle ) ( ontology:armed_conflict ) } } GROUP BY ?f } . FILTER ( ?b = 25 ) }
[]
war battle armed conflict
SYSTEM
2
Q362 Q361
(c(Q178561)|c(Q350604),P361,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q178561
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
value 25
[ANSWER]
[[{'concept': 'Q178561'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?b ) WHERE { ?v rdf:type ?m . VALUES ( ?m ) { ( ontology:Q178561 ) ( ontology:Q350604 ) } } GROUP BY ?f } . FILTER ( ?b = 25 ) }
World War II World War I
2
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type battle
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
value 25
[[{'concept': 'battle'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?b ) WHERE { ?v rdf:type ?m . VALUES ( ?m ) { ( ontology:battle ) ( ontology:armed_conflict ) } } GROUP BY ?f } . FILTER ( ?b = 25 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16012057
P655
Q502895 Q234460 Q7725634
USER
Which people did the translation of greater number of texts and literary works than Paull Franklin Baum ?
(c(Q234460)|c(Q7725634),P655,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q16012057
relation P655
type Q234460
type Q7725634
[[{'concept': 'Q234460'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?c WHERE { VALUES ( ?v ) { ( ontology:Q234460 ) ( ontology:Q7725634 ) } . ?n rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:P655 resource:Q16012057 . { { ?u rdf:type ontology:Q234460 } UNION { ?u rdf:type ontology:Q7725634 } } } } . FILTER ( ?k > ?d ) }
Paull Franklin Baum
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type text
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Paull Franklin Baum
relation translator
type text
type literary work
[[{'concept': 'text'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?c WHERE { VALUES ( ?v ) { ( ontology:text ) ( ontology:literary_work ) } . ?n rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:translator resource:Paull_Franklin_Baum . { { ?u rdf:type ontology:text } UNION { ?u rdf:type ontology:literary_work } } } } . FILTER ( ?k > ?d ) }
[]
common name text literary work
Q711869 Q352725 Q461104
SYSTEM
Arthur Waley, Richard Brinsley Sheridan, Jaroslav Vrchlický
Q5545017 Q740181 Q583636 Q11892653 Q18057590 Q326446 Q19247400 Q461104 Q27210315 Q948875 Q352725 Q3750781 Q11867575 Q17384764 Q3666426 Q1291339 Q711869 Q19604039 Q4798834 Q1351224 Q15688121 Q429915 Q12032593 Q7387473 Q2495818 Q993835 Q327853 Q584292 Q1058300 Q9251137 Q600678 Q44248 Q2157568 Q263430 Q1705960 Q5497135 Q3496808 Q4066649 Q7793870 Q4231926 Q6309841
(c(Q234460)|c(Q7725634),P655,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q16012057
relation P655
type Q234460
type Q7725634
[ANSWERS] did the translation of greater number of texts and literary works than Paull Franklin Baum
[[{'concept': 'Q234460'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?c WHERE { VALUES ( ?v ) { ( ontology:Q234460 ) ( ontology:Q7725634 ) } . ?n rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:P655 resource:Q16012057 . { { ?u rdf:type ontology:Q234460 } UNION { ?u rdf:type ontology:Q7725634 } } } } . FILTER ( ?k > ?d ) }
George Szirtes Karel Sabina Bernhard Severin Ingemann Sauvo Puhtila Ernest Falconnet Antonin Klášterský Friedrich Wilhelm Frommann Jaroslav Vrchlický Iain Patterson Ferenc Verseghy Richard Brinsley Sheridan Antoni Rubió i Lluch Juho Jäykkä Konrad Alexis Waaranen Charles Kenneth Scott Moncrieff Edvard Fredin Arthur Waley Marian Fell Arthur Goldhammer Pekka Hannikainen Samuel Epes Turner Alexander Sumarokov Ladislav Quis S. Foster Damon Constance Garnett Otokar Fischer C.V.A. Strandberg Louis Viardot Suematsu Kenchō Edward Porębowicz Aleksey Pleshcheyev Jerome Robert Hillyer Károly Szász Josef Václav Sládek Frederic Shoberl Stanley Chapman Alexandra Nikitichna Annenskaya Thomas Seltzer Natalia Konchalovskaïa Julius Hare
Arthur Waley, Richard Brinsley Sheridan and Jaroslav Vrchlický did the translation of greater number of texts and literary works than Paull Franklin Baum
Arthur Waley Richard Brinsley Sheridan Jaroslav Vrchlický
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type text
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Paull Franklin Baum
relation translator
type text
type literary work
[[{'concept': 'text'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?c WHERE { VALUES ( ?v ) { ( ontology:text ) ( ontology:literary_work ) } . ?n rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { ?u property:translator resource:Paull_Franklin_Baum . { { ?u rdf:type ontology:text } UNION { ?u rdf:type ontology:literary_work } } } } . FILTER ( ?k > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q4233718
P655
Q502895 Q234460 Q7725634
USER
And how about anonymous?
(c(Q234460)|c(Q7725634),P655,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q4233718
relation P655
type Q234460
type Q7725634
[[{'concept': 'Q234460'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:P655 ?s . ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q234460 } UNION { ?l property:P655 ?s . ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q7725634 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P655 resource:Q4233718 . { { ?n rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q234460 } } } } . FILTER ( ?a > ?x ) }
anonymous
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type text
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity anonymous
relation translator
type text
type literary work
[[{'concept': 'text'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:translator ?s . ?s rdf:type ontology:common_name . ?l rdf:type ontology:text } UNION { ?l property:translator ?s . ?s rdf:type ontology:common_name . ?l rdf:type ontology:literary_work } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:translator resource:anonymous . { { ?n rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:text } } } } . FILTER ( ?a > ?x ) }
[]
common name text literary work
Q711869 Q352725 Q461104
SYSTEM
Arthur Waley, Richard Brinsley Sheridan, Jaroslav Vrchlický
Q5545017 Q740181 Q583636 Q11892653 Q18057590 Q326446 Q19247400 Q461104 Q27210315 Q948875 Q352725 Q3750781 Q11867575 Q17384764 Q3666426 Q1291339 Q711869 Q19604039 Q4798834 Q1351224 Q15688121 Q429915 Q12032593 Q7387473 Q2495818 Q993835 Q327853 Q584292 Q1058300 Q9251137 Q600678 Q44248 Q2157568 Q263430 Q1705960 Q5497135 Q3496808 Q4066649 Q7793870 Q4231926 Q6309841
(c(Q234460)|c(Q7725634),P655,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q4233718
relation P655
type Q234460
type Q7725634
[ANSWERS]
[[{'concept': 'Q234460'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:P655 ?s . ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q234460 } UNION { ?l property:P655 ?s . ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q7725634 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P655 resource:Q4233718 . { { ?n rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q234460 } } } } . FILTER ( ?a > ?x ) }
George Szirtes Karel Sabina Bernhard Severin Ingemann Sauvo Puhtila Ernest Falconnet Antonin Klášterský Friedrich Wilhelm Frommann Jaroslav Vrchlický Iain Patterson Ferenc Verseghy Richard Brinsley Sheridan Antoni Rubió i Lluch Juho Jäykkä Konrad Alexis Waaranen Charles Kenneth Scott Moncrieff Edvard Fredin Arthur Waley Marian Fell Arthur Goldhammer Pekka Hannikainen Samuel Epes Turner Alexander Sumarokov Ladislav Quis S. Foster Damon Constance Garnett Otokar Fischer C.V.A. Strandberg Louis Viardot Suematsu Kenchō Edward Porębowicz Aleksey Pleshcheyev Jerome Robert Hillyer Károly Szász Josef Václav Sládek Frederic Shoberl Stanley Chapman Alexandra Nikitichna Annenskaya Thomas Seltzer Natalia Konchalovskaïa Julius Hare
Arthur Waley Richard Brinsley Sheridan Jaroslav Vrchlický
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type text
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity anonymous
relation translator
type text
type literary work
[[{'concept': 'text'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?a ) WHERE { { ?l property:translator ?s . ?s rdf:type ontology:common_name . ?l rdf:type ontology:text } UNION { ?l property:translator ?s . ?s rdf:type ontology:common_name . ?l rdf:type ontology:literary_work } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:translator resource:anonymous . { { ?n rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:text } } } } . FILTER ( ?a > ?x ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q352725
P22
Q502895
USER
Which person was the father of that one ?
(Q352725,P22,c(Q502895))
action filter_type
action find
entity Q352725
relation P22
type Q502895
['Q352725', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q352725 property:P22 ?l . ?l rdf:type ontology:Q502895 }
Richard Brinsley Sheridan
action filter_type
action find
entity Richard Brinsley Sheridan
relation father
type common name
['Richard Brinsley Sheridan', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Richard_Brinsley_Sheridan property:father ?l . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q461104
SYSTEM
Did you mean Jaroslav Vrchlický ?
Q711869 Q352725 Q461104
(Q711869,P22,c(Q502895)) (Q352725,P22,c(Q502895)) (Q461104,P22,c(Q502895))
[ANSWER]
['Q711869', 'P22', {'concept': 'Q502895'}] ['Q352725', 'P22', {'concept': 'Q502895'}] ['Q461104', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q352725 property:P22 ?l . ?l rdf:type ontology:Q502895 }
Arthur Waley Richard Brinsley Sheridan Jaroslav Vrchlický
Did you mean Jaroslav Vrchlický ?
Jaroslav Vrchlický
['Arthur Waley', 'father', {'concept': 'common name'}] ['Richard Brinsley Sheridan', 'father', {'concept': 'common name'}] ['Jaroslav Vrchlický', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Richard_Brinsley_Sheridan property:father ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Richard Brinsley Sheridan. Could you tell me the answer for that?
(Q352725,P22,c(Q502895))
Q352725
['Q352725', 'P22', {'concept': 'Q502895'}]
['Richard Brinsley Sheridan', 'father', {'concept': 'common name'}]
[]
Q3525567
SYSTEM
Thomas Sheridan
Q3525567
(Q352725,P22,c(Q502895))
action filter_type
action find
entity Q352725
relation P22
type Q502895
[ANSWER] was the father of that one
['Q352725', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q352725 property:P22 ?l . ?l rdf:type ontology:Q502895 }
Thomas Sheridan
Thomas Sheridan was the father of that one
Thomas Sheridan
action filter_type
action find
entity Richard Brinsley Sheridan
relation father
type common name
['Richard Brinsley Sheridan', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Richard_Brinsley_Sheridan property:father ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q361
P710
Q15617994 Q3024240
USER
How many administrative territories and former countries participated in World War I ?
(Q361,P710,c(Q15617994)) (Q361,P710,c(Q3024240))
action count
action union
action filter_type
action find
entity Q361
relation P710
type Q15617994
action filter_type
action find
entity Q361
relation P710
type Q3024240
['Q361', 'P710', {'concept': 'Q15617994'}] ['Q361', 'P710', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:Q361 property:P710 ?m . ?m rdf:type ontology:Q3024240 } UNION { resource:Q361 property:P710 ?m . ?m rdf:type ontology:Q15617994 } }
World War I
action count
action union
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
action filter_type
action find
entity World War I
relation participant
type former country
['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War I', 'participant', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:World_War_I property:participant ?m . ?m rdf:type ontology:former_country } UNION { resource:World_War_I property:participant ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity former country
SYSTEM
2 administrative territories and 1 former countries
Q142 Q12560 Q38
(Q361,P710,c(Q15617994)) (Q361,P710,c(Q3024240))
action count
action union
action filter_type
action find
entity Q361
relation P710
type Q15617994
action filter_type
action find
entity Q361
relation P710
type Q3024240
[ANSWER]
['Q361', 'P710', {'concept': 'Q15617994'}] ['Q361', 'P710', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:Q361 property:P710 ?m . ?m rdf:type ontology:Q3024240 } UNION { resource:Q361 property:P710 ?m . ?m rdf:type ontology:Q15617994 } }
France Ottoman Empire Italy
2 administrative territories and 1 former countries
action count
action union
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
action filter_type
action find
entity World War I
relation participant
type former country
['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War I', 'participant', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:World_War_I property:participant ?m . ?m rdf:type ontology:former_country } UNION { resource:World_War_I property:participant ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2292243
P1441
Q234460 Q2342494 Q502895
USER
Which people are present in more number of texts and collectables than Rivallo ?
(c(Q502895),P1441,c(Q234460)|c(Q2342494))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q2292243
relation P1441
type Q234460
type Q2342494
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?f ) WHERE { { ?k property:P1441 ?p . ?k rdf:type ontology:Q502895 . ?p rdf:type ontology:Q2342494 } UNION { ?k property:P1441 ?p . ?p rdf:type ontology:Q234460 . ?k rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?f > ?l ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Q2292243 property:P1441 ?i . { { ?i rdf:type ontology:Q234460 } UNION { ?i rdf:type ontology:Q2342494 } } } } }
Rivallo
action greater
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Rivallo
relation present in work
type text
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?f ) WHERE { { ?k property:present_in_work ?p . ?k rdf:type ontology:common_name . ?p rdf:type ontology:collectable } UNION { ?k property:present_in_work ?p . ?p rdf:type ontology:text . ?k rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?f > ?l ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Rivallo property:present_in_work ?i . { { ?i rdf:type ontology:text } UNION { ?i rdf:type ontology:collectable } } } } }
[]
text collectable common name
Q41370 Q9181 Q270438
SYSTEM
David, Abraham, Charles of Valois
Q41863 Q660359 Q1143157 Q1341397 Q232525 Q194064 Q466687 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q221514 Q30914 Q937827 Q4057937 Q214648 Q160116 Q785349 Q18699312 Q3858588 Q4154984 Q211663 Q176125 Q8423 Q1938388 Q2040793 Q185801 Q6239779 Q125102 Q34428 Q954820 Q244912 Q313216 Q313214 Q645796 Q361636 Q205523 Q1281177 Q1353836 Q294192 Q807236 Q134646 Q2256348 Q1686571 Q1675214 Q188794 Q844433 Q28730 Q200902 Q3798672 Q126689 Q9077 Q145746 Q463934 Q721295 Q3778878 Q1403627 Q1133523 Q1348720 Q716237 Q1133337 Q41370 Q200637 Q2124082 Q81422 Q3187975 Q2116944 Q3783913 Q315276 Q946939 Q888890 Q3148218 Q1771358 Q272277 Q460763 Q205372 Q717814 Q3745274 Q3867479 Q830183 Q6577515 Q63070 Q7493584 Q19348839 Q1300996 Q851686 Q1333225 Q40662 Q206238 Q400294 Q922184 Q1093885 Q156328 Q3785031 Q1768161 Q6323112 Q171724 Q3010053 Q889694 Q8027483 Q816397 Q164889 Q27621044 Q366070 Q2038223 Q313415 Q270438 Q360378 Q363660 Q665541 Q1516550 Q840401 Q1341779 Q37085 Q109920 Q536019 Q213850 Q74891 Q45090 Q972487 Q336832 Q313395 Q1941782 Q8581 Q1542853 Q184273 Q107626 Q205365 Q477527 Q18699310 Q62788 Q313421 Q313423 Q362021 Q2296791 Q262766 Q9181 Q225198 Q313228 Q312311 Q536485 Q273517 Q3752551 Q671872 Q169329 Q16845969 Q192785 Q302322 Q308320 Q3761044 Q76721 Q1030008 Q319049 Q283466 Q18699300 Q9441 Q18699268 Q229702 Q574641 Q2590260 Q599907 Q1227361 Q282220 Q313237
(c(Q502895),P1441,c(Q234460)|c(Q2342494))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q2292243
relation P1441
type Q234460
type Q2342494
[ANSWERS] are present in more number of texts and collectables than Rivallo
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?f ) WHERE { { ?k property:P1441 ?p . ?k rdf:type ontology:Q502895 . ?p rdf:type ontology:Q2342494 } UNION { ?k property:P1441 ?p . ?p rdf:type ontology:Q234460 . ?k rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?f > ?l ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Q2292243 property:P1441 ?i . { { ?i rdf:type ontology:Q234460 } UNION { ?i rdf:type ontology:Q2342494 } } } } }
Halga Cecco Angiolieri Jair Michal Theodelinda Ezekiel Damaris Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Manoah Ahaz Delilah Adoniram Samson Alexander III Cangrande I della Scala Jacob Mino da San Quirico Kai Darab Rehoboam Gideon Cyrus the Great Miriam Reu Mikhail Kutuzov John Hooper Necho II Philip Yael Hezekiah Uzziah Ahaziah of Judah Ibzan Amnon Zipporah Beowulf Hrothgar Guy of Lusignan Barak Boniface VIII Shealtiel Jehu Ithamar Isaiah Kenan Saul Shem Ingeld Jehoshaphat Moses Joseph Athaliah Jezebel Guglielmo Borsiere Hrethel Jephthah Guy de Montfort, Count of Nola Song Jiang Abner David Japheth Azzo VIII d'Este, Marquis of Ferrara Noah Judith Wealhþeow Heardred Agilulf Phut Nahor Ignacy Przybyszewski Salomon Bathsheba Benjamin Absalom Hadadezer Filippo Minutolo Musciatto Franzesi Eve Samuel Mary Magdalene Sheleph Salammbô Ehud Mephibosheth Elon John the Baptist Elisha Ahitophel Caleb Hathi Manasseh of Judah Heoroweard Islamic views on Abraham Nahor Daniel Céleste de Chateaubriand Hygelac Wise woman of Abel Ben-Hadad I Manfred, King of Sicily Davy Brown George William Russell Amminadab Asa of Judah Charles of Valois Adonijah Elimelek Hosea Shamgar Laban Kai Lohrasp Solomon Jotham of Judah Ecgþeow Amos Jonathan Jesse Buonamico Buffalmacco Jehoahaz of Judah Authari Nadabe Saladin Alphaeus Zedekiah Seth Cain Amram Matthan Jethro Abel Amon of Judah Eli Molly Bloom Junia Abraham Belshazzar Josiah Peter III of Aragon Othniel Abijah of Judah Freawaru Isaac Conrad of Montferrat Hygd Goliath Calandrino Abdon Geri Spini Godfrey of Bouillon Tamar Jeconiah Roger of Lauria Eleazar Gautama Buddha Zadok Ham Balaam Ahijah the Shilonite Baruch ben Neriah John of Procida Judah Amaziah of Judah
David, Abraham and Charles of Valois are present in more number of texts and collectables than Rivallo
David Abraham Charles of Valois
action greater
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Rivallo
relation present in work
type text
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?f ) WHERE { { ?k property:present_in_work ?p . ?k rdf:type ontology:common_name . ?p rdf:type ontology:collectable } UNION { ?k property:present_in_work ?p . ?p rdf:type ontology:text . ?k rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?f > ?l ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { resource:Rivallo property:present_in_work ?i . { { ?i rdf:type ontology:text } UNION { ?i rdf:type ontology:collectable } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q32295
P1441
Q234460 Q2342494 Q502895
USER
And also tell me about Michael J. Massimino?
(c(Q502895),P1441,c(Q234460)|c(Q2342494))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q32295
relation P1441
type Q234460
type Q2342494
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?g WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q32295 property:P1441 ?n . { VALUES ( ?t ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } . ?n rdf:type ?t } } } . FILTER ( ?r > ?c ) }
Michael J. Massimino
action greater
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Michael J. Massimino
relation present in work
type text
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?g WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:text ) ( ontology:collectable ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Michael_J._Massimino property:present_in_work ?n . { VALUES ( ?t ) { ( ontology:text ) ( ontology:collectable ) } . ?n rdf:type ?t } } } . FILTER ( ?r > ?c ) }
[]
text collectable common name
Q41370 Q9181 Q270438
SYSTEM
David, Abraham, Charles of Valois
Q41863 Q660359 Q1143157 Q1341397 Q232525 Q194064 Q466687 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q221514 Q30914 Q937827 Q4057937 Q214648 Q160116 Q785349 Q18699312 Q3858588 Q4154984 Q211663 Q176125 Q8423 Q1938388 Q2040793 Q185801 Q6239779 Q125102 Q34428 Q954820 Q244912 Q313216 Q313214 Q645796 Q361636 Q205523 Q1281177 Q1353836 Q294192 Q807236 Q134646 Q2256348 Q1686571 Q1675214 Q188794 Q844433 Q28730 Q200902 Q3798672 Q126689 Q9077 Q145746 Q463934 Q721295 Q3778878 Q1403627 Q1133523 Q1348720 Q716237 Q1133337 Q41370 Q200637 Q2124082 Q81422 Q3187975 Q2116944 Q3783913 Q315276 Q946939 Q888890 Q3148218 Q1771358 Q272277 Q460763 Q205372 Q717814 Q3745274 Q3867479 Q830183 Q6577515 Q63070 Q7493584 Q19348839 Q1300996 Q851686 Q1333225 Q40662 Q206238 Q400294 Q922184 Q1093885 Q156328 Q3785031 Q1768161 Q6323112 Q171724 Q3010053 Q889694 Q8027483 Q816397 Q164889 Q27621044 Q366070 Q2038223 Q313415 Q270438 Q360378 Q363660 Q665541 Q1516550 Q840401 Q1341779 Q37085 Q109920 Q536019 Q213850 Q74891 Q45090 Q972487 Q336832 Q313395 Q1941782 Q8581 Q1542853 Q184273 Q107626 Q205365 Q477527 Q18699310 Q62788 Q313421 Q313423 Q362021 Q2296791 Q262766 Q9181 Q225198 Q313228 Q312311 Q536485 Q273517 Q3752551 Q671872 Q169329 Q16845969 Q192785 Q302322 Q308320 Q3761044 Q76721 Q1030008 Q319049 Q283466 Q18699300 Q9441 Q18699268 Q229702 Q574641 Q2590260 Q599907 Q1227361 Q282220 Q313237
(c(Q502895),P1441,c(Q234460)|c(Q2342494))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action find_tuple_counts
relation P1441
type Q502895
type Q2342494
action count
action filter_multi_types
action find
entity Q32295
relation P1441
type Q234460
type Q2342494
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q234460'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?g WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q32295 property:P1441 ?n . { VALUES ( ?t ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } . ?n rdf:type ?t } } } . FILTER ( ?r > ?c ) }
Halga Cecco Angiolieri Jair Michal Theodelinda Ezekiel Damaris Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Manoah Ahaz Delilah Adoniram Samson Alexander III Cangrande I della Scala Jacob Mino da San Quirico Kai Darab Rehoboam Gideon Cyrus the Great Miriam Reu Mikhail Kutuzov John Hooper Necho II Philip Yael Hezekiah Uzziah Ahaziah of Judah Ibzan Amnon Zipporah Beowulf Hrothgar Guy of Lusignan Barak Boniface VIII Shealtiel Jehu Ithamar Isaiah Kenan Saul Shem Ingeld Jehoshaphat Moses Joseph Athaliah Jezebel Guglielmo Borsiere Hrethel Jephthah Guy de Montfort, Count of Nola Song Jiang Abner David Japheth Azzo VIII d'Este, Marquis of Ferrara Noah Judith Wealhþeow Heardred Agilulf Phut Nahor Ignacy Przybyszewski Salomon Bathsheba Benjamin Absalom Hadadezer Filippo Minutolo Musciatto Franzesi Eve Samuel Mary Magdalene Sheleph Salammbô Ehud Mephibosheth Elon John the Baptist Elisha Ahitophel Caleb Hathi Manasseh of Judah Heoroweard Islamic views on Abraham Nahor Daniel Céleste de Chateaubriand Hygelac Wise woman of Abel Ben-Hadad I Manfred, King of Sicily Davy Brown George William Russell Amminadab Asa of Judah Charles of Valois Adonijah Elimelek Hosea Shamgar Laban Kai Lohrasp Solomon Jotham of Judah Ecgþeow Amos Jonathan Jesse Buonamico Buffalmacco Jehoahaz of Judah Authari Nadabe Saladin Alphaeus Zedekiah Seth Cain Amram Matthan Jethro Abel Amon of Judah Eli Molly Bloom Junia Abraham Belshazzar Josiah Peter III of Aragon Othniel Abijah of Judah Freawaru Isaac Conrad of Montferrat Hygd Goliath Calandrino Abdon Geri Spini Godfrey of Bouillon Tamar Jeconiah Roger of Lauria Eleazar Gautama Buddha Zadok Ham Balaam Ahijah the Shilonite Baruch ben Neriah John of Procida Judah Amaziah of Judah
David Abraham Charles of Valois
action greater
action union
action find_tuple_counts
relation present in work
type common name
type text
action find_tuple_counts
relation present in work
type common name
type collectable
action count
action filter_multi_types
action find
entity Michael J. Massimino
relation present in work
type text
type collectable
[{'concept': 'common name'}, 'present in work', [{'concept': 'text'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?g WHERE { ?w rdf:type ?o . VALUES ( ?o ) { ( ontology:text ) ( ontology:collectable ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Michael_J._Massimino property:present_in_work ?n . { VALUES ( ?t ) { ( ontology:text ) ( ontology:collectable ) } . ?n rdf:type ?t } } } . FILTER ( ?r > ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q253911
P17
Q15617994
USER
How many administrative territories do Egyptian Social Democratic Party belong to ?
(Q253911,P17,c(Q15617994))
action count
action filter_type
action find
entity Q253911
relation P17
type Q15617994
['Q253911', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q253911 property:P17 ?p }
Egyptian Social Democratic Party
action count
action filter_type
action find
entity Egyptian Social Democratic Party
relation country
type designation for an administrative territorial entity
['Egyptian Social Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Egyptian_Social_Democratic_Party property:country ?p }
[]
designation for an administrative territorial entity
SYSTEM
1
Q79
(Q253911,P17,c(Q15617994))
action count
action filter_type
action find
entity Q253911
relation P17
type Q15617994
[ANSWER]
['Q253911', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q15617994 . resource:Q253911 property:P17 ?p }
Egypt
1
action count
action filter_type
action find
entity Egyptian Social Democratic Party
relation country
type designation for an administrative territorial entity
['Egyptian Social Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Egyptian_Social_Democratic_Party property:country ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q253911
P159
Q56061
USER
Which administrative territory is the headquarter location of that political organization ?
action filter_type
action find
entity Q253911
relation P159
type Q56061
SELECT DISTINCT ?j WHERE { resource:Q253911 property:P159 ?j . ?j rdf:type ontology:Q56061 }
Egyptian Social Democratic Party
action filter_type
action find
entity Egyptian Social Democratic Party
relation headquarters location
type administrative territorial entity
SELECT DISTINCT ?j WHERE { resource:Egyptian_Social_Democratic_Party property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q85
SYSTEM
Cairo
Q85
action filter_type
action find
entity Q253911
relation P159
type Q56061
[ANSWER] is the headquarter location of that political organization
SELECT DISTINCT ?j WHERE { resource:Q253911 property:P159 ?j . ?j rdf:type ontology:Q56061 }
Cairo
Cairo is the headquarter location of that political organization
Cairo
action filter_type
action find
entity Egyptian Social Democratic Party
relation headquarters location
type administrative territorial entity
SELECT DISTINCT ?j WHERE { resource:Egyptian_Social_Democratic_Party property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q253911
P102
Q502895
USER
Who are the members of that political organization ?
(c(Q502895),P102,Q85)
action filter_type
action find_reverse
entity Q253911
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q85']
SELECT DISTINCT ?o WHERE { ?o property:P102 resource:Q253911 . ?o rdf:type ontology:Q502895 }
Egyptian Social Democratic Party
action filter_type
action find_reverse
entity Egyptian Social Democratic Party
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Cairo']
SELECT DISTINCT ?o WHERE { ?o property:member_of_political_party resource:Egyptian_Social_Democratic_Party . ?o rdf:type ontology:common_name }
[]
common name
Q6820826 Q6890958
SYSTEM
Mervat Tallawy, Mohamed Abou El-Ghar
Q6820826 Q6890958
(c(Q502895),P102,Q85)
action filter_type
action find_reverse
entity Q253911
relation P102
type Q502895
The members of that political organization are Muhammad [ANSWERS]
[{'concept': 'Q502895'}, 'P102', 'Q85']
SELECT DISTINCT ?o WHERE { ?o property:P102 resource:Q253911 . ?o rdf:type ontology:Q502895 }
Mervat Tallawy Mohamed Abou El-Ghar
The members of that political organization are Muhammad Mervat Tallawy and Mohamed Abou El-Ghar
Mervat Tallawy Mohamed Abou El-Ghar
action filter_type
action find_reverse
entity Egyptian Social Democratic Party
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Cairo']
SELECT DISTINCT ?o WHERE { ?o property:member_of_political_party resource:Egyptian_Social_Democratic_Party . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41370
P22
Q502895
USER
Which male person has a child named David ?
(Q41370,P22,c(Q502895))
action filter_type
action find
entity Q41370
relation P22
type Q502895
['Q41370', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q41370 property:P22 ?n . ?n rdf:type ontology:Q502895 }
David
action filter_type
action find
entity David
relation father
type common name
['David', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:David property:father ?n . ?n rdf:type ontology:common_name }
[]
common name
Q45090
SYSTEM
Jesse
Q45090
(Q41370,P22,c(Q502895))
action filter_type
action find
entity Q41370
relation P22
type Q502895
As [ANSWER] has a child named David
['Q41370', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q41370 property:P22 ?n . ?n rdf:type ontology:Q502895 }
Jesse
As Jesse has a child named David
Jesse
action filter_type
action find
entity David
relation father
type common name
['David', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:David property:father ?n . ?n rdf:type ontology:common_name }
[]