Simple Question (Direct)
Simple Question
Q3176517
P54
Q12973014
USER
What is Jeff Kealty a member of ?
(Q3176517,P54,c(Q12973014))
action filter_type
action find
entity Q3176517
relation P54
type Q12973014
['Q3176517', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12973014 . resource:Q3176517 property:P54 ?z }
Jeff Kealty
action filter_type
action find
entity Jeff Kealty
relation member of sports team
type sports team
['Jeff Kealty', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sports_team . resource:Jeff_Kealty property:member_of_sports_team ?z }
[]
sports team
Q1267828
SYSTEM
Milwaukee Admirals
Q1267828
(Q3176517,P54,c(Q12973014))
action filter_type
action find
entity Q3176517
relation P54
type Q12973014
Jeff Kealty a member of is the [ANSWER]
['Q3176517', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12973014 . resource:Q3176517 property:P54 ?z }
Milwaukee Admirals
Jeff Kealty a member of is the Milwaukee Admirals
Milwaukee Admirals
action filter_type
action find
entity Jeff Kealty
relation member of sports team
type sports team
['Jeff Kealty', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sports_team . resource:Jeff_Kealty property:member_of_sports_team ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3176517
P641
Q349
USER
Which sport was Jeff Kealty a part of ?
(Q3176517,P641,c(Q349))
action filter_type
action find
entity Q3176517
relation P641
type Q349
['Q3176517', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q3176517 property:P641 ?z . ?z rdf:type ontology:Q349 }
Jeff Kealty
action filter_type
action find
entity Jeff Kealty
relation sport
type sport
['Jeff Kealty', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Jeff_Kealty property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q3176517,P641,c(Q349))
action filter_type
action find
entity Q3176517
relation P641
type Q349
The [ANSWER] was Jeff Kealty a part of
['Q3176517', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q3176517 property:P641 ?z . ?z rdf:type ontology:Q349 }
ice hockey
The ice hockey was Jeff Kealty a part of
ice hockey
action filter_type
action find
entity Jeff Kealty
relation sport
type sport
['Jeff Kealty', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Jeff_Kealty property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19664928
Q349
USER
And what about Cliff Thorley?
(Q19664928,P641,c(Q349))
action filter_type
action find
entity Q19664928
relation P641
type Q349
['Q19664928', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q19664928 property:P641 ?v . ?v rdf:type ontology:Q349 }
Cliff Thorley
action filter_type
action find
entity Cliff Thorley
relation sport
type sport
['Cliff Thorley', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Cliff_Thorley property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q19664928,P641,c(Q349))
action filter_type
action find
entity Q19664928
relation P641
type Q349
[ANSWER]
['Q19664928', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q19664928 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Cliff Thorley
relation sport
type sport
['Cliff Thorley', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Cliff_Thorley property:sport ?v . ?v rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q43229 Q618123 Q12973014
USER
Which sports teams are a portion of atleast 1 organizations and geographical objects ?
(c(Q12973014),P361,c(Q43229)|c(Q618123))
action atleast
action union
action find_tuple_counts
relation P361
type Q12973014
type Q43229
action find_tuple_counts
relation P361
type Q12973014
type Q618123
value 1
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q43229'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?e WHERE { { ?e rdf:type ontology:Q12973014 . ?t rdf:type ontology:Q43229 . ?e property:P361 ?t } UNION { ?e property:P361 ?t . ?e rdf:type ontology:Q12973014 . ?t rdf:type ontology:Q618123 } } GROUP BY ?e } . FILTER ( ?n >= 1 ) }
action atleast
action union
action find_tuple_counts
relation part of
type sports team
type organization
action find_tuple_counts
relation part of
type sports team
type geographical object
value 1
[{'concept': 'sports team'}, 'part of', [{'concept': 'organization'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?e WHERE { { ?e rdf:type ontology:sports_team . ?t rdf:type ontology:organization . ?e property:part_of ?t } UNION { ?e property:part_of ?t . ?e rdf:type ontology:sports_team . ?t rdf:type ontology:geographical_object } } GROUP BY ?e } . FILTER ( ?n >= 1 ) }
[]
organization geographical object sports team
Q8383824 Q2049524 Q922432
SYSTEM
Aris Thessaloniki B.C., Panionios B.C., Olympiacos Water Polo Club
Q17098475 Q16683843 Q4994627 Q2031816 Q8383824 Q2449917 Q2443717 Q847701 Q2819480 Q1635382 Q949399 Q18704184 Q2049524 Q23760224 Q3365302 Q922432 Q18343671 Q23664286 Q23722770
(c(Q12973014),P361,c(Q43229)|c(Q618123))
action atleast
action union
action find_tuple_counts
relation P361
type Q12973014
type Q43229
action find_tuple_counts
relation P361
type Q12973014
type Q618123
value 1
[ANSWERS] are a portion of atleast 1 organizations and geographical objects
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q43229'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?e WHERE { { ?e rdf:type ontology:Q12973014 . ?t rdf:type ontology:Q43229 . ?e property:P361 ?t } UNION { ?e property:P361 ?t . ?e rdf:type ontology:Q12973014 . ?t rdf:type ontology:Q618123 } } GROUP BY ?e } . FILTER ( ?n >= 1 ) }
RK Mornar Bar ZMC Amicitia Zürich SønderjyskE Håndbold SønderjyskE Ishockey Aris Thessaloniki B.C. Tranås AIF Hockey KK Mornar Bar Olympiacos B.C. ASUL Vaulx-en-Velin Legia Warszawa Legia Warsaw Karlsruher SC II Panionios B.C. New York Athletic Club Paris Université Club Olympiacos Water Polo Club Melli Haffari Ahvaz Basketball Club Ford Chip Ganassi Team UK JRM Racing
Aris Thessaloniki B.C., Panionios B.C. and Olympiacos Water Polo Club are a portion of atleast 1 organizations and geographical objects
Aris Thessaloniki B.C. Panionios B.C. Olympiacos Water Polo Club
action atleast
action union
action find_tuple_counts
relation part of
type sports team
type organization
action find_tuple_counts
relation part of
type sports team
type geographical object
value 1
[{'concept': 'sports team'}, 'part of', [{'concept': 'organization'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) ?e WHERE { { ?e rdf:type ontology:sports_team . ?t rdf:type ontology:organization . ?e property:part_of ?t } UNION { ?e property:part_of ?t . ?e rdf:type ontology:sports_team . ?t rdf:type ontology:geographical_object } } GROUP BY ?e } . FILTER ( ?n >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1785271 Q12973014 Q12973014
USER
How many sports teams are a portion of approximately 2 cycling teams or sports teams ?
(c(Q12973014),P361,c(Q1785271)|c(Q12973014))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q12973014
type Q1785271
action find_tuple_counts
relation P361
type Q12973014
type Q12973014
value 2
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q1785271'}, {'concept': 'Q12973014'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?c WHERE { VALUES ( ?p ) { ( ontology:Q1785271 ) ( ontology:Q12973014 ) } . ?t rdf:type ?p } GROUP BY ?c } . FILTER ( ?j = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type sports team
type cycling team
action find_tuple_counts
relation part of
type sports team
type sports team
value 2
[{'concept': 'sports team'}, 'part of', [{'concept': 'cycling team'}, {'concept': 'sports team'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?c WHERE { VALUES ( ?p ) { ( ontology:cycling_team ) ( ontology:sports_team ) } . ?t rdf:type ?p } GROUP BY ?c } . FILTER ( ?j = 2 ) }
[]
cycling team sports team sports team
SYSTEM
1
Q23663718
(c(Q12973014),P361,c(Q1785271)|c(Q12973014))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q12973014
type Q1785271
action find_tuple_counts
relation P361
type Q12973014
type Q12973014
value 2
[ANSWER]
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q1785271'}, {'concept': 'Q12973014'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?c WHERE { VALUES ( ?p ) { ( ontology:Q1785271 ) ( ontology:Q12973014 ) } . ?t rdf:type ?p } GROUP BY ?c } . FILTER ( ?j = 2 ) }
Audi Sport Team Joest
1
action count
action approx
action union
action find_tuple_counts
relation part of
type sports team
type cycling team
action find_tuple_counts
relation part of
type sports team
type sports team
value 2
[{'concept': 'sports team'}, 'part of', [{'concept': 'cycling team'}, {'concept': 'sports team'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?c WHERE { VALUES ( ?p ) { ( ontology:cycling_team ) ( ontology:sports_team ) } . ?t rdf:type ?p } GROUP BY ?c } . FILTER ( ?j = 2 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3399544 Q3176517
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Jeff Kealty and do Portsmouth Abbey School belong to ?
AND((Q3176517,P27,c(Q15617994)), (Q3399544,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3176517
relation P27
action find
entity Q3399544
relation P17
type Q15617994
{'AND': [['Q3176517', 'P27', {'concept': 'Q15617994'}], ['Q3399544', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q3399544 property:P17 ?o . resource:Q3176517 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Portsmouth Abbey School Jeff Kealty
action filter_type
action intersection
action find
entity Jeff Kealty
relation country of citizenship
action find
entity Portsmouth Abbey School
relation country
type designation for an administrative territorial entity
{'AND': [['Jeff Kealty', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Portsmouth Abbey School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Portsmouth_Abbey_School property:country ?o . resource:Jeff_Kealty property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q3176517,P27,c(Q15617994)), (Q3399544,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3176517
relation P27
action find
entity Q3399544
relation P17
type Q15617994
[ANSWER] is the countries of citizenship of Jeff Kealty and do Portsmouth Abbey School belong to
{'AND': [['Q3176517', 'P27', {'concept': 'Q15617994'}], ['Q3399544', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q3399544 property:P17 ?o . resource:Q3176517 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
United States of America is the countries of citizenship of Jeff Kealty and do Portsmouth Abbey School belong to
United States of America
action filter_type
action intersection
action find
entity Jeff Kealty
relation country of citizenship
action find
entity Portsmouth Abbey School
relation country
type designation for an administrative territorial entity
{'AND': [['Jeff Kealty', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Portsmouth Abbey School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Portsmouth_Abbey_School property:country ?o . resource:Jeff_Kealty property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q629932 Q556420
P530
Q15617994
USER
Is United States of America known to have diplomatic connections with Spiesen-Elversberg and Günstedt ?
(Q30,P530,Q629932) (Q30,P530,Q556420)
action is_in
entity Q30
action intersection
action find_reverse
entity Q629932
relation P530
action find_reverse
entity Q556420
relation P530
['Q30', 'P530', 'Q629932'] ['Q30', 'P530', 'Q556420']
ASK WHERE { resource:Q30 property:P530 resource:Q629932 . resource:Q30 property:P530 resource:Q556420 }
United States of America Spiesen-Elversberg Günstedt
action is_in
entity United States of America
action intersection
action find_reverse
entity Spiesen-Elversberg
relation diplomatic relation
action find_reverse
entity Günstedt
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Spiesen-Elversberg'] ['United States of America', 'diplomatic relation', 'Günstedt']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Spiesen-Elversberg . resource:United_States_of_America property:diplomatic_relation resource:Günstedt }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q30,P530,Q629932) (Q30,P530,Q556420)
action is_in
entity Q30
action intersection
action find_reverse
entity Q629932
relation P530
action find_reverse
entity Q556420
relation P530
[ANSWER]
['Q30', 'P530', 'Q629932'] ['Q30', 'P530', 'Q556420']
ASK WHERE { resource:Q30 property:P530 resource:Q629932 . resource:Q30 property:P530 resource:Q556420 }
No
action is_in
entity United States of America
action intersection
action find_reverse
entity Spiesen-Elversberg
relation diplomatic relation
action find_reverse
entity Günstedt
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Spiesen-Elversberg'] ['United States of America', 'diplomatic relation', 'Günstedt']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Spiesen-Elversberg . resource:United_States_of_America property:diplomatic_relation resource:Günstedt }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P655
Q502895 Q234460 Q2342494
USER
Which people translated atleast 3 texts or collectables ?
(c(Q234460)|c(Q2342494),P655,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
value 3
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?z WHERE { { ?z rdf:type ontology:Q502895 . ?a rdf:type ontology:Q234460 . ?a property:P655 ?z } UNION { ?a property:P655 ?z . ?z rdf:type ontology:Q502895 . ?a rdf:type ontology:Q2342494 } } GROUP BY ?z } . FILTER ( ?m >= 3 ) }
action atleast
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 collectable
value 3
[[{'concept': 'text'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?z WHERE { { ?z rdf:type ontology:common_name . ?a rdf:type ontology:text . ?a property:translator ?z } UNION { ?a property:translator ?z . ?z rdf:type ontology:common_name . ?a rdf:type ontology:collectable } } GROUP BY ?z } . FILTER ( ?m >= 3 ) }
[]
common name text collectable
Q2495818 Q8020113
SYSTEM
Constance Garnett, William Weaver
Q2495818 Q8020113
(c(Q234460)|c(Q2342494),P655,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
value 3
[ANSWERS] translated atleast 3 texts or collectables
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?z WHERE { { ?z rdf:type ontology:Q502895 . ?a rdf:type ontology:Q234460 . ?a property:P655 ?z } UNION { ?a property:P655 ?z . ?z rdf:type ontology:Q502895 . ?a rdf:type ontology:Q2342494 } } GROUP BY ?z } . FILTER ( ?m >= 3 ) }
Constance Garnett William Weaver
Constance Garnett and William Weaver translated atleast 3 texts or collectables
Constance Garnett William Weaver
action atleast
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 collectable
value 3
[[{'concept': 'text'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) ?z WHERE { { ?z rdf:type ontology:common_name . ?a rdf:type ontology:text . ?a property:translator ?z } UNION { ?a property:translator ?z . ?z rdf:type ontology:common_name . ?a rdf:type ontology:collectable } } GROUP BY ?z } . FILTER ( ?m >= 3 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2495818
P40
Q502895
USER
Who is a child of that one ?
(Q2495818,P40,c(Q502895))
action filter_type
action find
entity Q2495818
relation P40
type Q502895
['Q2495818', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2495818 property:P40 ?g . ?g rdf:type ontology:Q502895 }
Constance Garnett
action filter_type
action find
entity Constance Garnett
relation child
type common name
['Constance Garnett', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Constance_Garnett property:child ?g . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2495818
SYSTEM
Did you mean Constance Garnett ?
Q2495818 Q8020113
(Q2495818,P40,c(Q502895)) (Q8020113,P40,c(Q502895))
[ANSWER]
['Q2495818', 'P40', {'concept': 'Q502895'}] ['Q8020113', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2495818 property:P40 ?g . ?g rdf:type ontology:Q502895 }
Constance Garnett William Weaver
Did you mean Constance Garnett ?
Constance Garnett
['Constance Garnett', 'child', {'concept': 'common name'}] ['William Weaver', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Constance_Garnett property:child ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2495818,P40,c(Q502895))
['Q2495818', 'P40', {'concept': 'Q502895'}]
['Constance Garnett', 'child', {'concept': 'common name'}]
[]
Q704860
SYSTEM
David Garnett
Q704860
(Q2495818,P40,c(Q502895))
action filter_type
action find
entity Q2495818
relation P40
type Q502895
A child of that one is the [ANSWER]
['Q2495818', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2495818 property:P40 ?g . ?g rdf:type ontology:Q502895 }
David Garnett
A child of that one is the David Garnett
David Garnett
action filter_type
action find
entity Constance Garnett
relation child
type common name
['Constance Garnett', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Constance_Garnett property:child ?g . ?g rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q567884
P725
Q502895 Q838948
USER
Which works of art had lesser number of people as the dubbing artist than Another ?
(c(Q838948),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q567884
relation P725
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?v ) WHERE { ?k property:P725 ?p . ?k rdf:type ontology:Q838948 . ?p rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Q567884 property:P725 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?v < ?q ) }
Another
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Another
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?v ) WHERE { ?k property:voice_actor ?p . ?k rdf:type ontology:work_of_art . ?p rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Another property:voice_actor ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?v < ?q ) }
[]
common name work of art
Q190145 Q4468674 Q4204793
SYSTEM
Spider-Man 2, To Kill a Dragon, History of the Arkanar Massacre
Q4346544 Q190145 Q4367569 Q4468674 Q4204793
(c(Q838948),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q567884
relation P725
type Q502895
Spider-Man 2, To kill a Dragon and History of the Arkanar Massacre had lesser number of people as the dubbing artist than Another
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?v ) WHERE { ?k property:P725 ?p . ?k rdf:type ontology:Q838948 . ?p rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Q567884 property:P725 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?v < ?q ) }
Passport Spider-Man 2 The Witches Cave To Kill a Dragon History of the Arkanar Massacre
Spider-Man 2, To kill a Dragon and History of the Arkanar Massacre had lesser number of people as the dubbing artist than Another
Spider-Man 2 To Kill a Dragon History of the Arkanar Massacre
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Another
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?v ) WHERE { ?k property:voice_actor ?p . ?k rdf:type ontology:work_of_art . ?p rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { resource:Another property:voice_actor ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?v < ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q23034444
P725
Q502895 Q838948
USER
And what about Ghost in the Shell 2.0?
(c(Q838948),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q23034444
relation P725
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?z ) WHERE { ?f rdf:type ontology:Q838948 . ?k rdf:type ontology:Q502895 . ?f property:P725 ?k } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q23034444 property:P725 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?z < ?l ) }
Ghost in the Shell 2.0
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Ghost in the Shell 2.0
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?z ) WHERE { ?f rdf:type ontology:work_of_art . ?k rdf:type ontology:common_name . ?f property:voice_actor ?k } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Ghost_in_the_Shell_2.0 property:voice_actor ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?z < ?l ) }
[]
common name work of art
Q18407657 Q1368693 Q5901134
SYSTEM
Captain America: Civil War, GeGeGe no Kitarō, Ant-Man
Q4346544 Q13091172 Q3458494 Q8024145 Q15139235 Q21428001 Q890656 Q834799 Q82579 Q212792 Q190145 Q909318 Q6675708 Q5901134 Q19948770 Q1325217 Q286868 Q1315185 Q1583966 Q25218391 Q777739 Q4942936 Q1572709 Q640695 Q14540226 Q18407657 Q868048 Q615813 Q4367569 Q180098 Q1100231 Q1368693 Q19776571 Q1185099 Q4646903 Q18786473 Q4305149 Q176198 Q25167044 Q567884 Q1196712 Q19776435 Q15627005 Q5237953 Q1309592 Q890665 Q207659 Q1519753 Q641315 Q729809 Q888131 Q1702819 Q4468674 Q318975 Q4204793 Q587921 Q1810461 Q5694508 Q18167809 Q7767682 Q18200409 Q18857408 Q16998034 Q179411
(c(Q838948),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q23034444
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?z ) WHERE { ?f rdf:type ontology:Q838948 . ?k rdf:type ontology:Q502895 . ?f property:P725 ?k } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q23034444 property:P725 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?z < ?l ) }
Passport Big Hero 6 A Tree of Palme Windfall Nobunaga the Fool Riley's First Date? Pokémon Heroes Pokémon: The First Movie: Mewtwo Strikes Back Pokémon 4Ever Bolt Spider-Man 2 Keroro Gunso the Super Movie 3: Keroro vs. Keroro Great Sky Duel Looney Tunes Super Stars' Foghorn Leghorn & Friends: Barnyard Bigmouth Ant-Man From Caligari to Hitler: German Cinema in the Age of the Masses Flubber Noah Steamboy Underdog Exile Ivan Vasilievich: Back to the Future Book Girl Pretty Cure All Stars Metropolis Celestial Wives of the Meadow Mari Captain America: Civil War Pokémon: The Movie 2000: The Power of One Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom The Witches Cave Ben-Hur Hayate the Combat Butler! Heaven Is a Place on Earth GeGeGe no Kitarō N - The Madness of Reason Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon Mozart and Salieri The Last Unicorn Wreck-It Ralph 2 Another Detective Conan: The Phantom of Baker Street Szenario Fair Play Inazuma Eleven GO vs. Danbōru Senki W Doraemon: Nobita and the Wind Wizard Pokémon 3: The Movie: Spell of the Unown Space Jam Mimino Spirit: Stallion of the Cimarron Bodacious Space Pirates The Wind Rises Secret of the Wings To Kill a Dragon Atlantis: The Lost Empire History of the Arkanar Massacre Garfield: A Tail of Two Kitties Springtime with Roo Heaven's Lost Property the Movie: The Angeloid of Clockwork The Prophet The Swing School A Monster Calls Thou-Vou falakros praktor Monkey Kingdom A Very Merry Pooh Year
Captain America: Civil War GeGeGe no Kitarō Ant-Man
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Ghost in the Shell 2.0
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?z ) WHERE { ?f rdf:type ontology:work_of_art . ?k rdf:type ontology:common_name . ?f property:voice_actor ?k } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Ghost_in_the_Shell_2.0 property:voice_actor ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?z < ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2495818
P655
Q234460
USER
How many texts did Constance Garnett translate ?
(c(Q234460),P655,Q2495818)
action count
action filter_type
action find_reverse
entity Q2495818
relation P655
type Q234460
[{'concept': 'Q234460'}, 'P655', 'Q2495818']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ontology:Q234460 . ?z property:P655 resource:Q2495818 }
Constance Garnett
action count
action filter_type
action find_reverse
entity Constance Garnett
relation translator
type text
[{'concept': 'text'}, 'translator', 'Constance Garnett']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ontology:text . ?z property:translator resource:Constance_Garnett }
[]
text
SYSTEM
4
Q26208721 Q26214673 Q21546432 Q21004978
(c(Q234460),P655,Q2495818)
action count
action filter_type
action find_reverse
entity Q2495818
relation P655
type Q234460
[ANSWER]
[{'concept': 'Q234460'}, 'P655', 'Q2495818']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ontology:Q234460 . ?z property:P655 resource:Q2495818 }
A Malefactor A Chameleon Rothschild's Fiddle A Christmas Tree and a Wedding
4
action count
action filter_type
action find_reverse
entity Constance Garnett
relation translator
type text
[{'concept': 'text'}, 'translator', 'Constance Garnett']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ontology:text . ?z property:translator resource:Constance_Garnett }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44248
P825
Q44539
USER
What is dedicated to Jerome ?
(c(Q44539),P825,Q44248)
action filter_type
action find_reverse
entity Q44248
relation P825
type Q44539
[{'concept': 'Q44539'}, 'P825', 'Q44248']
SELECT DISTINCT ?i WHERE { ?i property:P825 resource:Q44248 . ?i rdf:type ontology:Q44539 }
Jerome
action filter_type
action find_reverse
entity Jerome
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Jerome']
SELECT DISTINCT ?i WHERE { ?i property:dedicated_to resource:Jerome . ?i rdf:type ontology:temple }
[]
temple
Q17741621
SYSTEM
Church of St Jerome, Llangwm Uchaf
Q17741621
(c(Q44539),P825,Q44248)
action filter_type
action find_reverse
entity Q44248
relation P825
type Q44539
The [ANSWER] is dedicated to Jerome
[{'concept': 'Q44539'}, 'P825', 'Q44248']
SELECT DISTINCT ?i WHERE { ?i property:P825 resource:Q44248 . ?i rdf:type ontology:Q44539 }
Church of St Jerome, Llangwm Uchaf
The Church of St Jerome, Llangwm Uchaf is dedicated to Jerome
Church of St Jerome, Llangwm Uchaf
action filter_type
action find_reverse
entity Jerome
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Jerome']
SELECT DISTINCT ?i WHERE { ?i property:dedicated_to resource:Jerome . ?i rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17741621
P84
Q502895
USER
Who architected that temple ?
(Q17741621,P84,c(Q502895))
action filter_type
action find
entity Q17741621
relation P84
type Q502895
['Q17741621', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q17741621 property:P84 ?u }
Church of St Jerome, Llangwm Uchaf
action filter_type
action find
entity Church of St Jerome, Llangwm Uchaf
relation architect
type common name
['Church of St Jerome, Llangwm Uchaf', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Church_of_St_Jerome,_Llangwm_Uchaf property:architect ?u }
[]
common name
Q6253111
SYSTEM
John Pollard Seddon
Q6253111
(Q17741621,P84,c(Q502895))
action filter_type
action find
entity Q17741621
relation P84
type Q502895
[ANSWER] architected that temple
['Q17741621', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q17741621 property:P84 ?u }
John Pollard Seddon
John Pollard Seddon architected that temple
John Pollard Seddon
action filter_type
action find
entity Church of St Jerome, Llangwm Uchaf
relation architect
type common name
['Church of St Jerome, Llangwm Uchaf', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Church_of_St_Jerome,_Llangwm_Uchaf property:architect ?u }
[]