Simple Question (Direct)
Simple Question
Q798506
P106
Q12737077
USER
Which occupations have Edwin Booth as his/her 's career ?
(Q798506,P106,c(Q12737077))
action filter_type
action find
entity Q798506
relation P106
type Q12737077
['Q798506', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q798506 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Edwin Booth
action filter_type
action find
entity Edwin Booth
relation occupation
type occupation
['Edwin Booth', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Edwin_Booth property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
(Q798506,P106,c(Q12737077))
action filter_type
action find
entity Q798506
relation P106
type Q12737077
[ANSWERS] have Edwin Booth as his/her 's career
['Q798506', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q798506 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
actor stage actor
Actor and stage actor have Edwin Booth as his/her 's career
actor stage actor
action filter_type
action find
entity Edwin Booth
relation occupation
type occupation
['Edwin Booth', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Edwin_Booth property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q798506
P7
Q502895
USER
Which people had Edwin Booth as brother ?
(c(Q502895),P7,Q798506)
action filter_type
action find_reverse
entity Q798506
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q798506']
SELECT DISTINCT ?i WHERE { ?i property:P7 resource:Q798506 . ?i rdf:type ontology:Q502895 }
Edwin Booth
action filter_type
action find_reverse
entity Edwin Booth
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Edwin Booth']
SELECT DISTINCT ?i WHERE { ?i property:brother resource:Edwin_Booth . ?i rdf:type ontology:common_name }
[]
common name
Q4806346 Q778940 Q180914
SYSTEM
Asia Booth, Junius Brutus Booth, Jr., John Wilkes Booth
Q4806346 Q778940 Q180914
(c(Q502895),P7,Q798506)
action filter_type
action find_reverse
entity Q798506
relation P7
type Q502895
[ANSWERS] had Edwin Booth as brother
[{'concept': 'Q502895'}, 'P7', 'Q798506']
SELECT DISTINCT ?i WHERE { ?i property:P7 resource:Q798506 . ?i rdf:type ontology:Q502895 }
Asia Booth Junius Brutus Booth, Jr. John Wilkes Booth
Asia Booth, Junius Brutus Booth, Jr. and John Wilkes Booth had Edwin Booth as brother
Asia Booth Junius Brutus Booth, Jr. John Wilkes Booth
action filter_type
action find_reverse
entity Edwin Booth
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Edwin Booth']
SELECT DISTINCT ?i WHERE { ?i property:brother resource:Edwin_Booth . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4806346 Q778940 Q180914
P40
Q502895
USER
Who have those ones as a child ?
(c(Q502895),P40,Q4806346) (c(Q502895),P40,Q778940) (c(Q502895),P40,Q180914)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q4806346'] [{'concept': 'Q502895'}, 'P40', 'Q778940'] [{'concept': 'Q502895'}, 'P40', 'Q180914']
SELECT DISTINCT ?o WHERE { ?o property:P40 ?w . ?o rdf:type ontology:Q502895 . VALUES ( ?w ) { ( resource:Q4806346 ) ( resource:Q778940 ) ( resource:Q180914 ) } }
Asia Booth Junius Brutus Booth, Jr. John Wilkes Booth
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Asia Booth'] [{'concept': 'common name'}, 'child', 'Junius Brutus Booth, Jr.'] [{'concept': 'common name'}, 'child', 'John Wilkes Booth']
SELECT DISTINCT ?o WHERE { ?o property:child ?w . ?o rdf:type ontology:common_name . VALUES ( ?w ) { ( resource:Asia_Booth ) ( resource:Junius_Brutus_Booth,_Jr. ) ( resource:John_Wilkes_Booth ) } }
[]
common name
Q684358
SYSTEM
Junius Brutus Booth
Q684358
(c(Q502895),P40,Q4806346) (c(Q502895),P40,Q778940) (c(Q502895),P40,Q180914)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWER] have those ones as a child
[{'concept': 'Q502895'}, 'P40', 'Q4806346'] [{'concept': 'Q502895'}, 'P40', 'Q778940'] [{'concept': 'Q502895'}, 'P40', 'Q180914']
SELECT DISTINCT ?o WHERE { ?o property:P40 ?w . ?o rdf:type ontology:Q502895 . VALUES ( ?w ) { ( resource:Q4806346 ) ( resource:Q778940 ) ( resource:Q180914 ) } }
Junius Brutus Booth
Junius Brutus Booth have those ones as a child
Junius Brutus Booth
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Asia Booth'] [{'concept': 'common name'}, 'child', 'Junius Brutus Booth, Jr.'] [{'concept': 'common name'}, 'child', 'John Wilkes Booth']
SELECT DISTINCT ?o WHERE { ?o property:child ?w . ?o rdf:type ontology:common_name . VALUES ( ?w ) { ( resource:Asia_Booth ) ( resource:Junius_Brutus_Booth,_Jr. ) ( resource:John_Wilkes_Booth ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q684358
P22
Q502895
USER
Which people have that one as father ?
(c(Q502895),P22,Q684358)
action filter_type
action find_reverse
entity Q684358
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q684358']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q684358 . ?e rdf:type ontology:Q502895 }
Junius Brutus Booth
action filter_type
action find_reverse
entity Junius Brutus Booth
relation father
type common name
[{'concept': 'common name'}, 'father', 'Junius Brutus Booth']
SELECT DISTINCT ?e WHERE { ?e property:father resource:Junius_Brutus_Booth . ?e rdf:type ontology:common_name }
[]
common name
Q180914 Q798506 Q778940
SYSTEM
John Wilkes Booth, Edwin Booth, Junius Brutus Booth, Jr.
Q4806346 Q778940 Q798506 Q180914
(c(Q502895),P22,Q684358)
action filter_type
action find_reverse
entity Q684358
relation P22
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q684358']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q684358 . ?e rdf:type ontology:Q502895 }
Asia Booth Junius Brutus Booth, Jr. Edwin Booth John Wilkes Booth
John Wilkes Booth, Edwin Booth and Junius Brutus Booth, Jr. have that one as father
John Wilkes Booth Edwin Booth Junius Brutus Booth, Jr.
action filter_type
action find_reverse
entity Junius Brutus Booth
relation father
type common name
[{'concept': 'common name'}, 'father', 'Junius Brutus Booth']
SELECT DISTINCT ?e WHERE { ?e property:father resource:Junius_Brutus_Booth . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1973194
P7
Q502895
USER
Did Evgeny Rukhin have those ones as brother ?
(Q1973194,P7,Q180914) (Q1973194,P7,Q798506) (Q1973194,P7,Q778940)
action is_in
entity prev_answer
action find
entity Q1973194
relation P7
['Q1973194', 'P7', 'Q180914'] ['Q1973194', 'P7', 'Q798506'] ['Q1973194', 'P7', 'Q778940']
ASK WHERE { resource:Q1973194 property:P7 ?p . VALUES ( ?p ) { ( resource:Q4806346 ) ( resource:Q778940 ) ( resource:Q798506 ) } }
Evgeny Rukhin
action is_in
entity prev_answer
action find
entity Evgeny Rukhin
relation brother
['Evgeny Rukhin', 'brother', 'John Wilkes Booth'] ['Evgeny Rukhin', 'brother', 'Edwin Booth'] ['Evgeny Rukhin', 'brother', 'Junius Brutus Booth, Jr.']
ASK WHERE { resource:Evgeny_Rukhin property:brother ?p . VALUES ( ?p ) { ( resource:Asia_Booth ) ( resource:Junius_Brutus_Booth,_Jr. ) ( resource:Edwin_Booth ) } }
[]
common name
SYSTEM
NO
(Q1973194,P7,Q180914) (Q1973194,P7,Q798506) (Q1973194,P7,Q778940)
action is_in
entity prev_answer
action find
entity Q1973194
relation P7
[ANSWER]
['Q1973194', 'P7', 'Q180914'] ['Q1973194', 'P7', 'Q798506'] ['Q1973194', 'P7', 'Q778940']
ASK WHERE { resource:Q1973194 property:P7 ?p . VALUES ( ?p ) { ( resource:Q4806346 ) ( resource:Q778940 ) ( resource:Q798506 ) } }
No
action is_in
entity prev_answer
action find
entity Evgeny Rukhin
relation brother
['Evgeny Rukhin', 'brother', 'John Wilkes Booth'] ['Evgeny Rukhin', 'brother', 'Edwin Booth'] ['Evgeny Rukhin', 'brother', 'Junius Brutus Booth, Jr.']
ASK WHERE { resource:Evgeny_Rukhin property:brother ?p . VALUES ( ?p ) { ( resource:Asia_Booth ) ( resource:Junius_Brutus_Booth,_Jr. ) ( resource:Edwin_Booth ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1178361
P1303
Q34379 Q502895
USER
Which musical instruments are played by lesser number of people than davul ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1178361
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1303 resource:Q1178361 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?c < ?h ) }
davul
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity davul
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:instrument resource:davul . ?l rdf:type ontology:common_name } } . FILTER ( ?c < ?h ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1178361
relation P1303
type Q502895
[ANSWERS] are played by lesser number of people than davul
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1303 resource:Q1178361 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?c < ?h ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by lesser number of people than davul
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity davul
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:instrument resource:davul . ?l rdf:type ontology:common_name } } . FILTER ( ?c < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1099153
P1303
Q34379 Q502895
USER
And what about clavinet?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1099153
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P1303 resource:Q1099153 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?k < ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?p } }
clavinet
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity clavinet
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:instrument resource:clavinet . ?f rdf:type ontology:common_name } } . FILTER ( ?k < ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?p } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1099153
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P1303 resource:Q1099153 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?k < ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P1303 ?p . ?p rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?p } }
spoon cajón wind instrument
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity clavinet
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:instrument resource:clavinet . ?f rdf:type ontology:common_name } } . FILTER ( ?k < ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:instrument ?p . ?p rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?p } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q495540 Q778940
P7
Q502895
USER
Which people have Junius Brutus Booth, Jr. or Hlothhere of Kent as their brother ?
OR((c(Q502895),P7,Q778940), (c(Q502895),P7,Q495540))
action filter_type
action union
action find_reverse
entity Q778940
relation P7
action find_reverse
entity Q495540
relation P7
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q778940'], [{'concept': 'Q502895'}, 'P7', 'Q495540']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P7 resource:Q778940 } UNION { ?d property:P7 resource:Q495540 } } . ?d rdf:type ontology:Q502895 }
Hlothhere of Kent Junius Brutus Booth, Jr.
action filter_type
action union
action find_reverse
entity Junius Brutus Booth, Jr.
relation brother
action find_reverse
entity Hlothhere of Kent
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'Junius Brutus Booth, Jr.'], [{'concept': 'common name'}, 'brother', 'Hlothhere of Kent']]}
SELECT DISTINCT ?d WHERE { { { ?d property:brother resource:Junius_Brutus_Booth,_Jr. } UNION { ?d property:brother resource:Hlothhere_of_Kent } } . ?d rdf:type ontology:common_name }
[]
common name
Q4806346 Q798506 Q2002608 Q880215 Q180914 Q27102470
SYSTEM
Asia Booth, Edwin Booth, Ermenilda of Ely, Ecgberht of Kent, John Wilkes Booth, Eorcengota
Q4806346 Q798506 Q2002608 Q880215 Q180914 Q27102470
OR((c(Q502895),P7,Q778940), (c(Q502895),P7,Q495540))
action filter_type
action union
action find_reverse
entity Q778940
relation P7
action find_reverse
entity Q495540
relation P7
type Q502895
[ANSWERS] have Junius Brutus Booth, Jr. or Hlothhere of Kent as their brother
{'OR': [[{'concept': 'Q502895'}, 'P7', 'Q778940'], [{'concept': 'Q502895'}, 'P7', 'Q495540']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P7 resource:Q778940 } UNION { ?d property:P7 resource:Q495540 } } . ?d rdf:type ontology:Q502895 }
Asia Booth Edwin Booth Ermenilda of Ely Ecgberht of Kent John Wilkes Booth Eorcengota
Asia Booth, Edwin Booth, Ermenilda of Ely, Ecgberht of Kent, John Wilkes Booth and Eorcengota have Junius Brutus Booth, Jr. or Hlothhere of Kent as their brother
Asia Booth Edwin Booth Ermenilda of Ely Ecgberht of Kent John Wilkes Booth Eorcengota
action filter_type
action union
action find_reverse
entity Junius Brutus Booth, Jr.
relation brother
action find_reverse
entity Hlothhere of Kent
relation brother
type common name
{'OR': [[{'concept': 'common name'}, 'brother', 'Junius Brutus Booth, Jr.'], [{'concept': 'common name'}, 'brother', 'Hlothhere of Kent']]}
SELECT DISTINCT ?d WHERE { { { ?d property:brother resource:Junius_Brutus_Booth,_Jr. } UNION { ?d property:brother resource:Hlothhere_of_Kent } } . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q778940
P26 P21
Q502895
USER
Which people are married to Junius Brutus Booth, Jr. and have female as the sex ?
AND((c(Q502895),P26,Q778940), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q778940
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q778940'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?w WHERE { ?w property:P26 resource:Q778940 . ?w property:P21 resource:Q6581072 . ?w rdf:type ontology:Q502895 }
female Junius Brutus Booth, Jr.
action filter_type
action intersection
action find_reverse
entity Junius Brutus Booth, Jr.
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Junius Brutus Booth, Jr.'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?w WHERE { ?w property:spouse resource:Junius_Brutus_Booth,_Jr. . ?w property:gender resource:female . ?w rdf:type ontology:common_name }
[]
common name
Q4693017
SYSTEM
Agnes Booth
Q4693017
AND((c(Q502895),P26,Q778940), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q778940
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] is married to Junius Brutus Booth, Jr. and have female as the sex
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q778940'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?w WHERE { ?w property:P26 resource:Q778940 . ?w property:P21 resource:Q6581072 . ?w rdf:type ontology:Q502895 }
Agnes Booth
Agnes Booth is married to Junius Brutus Booth, Jr. and have female as the sex
Agnes Booth
action filter_type
action intersection
action find_reverse
entity Junius Brutus Booth, Jr.
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Junius Brutus Booth, Jr.'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?w WHERE { ?w property:spouse resource:Junius_Brutus_Booth,_Jr. . ?w property:gender resource:female . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15619164
USER
How many abstract beings have been dubbed by atmost 11 people ?
(c(Q15619164),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 11
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?d ) WHERE { ?b property:P725 ?n . ?b rdf:type ontology:Q15619164 . ?n rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?d <= 11 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 11
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?d ) WHERE { ?b property:voice_actor ?n . ?b rdf:type ontology:abstract_being . ?n rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?d <= 11 ) }
[]
common name abstract being
SYSTEM
148
Q21009638 Q15537062 Q15710470 Q3190648 Q819724 Q22079436 Q15502715 Q21006905 Q15055569 Q11339793 Q14432243 Q820011 Q819644 Q15648502 Q15725453 Q15711505 Q15502566 Q638630 Q20948918 Q15728188 Q15648510 Q15141427 Q1134585 Q15728185 Q20972916 Q820088 Q4701169 Q15884361 Q15956614 Q3222756 Q21036253 Q12739035 Q9300505 Q3152983 Q2079562 Q10343913 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q2270749 Q11331437 Q20949674 Q2293269 Q15632348 Q819748 Q21027734 Q4023191 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q819519 Q2558257 Q15520173 Q2320215 Q15712269 Q2081430 Q15502620 Q977511 Q17628767 Q15710705 Q27334870 Q27265636 Q49352 Q552682 Q3565718 Q5957609 Q3271686 Q728718 Q15502538 Q15490560 Q3631585 Q16040855 Q27300001 Q849700 Q15502637 Q27613927 Q11297446 Q819804 Q282514 Q3858633 Q16995485 Q18292066 Q844697 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q2291154 Q15966747 Q3482136 Q8212419 Q18292143 Q14432283 Q18934600 Q27493776 Q2151996 Q15730337 Q3201327 Q2663645 Q819544 Q15961663 Q3479120 Q909655 Q16005386 Q16003600 Q2566378 Q15731593 Q17634983 Q2291498 Q849758 Q3054222 Q3054224 Q27680001 Q2332475 Q568553 Q1200192 Q7468973 Q6076547 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q3966728 Q4810757 Q4874693 Q2738631 Q819851 Q15846552 Q5480 Q15710460 Q935079 Q18468944 Q3222748 Q15537046 Q14429586
(c(Q15619164),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 11
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?d ) WHERE { ?b property:P725 ?n . ?b rdf:type ontology:Q15619164 . ?n rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?d <= 11 ) }
Beltino Toad Manami Tamura Big McIntosh Kari Kamiya Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco Jeremiah Gottwald My Melody Bill Grey Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Queen Chrysalis Braeburn Ayano Sugiura Larry Laffer Andrew Oikonny Renge Miyauchi Yuu Sonoda Pinkie Pie Hiroshi Nohara Hotaru Ichijo ROB Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa Pigma Dengar Tricky Rainbow Dash Rarity Integra Hellsing SHODAN Palutena MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pit Pikmin General Pepper Falco Lombardi Mika Kujiin Maiev Shadowsong Young Link Yui Hirasawa Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Gul'dan Rose Ui Hirasawa Wolf O'Donnell Mitsuki Sonoda Fox McCloud Rise Matsumoto Shizuka Minamoto Diablo Discord Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Walter C. Dornez Rin Kagamine Andross Rukia Kuchiki Yui Funami Sawako Yamanaka Azusa Nakano Pico Adam Jensen Deathwing Akane Akaza Thomas Burke Kyūbey Malfurion Stormrage Alucard Mio Akiyama Hiro Takachiho Sora Takenouchi Shinichi Kudo Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Kratos Seiji Amasawa Alexander Anderson Leon Powalski Koushirou "Izzy" Izumi Katt Monroe Asuna Yūki Miku Hatsune Append (Sweet) Constance Harm Babs Seed Kōzō Fuyutsuki Krystal Illidan Stormrage Shijuku Tsukishima Seras Victoria Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Garrosh Hellscream Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Slippy Toad Peppy Hare Danny Burke Yamato "Matt" Ishida Link Midna Applejack Pip Bernadotte Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Spike Tyrael Bayonetta Anna Williams Mannoroth Natsumi Koshigaya Bart Simpson Gilda, the Griffin SpongeBob SquarePants Kirito James McCloud Kirino Kosaka Panther Caroso
148
action count
action atmost
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 11
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?d ) WHERE { ?b property:voice_actor ?n . ?b rdf:type ontology:abstract_being . ?n rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?d <= 11 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q336056
P725
Q502895 Q2342494
USER
How many collectables did around the same number of people dub for as The Girl Who Leapt Through Time ?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q336056
relation P725
type Q2342494
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?e ) WHERE { ?g property:P725 ?o . ?g rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q2342494 . resource:Q336056 property:P725 ?k } } . FILTER ( ?e = ?t ) }
The Girl Who Leapt Through Time
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity The Girl Who Leapt Through Time
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?e ) WHERE { ?g property:voice_actor ?o . ?g rdf:type ontology:collectable . ?o rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:collectable . resource:The_Girl_Who_Leapt_Through_Time property:voice_actor ?k } } . FILTER ( ?e = ?t ) }
[]
common name collectable
SYSTEM
12
Q50035 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q336056
relation P725
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?e ) WHERE { ?g property:P725 ?o . ?g rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q2342494 . resource:Q336056 property:P725 ?k } } . FILTER ( ?e = ?t ) }
Nyaruko: Crawling with Love Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Muv-Luv
12
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity The Girl Who Leapt Through Time
relation voice actor
type collectable
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?e ) WHERE { ?g property:voice_actor ?o . ?g rdf:type ontology:collectable . ?o rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:collectable . resource:The_Girl_Who_Leapt_Through_Time property:voice_actor ?k } } . FILTER ( ?e = ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q180914
P140
Q879146
USER
What is the religion associated with John Wilkes Booth ?
(Q180914,P140,c(Q879146))
action filter_type
action find
entity Q180914
relation P140
type Q879146
['Q180914', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?i WHERE { resource:Q180914 property:P140 ?i . ?i rdf:type ontology:Q879146 }
John Wilkes Booth
action filter_type
action find
entity John Wilkes Booth
relation religion
type Christian denomination
['John Wilkes Booth', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?i WHERE { resource:John_Wilkes_Booth property:religion ?i . ?i rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q682443
SYSTEM
Episcopal Church
Q682443
(Q180914,P140,c(Q879146))
action filter_type
action find
entity Q180914
relation P140
type Q879146
The religion associated with John Wilkes Booth is the [ANSWER]
['Q180914', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?i WHERE { resource:Q180914 property:P140 ?i . ?i rdf:type ontology:Q879146 }
Episcopal Church
The religion associated with John Wilkes Booth is the Episcopal Church
Episcopal Church
action filter_type
action find
entity John Wilkes Booth
relation religion
type Christian denomination
['John Wilkes Booth', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?i WHERE { resource:John_Wilkes_Booth property:religion ?i . ?i rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q180914
P1038
Q6619679
USER
Which fictional humanoid is a relative of John Wilkes Booth ?
(c(Q6619679),P1038,Q180914)
action filter_type
action find_reverse
entity Q180914
relation P1038
type Q6619679
[{'concept': 'Q6619679'}, 'P1038', 'Q180914']
SELECT DISTINCT ?v WHERE { ?v property:P1038 resource:Q180914 . ?v rdf:type ontology:Q6619679 }
John Wilkes Booth
action filter_type
action find_reverse
entity John Wilkes Booth
relation relative
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'relative', 'John Wilkes Booth']
SELECT DISTINCT ?v WHERE { ?v property:relative resource:John_Wilkes_Booth . ?v rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q1286779
SYSTEM
Seeley Booth
Q1286779
(c(Q6619679),P1038,Q180914)
action filter_type
action find_reverse
entity Q180914
relation P1038
type Q6619679
[ANSWER] is a relative of John Wilkes Booth
[{'concept': 'Q6619679'}, 'P1038', 'Q180914']
SELECT DISTINCT ?v WHERE { ?v property:P1038 resource:Q180914 . ?v rdf:type ontology:Q6619679 }
Seeley Booth
Seeley Booth is a relative of John Wilkes Booth
Seeley Booth
action filter_type
action find_reverse
entity John Wilkes Booth
relation relative
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'relative', 'John Wilkes Booth']
SELECT DISTINCT ?v WHERE { ?v property:relative resource:John_Wilkes_Booth . ?v rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q180914
P157
Q502895
USER
Who assasinated John Wilkes Booth ?
(Q180914,P157,c(Q502895))
action filter_type
action find
entity Q180914
relation P157
type Q502895
['Q180914', 'P157', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q180914 property:P157 ?e . ?e rdf:type ontology:Q502895 }
John Wilkes Booth
action filter_type
action find
entity John Wilkes Booth
relation killed by
type common name
['John Wilkes Booth', 'killed by', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:John_Wilkes_Booth property:killed_by ?e . ?e rdf:type ontology:common_name }
[]
common name
Q2911614
SYSTEM
Boston Corbett
Q2911614
(Q180914,P157,c(Q502895))
action filter_type
action find
entity Q180914
relation P157
type Q502895
[ANSWER] assasinated John Wilkes Booth
['Q180914', 'P157', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q180914 property:P157 ?e . ?e rdf:type ontology:Q502895 }
Boston Corbett
Boston Corbett assasinated John Wilkes Booth
Boston Corbett
action filter_type
action find
entity John Wilkes Booth
relation killed by
type common name
['John Wilkes Booth', 'killed by', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:John_Wilkes_Booth property:killed_by ?e . ?e rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2911614 Q180914
P157
Q502895
USER
Was John Wilkes Booth killed by that one ?
(Q180914,P157,Q2911614)
action is_in
entity Q2911614
action find
entity Q180914
relation P157
['Q180914', 'P157', 'Q2911614']
ASK WHERE { resource:Q180914 property:P157 resource:Q2911614 }
Boston Corbett John Wilkes Booth
action is_in
entity Boston Corbett
action find
entity John Wilkes Booth
relation killed by
['John Wilkes Booth', 'killed by', 'Boston Corbett']
ASK WHERE { resource:John_Wilkes_Booth property:killed_by resource:Boston_Corbett }
[]
common name
SYSTEM
YES
(Q180914,P157,Q2911614)
action is_in
entity Q2911614
action find
entity Q180914
relation P157
[ANSWER]
['Q180914', 'P157', 'Q2911614']
ASK WHERE { resource:Q180914 property:P157 resource:Q2911614 }
Yes
action is_in
entity Boston Corbett
action find
entity John Wilkes Booth
relation killed by
['John Wilkes Booth', 'killed by', 'Boston Corbett']
ASK WHERE { resource:John_Wilkes_Booth property:killed_by resource:Boston_Corbett }
[]