Simple Question (Direct)
Simple Question
Q6280611
P19
Q486972
USER
Where was Joseph-François Armand born ?
(Q6280611,P19,c(Q486972))
action filter_type
action find
entity Q6280611
relation P19
type Q486972
['Q6280611', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?g WHERE { resource:Q6280611 property:P19 ?g . ?g rdf:type ontology:Q486972 }
Joseph-François Armand
action filter_type
action find
entity Joseph-François Armand
relation place of birth
type human settlement
['Joseph-François Armand', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?g WHERE { resource:Joseph-François_Armand property:place_of_birth ?g . ?g rdf:type ontology:human_settlement }
[]
human settlement
Q3433601
SYSTEM
Rivière-des-Prairies, Quebec
Q3433601
(Q6280611,P19,c(Q486972))
action filter_type
action find
entity Q6280611
relation P19
type Q486972
Joseph-François Armand was born à [ANSWER]
['Q6280611', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?g WHERE { resource:Q6280611 property:P19 ?g . ?g rdf:type ontology:Q486972 }
Rivière-des-Prairies, Quebec
Joseph-François Armand was born à Rivière-des-Prairies, Quebec
Rivière-des-Prairies, Quebec
action filter_type
action find
entity Joseph-François Armand
relation place of birth
type human settlement
['Joseph-François Armand', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?g WHERE { resource:Joseph-François_Armand property:place_of_birth ?g . ?g rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3433601 Q16
P17
Q1048835
USER
Is Rivière-des-Prairies, Quebec present in Canada ?
(Q3433601,P17,Q16)
action is_in
entity Q16
action find
entity Q3433601
relation P17
['Q3433601', 'P17', 'Q16']
ASK WHERE { resource:Q3433601 property:P17 resource:Q16 }
Rivière-des-Prairies, Quebec Canada
action is_in
entity Canada
action find
entity Rivière-des-Prairies, Quebec
relation country
['Rivière-des-Prairies, Quebec', 'country', 'Canada']
ASK WHERE { resource:Rivière-des-Prairies,_Quebec property:country resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q3433601,P17,Q16)
action is_in
entity Q16
action find
entity Q3433601
relation P17
[ANSWER]
['Q3433601', 'P17', 'Q16']
ASK WHERE { resource:Q3433601 property:P17 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Rivière-des-Prairies, Quebec
relation country
['Rivière-des-Prairies, Quebec', 'country', 'Canada']
ASK WHERE { resource:Rivière-des-Prairies,_Quebec property:country resource:Canada }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3433601 Q1147853
P19
Q502895
USER
How many people have birthplace at Rivière-des-Prairies, Quebec or Tamale ?
(c(Q502895),P19,Q3433601) (c(Q502895),P19,Q1147853)
action count
action union
action filter_type
action find_reverse
entity Q3433601
relation P19
type Q502895
action filter_type
action find_reverse
entity Q1147853
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q3433601'] [{'concept': 'Q502895'}, 'P19', 'Q1147853']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:P19 resource:Q3433601 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P19 resource:Q1147853 . ?y rdf:type ontology:Q502895 } }
Rivière-des-Prairies, Quebec Tamale
action count
action union
action filter_type
action find_reverse
entity Rivière-des-Prairies, Quebec
relation place of birth
type common name
action filter_type
action find_reverse
entity Tamale
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Rivière-des-Prairies, Quebec'] [{'concept': 'common name'}, 'place of birth', 'Tamale']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:place_of_birth resource:Rivière-des-Prairies,_Quebec . ?y rdf:type ontology:common_name } UNION { ?y property:place_of_birth resource:Tamale . ?y rdf:type ontology:common_name } }
[]
common name
SYSTEM
4
Q4665776 Q18098019 Q6828153 Q6280611
(c(Q502895),P19,Q3433601) (c(Q502895),P19,Q1147853)
action count
action union
action filter_type
action find_reverse
entity Q3433601
relation P19
type Q502895
action filter_type
action find_reverse
entity Q1147853
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q3433601'] [{'concept': 'Q502895'}, 'P19', 'Q1147853']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:P19 resource:Q3433601 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P19 resource:Q1147853 . ?y rdf:type ontology:Q502895 } }
Abdulai Seidu Dramani Masud Didi Michael Akuffu Joseph-François Armand
4
action count
action union
action filter_type
action find_reverse
entity Rivière-des-Prairies, Quebec
relation place of birth
type common name
action filter_type
action find_reverse
entity Tamale
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Rivière-des-Prairies, Quebec'] [{'concept': 'common name'}, 'place of birth', 'Tamale']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { ?y property:place_of_birth resource:Rivière-des-Prairies,_Quebec . ?y rdf:type ontology:common_name } UNION { ?y property:place_of_birth resource:Tamale . ?y rdf:type ontology:common_name } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q15617994 Q486972
USER
Which administrative territories have exactly 1 human settlement as their capital ?
(c(Q486972),P1376,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
value 1
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P1376 ?l . ?l rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q486972 } GROUP BY ?l } }
action equal
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:human_settlement } GROUP BY ?l } }
[]
designation for an administrative territorial entity human settlement
Q965 Q541589 Q492437
SYSTEM
Burkina Faso, Ems-Supérieur, Bouches-du-Weser
Q1111401 Q541589 Q492437 Q492430 Q965
(c(Q486972),P1376,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
value 1
[ANSWERS] have exactly 1 human settlement as their capital
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P1376 ?l . ?l rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q486972 } GROUP BY ?l } }
Kispest District Ems-Supérieur Bouches-du-Weser Bouches-de-l'Elbe Burkina Faso
Burkina Faso, Ems-Supérieur and Bouches-du-Weser have exactly 1 human settlement as their capital
Burkina Faso Ems-Supérieur Bouches-du-Weser
action equal
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:capital_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:human_settlement } GROUP BY ?l } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P609
Q486972 Q12280 Q83620
USER
How many human settlements are the terminus locations of exactly 1 bridges and thoroughfares ?
(c(Q12280)|c(Q83620),P609,c(Q486972))
action count
action equal
action union
action find_reverse_tuple_counts
relation P609
type Q486972
type Q12280
action find_reverse_tuple_counts
relation P609
type Q486972
type Q83620
value 1
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?s ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } . ?v rdf:type ?s } GROUP BY ?g } }
action count
action equal
action union
action find_reverse_tuple_counts
relation terminus location
type human settlement
type bridge
action find_reverse_tuple_counts
relation terminus location
type human settlement
type thoroughfare
value 1
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?s ) { ( ontology:bridge ) ( ontology:thoroughfare ) } . ?v rdf:type ?s } GROUP BY ?g } }
[]
human settlement bridge thoroughfare
SYSTEM
42
Q679219 Q1020984 Q586805 Q2361618 Q3458263 Q22086061 Q1776138 Q146436 Q7563690 Q1438770 Q6389213 Q1889583 Q1928388 Q2394499 Q1043538 Q987262 Q8039977 Q462894 Q5329043 Q12020174 Q662075 Q754345 Q2097028 Q1020993 Q3350222 Q199440 Q494504 Q590710 Q548856 Q7972623 Q7074391 Q664293 Q3458232 Q2215582 Q3458709 Q3470756 Q755281 Q3458226 Q3490765 Q6646538 Q3126518 Q582954
(c(Q12280)|c(Q83620),P609,c(Q486972))
action count
action equal
action union
action find_reverse_tuple_counts
relation P609
type Q486972
type Q12280
action find_reverse_tuple_counts
relation P609
type Q486972
type Q83620
value 1
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?s ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } . ?v rdf:type ?s } GROUP BY ?g } }
Schurz Dayton Edgemoor Desert Center Winterhaven Cross Village Hawthorne Waterloo Sorrento Valley Fort Thompson Oasis Blue Diamond Ramona San Lucas Carmel Valley Virginia City Wymering Point Loma East Nicolaus Horní Heršpice Rodney Village Wilmington Manor Mecca Stateline Old Town Mexicali Bludenz New Town Eureka Washoe Valley Oasis Gerasdorf bei Wien Potrero Parmelee Boulevard Alsea Rising Sun-Lebanon Descanso Věřňovice Mountain Center Hammarby Sjöstad Ocotillo
42
action count
action equal
action union
action find_reverse_tuple_counts
relation terminus location
type human settlement
type bridge
action find_reverse_tuple_counts
relation terminus location
type human settlement
type thoroughfare
value 1
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?a ) WHERE { VALUES ( ?s ) { ( ontology:bridge ) ( ontology:thoroughfare ) } . ?v rdf:type ?s } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q965
P530
Q15617994
USER
Which administrative territory has diplomatic associations with Burkina Faso ?
(c(Q15617994),P530,Q965)
action filter_type
action find_reverse
entity Q965
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q965']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . ?k property:P530 resource:Q965 }
Burkina Faso
action filter_type
action find_reverse
entity Burkina Faso
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Burkina Faso']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation resource:Burkina_Faso }
[]
designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,Q965)
action filter_type
action find_reverse
entity Q965
relation P530
type Q15617994
[ANSWER] has diplomatic associations with Burkina Faso
[{'concept': 'Q15617994'}, 'P530', 'Q965']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . ?k property:P530 resource:Q965 }
Georgia
Georgia has diplomatic associations with Burkina Faso
Georgia
action filter_type
action find_reverse
entity Burkina Faso
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Burkina Faso']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation resource:Burkina_Faso }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q965
P36
Q486972
USER
Which human settlement is known as the capital of Burkina Faso ?
(Q965,P36,c(Q486972))
action filter_type
action find
entity Q965
relation P36
type Q486972
['Q965', 'P36', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q965 property:P36 ?k . ?k rdf:type ontology:Q486972 }
Burkina Faso
action filter_type
action find
entity Burkina Faso
relation capital
type human settlement
['Burkina Faso', 'capital', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Burkina_Faso property:capital ?k . ?k rdf:type ontology:human_settlement }
[]
human settlement
Q3777
SYSTEM
Ouagadougou
Q3777
(Q965,P36,c(Q486972))
action filter_type
action find
entity Q965
relation P36
type Q486972
[ANSWER] is known as the capital of Burkina Faso
['Q965', 'P36', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q965 property:P36 ?k . ?k rdf:type ontology:Q486972 }
Ouagadougou
Ouagadougou is known as the capital of Burkina Faso
Ouagadougou
action filter_type
action find
entity Burkina Faso
relation capital
type human settlement
['Burkina Faso', 'capital', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Burkina_Faso property:capital ?k . ?k rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3777
P190
Q56061
USER
Which administrative territories are partner towns of that human settlement ?
(Q3777,P190,c(Q56061))
action filter_type
action find
entity Q3777
relation P190
type Q56061
['Q3777', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q3777 property:P190 ?p }
Ouagadougou
action filter_type
action find
entity Ouagadougou
relation sister city
type administrative territorial entity
['Ouagadougou', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Ouagadougou property:sister_city ?p }
[]
administrative territorial entity
Q1867 Q495 Q1289
SYSTEM
Taipei, Turin, Grenoble
Q1289 Q1867 Q103244 Q495
(Q3777,P190,c(Q56061))
action filter_type
action find
entity Q3777
relation P190
type Q56061
[ANSWERS] are partner towns of that human settlement
['Q3777', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q3777 property:P190 ?p }
Grenoble Taipei San Miniato Turin
Taipei, Turin and Grenoble are partner towns of that human settlement
Taipei Turin Grenoble
action filter_type
action find
entity Ouagadougou
relation sister city
type administrative territorial entity
['Ouagadougou', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Ouagadougou property:sister_city ?p }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have around the same number of holidays and people as their patron saint as that administrative territory ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q28914 ?y } UNION { ?z property:Q28914 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 . ?x rdf:type ontology:Q502895 }
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday . ?x rdf:type ontology:common_name }
[]
holiday common name administrative territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q495
SYSTEM
Did you mean Turin ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q28914 ?y } UNION { ?z property:Q28914 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 . ?x rdf:type ontology:Q502895 }
Did you mean Turin ?
Turin
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q56061),P417,c(Q1445650)|c(Q502895))
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
[]
SYSTEM
95
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q28914 ?y } UNION { ?z property:Q28914 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 . ?x rdf:type ontology:Q502895 }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brolo Kastritsa Platres Altrei Molista Mölten Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
95
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday . ?x rdf:type ontology:common_name }
[]