Simple Question (Direct)
Simple Question
Q6145105
P19
Q56061
USER
Which administrative territory was James Walter Wall born at ?
(Q6145105,P19,c(Q56061))
action filter_type
action find
entity Q6145105
relation P19
type Q56061
['Q6145105', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q6145105 property:P19 ?p . ?p rdf:type ontology:Q56061 }
James Walter Wall
action filter_type
action find
entity James Walter Wall
relation place of birth
type administrative territorial entity
['James Walter Wall', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:James_Walter_Wall property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25330
SYSTEM
Trenton
Q25330
(Q6145105,P19,c(Q56061))
action filter_type
action find
entity Q6145105
relation P19
type Q56061
James Walter Wall was born in [ANSWER]
['Q6145105', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q6145105 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Trenton
James Walter Wall was born in Trenton
Trenton
action filter_type
action find
entity James Walter Wall
relation place of birth
type administrative territorial entity
['James Walter Wall', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:James_Walter_Wall property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25330
P915
Q838948
USER
Which work of art was filmed in the location that administrative territory ?
(c(Q838948),P915,Q25330)
action filter_type
action find_reverse
entity Q25330
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q25330']
SELECT DISTINCT ?t WHERE { ?t property:P915 resource:Q25330 . ?t rdf:type ontology:Q838948 }
Trenton
action filter_type
action find_reverse
entity Trenton
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Trenton']
SELECT DISTINCT ?t WHERE { ?t property:filming_location resource:Trenton . ?t rdf:type ontology:work_of_art }
[]
work of art
Q832732
SYSTEM
The Hurricane
Q832732
(c(Q838948),P915,Q25330)
action filter_type
action find_reverse
entity Q25330
relation P915
type Q838948
[ANSWER] was filmed in the location that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q25330']
SELECT DISTINCT ?t WHERE { ?t property:P915 resource:Q25330 . ?t rdf:type ontology:Q838948 }
The Hurricane
The Hurricane was filmed in the location that administrative territory
The Hurricane
action filter_type
action find_reverse
entity Trenton
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Trenton']
SELECT DISTINCT ?t WHERE { ?t property:filming_location resource:Trenton . ?t rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25330
P931
Q62447
USER
What city is served by that administrative territory ?
(c(Q62447),P931,Q832732)
action filter_type
action find_reverse
entity Q25330
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q832732']
SELECT DISTINCT ?x WHERE { ?x property:P931 resource:Q25330 . ?x rdf:type ontology:Q62447 }
Trenton
action filter_type
action find_reverse
entity Trenton
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'The Hurricane']
SELECT DISTINCT ?x WHERE { ?x property:place_served_by_airport resource:Trenton . ?x rdf:type ontology:aerodrome }
[]
aerodrome
Q6588251
SYSTEM
Trenton-Mercer Airport
Q6588251
(c(Q62447),P931,Q832732)
action filter_type
action find_reverse
entity Q25330
relation P931
type Q62447
[ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q832732']
SELECT DISTINCT ?x WHERE { ?x property:P931 resource:Q25330 . ?x rdf:type ontology:Q62447 }
Trenton-Mercer Airport
Trenton-Mercer Airport is served by that administrative territory
Trenton-Mercer Airport
action filter_type
action find_reverse
entity Trenton
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'The Hurricane']
SELECT DISTINCT ?x WHERE { ?x property:place_served_by_airport resource:Trenton . ?x rdf:type ontology:aerodrome }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q6588251 Q243408
P17
Q15617994
USER
Does that aerodrome belong to Sant'Angelo Romano ?
(Q6588251,P17,Q243408)
action is_in
entity Q243408
action find
entity Q6588251
relation P17
['Q6588251', 'P17', 'Q243408']
ASK WHERE { resource:Q6588251 property:P17 resource:Q243408 }
Trenton-Mercer Airport Sant'Angelo Romano
action is_in
entity Sant'Angelo Romano
action find
entity Trenton-Mercer Airport
relation country
['Trenton-Mercer Airport', 'country', "Sant'Angelo Romano"]
ASK WHERE { resource:Trenton-Mercer_Airport property:country resource:Sant'Angelo_Romano }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6588251,P17,Q243408)
action is_in
entity Q243408
action find
entity Q6588251
relation P17
[ANSWER]
['Q6588251', 'P17', 'Q243408']
ASK WHERE { resource:Q6588251 property:P17 resource:Q243408 }
No
action is_in
entity Sant'Angelo Romano
action find
entity Trenton-Mercer Airport
relation country
['Trenton-Mercer Airport', 'country', "Sant'Angelo Romano"]
ASK WHERE { resource:Trenton-Mercer_Airport property:country resource:Sant'Angelo_Romano }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q62447 Q3839081
USER
Which disasters have exactly 1 aerodrome as their destination point ?
(c(Q3839081),P1444,c(Q62447))
action equal
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
value 1
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?i ) WHERE { ?w property:P1444 ?j . ?w rdf:type ontology:Q3839081 . ?j rdf:type ontology:Q62447 } GROUP BY ?w } }
action equal
action find_tuple_counts
relation destination point
type disaster
type aerodrome
value 1
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?i ) WHERE { ?w property:destination_point ?j . ?w rdf:type ontology:disaster . ?j rdf:type ontology:aerodrome } GROUP BY ?w } }
[]
aerodrome disaster
Q223288 Q17374096 Q251039
SYSTEM
Tenerife airport disaster, Malaysia Airlines Flight 17, US Airways Flight 1549
Q173973 Q21995232 Q251039 Q4217221 Q1434078 Q783597 Q17988809 Q24091473 Q23253749 Q16894153 Q7672526 Q1326918 Q4816544 Q2634895 Q23936619 Q24908390 Q1428147 Q4016231 Q20823597 Q3562572 Q17374096 Q19569675 Q941612 Q7184944 Q18380400 Q4919790 Q2335758 Q4969273 Q17410088 Q18147604 Q2822699 Q381183 Q131311 Q1467946 Q223288
(c(Q3839081),P1444,c(Q62447))
action equal
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
value 1
[ANSWERS] have exactly 1 aerodrome as their destination point
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?i ) WHERE { ?w property:P1444 ?j . ?w rdf:type ontology:Q3839081 . ?j rdf:type ontology:Q62447 } GROUP BY ?w } }
Swissair Flight 306 West Air Sweden Flight 294 US Airways Flight 1549 PIA Flight 705 1972 Königs Wusterhausen air disaster American Airlines Flight 1420 2014 SOCATA TBM crash EgyptAir Flight 804 Flydubai Flight 981 LIAT Flight 319 TWA Flight 841 Ethiopian Airlines Flight 961 Atlantic Southeast Airlines Flight 2311 Nigeria Airways Flight 2120 2016 Turøy helicopter crash 2016 Sunbird Aviation crash Banat Air Flight 166 Airlines PNG Flight 4684 Trigana Air Service Flight 257 Inex-Adria Aviopromet Flight 1308 Malaysia Airlines Flight 17 Delta Air Lines Flight 1086 American Airlines Flight 965 Philippine Airlines Flight 143 2014 Wichita plane crash Thai Airways International Flight 311 Gulf Air Flight 771 Britannia Airways Flight 105 Air Algérie Flight 5017 Aero Flight 217 1955 MacArthur Airport United Airlines crash Aero Flight 311 2010 Polish Air Force Tu-154 crash Malaysian Airline System Flight 653 Tenerife airport disaster
Tenerife airport disaster, Malaysia Airlines Flight 17 and US Airways Flight 1549 have exactly 1 aerodrome as their destination point
Tenerife airport disaster Malaysia Airlines Flight 17 US Airways Flight 1549
action equal
action find_tuple_counts
relation destination point
type disaster
type aerodrome
value 1
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?i ) WHERE { ?w property:destination_point ?j . ?w rdf:type ontology:disaster . ?j rdf:type ontology:aerodrome } GROUP BY ?w } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25330
P36
Q852446
USER
Which US administrative territory consists of Trenton as its capital ?
(c(Q852446),P36,Q25330)
action filter_type
action find_reverse
entity Q25330
relation P36
type Q852446
[{'concept': 'Q852446'}, 'P36', 'Q25330']
SELECT DISTINCT ?i WHERE { ?i property:P36 resource:Q25330 . ?i rdf:type ontology:Q852446 }
Trenton
action filter_type
action find_reverse
entity Trenton
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Trenton']
SELECT DISTINCT ?i WHERE { ?i property:capital resource:Trenton . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1408
SYSTEM
New Jersey
Q1408
(c(Q852446),P36,Q25330)
action filter_type
action find_reverse
entity Q25330
relation P36
type Q852446
The [ANSWER] consists of Trenton as its capital
[{'concept': 'Q852446'}, 'P36', 'Q25330']
SELECT DISTINCT ?i WHERE { ?i property:P36 resource:Q25330 . ?i rdf:type ontology:Q852446 }
New Jersey
The New Jersey consists of Trenton as its capital
New Jersey
action filter_type
action find_reverse
entity Trenton
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Trenton']
SELECT DISTINCT ?i WHERE { ?i property:capital resource:Trenton . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25330
P276
Q1190554
USER
Which events have their location as Trenton ?
(c(Q1190554),P276,Q25330)
action filter_type
action find_reverse
entity Q25330
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q25330']
SELECT DISTINCT ?z WHERE { ?z property:P276 resource:Q25330 . ?z rdf:type ontology:Q1190554 }
Trenton
action filter_type
action find_reverse
entity Trenton
relation location
type event
[{'concept': 'event'}, 'location', 'Trenton']
SELECT DISTINCT ?z WHERE { ?z property:location resource:Trenton . ?z rdf:type ontology:event }
[]
event
Q233417 Q653664
SYSTEM
Battle of the Assunpink Creek, Battle of Trenton
Q233417 Q653664
(c(Q1190554),P276,Q25330)
action filter_type
action find_reverse
entity Q25330
relation P276
type Q1190554
The [ANSWERS] have their location as Trenton
[{'concept': 'Q1190554'}, 'P276', 'Q25330']
SELECT DISTINCT ?z WHERE { ?z property:P276 resource:Q25330 . ?z rdf:type ontology:Q1190554 }
Battle of the Assunpink Creek Battle of Trenton
The Battle of the Assunpink Creek and Battle of Trenton have their location as Trenton
Battle of the Assunpink Creek Battle of Trenton
action filter_type
action find_reverse
entity Trenton
relation location
type event
[{'concept': 'event'}, 'location', 'Trenton']
SELECT DISTINCT ?z WHERE { ?z property:location resource:Trenton . ?z rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q233417 Q653664
P276
Q56061
USER
Which administrative territories are the locations of Battle of the Assunpink Creek and Battle of Trenton ?
(Q233417,P276,c(Q56061)) (Q653664,P276,c(Q56061))
action union
action filter_type
action find
entity Q233417
relation P276
type Q56061
action filter_type
action find
entity Q653664
relation P276
type Q56061
['Q233417', 'P276', {'concept': 'Q56061'}] ['Q653664', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Q233417 ) ( resource:Q653664 ) } . ?b property:P276 ?j }
Battle of the Assunpink Creek Battle of Trenton
action union
action filter_type
action find
entity Battle of the Assunpink Creek
relation location
type administrative territorial entity
action filter_type
action find
entity Battle of Trenton
relation location
type administrative territorial entity
['Battle of the Assunpink Creek', 'location', {'concept': 'administrative territorial entity'}] ['Battle of Trenton', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Battle_of_the_Assunpink_Creek ) ( resource:Battle_of_Trenton ) } . ?b property:location ?j }
[]
administrative territorial entity
Q25330 Q25330
SYSTEM
Trenton
Q25330 Q25330
(Q233417,P276,c(Q56061)) (Q653664,P276,c(Q56061))
action union
action filter_type
action find
entity Q233417
relation P276
type Q56061
action filter_type
action find
entity Q653664
relation P276
type Q56061
[ANSWER] and [ANSWER] are the locations of Battle of the Assunpink Creek and Battle of [ANSWER]
['Q233417', 'P276', {'concept': 'Q56061'}] ['Q653664', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Q233417 ) ( resource:Q653664 ) } . ?b property:P276 ?j }
Trenton Trenton
Trenton and Trenton are the locations of Battle of the Assunpink Creek and Battle of Trenton
Trenton Trenton
action union
action filter_type
action find
entity Battle of the Assunpink Creek
relation location
type administrative territorial entity
action filter_type
action find
entity Battle of Trenton
relation location
type administrative territorial entity
['Battle of the Assunpink Creek', 'location', {'concept': 'administrative territorial entity'}] ['Battle of Trenton', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Battle_of_the_Assunpink_Creek ) ( resource:Battle_of_Trenton ) } . ?b property:location ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q34863
Q852446
USER
And also tell me about Oklahoma City?
(Q34863,P1376,c(Q852446))
action filter_type
action find
entity Q34863
relation P1376
type Q852446
['Q34863', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?v WHERE { resource:Q34863 property:P1376 ?v . ?v rdf:type ontology:Q852446 }
Oklahoma City
action filter_type
action find
entity Oklahoma City
relation capital of
type administrative territorial entity of the United States
['Oklahoma City', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?v WHERE { resource:Oklahoma_City property:capital_of ?v . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1649
SYSTEM
Oklahoma
Q1649
(Q34863,P1376,c(Q852446))
action filter_type
action find
entity Q34863
relation P1376
type Q852446
[ANSWER]
['Q34863', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?v WHERE { resource:Q34863 property:P1376 ?v . ?v rdf:type ontology:Q852446 }
Oklahoma
Oklahoma
action filter_type
action find
entity Oklahoma City
relation capital of
type administrative territorial entity of the United States
['Oklahoma City', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?v WHERE { resource:Oklahoma_City property:capital_of ?v . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q285714
P194
Q11204 Q852446
USER
Which legislatures are the representative bodies for more number of US administrative territories than Northern Ireland Assembly ?
(c(Q852446),P194,c(Q11204))
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q852446
action count
action filter_type
action find
entity Q285714
relation P194
type Q11204
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P194 ?b . ?b rdf:type ontology:Q11204 . ?l rdf:type ontology:Q852446 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q285714 property:P194 ?w . ?w rdf:type ontology:Q11204 } } . FILTER ( ?v > ?x ) }
Northern Ireland Assembly
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Northern Ireland Assembly
relation legislative body
type legislature
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:legislative_body ?b . ?b rdf:type ontology:legislature . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Northern_Ireland_Assembly property:legislative_body ?w . ?w rdf:type ontology:legislature } } . FILTER ( ?v > ?x ) }
[]
legislature administrative territorial entity of the United States
Q6064424 Q7101257 Q7320919
SYSTEM
Iowa General Assembly, Oregon Legislative Assembly, Rhode Island General Assembly
Q6064424 Q2304409 Q2867079 Q3556484 Q7700086 Q3084210 Q7101257 Q2653964 Q6879217 Q7320919 Q530970 Q980284 Q2867077 Q5684411 Q7010195 Q10566065 Q2747168 Q3634937 Q7972258 Q5253303 Q7008154 Q1437547 Q1453540 Q3270273 Q3270271 Q3270276 Q3270274 Q7080820 Q7986861 Q2747172 Q5161534 Q5148810 Q3270268 Q3270265 Q583952 Q7055026 Q2384499 Q6879566 Q4256974 Q996610 Q719894 Q10566263 Q6689290 Q2867076 Q6392265 Q1117432 Q3103766 Q3555619 Q3567567 Q2749841
(c(Q852446),P194,c(Q11204))
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q852446
action count
action filter_type
action find
entity Q285714
relation P194
type Q11204
[ANSWERS] are the representative bodies for more number of US administrative territories than Northern Ireland Assembly
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P194 ?b . ?b rdf:type ontology:Q11204 . ?l rdf:type ontology:Q852446 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Q285714 property:P194 ?w . ?w rdf:type ontology:Q11204 } } . FILTER ( ?v > ?x ) }
Iowa General Assembly South Dakota Legislature New Jersey Legislature Florida Legislature Tennessee General Assembly California State Legislature Oregon Legislative Assembly Texas Legislature Mississippi Legislature Rhode Island General Assembly Virginia General Assembly South Carolina General Assembly Pennsylvania General Assembly Hawaii State Legislature New Mexico Legislature Maryland General Assembly Arkansas General Assembly Indiana General Assembly Washington State Legislature Delaware General Assembly New Hampshire General Court Illinois General Assembly Massachusetts General Court Michigan Legislature Kansas Legislature Wyoming Legislature Wisconsin Legislature Ohio General Assembly West Virginia Legislature Arizona State Legislature Connecticut General Assembly Colorado General Assembly New York State Legislature Alabama Legislature Oklahoma Legislature North Dakota Legislative Assembly Utah State Legislature Missouri General Assembly Idaho Legislature Nebraska Legislature Alaska Legislature North Carolina General Assembly Louisiana State Legislature Vermont General Assembly Kentucky General Assembly Minnesota Legislature Georgia General Assembly Nevada Legislature Montana Legislature Maine Legislature
Iowa General Assembly, Oregon Legislative Assembly and Rhode Island General Assembly are the representative bodies for more number of US administrative territories than Northern Ireland Assembly
Iowa General Assembly Oregon Legislative Assembly Rhode Island General Assembly
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Northern Ireland Assembly
relation legislative body
type legislature
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:legislative_body ?b . ?b rdf:type ontology:legislature . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { resource:Northern_Ireland_Assembly property:legislative_body ?w . ?w rdf:type ontology:legislature } } . FILTER ( ?v > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q5783837
P194
Q11204 Q852446
USER
And how about Legislative Council of Cojedes?
(c(Q852446),P194,c(Q11204))
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q852446
action count
action filter_type
action find
entity Q5783837
relation P194
type Q11204
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?x ) WHERE { ?r rdf:type ontology:Q11204 . ?p rdf:type ontology:Q852446 . ?p property:P194 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Q5783837 property:P194 ?l . ?l rdf:type ontology:Q11204 } } . FILTER ( ?x > ?z ) }
Legislative Council of Cojedes
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Legislative Council of Cojedes
relation legislative body
type legislature
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?x ) WHERE { ?r rdf:type ontology:legislature . ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?p property:legislative_body ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Legislative_Council_of_Cojedes property:legislative_body ?l . ?l rdf:type ontology:legislature } } . FILTER ( ?x > ?z ) }
[]
legislature administrative territorial entity of the United States
Q6064424 Q7101257 Q7320919
SYSTEM
Iowa General Assembly, Oregon Legislative Assembly, Rhode Island General Assembly
Q6064424 Q2304409 Q2867079 Q3556484 Q7700086 Q3084210 Q7101257 Q2653964 Q6879217 Q7320919 Q530970 Q980284 Q2867077 Q5684411 Q7010195 Q10566065 Q2747168 Q3634937 Q7972258 Q5253303 Q7008154 Q1437547 Q1453540 Q3270273 Q3270271 Q3270276 Q3270274 Q7080820 Q7986861 Q2747172 Q5161534 Q5148810 Q3270268 Q3270265 Q583952 Q7055026 Q2384499 Q6879566 Q4256974 Q996610 Q719894 Q10566263 Q6689290 Q2867076 Q6392265 Q1117432 Q3103766 Q3555619 Q3567567 Q2749841
(c(Q852446),P194,c(Q11204))
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q852446
action count
action filter_type
action find
entity Q5783837
relation P194
type Q11204
[ANSWERS]
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?x ) WHERE { ?r rdf:type ontology:Q11204 . ?p rdf:type ontology:Q852446 . ?p property:P194 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Q5783837 property:P194 ?l . ?l rdf:type ontology:Q11204 } } . FILTER ( ?x > ?z ) }
Iowa General Assembly South Dakota Legislature New Jersey Legislature Florida Legislature Tennessee General Assembly California State Legislature Oregon Legislative Assembly Texas Legislature Mississippi Legislature Rhode Island General Assembly Virginia General Assembly South Carolina General Assembly Pennsylvania General Assembly Hawaii State Legislature New Mexico Legislature Maryland General Assembly Arkansas General Assembly Indiana General Assembly Washington State Legislature Delaware General Assembly New Hampshire General Court Illinois General Assembly Massachusetts General Court Michigan Legislature Kansas Legislature Wyoming Legislature Wisconsin Legislature Ohio General Assembly West Virginia Legislature Arizona State Legislature Connecticut General Assembly Colorado General Assembly New York State Legislature Alabama Legislature Oklahoma Legislature North Dakota Legislative Assembly Utah State Legislature Missouri General Assembly Idaho Legislature Nebraska Legislature Alaska Legislature North Carolina General Assembly Louisiana State Legislature Vermont General Assembly Kentucky General Assembly Minnesota Legislature Georgia General Assembly Nevada Legislature Montana Legislature Maine Legislature
Iowa General Assembly Oregon Legislative Assembly Rhode Island General Assembly
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Legislative Council of Cojedes
relation legislative body
type legislature
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?p ) AS ?x ) WHERE { ?r rdf:type ontology:legislature . ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?p property:legislative_body ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Legislative_Council_of_Cojedes property:legislative_body ?l . ?l rdf:type ontology:legislature } } . FILTER ( ?x > ?z ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P248
Q11204 Q502895
USER
Which legislatures are more number of people mentioned first than that legislature ?
(c(Q502895),P248,c(Q11204))
[{'concept': 'Q502895'}, 'P248', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { ?z property:P248 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q11204 }
[{'concept': 'common name'}, 'stated in', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { ?z property:stated_in ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:legislature }
[]
legislature common name
Comparative|More/Less|Single entity type|Clarification
Q6064424
SYSTEM
Did you mean Iowa General Assembly ?
(c(Q502895),P248,c(Q11204))
[ANSWER]
[{'concept': 'Q502895'}, 'P248', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { ?z property:P248 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q11204 }
Did you mean Iowa General Assembly ?
Iowa General Assembly
[{'concept': 'common name'}, 'stated in', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { ?z property:stated_in ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:legislature }
[]
Comparative Reasoning (All)
USER
No, I meant Oregon Legislative Assembly. Could you tell me the answer for that?
(c(Q502895),P248,c(Q11204))
Q7101257
[{'concept': 'Q502895'}, 'P248', {'concept': 'Q11204'}]
[{'concept': 'common name'}, 'stated in', {'concept': 'legislature'}]
[]
Q1492249
SYSTEM
National Assembly of Quebec
Q1492249
(c(Q502895),P248,c(Q11204))
[ANSWER] is more number of people mentioned first than that legislature
[{'concept': 'Q502895'}, 'P248', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { ?z property:P248 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q11204 }
National Assembly of Quebec
National Assembly of Quebec is more number of people mentioned first than that legislature
National Assembly of Quebec
[{'concept': 'common name'}, 'stated in', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { ?z property:stated_in ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:legislature }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1492249 Q1319191
P248
Q502895
USER
Has Svend Stouge been stated in that legislature ?
(Q1319191,P248,Q1492249)
action is_in
entity Q1319191
action find
entity Q1492249
relation P248
['Q1319191', 'P248', 'Q1492249']
ASK WHERE { resource:Q1492249 property:P248 resource:Q1319191 }
National Assembly of Quebec Svend Stouge
action is_in
entity Svend Stouge
action find
entity National Assembly of Quebec
relation stated in
['Svend Stouge', 'stated in', 'National Assembly of Quebec']
ASK WHERE { resource:National_Assembly_of_Quebec property:stated_in resource:Svend_Stouge }
[]
common name
SYSTEM
NO
(Q1319191,P248,Q1492249)
action is_in
entity Q1319191
action find
entity Q1492249
relation P248
[ANSWER]
['Q1319191', 'P248', 'Q1492249']
ASK WHERE { resource:Q1492249 property:P248 resource:Q1319191 }
No
action is_in
entity Svend Stouge
action find
entity National Assembly of Quebec
relation stated in
['Svend Stouge', 'stated in', 'National Assembly of Quebec']
ASK WHERE { resource:National_Assembly_of_Quebec property:stated_in resource:Svend_Stouge }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q56061 Q1048835 Q11204
USER
How many legislatures preside the jurisdiction over exactly 1 administrative territories and political territories ?
(c(Q11204),P1001,c(Q56061)|c(Q1048835))
action count
action equal
action union
action find_tuple_counts
relation P1001
type Q11204
type Q56061
action find_tuple_counts
relation P1001
type Q11204
type Q1048835
value 1
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?g WHERE { { ?g property:P1001 ?k . ?k rdf:type ontology:Q56061 . ?g rdf:type ontology:Q11204 } UNION { ?g property:P1001 ?k . ?g rdf:type ontology:Q11204 . ?k rdf:type ontology:Q1048835 } } GROUP BY ?g } }
action count
action equal
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type legislature
type political territorial entity
value 1
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?g WHERE { { ?g property:applies_to_jurisdiction ?k . ?k rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:legislature } UNION { ?g property:applies_to_jurisdiction ?k . ?g rdf:type ontology:legislature . ?k rdf:type ontology:political_territorial_entity } } GROUP BY ?g } }
[]
administrative territorial entity political territorial entity legislature
SYSTEM
24
Q7101400 Q6386149 Q1144019 Q5261561 Q7082403 Q135630 Q7058463 Q5025648 Q17081929 Q285714 Q6518465 Q7450030 Q5399679 Q3658756 Q146138 Q775994 Q16934215 Q6518241 Q6527389 Q7604031 Q5261430 Q17017103 Q16996347 Q4791449
(c(Q11204),P1001,c(Q56061)|c(Q1048835))
action count
action equal
action union
action find_tuple_counts
relation P1001
type Q11204
type Q56061
action find_tuple_counts
relation P1001
type Q11204
type Q1048835
value 1
[ANSWER]
[{'concept': 'Q11204'}, 'P1001', [{'concept': 'Q56061'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?g WHERE { { ?g property:P1001 ?k . ?k rdf:type ontology:Q56061 . ?g rdf:type ontology:Q11204 } UNION { ?g property:P1001 ?k . ?g rdf:type ontology:Q11204 . ?k rdf:type ontology:Q1048835 } } GROUP BY ?g } }
Oregon Territorial Legislature Lancashire County Council Bournemouth Borough Council Derbyshire County Council Oklahoma Territorial Legislature Parliament of Catalonia Northern Ireland Assembly Cambridgeshire County Council Western Cape Provincial Parliament Northern Ireland Assembly Legislature of the Virgin Islands Senate of Northern Ireland Essex County Council San Francisco Board of Supervisors Bundesrat Council of Paris Nottinghamshire County Council Legislative Council of Newfoundland Council of the District of Columbia States of Alderney Derby City Council North Yorkshire County Council Lincolnshire County Council Arizona Territorial Legislature
24
action count
action equal
action union
action find_tuple_counts
relation applies to jurisdiction
type legislature
type administrative territorial entity
action find_tuple_counts
relation applies to jurisdiction
type legislature
type political territorial entity
value 1
[{'concept': 'legislature'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?g WHERE { { ?g property:applies_to_jurisdiction ?k . ?k rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:legislature } UNION { ?g property:applies_to_jurisdiction ?k . ?g rdf:type ontology:legislature . ?k rdf:type ontology:political_territorial_entity } } GROUP BY ?g } }
[]