Simple Question (Direct)
Simple Question
Q729132
P20
Q20667921
USER
Where did Ernest Vaast expire ?
(Q729132,P20,c(Q20667921))
action filter_type
action find
entity Q729132
relation P20
type Q20667921
['Q729132', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q20667921 . resource:Q729132 property:P20 ?g }
Ernest Vaast
action filter_type
action find
entity Ernest Vaast
relation place of death
type type of french administrative division
['Ernest Vaast', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:type_of_french_administrative_division . resource:Ernest_Vaast property:place_of_death ?g }
[]
type of french administrative division
Q42168
SYSTEM
Clermont-Ferrand
Q42168
(Q729132,P20,c(Q20667921))
action filter_type
action find
entity Q729132
relation P20
type Q20667921
Ernest Vaast expired [ANSWER]
['Q729132', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q20667921 . resource:Q729132 property:P20 ?g }
Clermont-Ferrand
Ernest Vaast expired Clermont-Ferrand
Clermont-Ferrand
action filter_type
action find
entity Ernest Vaast
relation place of death
type type of french administrative division
['Ernest Vaast', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:type_of_french_administrative_division . resource:Ernest_Vaast property:place_of_death ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q729132
P54
Q1194951
USER
What is Ernest Vaast a member of ?
(Q729132,P54,c(Q1194951))
action filter_type
action find
entity Q729132
relation P54
type Q1194951
['Q729132', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1194951 . resource:Q729132 property:P54 ?h }
Ernest Vaast
action filter_type
action find
entity Ernest Vaast
relation member of sports team
type national sports team
['Ernest Vaast', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:national_sports_team . resource:Ernest_Vaast property:member_of_sports_team ?h }
[]
national sports team
Q47774
SYSTEM
France national football team
Q47774
(Q729132,P54,c(Q1194951))
action filter_type
action find
entity Q729132
relation P54
type Q1194951
Ernest Vaast a member of is the [ANSWER]
['Q729132', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1194951 . resource:Q729132 property:P54 ?h }
France national football team
Ernest Vaast a member of is the France national football team
France national football team
action filter_type
action find
entity Ernest Vaast
relation member of sports team
type national sports team
['Ernest Vaast', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:national_sports_team . resource:Ernest_Vaast property:member_of_sports_team ?h }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q47774 Q46934
P1344
Q15275719
USER
Did that national sports team participate in 1982 FIFA World Cup ?
(Q47774,P1344,Q46934)
action is_in
entity Q46934
action find
entity Q47774
relation P1344
['Q47774', 'P1344', 'Q46934']
ASK WHERE { resource:Q47774 property:P1344 resource:Q46934 }
France national football team 1982 FIFA World Cup
action is_in
entity 1982 FIFA World Cup
action find
entity France national football team
relation participant of
['France national football team', 'participant of', '1982 FIFA World Cup']
ASK WHERE { resource:France_national_football_team property:participant_of resource:1982_FIFA_World_Cup }
[]
recurring event
SYSTEM
YES
(Q47774,P1344,Q46934)
action is_in
entity Q46934
action find
entity Q47774
relation P1344
[ANSWER]
['Q47774', 'P1344', 'Q46934']
ASK WHERE { resource:Q47774 property:P1344 resource:Q46934 }
Yes
action is_in
entity 1982 FIFA World Cup
action find
entity France national football team
relation participant of
['France national football team', 'participant of', '1982 FIFA World Cup']
ASK WHERE { resource:France_national_football_team property:participant_of resource:1982_FIFA_World_Cup }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q42168 Q142 Q20489
P17
Q15617994
USER
Is Clermont-Ferrand present in France and Savigliano ?
(Q42168,P17,Q142) (Q42168,P17,Q20489)
action is_in
entity Q42168
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q20489
relation P17
['Q42168', 'P17', 'Q142'] ['Q42168', 'P17', 'Q20489']
ASK WHERE { resource:Q42168 property:P17 resource:Q142 . resource:Q42168 property:P17 resource:Q20489 }
Clermont-Ferrand France Savigliano
action is_in
entity Clermont-Ferrand
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Savigliano
relation country
['Clermont-Ferrand', 'country', 'France'] ['Clermont-Ferrand', 'country', 'Savigliano']
ASK WHERE { resource:Clermont-Ferrand property:country resource:France . resource:Clermont-Ferrand property:country resource:Savigliano }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q42168,P17,Q142) (Q42168,P17,Q20489)
action is_in
entity Q42168
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q20489
relation P17
[ANSWER]
['Q42168', 'P17', 'Q142'] ['Q42168', 'P17', 'Q20489']
ASK WHERE { resource:Q42168 property:P17 resource:Q142 . resource:Q42168 property:P17 resource:Q20489 }
YES and NO respectively
action is_in
entity Clermont-Ferrand
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Savigliano
relation country
['Clermont-Ferrand', 'country', 'France'] ['Clermont-Ferrand', 'country', 'Savigliano']
ASK WHERE { resource:Clermont-Ferrand property:country resource:France . resource:Clermont-Ferrand property:country resource:Savigliano }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q47774
P1344
Q15275719 Q13406554
USER
How many recurring events or sport competitions did France national football team participate in ?
(Q47774,P1344,c(Q15275719)) (Q47774,P1344,c(Q13406554))
action count
action union
action filter_type
action find
entity Q47774
relation P1344
type Q15275719
action filter_type
action find
entity Q47774
relation P1344
type Q13406554
['Q47774', 'P1344', {'concept': 'Q15275719'}] ['Q47774', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { VALUES ( ?d ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?e rdf:type ?d }
France national football team
action count
action union
action filter_type
action find
entity France national football team
relation participant of
type recurring event
action filter_type
action find
entity France national football team
relation participant of
type sport competition
['France national football team', 'participant of', {'concept': 'recurring event'}] ['France national football team', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { VALUES ( ?d ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?e rdf:type ?d }
[]
recurring event sport competition
SYSTEM
16
Q176883 Q37285 Q132533 Q48432 Q319363 Q134202 Q1477177 Q585295 Q47735 Q131075 Q46938 Q46943 Q131591 Q46934 Q101730 Q79859
(Q47774,P1344,c(Q15275719)) (Q47774,P1344,c(Q13406554))
action count
action union
action filter_type
action find
entity Q47774
relation P1344
type Q15275719
action filter_type
action find
entity Q47774
relation P1344
type Q13406554
[ANSWER]
['Q47774', 'P1344', {'concept': 'Q15275719'}] ['Q47774', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { VALUES ( ?d ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } . ?e rdf:type ?d }
2010 FIFA World Cup 2006 FIFA World Cup 1958 FIFA World Cup 1930 FIFA World Cup West Germany vs France 1966 FIFA World Cup 1934 FIFA World Cup 1998 FIFA World Cup Final 2002 FIFA World Cup 1954 FIFA World Cup 1986 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1982 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
16
action count
action union
action filter_type
action find
entity France national football team
relation participant of
type recurring event
action filter_type
action find
entity France national football team
relation participant of
type sport competition
['France national football team', 'participant of', {'concept': 'recurring event'}] ['France national football team', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { VALUES ( ?d ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } . ?e rdf:type ?d }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6858222 Q20489
P47 P17
Q15617994
USER
Which administrative territories share border with Savigliano or are Mill Creek a part of ?
OR((Q20489,P47,c(Q15617994)), (Q6858222,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20489
relation P47
action find
entity Q6858222
relation P17
type Q15617994
{'OR': [['Q20489', 'P47', {'concept': 'Q15617994'}], ['Q6858222', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q20489 property:P47 ?q } UNION { resource:Q6858222 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Mill Creek Savigliano
action filter_type
action union
action find
entity Savigliano
relation shares border with
action find
entity Mill Creek
relation country
type designation for an administrative territorial entity
{'OR': [['Savigliano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Mill Creek', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Savigliano property:shares_border_with ?q } UNION { resource:Mill_Creek property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20545 Q20185 Q20050 Q19927 Q20132 Q19941 Q20493 Q20092 Q20111 Q20620
SYSTEM
Some of them are Verzuolo, Monasterolo di Savigliano, Fossano, Cavallermaggiore, Marene, Cervere, Scarnafigi, Genola, Lagnasco, Vottignasco
Q20545 Q20454 Q20569 Q19927 Q20111 Q20493 Q20620 Q20092 Q30 Q20132 Q20050 Q20185 Q19941
OR((Q20489,P47,c(Q15617994)), (Q6858222,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20489
relation P47
action find
entity Q6858222
relation P17
type Q15617994
[ANSWERS] share border with Savigliano or are Mill Creek a part of
{'OR': [['Q20489', 'P47', {'concept': 'Q15617994'}], ['Q6858222', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q20489 property:P47 ?q } UNION { resource:Q6858222 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Verzuolo Saluzzo Villafalletto Cavallermaggiore Lagnasco Scarnafigi Vottignasco Genola United States of America Marene Fossano Monasterolo di Savigliano Cervere
Verzuolo, Monasterolo di Savigliano, Fossano, Cavallermaggiore, Marene, Cervere, Scarnafigi, Genola, Lagnasco and Vottignasco share border with Savigliano or are Mill Creek a part of
Verzuolo Monasterolo di Savigliano Fossano Cavallermaggiore Marene Cervere Scarnafigi Genola Lagnasco Vottignasco
action filter_type
action union
action find
entity Savigliano
relation shares border with
action find
entity Mill Creek
relation country
type designation for an administrative territorial entity
{'OR': [['Savigliano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Mill Creek', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Savigliano property:shares_border_with ?q } UNION { resource:Mill_Creek property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6727163
P47
Q15617994
USER
Are Maders bordered by those ones ?
(Q6727163,P47,Q20545) (Q6727163,P47,Q20185) (Q6727163,P47,Q20050) (Q6727163,P47,Q19927) (Q6727163,P47,Q20132) (Q6727163,P47,Q19941) (Q6727163,P47,Q20493) (Q6727163,P47,Q20092) (Q6727163,P47,Q20111) (Q6727163,P47,Q20620)
action is_in
entity prev_answer
action find
entity Q6727163
relation P47
['Q6727163', 'P47', 'Q20545'] ['Q6727163', 'P47', 'Q20185'] ['Q6727163', 'P47', 'Q20050'] ['Q6727163', 'P47', 'Q19927'] ['Q6727163', 'P47', 'Q20132'] ['Q6727163', 'P47', 'Q19941'] ['Q6727163', 'P47', 'Q20493'] ['Q6727163', 'P47', 'Q20092'] ['Q6727163', 'P47', 'Q20111'] ['Q6727163', 'P47', 'Q20620']
ASK WHERE { resource:Q6727163 property:P47 ?a . VALUES ( ?a ) { ( resource:Q20545 ) ( resource:Q20454 ) ( resource:Q20569 ) } }
Maders
action is_in
entity prev_answer
action find
entity Maders
relation shares border with
['Maders', 'shares border with', 'Verzuolo'] ['Maders', 'shares border with', 'Monasterolo di Savigliano'] ['Maders', 'shares border with', 'Fossano'] ['Maders', 'shares border with', 'Cavallermaggiore'] ['Maders', 'shares border with', 'Marene'] ['Maders', 'shares border with', 'Cervere'] ['Maders', 'shares border with', 'Scarnafigi'] ['Maders', 'shares border with', 'Genola'] ['Maders', 'shares border with', 'Lagnasco'] ['Maders', 'shares border with', 'Vottignasco']
ASK WHERE { resource:Maders property:shares_border_with ?a . VALUES ( ?a ) { ( resource:Verzuolo ) ( resource:Saluzzo ) ( resource:Villafalletto ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6727163,P47,Q20545) (Q6727163,P47,Q20185) (Q6727163,P47,Q20050) (Q6727163,P47,Q19927) (Q6727163,P47,Q20132) (Q6727163,P47,Q19941) (Q6727163,P47,Q20493) (Q6727163,P47,Q20092) (Q6727163,P47,Q20111) (Q6727163,P47,Q20620)
action is_in
entity prev_answer
action find
entity Q6727163
relation P47
[ANSWER]
['Q6727163', 'P47', 'Q20545'] ['Q6727163', 'P47', 'Q20185'] ['Q6727163', 'P47', 'Q20050'] ['Q6727163', 'P47', 'Q19927'] ['Q6727163', 'P47', 'Q20132'] ['Q6727163', 'P47', 'Q19941'] ['Q6727163', 'P47', 'Q20493'] ['Q6727163', 'P47', 'Q20092'] ['Q6727163', 'P47', 'Q20111'] ['Q6727163', 'P47', 'Q20620']
ASK WHERE { resource:Q6727163 property:P47 ?a . VALUES ( ?a ) { ( resource:Q20545 ) ( resource:Q20454 ) ( resource:Q20569 ) } }
No
action is_in
entity prev_answer
action find
entity Maders
relation shares border with
['Maders', 'shares border with', 'Verzuolo'] ['Maders', 'shares border with', 'Monasterolo di Savigliano'] ['Maders', 'shares border with', 'Fossano'] ['Maders', 'shares border with', 'Cavallermaggiore'] ['Maders', 'shares border with', 'Marene'] ['Maders', 'shares border with', 'Cervere'] ['Maders', 'shares border with', 'Scarnafigi'] ['Maders', 'shares border with', 'Genola'] ['Maders', 'shares border with', 'Lagnasco'] ['Maders', 'shares border with', 'Vottignasco']
ASK WHERE { resource:Maders property:shares_border_with ?a . VALUES ( ?a ) { ( resource:Verzuolo ) ( resource:Saluzzo ) ( resource:Villafalletto ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20050
P190
Q515
USER
Which city is partner town of Fossano ?
(Q20050,P190,c(Q515))
action filter_type
action find
entity Q20050
relation P190
type Q515
['Q20050', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { resource:Q20050 property:P190 ?j . ?j rdf:type ontology:Q515 }
Fossano
action filter_type
action find
entity Fossano
relation sister city
type city
['Fossano', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { resource:Fossano property:sister_city ?j . ?j rdf:type ontology:city }
[]
city
Q259498
SYSTEM
Rafaela
Q259498
(Q20050,P190,c(Q515))
action filter_type
action find
entity Q20050
relation P190
type Q515
[ANSWER] is partner town of Fossano
['Q20050', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { resource:Q20050 property:P190 ?j . ?j rdf:type ontology:Q515 }
Rafaela
Rafaela is partner town of Fossano
Rafaela
action filter_type
action find
entity Fossano
relation sister city
type city
['Fossano', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { resource:Fossano property:sister_city ?j . ?j rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q259498
P931
Q62447
USER
Which aerodromes serve the place named that city ?
(c(Q62447),P931,Q259498)
action filter_type
action find_reverse
entity Q259498
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q259498']
SELECT DISTINCT ?i WHERE { ?i property:P931 resource:Q259498 . ?i rdf:type ontology:Q62447 }
Rafaela
action filter_type
action find_reverse
entity Rafaela
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Rafaela']
SELECT DISTINCT ?i WHERE { ?i property:place_served_by_airport resource:Rafaela . ?i rdf:type ontology:aerodrome }
[]
aerodrome
Q16899055 Q7282389
SYSTEM
Rafaela Airport, Rafaela Aerodrome
Q16899055 Q7282389
(c(Q62447),P931,Q259498)
action filter_type
action find_reverse
entity Q259498
relation P931
type Q62447
[ANSWERS] serve the place named that city
[{'concept': 'Q62447'}, 'P931', 'Q259498']
SELECT DISTINCT ?i WHERE { ?i property:P931 resource:Q259498 . ?i rdf:type ontology:Q62447 }
Rafaela Airport Rafaela Aerodrome
Rafaela Airport and Rafaela Aerodrome serve the place named that city
Rafaela Airport Rafaela Aerodrome
action filter_type
action find_reverse
entity Rafaela
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Rafaela']
SELECT DISTINCT ?i WHERE { ?i property:place_served_by_airport resource:Rafaela . ?i rdf:type ontology:aerodrome }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18396768
P1444
Q62447 Q3839081
USER
Which disasters ends at approximately the same number of aerodromes as 2014 Virgin Galactic crash ?
(c(Q3839081),P1444,c(Q62447))
action approx
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
action count
action filter_type
action find
entity Q18396768
relation P1444
type Q3839081
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?m ) WHERE { ?k property:P1444 ?w . ?k rdf:type ontology:Q3839081 . ?w rdf:type ontology:Q62447 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q18396768 property:P1444 ?o . ?o rdf:type ontology:Q3839081 } } . FILTER ( ?m = ?d ) }
2014 Virgin Galactic crash
action approx
action find_tuple_counts
relation destination point
type disaster
type aerodrome
action count
action filter_type
action find
entity 2014 Virgin Galactic crash
relation destination point
type disaster
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?m ) WHERE { ?k property:destination_point ?w . ?k rdf:type ontology:disaster . ?w rdf:type ontology:aerodrome } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:2014_Virgin_Galactic_crash property:destination_point ?o . ?o rdf:type ontology:disaster } } . FILTER ( ?m = ?d ) }
[]
aerodrome disaster
Q11971365 Q16986203 Q15908324
SYSTEM
Førdesveten plane crash, Inex-Adria Aviopromet Flight 450, Malaysia Airlines Flight 370
Q4055787 Q16986203 Q1573486 Q463237 Q15908324 Q406535 Q2054084 Q2062178 Q185380 Q2003519 Q18396768 Q21282782 Q4115786 Q384845 Q638603 Q11971365 Q406609 Q435605
(c(Q3839081),P1444,c(Q62447))
action approx
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
action count
action filter_type
action find
entity Q18396768
relation P1444
type Q3839081
[ANSWERS] end at approximately the same number of aerodromes as 2014 Virgin Galactic crash
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?m ) WHERE { ?k property:P1444 ?w . ?k rdf:type ontology:Q3839081 . ?w rdf:type ontology:Q62447 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:Q18396768 property:P1444 ?o . ?o rdf:type ontology:Q3839081 } } . FILTER ( ?m = ?d ) }
Cyprus Airways Flight 284 Inex-Adria Aviopromet Flight 450 LOT Flight 7 American Airlines Flight 77 Malaysia Airlines Flight 370 Air France Flight 4590 LOT Polish Airlines Flight 16 Kegworth air disaster Air France Flight 447 Air Canada Flight 797 2014 Virgin Galactic crash Metrojet Flight 9268 TWA Flight 903 American Airlines Flight 587 United Airlines Flight 93 Førdesveten plane crash Air Transat Flight 236 British Airways Flight 9
Førdesveten plane crash, Inex-Adria Aviopromet Flight 450 and Malaysia Airlines Flight 370 end at approximately the same number of aerodromes as 2014 Virgin Galactic crash
Førdesveten plane crash Inex-Adria Aviopromet Flight 450 Malaysia Airlines Flight 370
action approx
action find_tuple_counts
relation destination point
type disaster
type aerodrome
action count
action filter_type
action find
entity 2014 Virgin Galactic crash
relation destination point
type disaster
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?m ) WHERE { ?k property:destination_point ?w . ?k rdf:type ontology:disaster . ?w rdf:type ontology:aerodrome } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { resource:2014_Virgin_Galactic_crash property:destination_point ?o . ?o rdf:type ontology:disaster } } . FILTER ( ?m = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q21995232
P1444
Q62447 Q3839081
USER
And also tell me about West Air Sweden Flight 294?
(c(Q3839081),P1444,c(Q62447))
action approx
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
action count
action filter_type
action find
entity Q21995232
relation P1444
type Q3839081
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?h ) WHERE { ?u rdf:type ontology:Q3839081 . ?g rdf:type ontology:Q62447 . ?u property:P1444 ?g } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:Q3839081 . resource:Q21995232 property:P1444 ?o } } . FILTER ( ?h = ?q ) }
West Air Sweden Flight 294
action approx
action find_tuple_counts
relation destination point
type disaster
type aerodrome
action count
action filter_type
action find
entity West Air Sweden Flight 294
relation destination point
type disaster
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?h ) WHERE { ?u rdf:type ontology:disaster . ?g rdf:type ontology:aerodrome . ?u property:destination_point ?g } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:disaster . resource:West_Air_Sweden_Flight_294 property:destination_point ?o } } . FILTER ( ?h = ?q ) }
[]
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 approx
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
action count
action filter_type
action find
entity Q21995232
relation P1444
type Q3839081
[ANSWERS]
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?h ) WHERE { ?u rdf:type ontology:Q3839081 . ?g rdf:type ontology:Q62447 . ?u property:P1444 ?g } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:Q3839081 . resource:Q21995232 property:P1444 ?o } } . FILTER ( ?h = ?q ) }
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 US Airways Flight 1549
action approx
action find_tuple_counts
relation destination point
type disaster
type aerodrome
action count
action filter_type
action find
entity West Air Sweden Flight 294
relation destination point
type disaster
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?h ) WHERE { ?u rdf:type ontology:disaster . ?g rdf:type ontology:aerodrome . ?u property:destination_point ?g } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:disaster . resource:West_Air_Sweden_Flight_294 property:destination_point ?o } } . FILTER ( ?h = ?q ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q223288 Q17374096 Q251039
P1444
Q62447
USER
Which aerodromes are the end points of Tenerife airport disaster, Malaysia Airlines Flight 17 and US Airways Flight 1549 ?
(Q223288,P1444,c(Q62447)) (Q17374096,P1444,c(Q62447)) (Q251039,P1444,c(Q62447))
action union
action filter_type
action find
entity Q223288
relation P1444
type Q62447
action filter_type
action find
entity Q17374096
relation P1444
type Q62447
action filter_type
action find
entity Q251039
relation P1444
type Q62447
['Q223288', 'P1444', {'concept': 'Q62447'}] ['Q17374096', 'P1444', {'concept': 'Q62447'}] ['Q251039', 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?u ) { ( resource:Q223288 ) ( resource:Q17374096 ) } . ?u property:P1444 ?q }
Tenerife airport disaster Malaysia Airlines Flight 17 US Airways Flight 1549
action union
action filter_type
action find
entity Tenerife airport disaster
relation destination point
type aerodrome
action filter_type
action find
entity Malaysia Airlines Flight 17
relation destination point
type aerodrome
action filter_type
action find
entity US Airways Flight 1549
relation destination point
type aerodrome
['Tenerife airport disaster', 'destination point', {'concept': 'aerodrome'}] ['Malaysia Airlines Flight 17', 'destination point', {'concept': 'aerodrome'}] ['US Airways Flight 1549', 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?u ) { ( resource:Tenerife_airport_disaster ) ( resource:Malaysia_Airlines_Flight_17 ) } . ?u property:destination_point ?q }
[]
aerodrome
Q1130612 Q500253 Q597649
SYSTEM
Gran Canaria Airport, Kuala Lumpur International Airport, Charlotte/Douglas International Airport
Q1130612 Q500253 Q597649
(Q223288,P1444,c(Q62447)) (Q17374096,P1444,c(Q62447)) (Q251039,P1444,c(Q62447))
action union
action filter_type
action find
entity Q223288
relation P1444
type Q62447
action filter_type
action find
entity Q17374096
relation P1444
type Q62447
action filter_type
action find
entity Q251039
relation P1444
type Q62447
[ANSWERS] are the end points of Tenerife airport disaster, Malaysia Airlines Flight 17 and US Airways Flight 1549
['Q223288', 'P1444', {'concept': 'Q62447'}] ['Q17374096', 'P1444', {'concept': 'Q62447'}] ['Q251039', 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?u ) { ( resource:Q223288 ) ( resource:Q17374096 ) } . ?u property:P1444 ?q }
Gran Canaria Airport Kuala Lumpur International Airport Charlotte/Douglas International Airport
Gran Canaria Airport, Kuala Lumpur International Airport and Charlotte/Douglas International Airport are the end points of Tenerife airport disaster, Malaysia Airlines Flight 17 and US Airways Flight 1549
Gran Canaria Airport Kuala Lumpur International Airport Charlotte/Douglas International Airport
action union
action filter_type
action find
entity Tenerife airport disaster
relation destination point
type aerodrome
action filter_type
action find
entity Malaysia Airlines Flight 17
relation destination point
type aerodrome
action filter_type
action find
entity US Airways Flight 1549
relation destination point
type aerodrome
['Tenerife airport disaster', 'destination point', {'concept': 'aerodrome'}] ['Malaysia Airlines Flight 17', 'destination point', {'concept': 'aerodrome'}] ['US Airways Flight 1549', 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?u ) { ( resource:Tenerife_airport_disaster ) ( resource:Malaysia_Airlines_Flight_17 ) } . ?u property:destination_point ?q }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1130612
P127
Q740752
USER
Who is the owner of that aerodrome ?
(Q1130612,P127,c(Q740752))
action filter_type
action find
entity Q1130612
relation P127
type Q740752
['Q1130612', 'P127', {'concept': 'Q740752'}]
SELECT DISTINCT ?h WHERE { resource:Q1130612 property:P127 ?h . ?h rdf:type ontology:Q740752 }
Gran Canaria Airport
action filter_type
action find
entity Gran Canaria Airport
relation owned by
type transport company
['Gran Canaria Airport', 'owned by', {'concept': 'transport company'}]
SELECT DISTINCT ?h WHERE { resource:Gran_Canaria_Airport property:owned_by ?h . ?h rdf:type ontology:transport_company }
[]
transport company
Clarification for simple ques.
Q500253
SYSTEM
Did you mean Kuala Lumpur International Airport ?
Q1130612 Q500253 Q597649
(Q1130612,P127,c(Q740752)) (Q500253,P127,c(Q740752)) (Q597649,P127,c(Q740752))
[ANSWER]
['Q1130612', 'P127', {'concept': 'Q740752'}] ['Q500253', 'P127', {'concept': 'Q740752'}] ['Q597649', 'P127', {'concept': 'Q740752'}]
SELECT DISTINCT ?h WHERE { resource:Q1130612 property:P127 ?h . ?h rdf:type ontology:Q740752 }
Gran Canaria Airport Kuala Lumpur International Airport Charlotte/Douglas International Airport
Did you mean Kuala Lumpur International Airport ?
Kuala Lumpur International Airport
['Gran Canaria Airport', 'owned by', {'concept': 'transport company'}] ['Kuala Lumpur International Airport', 'owned by', {'concept': 'transport company'}] ['Charlotte/Douglas International Airport', 'owned by', {'concept': 'transport company'}]
SELECT DISTINCT ?h WHERE { resource:Gran_Canaria_Airport property:owned_by ?h . ?h rdf:type ontology:transport_company }
[]
Simple Question (Coreferenced)
USER
No, I meant Gran Canaria Airport. Could you tell me the answer for that?
(Q1130612,P127,c(Q740752))
Q1130612
['Q1130612', 'P127', {'concept': 'Q740752'}]
['Gran Canaria Airport', 'owned by', {'concept': 'transport company'}]
[]
Q291464
SYSTEM
Aena
Q291464
(Q1130612,P127,c(Q740752))
action filter_type
action find
entity Q1130612
relation P127
type Q740752
The owner of that aerodrome is Umberto [ANSWER]
['Q1130612', 'P127', {'concept': 'Q740752'}]
SELECT DISTINCT ?h WHERE { resource:Q1130612 property:P127 ?h . ?h rdf:type ontology:Q740752 }
Aena
The owner of that aerodrome is Umberto Aena
Aena
action filter_type
action find
entity Gran Canaria Airport
relation owned by
type transport company
['Gran Canaria Airport', 'owned by', {'concept': 'transport company'}]
SELECT DISTINCT ?h WHERE { resource:Gran_Canaria_Airport property:owned_by ?h . ?h rdf:type ontology:transport_company }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1144530
P355
Q740752 Q740752
USER
Which transport companies contains around the same number of transport companies as their subordinate as Southwestern Railways ?
(c(Q740752),P355,c(Q740752))
action approx
action find_tuple_counts
relation P355
type Q740752
type Q740752
action count
action filter_type
action find
entity Q1144530
relation P355
type Q740752
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q740752'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?e ) WHERE { ?o property:P355 ?f . ?o rdf:type ontology:Q740752 . ?f rdf:type ontology:Q740752 } GROUP BY ?o } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q1144530 property:P355 ?d . ?d rdf:type ontology:Q740752 } } }
Southwestern Railways
action approx
action find_tuple_counts
relation subsidiary
type transport company
type transport company
action count
action filter_type
action find
entity Southwestern Railways
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'transport company'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?e ) WHERE { ?o property:subsidiary ?f . ?o rdf:type ontology:transport_company . ?f rdf:type ontology:transport_company } GROUP BY ?o } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Southwestern_Railways property:subsidiary ?d . ?d rdf:type ontology:transport_company } } }
[]
transport company transport company
Q1188230 Q1332242 Q1188274
SYSTEM
Nankai Electric Railway, Tokyu Corporation, Keihan Electric Railway
Q83584 Q1188274 Q923337 Q742422 Q795363 Q502125 Q920016 Q524255 Q2245513 Q1188230 Q23076 Q1332242 Q4698894 Q83823 Q13646 Q1144530 Q643578
(c(Q740752),P355,c(Q740752))
action approx
action find_tuple_counts
relation P355
type Q740752
type Q740752
action count
action filter_type
action find
entity Q1144530
relation P355
type Q740752
[ANSWERS] contain around the same number of transport companies as their subordinate as Southwestern Railways
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q740752'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?e ) WHERE { ?o property:P355 ?f . ?o rdf:type ontology:Q740752 . ?f rdf:type ontology:Q740752 } GROUP BY ?o } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q1144530 property:P355 ?d . ?d rdf:type ontology:Q740752 } } }
Odakyu Electric Railway Keihan Electric Railway Ukrainian Railways PKP Cargo Heathrow Airport Holdings Limited West Japan Railway Company British Railways Board NMBS/SNCB Sanyo Electric Railway Nankai Electric Railway Nederlandse Spoorwegen Tokyu Corporation Airport Authority Hong Kong Ferrovie dello Stato Italiane SNCF Southwestern Railways Fraport
Nankai Electric Railway, Tokyu Corporation and Keihan Electric Railway contain around the same number of transport companies as their subordinate as Southwestern Railways
Nankai Electric Railway Tokyu Corporation Keihan Electric Railway
action approx
action find_tuple_counts
relation subsidiary
type transport company
type transport company
action count
action filter_type
action find
entity Southwestern Railways
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'transport company'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?e ) WHERE { ?o property:subsidiary ?f . ?o rdf:type ontology:transport_company . ?f rdf:type ontology:transport_company } GROUP BY ?o } . FILTER ( ?e = ?u ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Southwestern_Railways property:subsidiary ?d . ?d rdf:type ontology:transport_company } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q18853
P355
Q740752 Q740752
USER
And what about DB Regio?
(c(Q740752),P355,c(Q740752))
action approx
action find_tuple_counts
relation P355
type Q740752
type Q740752
action count
action filter_type
action find
entity Q18853
relation P355
type Q740752
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q740752'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?d ) WHERE { ?u property:P355 ?f . ?u rdf:type ontology:Q740752 . ?f rdf:type ontology:Q740752 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q18853 property:P355 ?r . ?r rdf:type ontology:Q740752 } } . FILTER ( ?d = ?z ) }
DB Regio
action approx
action find_tuple_counts
relation subsidiary
type transport company
type transport company
action count
action filter_type
action find
entity DB Regio
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'transport company'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?d ) WHERE { ?u property:subsidiary ?f . ?u rdf:type ontology:transport_company . ?f rdf:type ontology:transport_company } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:DB_Regio property:subsidiary ?r . ?r rdf:type ontology:transport_company } } . FILTER ( ?d = ?z ) }
[]
transport company transport company
Q18853 Q9322 Q10547016
SYSTEM
DB Regio, Deutsche Bahn, Koiviston Auto
Q9322 Q18853 Q10547016 Q20855940
(c(Q740752),P355,c(Q740752))
action approx
action find_tuple_counts
relation P355
type Q740752
type Q740752
action count
action filter_type
action find
entity Q18853
relation P355
type Q740752
[ANSWERS]
[{'concept': 'Q740752'}, 'P355', {'concept': 'Q740752'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?d ) WHERE { ?u property:P355 ?f . ?u rdf:type ontology:Q740752 . ?f rdf:type ontology:Q740752 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:Q18853 property:P355 ?r . ?r rdf:type ontology:Q740752 } } . FILTER ( ?d = ?z ) }
Deutsche Bahn DB Regio Koiviston Auto CrossRail AG
DB Regio Deutsche Bahn Koiviston Auto
action approx
action find_tuple_counts
relation subsidiary
type transport company
type transport company
action count
action filter_type
action find
entity DB Regio
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', {'concept': 'transport company'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?d ) WHERE { ?u property:subsidiary ?f . ?u rdf:type ontology:transport_company . ?f rdf:type ontology:transport_company } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { resource:DB_Regio property:subsidiary ?r . ?r rdf:type ontology:transport_company } } . FILTER ( ?d = ?z ) }
[]