Simple Question (Direct)
Simple Question
Q7347389
P937
Q56061
USER
What is the work location of Robert Martin ?
(Q7347389,P937,c(Q56061))
action filter_type
action find
entity Q7347389
relation P937
type Q56061
['Q7347389', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q7347389 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Robert Martin
action filter_type
action find
entity Robert Martin
relation work location
type administrative territorial entity
['Robert Martin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Robert_Martin property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25330
SYSTEM
Trenton
Q25330
(Q7347389,P937,c(Q56061))
action filter_type
action find
entity Q7347389
relation P937
type Q56061
The work location of Robert Martin is in [ANSWER]
['Q7347389', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q7347389 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Trenton
The work location of Robert Martin is in Trenton
Trenton
action filter_type
action find
entity Robert Martin
relation work location
type administrative territorial entity
['Robert Martin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Robert_Martin property:work_location ?n . ?n 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 ?z WHERE { ?z property:P915 resource:Q25330 . ?z 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 ?z WHERE { ?z property:filming_location resource:Trenton . ?z 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 ?z WHERE { ?z property:P915 resource:Q25330 . ?z 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 ?z WHERE { ?z property:filming_location resource:Trenton . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25330
P1376
Q852446
USER
Which US administrative territory has Trenton as its capital ?
(Q25330,P1376,c(Q852446))
action filter_type
action find
entity Q25330
relation P1376
type Q852446
['Q25330', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?e WHERE { resource:Q25330 property:P1376 ?e . ?e rdf:type ontology:Q852446 }
Trenton
action filter_type
action find
entity Trenton
relation capital of
type administrative territorial entity of the United States
['Trenton', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?e WHERE { resource:Trenton property:capital_of ?e . ?e rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1408
SYSTEM
New Jersey
Q1408
(Q25330,P1376,c(Q852446))
action filter_type
action find
entity Q25330
relation P1376
type Q852446
[ANSWER] has Trenton as its capital
['Q25330', 'P1376', {'concept': 'Q852446'}]
SELECT DISTINCT ?e WHERE { resource:Q25330 property:P1376 ?e . ?e rdf:type ontology:Q852446 }
New Jersey
New Jersey has Trenton as its capital
New Jersey
action filter_type
action find
entity Trenton
relation capital of
type administrative territorial entity of the United States
['Trenton', 'capital of', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?e WHERE { resource:Trenton property:capital_of ?e . ?e rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q25330
P931
Q62447
USER
Which aerodrome is served by that administrative territory ?
(c(Q62447),P931,Q1408)
action filter_type
action find_reverse
entity Q25330
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q1408']
SELECT DISTINCT ?u WHERE { ?u property:P931 resource:Q25330 . ?u 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', 'New Jersey']
SELECT DISTINCT ?u WHERE { ?u property:place_served_by_airport resource:Trenton . ?u rdf:type ontology:aerodrome }
[]
aerodrome
Q6588251
SYSTEM
Trenton-Mercer Airport
Q6588251
(c(Q62447),P931,Q1408)
action filter_type
action find_reverse
entity Q25330
relation P931
type Q62447
[ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q1408']
SELECT DISTINCT ?u WHERE { ?u property:P931 resource:Q25330 . ?u 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', 'New Jersey']
SELECT DISTINCT ?u WHERE { ?u property:place_served_by_airport resource:Trenton . ?u rdf:type ontology:aerodrome }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6588251 Q16477926 Q25330
P931
Q56061
USER
Is Trenton-Mercer Airport served by Šatinskai and Trenton ?
(Q6588251,P931,Q16477926) (Q6588251,P931,Q25330)
action is_in
entity Q6588251
action intersection
action find_reverse
entity Q16477926
relation P931
action find_reverse
entity Q25330
relation P931
['Q6588251', 'P931', 'Q16477926'] ['Q6588251', 'P931', 'Q25330']
ASK WHERE { resource:Q6588251 property:P931 resource:Q16477926 . resource:Q6588251 property:P931 resource:Q25330 }
Trenton-Mercer Airport Šatinskai Trenton
action is_in
entity Trenton-Mercer Airport
action intersection
action find_reverse
entity Šatinskai
relation place served by airport
action find_reverse
entity Trenton
relation place served by airport
['Trenton-Mercer Airport', 'place served by airport', 'Šatinskai'] ['Trenton-Mercer Airport', 'place served by airport', 'Trenton']
ASK WHERE { resource:Trenton-Mercer_Airport property:place_served_by_airport resource:Šatinskai . resource:Trenton-Mercer_Airport property:place_served_by_airport resource:Trenton }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q6588251,P931,Q16477926) (Q6588251,P931,Q25330)
action is_in
entity Q6588251
action intersection
action find_reverse
entity Q16477926
relation P931
action find_reverse
entity Q25330
relation P931
[ANSWER]
['Q6588251', 'P931', 'Q16477926'] ['Q6588251', 'P931', 'Q25330']
ASK WHERE { resource:Q6588251 property:P931 resource:Q16477926 . resource:Q6588251 property:P931 resource:Q25330 }
NO and YES respectively
action is_in
entity Trenton-Mercer Airport
action intersection
action find_reverse
entity Šatinskai
relation place served by airport
action find_reverse
entity Trenton
relation place served by airport
['Trenton-Mercer Airport', 'place served by airport', 'Šatinskai'] ['Trenton-Mercer Airport', 'place served by airport', 'Trenton']
ASK WHERE { resource:Trenton-Mercer_Airport property:place_served_by_airport resource:Šatinskai . resource:Trenton-Mercer_Airport property:place_served_by_airport resource:Trenton }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q173973
P1444
Q62447 Q3839081
USER
How many disasters ends at approximately the same number of aerodromes as Swissair Flight 306 ?
(c(Q3839081),P1444,c(Q62447))
action count
action approx
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
action count
action filter_type
action find
entity Q173973
relation P1444
type Q3839081
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?i ) WHERE { ?l property:P1444 ?f . ?l rdf:type ontology:Q3839081 . ?f rdf:type ontology:Q62447 } GROUP BY ?l } . FILTER ( ?i = ?n ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Q173973 property:P1444 ?k . ?k rdf:type ontology:Q3839081 } } }
Swissair Flight 306
action count
action approx
action find_tuple_counts
relation destination point
type disaster
type aerodrome
action count
action filter_type
action find
entity Swissair Flight 306
relation destination point
type disaster
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?i ) WHERE { ?l property:destination_point ?f . ?l rdf:type ontology:disaster . ?f rdf:type ontology:aerodrome } GROUP BY ?l } . FILTER ( ?i = ?n ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Swissair_Flight_306 property:destination_point ?k . ?k rdf:type ontology:disaster } } }
[]
aerodrome disaster
SYSTEM
35
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 count
action approx
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
action count
action filter_type
action find
entity Q173973
relation P1444
type Q3839081
[ANSWER]
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?i ) WHERE { ?l property:P1444 ?f . ?l rdf:type ontology:Q3839081 . ?f rdf:type ontology:Q62447 } GROUP BY ?l } . FILTER ( ?i = ?n ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Q173973 property:P1444 ?k . ?k rdf:type ontology:Q3839081 } } }
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
35
action count
action approx
action find_tuple_counts
relation destination point
type disaster
type aerodrome
action count
action filter_type
action find
entity Swissair Flight 306
relation destination point
type disaster
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?i ) WHERE { ?l property:destination_point ?f . ?l rdf:type ontology:disaster . ?f rdf:type ontology:aerodrome } GROUP BY ?l } . FILTER ( ?i = ?n ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { resource:Swissair_Flight_306 property:destination_point ?k . ?k rdf:type ontology:disaster } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q4969273
P1444
Q62447 Q3839081
USER
And how about Britannia Airways Flight 105?
(c(Q3839081),P1444,c(Q62447))
action count
action approx
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
action count
action filter_type
action find
entity Q4969273
relation P1444
type Q3839081
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?w ) WHERE { ?m property:P1444 ?l . ?m rdf:type ontology:Q3839081 . ?l rdf:type ontology:Q62447 } GROUP BY ?m } . FILTER ( ?w = ?k ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:Q3839081 . resource:Q4969273 property:P1444 ?t } } }
Britannia Airways Flight 105
action count
action approx
action find_tuple_counts
relation destination point
type disaster
type aerodrome
action count
action filter_type
action find
entity Britannia Airways Flight 105
relation destination point
type disaster
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?w ) WHERE { ?m property:destination_point ?l . ?m rdf:type ontology:disaster . ?l rdf:type ontology:aerodrome } GROUP BY ?m } . FILTER ( ?w = ?k ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:disaster . resource:Britannia_Airways_Flight_105 property:destination_point ?t } } }
[]
aerodrome disaster
SYSTEM
35
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 count
action approx
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
action count
action filter_type
action find
entity Q4969273
relation P1444
type Q3839081
[ANSWER]
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?w ) WHERE { ?m property:P1444 ?l . ?m rdf:type ontology:Q3839081 . ?l rdf:type ontology:Q62447 } GROUP BY ?m } . FILTER ( ?w = ?k ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:Q3839081 . resource:Q4969273 property:P1444 ?t } } }
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
35
action count
action approx
action find_tuple_counts
relation destination point
type disaster
type aerodrome
action count
action filter_type
action find
entity Britannia Airways Flight 105
relation destination point
type disaster
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?w ) WHERE { ?m property:destination_point ?l . ?m rdf:type ontology:disaster . ?l rdf:type ontology:aerodrome } GROUP BY ?m } . FILTER ( ?w = ?k ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t rdf:type ontology:disaster . resource:Britannia_Airways_Flight_105 property:destination_point ?t } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q852446 Q2342494 Q166142
USER
Which US administrative territories are the narrative locations of atleast 73 collectables or applications ?
(c(Q2342494)|c(Q166142),P840,c(Q852446))
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
value 73
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?w WHERE { { ?h property:P840 ?w . ?w rdf:type ontology:Q852446 . ?h rdf:type ontology:Q166142 } UNION { ?h property:P840 ?w . ?w rdf:type ontology:Q852446 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?w } . FILTER ( ?r >= 73 ) }
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
value 73
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?w WHERE { { ?h property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?h rdf:type ontology:application } UNION { ?h property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?h rdf:type ontology:collectable } } GROUP BY ?w } . FILTER ( ?r >= 73 ) }
[]
administrative territorial entity of the United States collectable application
Q99 Q812
SYSTEM
California, Florida
Q99 Q812
(c(Q2342494)|c(Q166142),P840,c(Q852446))
action atleast
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
value 73
[ANSWERS] are the narrative locations of atleast 73 collectables or applications
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?w WHERE { { ?h property:P840 ?w . ?w rdf:type ontology:Q852446 . ?h rdf:type ontology:Q166142 } UNION { ?h property:P840 ?w . ?w rdf:type ontology:Q852446 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?w } . FILTER ( ?r >= 73 ) }
California Florida
California and Florida are the narrative locations of atleast 73 collectables or applications
California Florida
action atleast
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
value 73
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?w WHERE { { ?h property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?h rdf:type ontology:application } UNION { ?h property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?h rdf:type ontology:collectable } } GROUP BY ?w } . FILTER ( ?r >= 73 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q99 Q668
P840
Q838948
USER
How many works of art have their setting located at California and India ?
(c(Q838948),P840,Q99) (c(Q838948),P840,Q668)
action count
action intersection
action filter_type
action find_reverse
entity Q99
relation P840
type Q838948
action filter_type
action find_reverse
entity Q668
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q99'] [{'concept': 'Q838948'}, 'P840', 'Q668']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P840 resource:Q99 . ?p rdf:type ontology:Q838948 . ?p rdf:type ontology:Q838948 . ?p property:P840 resource:Q668 }
California India
action count
action intersection
action filter_type
action find_reverse
entity California
relation narrative location
type work of art
action filter_type
action find_reverse
entity India
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'California'] [{'concept': 'work of art'}, 'narrative location', 'India']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:narrative_location resource:California . ?p rdf:type ontology:work_of_art . ?p rdf:type ontology:work_of_art . ?p property:narrative_location resource:India }
[]
work of art
SYSTEM
5
Q463768 Q392825 Q18126096 Q184605 Q330663
(c(Q838948),P840,Q99) (c(Q838948),P840,Q668)
action count
action intersection
action filter_type
action find_reverse
entity Q99
relation P840
type Q838948
action filter_type
action find_reverse
entity Q668
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q99'] [{'concept': 'Q838948'}, 'P840', 'Q668']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P840 resource:Q99 . ?p rdf:type ontology:Q838948 . ?p rdf:type ontology:Q838948 . ?p property:P840 resource:Q668 }
The Bucket List Jobs It's Tomorrow - The Film 2012 My Name Is Khan
5
action count
action intersection
action filter_type
action find_reverse
entity California
relation narrative location
type work of art
action filter_type
action find_reverse
entity India
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'California'] [{'concept': 'work of art'}, 'narrative location', 'India']
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:narrative_location resource:California . ?p rdf:type ontology:work_of_art . ?p rdf:type ontology:work_of_art . ?p property:narrative_location resource:India }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19585927 Q812
P19 P36
Q56061
USER
Which administrative territories are the capitals of Florida or are the places of birth of Danny Liddle ?
OR((Q812,P36,c(Q56061)), (Q19585927,P19,c(Q56061)))
action filter_type
action union
action find
entity Q812
relation P36
action find
entity Q19585927
relation P19
type Q56061
{'OR': [['Q812', 'P36', {'concept': 'Q56061'}], ['Q19585927', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q812 property:P36 ?c } UNION { resource:Q19585927 property:P19 ?c } } . ?c rdf:type ontology:Q56061 }
Danny Liddle Florida
action filter_type
action union
action find
entity Florida
relation capital
action find
entity Danny Liddle
relation place of birth
type administrative territorial entity
{'OR': [['Florida', 'capital', {'concept': 'administrative territorial entity'}], ['Danny Liddle', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Florida property:capital ?c } UNION { resource:Danny_Liddle property:place_of_birth ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q896424 Q37043
SYSTEM
Bo'ness, Tallahassee
Q896424 Q37043
OR((Q812,P36,c(Q56061)), (Q19585927,P19,c(Q56061)))
action filter_type
action union
action find
entity Q812
relation P36
action find
entity Q19585927
relation P19
type Q56061
[ANSWERS] are the capitals of Florida or are the places of birth of Danny Liddle
{'OR': [['Q812', 'P36', {'concept': 'Q56061'}], ['Q19585927', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q812 property:P36 ?c } UNION { resource:Q19585927 property:P19 ?c } } . ?c rdf:type ontology:Q56061 }
Bo'ness Tallahassee
Bo'ness and Tallahassee are the capitals of Florida or are the places of birth of Danny Liddle
Bo'ness Tallahassee
action filter_type
action union
action find
entity Florida
relation capital
action find
entity Danny Liddle
relation place of birth
type administrative territorial entity
{'OR': [['Florida', 'capital', {'concept': 'administrative territorial entity'}], ['Danny Liddle', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Florida property:capital ?c } UNION { resource:Danny_Liddle property:place_of_birth ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q896424 Q37043
P19
Q502895
USER
Which people have place of birth as those administrative territories ?
(c(Q502895),P19,Q896424) (c(Q502895),P19,Q37043)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q896424'] [{'concept': 'Q502895'}, 'P19', 'Q37043']
SELECT DISTINCT ?i WHERE { ?i property:P19 ?v . ?i rdf:type ontology:Q502895 . VALUES ( ?v ) { ( resource:Q896424 ) ( resource:Q37043 ) } }
Bo'ness Tallahassee
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', "Bo'ness"] [{'concept': 'common name'}, 'place of birth', 'Tallahassee']
SELECT DISTINCT ?i WHERE { ?i property:place_of_birth ?v . ?i rdf:type ontology:common_name . VALUES ( ?v ) { ( resource:Bo'ness ) ( resource:Tallahassee ) } }
[]
common name
Q162497 Q7615938 Q7814939
SYSTEM
LeRoy Collins, Stewart Scullion, Tom Bennett
Q7175891 Q6204242 Q941865 Q5314497 Q20713634 Q15999646 Q16012890 Q20984478 Q20713380 Q5655061 Q7814939 Q8020681 Q6791268 Q7615938 Q8010105 Q7613021 Q20712150 Q19585927 Q11860390 Q20641150 Q4935348 Q221155 Q1883207 Q1356940 Q4834027 Q16887663 Q16222479 Q5309988 Q1440150 Q2011425 Q4723052 Q7488834 Q5271555 Q22677372 Q2577679 Q6967867 Q7682284 Q3644371 Q21066776 Q5083628 Q19665587 Q1867120 Q162497 Q3959303 Q366403 Q7308253 Q4964956 Q3056375 Q329658 Q6879951 Q18619768 Q573539 Q16043474 Q14648201 Q4708067 Q3615420 Q1384803 Q19668330 Q4957244 Q4738109 Q17628574 Q7963283 Q23035350 Q6380146 Q5132899 Q16862810 Q20220107 Q2455970 Q4685726 Q13139843 Q6391125 Q3856209 Q461641 Q4817146 Q2872110 Q7690024 Q5230985 Q6962497 Q4953872 Q1128368 Q3701359 Q16204234 Q25190082 Q5053442 Q886340 Q5301895 Q21020919 Q27242866 Q5041065 Q16195878 Q7680894 Q5294679 Q4956913 Q1558627 Q7051523 Q18205002 Q2617808 Q2908017 Q16215367 Q5246396 Q16192874 Q7803679 Q374175 Q7417226 Q5224711 Q7945998
(c(Q502895),P19,Q896424) (c(Q502895),P19,Q37043)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[ANSWERS] have place of birth as those administrative territories
[{'concept': 'Q502895'}, 'P19', 'Q896424'] [{'concept': 'Q502895'}, 'P19', 'Q37043']
SELECT DISTINCT ?i WHERE { ?i property:P19 ?v . ?i rdf:type ontology:Q502895 . VALUES ( ?v ) { ( resource:Q896424 ) ( resource:Q37043 ) } }
Peter Miller Jo Gibb Alec McNair Duncan McDonald Andrew Miller Bert Oswald Charlie Sneddon John Johnston Dennis Setterington Harcus Strachan Tom Bennett William Young Matthew Steele Stewart Scullion William Grant Steve Kilcar James Martin Danny Liddle George W. Easton John Markie Bobby McFarlane T-Pain Maddy Curley Ernie Sims B. J. Daniels Cole Figueroa SORNE DuBose Ausley Antonio Cromartie Blayne Barber Alfred Lawson, Jr. Shannon Bream Diane Roberts Reggie Montgomery William A. B. Branch Nat Moore Tananarive Due Brett Blizzard Tyler Williams Charles Wilson Pettidee Lobo LeRoy Collins Shea Whigham Matt Battaglia Reggie Jefferson Brian Olson Eric Patterson Travis Walker Missy Hyatt Robert Wilson Anthony Lobello, Jr. Caroline Mays Brevard Andy Ogide Alan Williams Andras Horanyi Samuel T. Durrance Grace Schwab Brandy Johnson Alvin Hall Frank M. Young Wally Amos Aquilina Howell Kay Aldridge Clifford Charlton Piper Curda Mary Proctor Troy Perry Adrienne Young Mansoor Ijaz Kenny Leon Michael Lee Carrie P. Meek Ato Hand Austin Dantin Taylor Jacobs David B. Macomb Nanci Kincaid Brad Culpepper Consuela Lee Dan Gay Jason Lancaster Kent Jones Cathy Jenéen Doe Elise Ray Douglas Porch Ellen Call Long Charles Slater Carla Hayden Dana Young Tamarick Vanover Donald L. Tucker Brandon Jenkins Suna Murray Norm Lewis Javorius Allen Rosemary McGrotha Bobby Thigpen Wesley Lambert Dean Palmer Keith Perry Tim Howard Brad Davis Sandy D'Alemberte Darrell Scott W. Stanley Proctor
LeRoy Collins, Stewart Scullion and Tom Bennett have place of birth as those administrative territories
LeRoy Collins Stewart Scullion Tom Bennett
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', "Bo'ness"] [{'concept': 'common name'}, 'place of birth', 'Tallahassee']
SELECT DISTINCT ?i WHERE { ?i property:place_of_birth ?v . ?i rdf:type ontology:common_name . VALUES ( ?v ) { ( resource:Bo'ness ) ( resource:Tallahassee ) } }
[]