Simple Question (Direct)
Simple Question
Q8010771
P69
Q3914
USER
What is the school where William Hamilton Nisbet was educated ?
(Q8010771,P69,c(Q3914))
action filter_type
action find
entity Q8010771
relation P69
type Q3914
['Q8010771', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q8010771 property:P69 ?v . ?v rdf:type ontology:Q3914 }
William Hamilton Nisbet
action filter_type
action find
entity William Hamilton Nisbet
relation educated at
type school
['William Hamilton Nisbet', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:William_Hamilton_Nisbet property:educated_at ?v . ?v rdf:type ontology:school }
[]
school
Q192088
SYSTEM
Eton College
Q192088
(Q8010771,P69,c(Q3914))
action filter_type
action find
entity Q8010771
relation P69
type Q3914
The school William Hamilton Nisbet was educated is at [ANSWER]
['Q8010771', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?v WHERE { resource:Q8010771 property:P69 ?v . ?v rdf:type ontology:Q3914 }
Eton College
The school William Hamilton Nisbet was educated is at Eton College
Eton College
action filter_type
action find
entity William Hamilton Nisbet
relation educated at
type school
['William Hamilton Nisbet', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?v WHERE { resource:William_Hamilton_Nisbet property:educated_at ?v . ?v rdf:type ontology:school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8010771
P106
Q12737077
USER
Which occupation has William Hamilton Nisbet as his/her 's career ?
(Q8010771,P106,c(Q12737077))
action filter_type
action find
entity Q8010771
relation P106
type Q12737077
['Q8010771', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q8010771 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
William Hamilton Nisbet
action filter_type
action find
entity William Hamilton Nisbet
relation occupation
type occupation
['William Hamilton Nisbet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:William_Hamilton_Nisbet property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q8010771,P106,c(Q12737077))
action filter_type
action find
entity Q8010771
relation P106
type Q12737077
The [ANSWER] has William Hamilton Nisbet as his/her 's career
['Q8010771', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q8010771 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
politician
The politician has William Hamilton Nisbet as his/her 's career
politician
action filter_type
action find
entity William Hamilton Nisbet
relation occupation
type occupation
['William Hamilton Nisbet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:William_Hamilton_Nisbet property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8010771
P22
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P22,Q82955)
action filter_type
action find_reverse
entity Q8010771
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q82955']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P22 resource:Q8010771 }
William Hamilton Nisbet
action filter_type
action find_reverse
entity William Hamilton Nisbet
relation father
type common name
[{'concept': 'common name'}, 'father', 'politician']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:father resource:William_Hamilton_Nisbet }
[]
common name
Q388848
SYSTEM
Mary Bruce, Countess of Elgin
Q388848
(c(Q502895),P22,Q82955)
action filter_type
action find_reverse
entity Q8010771
relation P22
type Q502895
The offspring of that one is Lady [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q82955']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P22 resource:Q8010771 }
Mary Bruce, Countess of Elgin
The offspring of that one is Lady Mary Bruce, Countess of Elgin
Mary Bruce, Countess of Elgin
action filter_type
action find_reverse
entity William Hamilton Nisbet
relation father
type common name
[{'concept': 'common name'}, 'father', 'politician']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:father resource:William_Hamilton_Nisbet }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8010771
P40
Q502895
USER
Who is an offspring of William Hamilton Nisbet ?
(Q8010771,P40,c(Q502895))
action filter_type
action find
entity Q8010771
relation P40
type Q502895
['Q8010771', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q8010771 property:P40 ?n . ?n rdf:type ontology:Q502895 }
William Hamilton Nisbet
action filter_type
action find
entity William Hamilton Nisbet
relation child
type common name
['William Hamilton Nisbet', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:William_Hamilton_Nisbet property:child ?n . ?n rdf:type ontology:common_name }
[]
common name
Q388848
SYSTEM
Mary Bruce, Countess of Elgin
Q388848
(Q8010771,P40,c(Q502895))
action filter_type
action find
entity Q8010771
relation P40
type Q502895
An offspring of William Hamilton Nisbet is married [ANSWER]
['Q8010771', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q8010771 property:P40 ?n . ?n rdf:type ontology:Q502895 }
Mary Bruce, Countess of Elgin
An offspring of William Hamilton Nisbet is married Mary Bruce, Countess of Elgin
Mary Bruce, Countess of Elgin
action filter_type
action find
entity William Hamilton Nisbet
relation child
type common name
['William Hamilton Nisbet', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:William_Hamilton_Nisbet property:child ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9196739
Q502895
USER
And how about Cristina Adela Foișor?
(Q9196739,P40,c(Q502895))
action filter_type
action find
entity Q9196739
relation P40
type Q502895
['Q9196739', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q9196739 property:P40 ?r }
Cristina Adela Foișor
action filter_type
action find
entity Cristina Adela Foișor
relation child
type common name
['Cristina Adela Foișor', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Cristina_Adela_Foișor property:child ?r }
[]
common name
Q9332568
SYSTEM
Sabina-Francesca Foisor
Q9332568
(Q9196739,P40,c(Q502895))
action filter_type
action find
entity Q9196739
relation P40
type Q502895
[ANSWER]
['Q9196739', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q9196739 property:P40 ?r }
Sabina-Francesca Foisor
Sabina-Francesca Foisor
action filter_type
action find
entity Cristina Adela Foișor
relation child
type common name
['Cristina Adela Foișor', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Cristina_Adela_Foișor property:child ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9332568
P641
Q31629
USER
Which type of sport was that person a part of ?
(Q9332568,P641,c(Q31629))
action filter_type
action find
entity Q9332568
relation P641
type Q31629
['Q9332568', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { resource:Q9332568 property:P641 ?y . ?y rdf:type ontology:Q31629 }
Sabina-Francesca Foisor
action filter_type
action find
entity Sabina-Francesca Foisor
relation sport
type type of sport
['Sabina-Francesca Foisor', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { resource:Sabina-Francesca_Foisor property:sport ?y . ?y rdf:type ontology:type_of_sport }
[]
type of sport
Q718
SYSTEM
chess
Q718
(Q9332568,P641,c(Q31629))
action filter_type
action find
entity Q9332568
relation P641
type Q31629
Playing [ANSWER] was that person a part of
['Q9332568', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { resource:Q9332568 property:P641 ?y . ?y rdf:type ontology:Q31629 }
chess
Playing chess was that person a part of
chess
action filter_type
action find
entity Sabina-Francesca Foisor
relation sport
type type of sport
['Sabina-Francesca Foisor', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { resource:Sabina-Francesca_Foisor property:sport ?y . ?y rdf:type ontology:type_of_sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q583453
P1444
Q62447 Q31629
USER
Which aerodromes do the journey end for around the same number of types of sport as Ajaccio Napoleon Bonaparte Airport ?
(c(Q31629),P1444,c(Q62447))
action approx
action find_reverse_tuple_counts
relation P1444
type Q62447
type Q31629
action count
action filter_type
action find
entity Q583453
relation P1444
type Q62447
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P1444 ?u . ?u rdf:type ontology:Q62447 . ?t rdf:type ontology:Q31629 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Q583453 property:P1444 ?w . ?w rdf:type ontology:Q62447 } } . FILTER ( ?h = ?n ) }
Ajaccio Napoleon Bonaparte Airport
action approx
action find_reverse_tuple_counts
relation destination point
type aerodrome
type type of sport
action count
action filter_type
action find
entity Ajaccio Napoleon Bonaparte Airport
relation destination point
type aerodrome
[{'concept': 'type of sport'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:destination_point ?u . ?u rdf:type ontology:aerodrome . ?t rdf:type ontology:type_of_sport } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Ajaccio_Napoleon_Bonaparte_Airport property:destination_point ?w . ?w rdf:type ontology:aerodrome } } . FILTER ( ?h = ?n ) }
[]
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 approx
action find_reverse_tuple_counts
relation P1444
type Q62447
type Q31629
action count
action filter_type
action find
entity Q583453
relation P1444
type Q62447
[ANSWERS]
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P1444 ?u . ?u rdf:type ontology:Q62447 . ?t rdf:type ontology:Q31629 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Q583453 property:P1444 ?w . ?w rdf:type ontology:Q62447 } } . FILTER ( ?h = ?n ) }
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 approx
action find_reverse_tuple_counts
relation destination point
type aerodrome
type type of sport
action count
action filter_type
action find
entity Ajaccio Napoleon Bonaparte Airport
relation destination point
type aerodrome
[{'concept': 'type of sport'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:destination_point ?u . ?u rdf:type ontology:aerodrome . ?t rdf:type ontology:type_of_sport } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Ajaccio_Napoleon_Bonaparte_Airport property:destination_point ?w . ?w rdf:type ontology:aerodrome } } . FILTER ( ?h = ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9694
P931
Q56061
USER
How many administrative territories do Amsterdam Airport Schiphol serve ?
(Q9694,P931,c(Q56061))
action count
action filter_type
action find
entity Q9694
relation P931
type Q56061
['Q9694', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:Q56061 . resource:Q9694 property:P931 ?z }
Amsterdam Airport Schiphol
action count
action filter_type
action find
entity Amsterdam Airport Schiphol
relation place served by airport
type administrative territorial entity
['Amsterdam Airport Schiphol', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Amsterdam_Airport_Schiphol property:place_served_by_airport ?z }
[]
administrative territorial entity
SYSTEM
1
Q727
(Q9694,P931,c(Q56061))
action count
action filter_type
action find
entity Q9694
relation P931
type Q56061
[ANSWER]
['Q9694', 'P931', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:Q56061 . resource:Q9694 property:P931 ?z }
Amsterdam
1
action count
action filter_type
action find
entity Amsterdam Airport Schiphol
relation place served by airport
type administrative territorial entity
['Amsterdam Airport Schiphol', 'place served by airport', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:administrative_territorial_entity . resource:Amsterdam_Airport_Schiphol property:place_served_by_airport ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9694
P138
Q34442
USER
Which roads have Amsterdam Airport Schiphol as their toponym ?
(c(Q34442),P138,Q9694)
action filter_type
action find_reverse
entity Q9694
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q9694']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q9694 . ?j rdf:type ontology:Q34442 }
Amsterdam Airport Schiphol
action filter_type
action find_reverse
entity Amsterdam Airport Schiphol
relation named after
type road
[{'concept': 'road'}, 'named after', 'Amsterdam Airport Schiphol']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:Amsterdam_Airport_Schiphol . ?j rdf:type ontology:road }
[]
road
Q19510476 Q19510471 Q19510470
SYSTEM
Schipholweg, Schipholweg, Schipholweg
Q19510471 Q19510470 Q19510472 Q19510474 Q19510476
(c(Q34442),P138,Q9694)
action filter_type
action find_reverse
entity Q9694
relation P138
type Q34442
[ANSWERS] have Amsterdam Airport Schiphol as their toponym
[{'concept': 'Q34442'}, 'P138', 'Q9694']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q9694 . ?j rdf:type ontology:Q34442 }
Schipholweg Schipholweg Schipholweg Schipholweg Schipholweg
Schipholweg, Schipholweg and Schipholweg have Amsterdam Airport Schiphol as their toponym
Schipholweg Schipholweg Schipholweg
action filter_type
action find_reverse
entity Amsterdam Airport Schiphol
relation named after
type road
[{'concept': 'road'}, 'named after', 'Amsterdam Airport Schiphol']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:Amsterdam_Airport_Schiphol . ?j rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9694
P121
Q1269299
USER
Which business organization is managed by Amsterdam Airport Schiphol ?
(Q9694,P121,c(Q1269299))
action filter_type
action find
entity Q9694
relation P121
type Q1269299
['Q9694', 'P121', {'concept': 'Q1269299'}]
SELECT DISTINCT ?w WHERE { resource:Q9694 property:P121 ?w . ?w rdf:type ontology:Q1269299 }
Amsterdam Airport Schiphol
action filter_type
action find
entity Amsterdam Airport Schiphol
relation item operated
type type of business entity
['Amsterdam Airport Schiphol', 'item operated', {'concept': 'type of business entity'}]
SELECT DISTINCT ?w WHERE { resource:Amsterdam_Airport_Schiphol property:item_operated ?w . ?w rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q8766
SYSTEM
British Airways
Q8766
(Q9694,P121,c(Q1269299))
action filter_type
action find
entity Q9694
relation P121
type Q1269299
[ANSWER] is managed by Amsterdam Airport Schiphol
['Q9694', 'P121', {'concept': 'Q1269299'}]
SELECT DISTINCT ?w WHERE { resource:Q9694 property:P121 ?w . ?w rdf:type ontology:Q1269299 }
British Airways
British Airways is managed by Amsterdam Airport Schiphol
British Airways
action filter_type
action find
entity Amsterdam Airport Schiphol
relation item operated
type type of business entity
['Amsterdam Airport Schiphol', 'item operated', {'concept': 'type of business entity'}]
SELECT DISTINCT ?w WHERE { resource:Amsterdam_Airport_Schiphol property:item_operated ?w . ?w rdf:type ontology:type_of_business_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9694
P276
Q1433344 Q41176
USER
How many airport infrastructures or buildings are situated at Amsterdam Airport Schiphol ?
(c(Q1433344),P276,Q9694) (c(Q41176),P276,Q9694)
action count
action union
action filter_type
action find_reverse
entity Q9694
relation P276
type Q1433344
action filter_type
action find_reverse
entity Q9694
relation P276
type Q41176
[{'concept': 'Q1433344'}, 'P276', 'Q9694'] [{'concept': 'Q41176'}, 'P276', 'Q9694']
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1433344 ) ( ontology:Q41176 ) } }
Amsterdam Airport Schiphol
action count
action union
action filter_type
action find_reverse
entity Amsterdam Airport Schiphol
relation location
type airport infrastructure
action filter_type
action find_reverse
entity Amsterdam Airport Schiphol
relation location
type building
[{'concept': 'airport infrastructure'}, 'location', 'Amsterdam Airport Schiphol'] [{'concept': 'building'}, 'location', 'Amsterdam Airport Schiphol']
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ?w . VALUES ( ?w ) { ( ontology:airport_infrastructure ) ( ontology:building ) } }
[]
airport infrastructure building
SYSTEM
3
Q19561003 Q2785026 Q2612533
(c(Q1433344),P276,Q9694) (c(Q41176),P276,Q9694)
action count
action union
action filter_type
action find_reverse
entity Q9694
relation P276
type Q1433344
action filter_type
action find_reverse
entity Q9694
relation P276
type Q41176
[ANSWER]
[{'concept': 'Q1433344'}, 'P276', 'Q9694'] [{'concept': 'Q41176'}, 'P276', 'Q9694']
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1433344 ) ( ontology:Q41176 ) } }
Schiphol Building Buitenveldertbaan Aalsmeerbaan
3
action count
action union
action filter_type
action find_reverse
entity Amsterdam Airport Schiphol
relation location
type airport infrastructure
action filter_type
action find_reverse
entity Amsterdam Airport Schiphol
relation location
type building
[{'concept': 'airport infrastructure'}, 'location', 'Amsterdam Airport Schiphol'] [{'concept': 'building'}, 'location', 'Amsterdam Airport Schiphol']
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ?w . VALUES ( ?w ) { ( ontology:airport_infrastructure ) ( ontology:building ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1477681
P355
Q1269299 Q1269299
USER
How many business organizations are greater number of business organizations the parent company of than Thaicom ?
(c(Q1269299),P355,c(Q1269299))
action count
action greater
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q1269299
action count
action filter_type
action find
entity Q1477681
relation P355
type Q1269299
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P355 ?l . ?e rdf:type ontology:Q1269299 . ?l rdf:type ontology:Q1269299 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q1477681 property:P355 ?g . ?g rdf:type ontology:Q1269299 } } . FILTER ( ?f > ?j ) }
Thaicom
action count
action greater
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type type of business entity
action count
action filter_type
action find
entity Thaicom
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:subsidiary ?l . ?e rdf:type ontology:type_of_business_entity . ?l rdf:type ontology:type_of_business_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Thaicom property:subsidiary ?g . ?g rdf:type ontology:type_of_business_entity } } . FILTER ( ?f > ?j ) }
[]
type of business entity type of business entity
SYSTEM
11
Q691207 Q193007 Q507269 Q19384835 Q207784 Q242446 Q309996 Q14647 Q14932155 Q7389567 Q11281447
(c(Q1269299),P355,c(Q1269299))
action count
action greater
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q1269299
action count
action filter_type
action find
entity Q1477681
relation P355
type Q1269299
[ANSWER]
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P355 ?l . ?e rdf:type ontology:Q1269299 . ?l rdf:type ontology:Q1269299 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q1477681 property:P355 ?g . ?g rdf:type ontology:Q1269299 } } . FILTER ( ?f > ?j ) }
Logica Sukhoi Bandai Co., Ltd. Oslo Market Solutions Square Enix Lucasfilm Namco Sun Microsystems Calico SEB bankas Resona Bank
11
action count
action greater
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type type of business entity
action count
action filter_type
action find
entity Thaicom
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:subsidiary ?l . ?e rdf:type ontology:type_of_business_entity . ?l rdf:type ontology:type_of_business_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Thaicom property:subsidiary ?g . ?g rdf:type ontology:type_of_business_entity } } . FILTER ( ?f > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3238409
P355
Q1269299 Q1269299
USER
And what about Lifetime Entertainment Services?
(c(Q1269299),P355,c(Q1269299))
action count
action greater
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q1269299
action count
action filter_type
action find
entity Q3238409
relation P355
type Q1269299
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P355 ?h . ?h rdf:type ontology:Q1269299 . ?c rdf:type ontology:Q1269299 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:Q1269299 . resource:Q3238409 property:P355 ?x } } . FILTER ( ?g > ?w ) }
Lifetime Entertainment Services
action count
action greater
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type type of business entity
action count
action filter_type
action find
entity Lifetime Entertainment Services
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:subsidiary ?h . ?h rdf:type ontology:type_of_business_entity . ?c rdf:type ontology:type_of_business_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:type_of_business_entity . resource:Lifetime_Entertainment_Services property:subsidiary ?x } } . FILTER ( ?g > ?w ) }
[]
type of business entity type of business entity
SYSTEM
11
Q691207 Q193007 Q507269 Q19384835 Q207784 Q242446 Q309996 Q14647 Q14932155 Q7389567 Q11281447
(c(Q1269299),P355,c(Q1269299))
action count
action greater
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q1269299
action count
action filter_type
action find
entity Q3238409
relation P355
type Q1269299
[ANSWER]
[{'concept': 'Q1269299'}, 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:P355 ?h . ?h rdf:type ontology:Q1269299 . ?c rdf:type ontology:Q1269299 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:Q1269299 . resource:Q3238409 property:P355 ?x } } . FILTER ( ?g > ?w ) }
Logica Sukhoi Bandai Co., Ltd. Oslo Market Solutions Square Enix Lucasfilm Namco Sun Microsystems Calico SEB bankas Resona Bank
11
action count
action greater
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type type of business entity
action count
action filter_type
action find
entity Lifetime Entertainment Services
relation subsidiary
type type of business entity
[{'concept': 'type of business entity'}, 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?g ) WHERE { ?c property:subsidiary ?h . ?h rdf:type ontology:type_of_business_entity . ?c rdf:type ontology:type_of_business_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x rdf:type ontology:type_of_business_entity . resource:Lifetime_Entertainment_Services property:subsidiary ?x } } . FILTER ( ?g > ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q16970 Q811979
USER
Which people are atleast 3 churches or architectural structures dedicated to ?
(c(Q16970)|c(Q811979),P825,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
value 3
[[{'concept': 'Q16970'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:P825 ?g . ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q16970 } UNION { ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q811979 . ?q property:P825 ?g } } GROUP BY ?g } . FILTER ( ?m >= 3 ) }
action atleast
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type church
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
value 3
[[{'concept': 'church'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:dedicated_to ?g . ?g rdf:type ontology:common_name . ?q rdf:type ontology:church } UNION { ?g rdf:type ontology:common_name . ?q rdf:type ontology:architectural_structure . ?q property:dedicated_to ?g } } GROUP BY ?g } . FILTER ( ?m >= 3 ) }
[]
common name church architectural structure
Q33923 Q40662 Q128267
SYSTEM
Peter, John the Baptist, Joseph
Q534049 Q161775 Q33923 Q128267 Q40662
(c(Q16970)|c(Q811979),P825,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
value 3
[ANSWERS]
[[{'concept': 'Q16970'}, {'concept': 'Q811979'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:P825 ?g . ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q16970 } UNION { ?g rdf:type ontology:Q502895 . ?q rdf:type ontology:Q811979 . ?q property:P825 ?g } } GROUP BY ?g } . FILTER ( ?m >= 3 ) }
Saint Petroc Stephen Peter Joseph John the Baptist
Which people are atleast 3 churches or architectural structures dedicated to
Peter John the Baptist Joseph
action atleast
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type church
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
value 3
[[{'concept': 'church'}, {'concept': 'architectural structure'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?m ) WHERE { { ?q property:dedicated_to ?g . ?g rdf:type ontology:common_name . ?q rdf:type ontology:church } UNION { ?g rdf:type ontology:common_name . ?q rdf:type ontology:architectural_structure . ?q property:dedicated_to ?g } } GROUP BY ?g } . FILTER ( ?m >= 3 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q388848
P21 P40
Q502895
USER
Which people have Mary Bruce, Countess of Elgin as a child and have the gender as male ?
AND((c(Q502895),P40,Q388848), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q388848
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q388848'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q388848 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Mary Bruce, Countess of Elgin
action filter_type
action intersection
action find_reverse
entity Mary Bruce, Countess of Elgin
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Mary Bruce, Countess of Elgin'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:child resource:Mary_Bruce,_Countess_of_Elgin . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q8010771
SYSTEM
William Hamilton Nisbet
Q8010771
AND((c(Q502895),P40,Q388848), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q388848
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Mary Bruce, Countess of Elgin as a child and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q388848'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q388848 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
William Hamilton Nisbet
William Hamilton Nisbet have Mary Bruce, Countess of Elgin as a child and have the gender as male
William Hamilton Nisbet
action filter_type
action intersection
action find_reverse
entity Mary Bruce, Countess of Elgin
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Mary Bruce, Countess of Elgin'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:child resource:Mary_Bruce,_Countess_of_Elgin . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8010771 Q18015642
P39
Q12737077
USER
Was Member of Parliament in the Parliament of Great Britain a position for which William Hamilton Nisbet was appointed ?
(Q8010771,P39,Q18015642)
action is_in
entity Q18015642
action find
entity Q8010771
relation P39
['Q8010771', 'P39', 'Q18015642']
ASK WHERE { resource:Q8010771 property:P39 resource:Q18015642 }
William Hamilton Nisbet Member of Parliament in the Parliament of Great Britain
action is_in
entity Member of Parliament in the Parliament of Great Britain
action find
entity William Hamilton Nisbet
relation position held
['William Hamilton Nisbet', 'position held', 'Member of Parliament in the Parliament of Great Britain']
ASK WHERE { resource:William_Hamilton_Nisbet property:position_held resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain }
[]
occupation
SYSTEM
YES
(Q8010771,P39,Q18015642)
action is_in
entity Q18015642
action find
entity Q8010771
relation P39
[ANSWER]
['Q8010771', 'P39', 'Q18015642']
ASK WHERE { resource:Q8010771 property:P39 resource:Q18015642 }
Yes
action is_in
entity Member of Parliament in the Parliament of Great Britain
action find
entity William Hamilton Nisbet
relation position held
['William Hamilton Nisbet', 'position held', 'Member of Parliament in the Parliament of Great Britain']
ASK WHERE { resource:William_Hamilton_Nisbet property:position_held resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q40662 Q25239343
P22
Q502895
USER
Was Rita Forst the father of John the Baptist ?
(Q40662,P22,Q25239343)
action is_in
entity Q25239343
action find
entity Q40662
relation P22
['Q40662', 'P22', 'Q25239343']
ASK WHERE { resource:Q40662 property:P22 resource:Q25239343 }
John the Baptist Rita Forst
action is_in
entity Rita Forst
action find
entity John the Baptist
relation father
['John the Baptist', 'father', 'Rita Forst']
ASK WHERE { resource:John_the_Baptist property:father resource:Rita_Forst }
[]
common name
SYSTEM
NO
(Q40662,P22,Q25239343)
action is_in
entity Q25239343
action find
entity Q40662
relation P22
[ANSWER]
['Q40662', 'P22', 'Q25239343']
ASK WHERE { resource:Q40662 property:P22 resource:Q25239343 }
No
action is_in
entity Rita Forst
action find
entity John the Baptist
relation father
['John the Baptist', 'father', 'Rita Forst']
ASK WHERE { resource:John_the_Baptist property:father resource:Rita_Forst }
[]