Simple Question (Direct)
Simple Question
Q5178535
P19
Q56061
USER
Which administrative territory was Courtice Pounds born at ?
(Q5178535,P19,c(Q56061))
action filter_type
action find
entity Q5178535
relation P19
type Q56061
['Q5178535', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5178535 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Courtice Pounds
action filter_type
action find
entity Courtice Pounds
relation place of birth
type administrative territorial entity
['Courtice Pounds', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Courtice_Pounds property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q5178535,P19,c(Q56061))
action filter_type
action find
entity Q5178535
relation P19
type Q56061
Courtice Pounds was born in [ANSWER]
['Q5178535', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5178535 property:P19 ?e . ?e rdf:type ontology:Q56061 }
London
Courtice Pounds was born in London
London
action filter_type
action find
entity Courtice Pounds
relation place of birth
type administrative territorial entity
['Courtice Pounds', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Courtice_Pounds property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5178535
P21
Q290
USER
Which sex does that person belong to ?
(Q84,P21,c(Q290))
action filter_type
action find
entity Q5178535
relation P21
type Q290
['Q84', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q5178535 property:P21 ?p . ?p rdf:type ontology:Q290 }
Courtice Pounds
action filter_type
action find
entity Courtice Pounds
relation gender
type sex
['London', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Courtice_Pounds property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q84,P21,c(Q290))
action filter_type
action find
entity Q5178535
relation P21
type Q290
That person belongs to [ANSWER]
['Q84', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q5178535 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Courtice Pounds
relation gender
type sex
['London', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Courtice_Pounds property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5178535
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q5178535
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q5178535 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Courtice Pounds
action filter_type
action find
entity Courtice Pounds
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Courtice_Pounds property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q2865819 Q33999 Q177220
SYSTEM
opera singer, actor, singer
Q2865819 Q33999 Q177220
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q5178535
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q5178535 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
opera singer actor singer
The professions of that person are opera singer, actor and singer
opera singer actor singer
action filter_type
action find
entity Courtice Pounds
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Courtice_Pounds property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5178535
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2865819,P27,c(Q15617994)) (Q33999,P27,c(Q15617994)) (Q177220,P27,c(Q15617994))
action filter_type
action find
entity Q5178535
relation P27
type Q15617994
['Q2865819', 'P27', {'concept': 'Q15617994'}] ['Q33999', 'P27', {'concept': 'Q15617994'}] ['Q177220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q5178535 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Courtice Pounds
action filter_type
action find
entity Courtice Pounds
relation country of citizenship
type designation for an administrative territorial entity
['opera singer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['singer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Courtice_Pounds property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2865819,P27,c(Q15617994)) (Q33999,P27,c(Q15617994)) (Q177220,P27,c(Q15617994))
action filter_type
action find
entity Q5178535
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2865819', 'P27', {'concept': 'Q15617994'}] ['Q33999', 'P27', {'concept': 'Q15617994'}] ['Q177220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q5178535 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the native country of that person
United Kingdom
action filter_type
action find
entity Courtice Pounds
relation country of citizenship
type designation for an administrative territorial entity
['opera singer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['actor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['singer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Courtice_Pounds property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P194
Q1752346
USER
Which assembly governs that administrative territory ?
(Q145,P194,c(Q1752346))
action filter_type
action find
entity Q145
relation P194
type Q1752346
['Q145', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q145 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
['United Kingdom', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:United_Kingdom property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
assembly
Q11010
SYSTEM
Parliament of the United Kingdom
Q11010
(Q145,P194,c(Q1752346))
action filter_type
action find
entity Q145
relation P194
type Q1752346
[ANSWER] governs that administrative territory
['Q145', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q145 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
Parliament of the United Kingdom
Parliament of the United Kingdom governs that administrative territory
Parliament of the United Kingdom
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
['United Kingdom', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:United_Kingdom property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11010
P17
Q15617994
USER
Which administrative territory is that assembly present in ?
(Q11010,P17,c(Q15617994))
action filter_type
action find
entity Q11010
relation P17
type Q15617994
['Q11010', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q11010 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Parliament of the United Kingdom
action filter_type
action find
entity Parliament of the United Kingdom
relation country
type designation for an administrative territorial entity
['Parliament of the United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Parliament_of_the_United_Kingdom property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q11010,P17,c(Q15617994))
action filter_type
action find
entity Q11010
relation P17
type Q15617994
That assembly is the [ANSWER]
['Q11010', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q11010 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
That assembly is the United Kingdom
United Kingdom
action filter_type
action find
entity Parliament of the United Kingdom
relation country
type designation for an administrative territorial entity
['Parliament of the United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Parliament_of_the_United_Kingdom property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with approximately 21 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 21
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?n = 21 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?n ) WHERE { ?i rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?i property:P530 ?z } GROUP BY ?i } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?n = 21 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?n ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?z } GROUP BY ?i } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
6
Q801 Q805 Q142 Q148 Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 21
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?n = 21 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?n ) WHERE { ?i rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?i property:P530 ?z } GROUP BY ?i } }
Israel Yemen France People's Republic of China Russia United States of America
6
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { FILTER ( ?n = 21 ) . { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?n ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:diplomatic_relation ?z } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q16003605
P921
Q12737077 Q2342494 Q191067
USER
How many occupations were the main subjects of less number of collectables or articles 's work than elementary school student ?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q16003605
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?r WHERE { { ?b property:P921 ?r . ?r rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P921 ?r . ?r rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q191067 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { { ?f rdf:type ontology:Q2342494 } UNION { ?f rdf:type ontology:Q191067 } } . ?f property:P921 resource:Q16003605 } } . FILTER ( ?h < ?m ) }
elementary school student
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity elementary school student
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?r WHERE { { ?b property:main_subject ?r . ?r rdf:type ontology:occupation . ?b rdf:type ontology:collectable } UNION { ?b property:main_subject ?r . ?r rdf:type ontology:occupation . ?b rdf:type ontology:article } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { { ?f rdf:type ontology:collectable } UNION { ?f rdf:type ontology:article } } . ?f property:main_subject resource:elementary_school_student } } . FILTER ( ?h < ?m ) }
[]
occupation collectable article
SYSTEM
74
Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3809586 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q486839 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q17143199 Q384593 Q2095549 Q372436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q16003605
relation P921
type Q2342494
type Q191067
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?r WHERE { { ?b property:P921 ?r . ?r rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P921 ?r . ?r rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q191067 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { { ?f rdf:type ontology:Q2342494 } UNION { ?f rdf:type ontology:Q191067 } } . ?f property:P921 resource:Q16003605 } } . FILTER ( ?h < ?m ) }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Wikipedian in Residence Prime Minister of Hungary seiyū clown farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier member of parliament violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist cartoonist judge nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian photographer peasant missionary United States federal judge musician medical examiner police officer aviator statesman rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
74
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity elementary school student
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?r WHERE { { ?b property:main_subject ?r . ?r rdf:type ontology:occupation . ?b rdf:type ontology:collectable } UNION { ?b property:main_subject ?r . ?r rdf:type ontology:occupation . ?b rdf:type ontology:article } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { { ?f rdf:type ontology:collectable } UNION { ?f rdf:type ontology:article } } . ?f property:main_subject resource:elementary_school_student } } . FILTER ( ?h < ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q14373094
P921
Q12737077 Q2342494 Q191067
USER
And how about rugby league player?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q14373094
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { FILTER ( ?e < ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { { ?z rdf:type ontology:Q2342494 } UNION { ?z rdf:type ontology:Q191067 } } . ?z property:P921 resource:Q14373094 } } . { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } . ?t rdf:type ?w } GROUP BY ?u } }
rugby league player
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity rugby league player
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { FILTER ( ?e < ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { { ?z rdf:type ontology:collectable } UNION { ?z rdf:type ontology:article } } . ?z property:main_subject resource:rugby_league_player } } . { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:article ) } . ?t rdf:type ?w } GROUP BY ?u } }
[]
occupation collectable article
SYSTEM
74
Q15637082 Q911554 Q9045502 Q2666591 Q1124183 Q5185440 Q765778 Q33999 Q36180 Q3809586 Q3315094 Q622807 Q7358 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q2961580 Q14128148 Q814356 Q101539 Q168559 Q1058375 Q16556694 Q4991371 Q486839 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q483501 Q1114448 Q16533 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q17143199 Q384593 Q2095549 Q372436 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q14373094
relation P921
type Q2342494
type Q191067
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { FILTER ( ?e < ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { { ?z rdf:type ontology:Q2342494 } UNION { ?z rdf:type ontology:Q191067 } } . ?z property:P921 resource:Q14373094 } } . { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } . ?t rdf:type ?w } GROUP BY ?u } }
industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve lumberjack Crime scene cleanup organist actor writer Wikipedian in Residence Prime Minister of Hungary seiyū clown farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate taxi driver gridiron football player call girl flight attendant political commissar double agent member of the Lok Sabha soldier member of parliament violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil artist cartoonist judge nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian photographer peasant missionary United States federal judge musician medical examiner police officer aviator statesman rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
74
action count
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity rugby league player
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { FILTER ( ?e < ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { { { ?z rdf:type ontology:collectable } UNION { ?z rdf:type ontology:article } } . ?z property:main_subject resource:rugby_league_player } } . { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:article ) } . ?t rdf:type ?w } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q11010
P463 P21
Q502895
USER
Which people are a member of Parliament of the United Kingdom and are a male ?
AND((c(Q502895),P463,Q11010), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q11010
relation P463
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q11010'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P463 resource:Q11010 . ?q property:P21 resource:Q6581097 }
male Parliament of the United Kingdom
action filter_type
action intersection
action find_reverse
entity Parliament of the United Kingdom
relation member of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Parliament of the United Kingdom'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:member_of resource:Parliament_of_the_United_Kingdom . ?q property:gender resource:male }
[]
common name
Q332540 Q192 Q261001 Q5538377
SYSTEM
Chris Huhne, David Cameron, Shaun Woodward, George Darell Shee
Q332540 Q192 Q261001 Q5538377
AND((c(Q502895),P463,Q11010), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q11010
relation P463
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are a member of Parliament of the United Kingdom and are a male
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q11010'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P463 resource:Q11010 . ?q property:P21 resource:Q6581097 }
Chris Huhne David Cameron Shaun Woodward George Darell Shee
Chris Huhne, David Cameron, Shaun Woodward and George Darell Shee are a member of Parliament of the United Kingdom and are a male
Chris Huhne David Cameron Shaun Woodward George Darell Shee
action filter_type
action intersection
action find_reverse
entity Parliament of the United Kingdom
relation member of
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Parliament of the United Kingdom'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:member_of resource:Parliament_of_the_United_Kingdom . ?q property:gender resource:male }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1179017
P1303
Q34379 Q502895
USER
How many musical instruments can lesser number of people perform with than Daxophone ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1179017
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P1303 resource:Q1179017 . ?s rdf:type ontology:Q502895 } } }
Daxophone
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Daxophone
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:instrument resource:Daxophone . ?s rdf:type ontology:common_name } } }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1179017
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P1303 resource:Q1179017 . ?s rdf:type ontology:Q502895 } } }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Daxophone
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:instrument resource:Daxophone . ?s rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1099153
P1303
Q34379 Q502895
USER
And also tell me about clavinet?
(c(Q502895),P1303,c(Q34379))
action count
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 ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { ?t property:P1303 resource:Q1099153 . ?t rdf:type ontology:Q502895 } } . FILTER ( ?e < ?o ) }
clavinet
action count
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 ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { ?t property:instrument resource:clavinet . ?t rdf:type ontology:common_name } } . FILTER ( ?e < ?o ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
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
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { ?t property:P1303 resource:Q1099153 . ?t rdf:type ontology:Q502895 } } . FILTER ( ?e < ?o ) }
spoon cajón wind instrument
3
action count
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 ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { ?t property:instrument resource:clavinet . ?t rdf:type ontology:common_name } } . FILTER ( ?e < ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P421
Q317623
USER
Where is United Kingdom located in ?
(Q145,P421,c(Q317623))
action filter_type
action find
entity Q145
relation P421
type Q317623
['Q145', 'P421', {'concept': 'Q317623'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P421 ?n . ?n rdf:type ontology:Q317623 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation located in time zone
type technical standard
['United Kingdom', 'located in time zone', {'concept': 'technical standard'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:located_in_time_zone ?n . ?n rdf:type ontology:technical_standard }
[]
technical standard
Q30192
SYSTEM
Greenwich Mean Time
Q30192
(Q145,P421,c(Q317623))
action filter_type
action find
entity Q145
relation P421
type Q317623
United Kingdom is located in the [ANSWER]
['Q145', 'P421', {'concept': 'Q317623'}]
SELECT DISTINCT ?n WHERE { resource:Q145 property:P421 ?n . ?n rdf:type ontology:Q317623 }
Greenwich Mean Time
United Kingdom is located in the Greenwich Mean Time
Greenwich Mean Time
action filter_type
action find
entity United Kingdom
relation located in time zone
type technical standard
['United Kingdom', 'located in time zone', {'concept': 'technical standard'}]
SELECT DISTINCT ?n WHERE { resource:United_Kingdom property:located_in_time_zone ?n . ?n rdf:type ontology:technical_standard }
[]