Simple Question (Direct)
Simple Question
Q973306
P19
Q20667921
USER
Which french administrative division is the place of birth of Roger Bastide ?
(Q973306,P19,c(Q20667921))
action filter_type
action find
entity Q973306
relation P19
type Q20667921
['Q973306', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q973306 property:P19 ?f . ?f rdf:type ontology:Q20667921 }
Roger Bastide
action filter_type
action find
entity Roger Bastide
relation place of birth
type type of french administrative division
['Roger Bastide', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Roger_Bastide property:place_of_birth ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q42807
SYSTEM
Nîmes
Q42807
(Q973306,P19,c(Q20667921))
action filter_type
action find
entity Q973306
relation P19
type Q20667921
[ANSWER] is the place of birth of Roger Bastide
['Q973306', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q973306 property:P19 ?f . ?f rdf:type ontology:Q20667921 }
Nîmes
Nîmes is the place of birth of Roger Bastide
Nîmes
action filter_type
action find
entity Roger Bastide
relation place of birth
type type of french administrative division
['Roger Bastide', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Roger_Bastide property:place_of_birth ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42807
P127
Q483110
USER
Which stadium is owned by that french administrative division ?
(c(Q483110),P127,Q42807)
action filter_type
action find_reverse
entity Q42807
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q42807']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q42807 . ?q rdf:type ontology:Q483110 }
Nîmes
action filter_type
action find_reverse
entity Nîmes
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Nîmes']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:Nîmes . ?q rdf:type ontology:stadium }
[]
stadium
Q1128628
SYSTEM
Stade des Costières
Q1128628
(c(Q483110),P127,Q42807)
action filter_type
action find_reverse
entity Q42807
relation P127
type Q483110
[ANSWER] is owned by that french administrative division
[{'concept': 'Q483110'}, 'P127', 'Q42807']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q42807 . ?q rdf:type ontology:Q483110 }
Stade des Costières
Stade des Costières is owned by that french administrative division
Stade des Costières
action filter_type
action find_reverse
entity Nîmes
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Nîmes']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:Nîmes . ?q rdf:type ontology:stadium }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1128628 Q47371
P17
Q15617994
USER
Is that stadium present in Tarzo ?
(Q1128628,P17,Q47371)
action is_in
entity Q47371
action find
entity Q1128628
relation P17
['Q1128628', 'P17', 'Q47371']
ASK WHERE { resource:Q1128628 property:P17 resource:Q47371 }
Stade des Costières Tarzo
action is_in
entity Tarzo
action find
entity Stade des Costières
relation country
['Stade des Costières', 'country', 'Tarzo']
ASK WHERE { resource:Stade_des_Costières property:country resource:Tarzo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1128628,P17,Q47371)
action is_in
entity Q47371
action find
entity Q1128628
relation P17
[ANSWER]
['Q1128628', 'P17', 'Q47371']
ASK WHERE { resource:Q1128628 property:P17 resource:Q47371 }
No
action is_in
entity Tarzo
action find
entity Stade des Costières
relation country
['Stade des Costières', 'country', 'Tarzo']
ASK WHERE { resource:Stade_des_Costières property:country resource:Tarzo }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1128628
P800
Q502895
USER
Which person is accredited with being the author of the notable work Stade des Costières ?
(c(Q502895),P800,Q1128628)
action filter_type
action find_reverse
entity Q1128628
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q1128628']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P800 resource:Q1128628 }
Stade des Costières
action filter_type
action find_reverse
entity Stade des Costières
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Stade des Costières']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:notable_work resource:Stade_des_Costières }
[]
common name
Q679049
SYSTEM
Vittorio Gregotti
Q679049
(c(Q502895),P800,Q1128628)
action filter_type
action find_reverse
entity Q1128628
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work Stade des Costières
[{'concept': 'Q502895'}, 'P800', 'Q1128628']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P800 resource:Q1128628 }
Vittorio Gregotti
Vittorio Gregotti is accredited with being the author of the notable work Stade des Costières
Vittorio Gregotti
action filter_type
action find_reverse
entity Stade des Costières
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Stade des Costières']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:notable_work resource:Stade_des_Costières }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q679049
P84
Q483110
USER
Which stadia have their designs created by that person ?
(c(Q483110),P84,Q679049)
action filter_type
action find_reverse
entity Q679049
relation P84
type Q483110
[{'concept': 'Q483110'}, 'P84', 'Q679049']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q483110 . ?t property:P84 resource:Q679049 }
Vittorio Gregotti
action filter_type
action find_reverse
entity Vittorio Gregotti
relation architect
type stadium
[{'concept': 'stadium'}, 'architect', 'Vittorio Gregotti']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:stadium . ?t property:architect resource:Vittorio_Gregotti }
[]
stadium
Q1578430 Q1128628 Q271568
SYSTEM
Stade de Marrakech, Stade des Costières, Stadio Luigi Ferraris
Q1578430 Q1128628 Q271568
(c(Q483110),P84,Q679049)
action filter_type
action find_reverse
entity Q679049
relation P84
type Q483110
[ANSWERS] have their designs created by that person
[{'concept': 'Q483110'}, 'P84', 'Q679049']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q483110 . ?t property:P84 resource:Q679049 }
Stade de Marrakech Stade des Costières Stadio Luigi Ferraris
Stade de Marrakech, Stade des Costières and Stadio Luigi Ferraris have their designs created by that person
Stade de Marrakech Stade des Costières Stadio Luigi Ferraris
action filter_type
action find_reverse
entity Vittorio Gregotti
relation architect
type stadium
[{'concept': 'stadium'}, 'architect', 'Vittorio Gregotti']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:stadium . ?t property:architect resource:Vittorio_Gregotti }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1578430
P641
Q31629
USER
Which type of sport was that stadium a part of ?
(Q1578430,P641,c(Q31629))
action filter_type
action find
entity Q1578430
relation P641
type Q31629
['Q1578430', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q1578430 property:P641 ?d . ?d rdf:type ontology:Q31629 }
Stade de Marrakech
action filter_type
action find
entity Stade de Marrakech
relation sport
type type of sport
['Stade de Marrakech', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:Stade_de_Marrakech property:sport ?d . ?d rdf:type ontology:type_of_sport }
[]
type of sport
Clarification for simple ques.
Q1128628
SYSTEM
Did you mean Stade des Costières ?
Q1578430 Q1128628 Q271568
(Q1578430,P641,c(Q31629)) (Q1128628,P641,c(Q31629)) (Q271568,P641,c(Q31629))
[ANSWER]
['Q1578430', 'P641', {'concept': 'Q31629'}] ['Q1128628', 'P641', {'concept': 'Q31629'}] ['Q271568', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q1578430 property:P641 ?d . ?d rdf:type ontology:Q31629 }
Stade de Marrakech Stade des Costières Stadio Luigi Ferraris
Did you mean Stade des Costières ?
Stade des Costières
['Stade de Marrakech', 'sport', {'concept': 'type of sport'}] ['Stade des Costières', 'sport', {'concept': 'type of sport'}] ['Stadio Luigi Ferraris', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:Stade_de_Marrakech property:sport ?d . ?d rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Stade de Marrakech. Could you tell me the answer for that?
(Q1578430,P641,c(Q31629))
Q1578430
['Q1578430', 'P641', {'concept': 'Q31629'}]
['Stade de Marrakech', 'sport', {'concept': 'type of sport'}]
[]
Q542
SYSTEM
athletics
Q542
(Q1578430,P641,c(Q31629))
action filter_type
action find
entity Q1578430
relation P641
type Q31629
The [ANSWER] was that stadium a part of
['Q1578430', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q1578430 property:P641 ?d . ?d rdf:type ontology:Q31629 }
athletics
The athletics was that stadium a part of
athletics
action filter_type
action find
entity Stade de Marrakech
relation sport
type type of sport
['Stade de Marrakech', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:Stade_de_Marrakech property:sport ?d . ?d rdf:type ontology:type_of_sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q4412650
P1444
Q62447 Q31629
USER
Which aerodromes do the journey end for less number of types of sport than Hønefoss Airport, Eggemoen ?
(c(Q31629),P1444,c(Q62447))
action less
action find_reverse_tuple_counts
relation P1444
type Q62447
type Q31629
action count
action filter_type
action find_reverse
entity Q4412650
relation P1444
type Q31629
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P1444 ?c . ?c rdf:type ontology:Q62447 . ?f rdf:type ontology:Q31629 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P1444 resource:Q4412650 . ?p rdf:type ontology:Q31629 } } . FILTER ( ?a < ?x ) }
Hønefoss Airport, Eggemoen
action less
action find_reverse_tuple_counts
relation destination point
type aerodrome
type type of sport
action count
action filter_type
action find_reverse
entity Hønefoss Airport, Eggemoen
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:destination_point ?c . ?c rdf:type ontology:aerodrome . ?f rdf:type ontology:type_of_sport } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:destination_point resource:Hønefoss_Airport,_Eggemoen . ?p rdf:type ontology:type_of_sport } } . FILTER ( ?a < ?x ) }
[]
aerodrome type of sport
Q9694 Q157741 Q800126
SYSTEM
Amsterdam Airport Schiphol, Cologne Bonn Airport, Bagram Airfield
Q6748265 Q2875486 Q1432199 Q531178 Q61066 Q9694 Q643562 Q1962462 Q868994 Q598537 Q1350630 Q619980 Q1344758 Q1031590 Q1431605 Q744802 Q12474098 Q1431802 Q21335339 Q3356156 Q215327 Q3506532 Q1130612 Q1083424 Q1190274 Q3565912 Q1431890 Q1109558 Q748848 Q912916 Q1432702 Q583453 Q1165280 Q2220491 Q1431744 Q597649 Q201374 Q620706 Q875749 Q1528942 Q157741 Q651190 Q193439 Q5442691 Q6663719 Q500253 Q1417736 Q623452 Q779571 Q651297 Q800126 Q19801298 Q372615 Q1324587 Q849366 Q2231318 Q637639 Q10930307 Q708281 Q86473 Q3886977 Q1156872 Q459096 Q6310989 Q3654662 Q217226 Q319654 Q652222 Q461793 Q4381833 Q2735729 Q1432638 Q2413018 Q3017040 Q223416 Q1197688 Q3083185 Q181479 Q1655092 Q738719 Q19101 Q1119032 Q513689 Q1322467 Q5467646 Q2262149 Q3275909 Q922675 Q637028 Q2308547
(c(Q31629),P1444,c(Q62447))
action less
action find_reverse_tuple_counts
relation P1444
type Q62447
type Q31629
action count
action filter_type
action find_reverse
entity Q4412650
relation P1444
type Q31629
[ANSWERS]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P1444 ?c . ?c rdf:type ontology:Q62447 . ?f rdf:type ontology:Q31629 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:P1444 resource:Q4412650 . ?p rdf:type ontology:Q31629 } } . FILTER ( ?a < ?x ) }
Mandurriao Airport Farah Airport Noumérat – Moufdi Zakaria Airport Honolulu International Airport Tribhuvan International Airport Amsterdam Airport Schiphol Abu Dhabi International Airport Central Illinois Regional Airport Clinton National Airport Blackbushe Airport Fuzhou Changle International Airport Bergen Airport San Pablo Airport Mariehamn Airport Jomsom Airport Hamid Karzai International Airport Oksibil Airport Sultan Abdul Aziz Shah Airport Paloich Airport Kjeller Airport Helsinki Airport Klaipėda Airport Gran Canaria Airport Incirlik Air Base Kunming Wujiaba International Airport Naples Municipal Airport Harry Mwanga Nkumbula International Airport Ljubljana Jože Pučnik Airport Brno-Tuřany Airport Phoenix Sky Harbor International Airport Salgado Filho International Airport Ajaccio Napoleon Bonaparte Airport Port Bouet Airport Raja Haji Fisabilillah Airport Kokoda Airport Charlotte/Douglas International Airport Ingeniero Aeronáutico Ambrosio L.V. Taravella International Airport Djibouti-Ambouli International Airport Minneapolis–Saint Paul International Airport Naga Airport Cologne Bonn Airport Marseille Provence Airport Dubai International Airport Felts Field Lobito Airport Kuala Lumpur International Airport Traian Vuia International Airport Houari Boumediene Airport Prince George Airport Mary Airport Bagram Airfield Metropolitano Airport Toulouse–Blagnac Airport Burgas Airport Smolensk North Airport Albano Machado Airport Bahrain International Airport Kiunga Airport Magong Airport Atatürk International Airport Brunswick Golden Isles Airport Pointe-à-Pitre International Airport Dallas/Fort Worth International Airport Jumla Airport Taliedo Airfield Tirana International Airport LaGuardia Airport Mena Intermountain Municipal Airport Cairo International Airport E. T. Joshua Airport Fredericton International Airport Rostov-on-Don Airport Tromsø Airport INS Hansa Orly Airport Guilin Liangjiang International Airport Gao International Airport Ben Gurion Airport Domingo Faustino Sarmiento Airport Paris–Le Bourget Airport Leonardo da Vinci–Fiumicino Airport Aden Adde International Airport Léopold Sédar Senghor International Airport Vaasa Airport Ford Airport Waalhaven General Enrique Mosconi International Airport Sadiq Abubakar III International Airport Oran Es Sénia Airport Alfonso Bonilla Aragón International Airport
Amsterdam Airport Schiphol Cologne Bonn Airport Bagram Airfield
action less
action find_reverse_tuple_counts
relation destination point
type aerodrome
type type of sport
action count
action filter_type
action find_reverse
entity Hønefoss Airport, Eggemoen
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:destination_point ?c . ?c rdf:type ontology:aerodrome . ?f rdf:type ontology:type_of_sport } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { ?p property:destination_point resource:Hønefoss_Airport,_Eggemoen . ?p rdf:type ontology:type_of_sport } } . FILTER ( ?a < ?x ) }
[]