Simple Question (Direct)
Simple Question
Q3425732
P27
Q15617994
USER
Which administrative territory does Etzaz Hussain belong to ?
(Q3425732,P27,c(Q15617994))
action filter_type
action find
entity Q3425732
relation P27
type Q15617994
['Q3425732', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3425732 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Etzaz Hussain
action filter_type
action find
entity Etzaz Hussain
relation country of citizenship
type designation for an administrative territorial entity
['Etzaz Hussain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Etzaz_Hussain property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q3425732,P27,c(Q15617994))
action filter_type
action find
entity Q3425732
relation P27
type Q15617994
Etzaz Hussain belongs to [ANSWER]
['Q3425732', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3425732 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Norway
Etzaz Hussain belongs to Norway
Norway
action filter_type
action find
entity Etzaz Hussain
relation country of citizenship
type designation for an administrative territorial entity
['Etzaz Hussain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Etzaz_Hussain property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3425732
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q20,P106,c(Q12737077))
action filter_type
action find
entity Q3425732
relation P106
type Q12737077
['Q20', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3425732 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Etzaz Hussain
action filter_type
action find
entity Etzaz Hussain
relation occupation
type occupation
['Norway', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Etzaz_Hussain property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q20,P106,c(Q12737077))
action filter_type
action find
entity Q3425732
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q20', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3425732 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Etzaz Hussain
relation occupation
type occupation
['Norway', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Etzaz_Hussain property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3425732
P641
Q349
USER
What was the sport that Etzaz Hussain was a part of ?
(Q3425732,P641,c(Q349))
action filter_type
action find
entity Q3425732
relation P641
type Q349
['Q3425732', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3425732 property:P641 ?o . ?o rdf:type ontology:Q349 }
Etzaz Hussain
action filter_type
action find
entity Etzaz Hussain
relation sport
type sport
['Etzaz Hussain', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Etzaz_Hussain property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3425732,P641,c(Q349))
action filter_type
action find
entity Q3425732
relation P641
type Q349
The sport that Etzaz Hussain was a part of was h [ANSWER]
['Q3425732', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3425732 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
The sport that Etzaz Hussain was a part of was h association football
association football
action filter_type
action find
entity Etzaz Hussain
relation sport
type sport
['Etzaz Hussain', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Etzaz_Hussain property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3425732
P19
Q56061
USER
Which administrative territory is the place of birth of Etzaz Hussain ?
(Q3425732,P19,c(Q56061))
action filter_type
action find
entity Q3425732
relation P19
type Q56061
['Q3425732', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3425732 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Etzaz Hussain
action filter_type
action find
entity Etzaz Hussain
relation place of birth
type administrative territorial entity
['Etzaz Hussain', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Etzaz_Hussain property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q585
SYSTEM
Oslo
Q585
(Q3425732,P19,c(Q56061))
action filter_type
action find
entity Q3425732
relation P19
type Q56061
In [ANSWER] is the place of birth of Etzaz Hussain
['Q3425732', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q3425732 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Oslo
In Oslo is the place of birth of Etzaz Hussain
Oslo
action filter_type
action find
entity Etzaz Hussain
relation place of birth
type administrative territorial entity
['Etzaz Hussain', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Etzaz_Hussain property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q585
P47
Q13220204
USER
Which administrative country subdivisions share border with that administrative territory ?
(c(Q13220204),P47,Q585)
action filter_type
action find
entity Q585
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q585']
SELECT DISTINCT ?l WHERE { resource:Q585 property:P47 ?l . ?l rdf:type ontology:Q13220204 }
Oslo
action filter_type
action find
entity Oslo
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Oslo']
SELECT DISTINCT ?l WHERE { resource:Oslo property:shares_border_with ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q110848 Q57076 Q57081
SYSTEM
Ringerike, Bærum, Enebakk
Q57871 Q488398 Q57868 Q57865 Q57864 Q57912 Q57076 Q57860 Q57081 Q110848
(c(Q13220204),P47,Q585)
action filter_type
action find
entity Q585
relation P47
type Q13220204
[ANSWERS] share border with that administrative territory
[{'concept': 'Q13220204'}, 'P47', 'Q585']
SELECT DISTINCT ?l WHERE { resource:Q585 property:P47 ?l . ?l rdf:type ontology:Q13220204 }
Skedsmo Lunner Oppegård Nittedal Nesodden Ski Bærum Lørenskog Enebakk Ringerike
Ringerike, Bærum and Enebakk share border with that administrative territory
Ringerike Bærum Enebakk
action filter_type
action find
entity Oslo
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Oslo']
SELECT DISTINCT ?l WHERE { resource:Oslo property:shares_border_with ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
Clarification
Simple Question|Single Entity|Indirect
Q57076
P6
Q502895
USER
Which person has that administrative country subdivision as its head of government ?
(Q57076,P6,c(Q502895))
action filter_type
action find
entity Q57076
relation P6
type Q502895
['Q57076', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q57076 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Bærum
action filter_type
action find
entity Bærum
relation head of government
type common name
['Bærum', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Bærum property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q110848
SYSTEM
Did you mean Ringerike ?
Q110848 Q57076 Q57081
(Q110848,P6,c(Q502895)) (Q57076,P6,c(Q502895)) (Q57081,P6,c(Q502895))
[ANSWER]
['Q110848', 'P6', {'concept': 'Q502895'}] ['Q57076', 'P6', {'concept': 'Q502895'}] ['Q57081', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q57076 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Ringerike Bærum Enebakk
Did you mean Ringerike ?
Ringerike
['Ringerike', 'head of government', {'concept': 'common name'}] ['Bærum', 'head of government', {'concept': 'common name'}] ['Enebakk', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Bærum property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Bærum. Could you tell me the answer for that?
(Q57076,P6,c(Q502895))
Q57076
['Q57076', 'P6', {'concept': 'Q502895'}]
['Bærum', 'head of government', {'concept': 'common name'}]
[]
Q14436781
SYSTEM
Lisbeth Hammer Krog
Q14436781
(Q57076,P6,c(Q502895))
action filter_type
action find
entity Q57076
relation P6
type Q502895
[ANSWER] has that administrative country subdivision as its head of government
['Q57076', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q57076 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Lisbeth Hammer Krog
Lisbeth Hammer Krog has that administrative country subdivision as its head of government
Lisbeth Hammer Krog
action filter_type
action find
entity Bærum
relation head of government
type common name
['Bærum', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Bærum property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q337567 Q15617994 Q13220204
USER
Which administrative country subdivisions have atmost 1 still waterss and administrative territories as their toponym ?
(c(Q13220204),P138,c(Q337567)|c(Q15617994))
action atmost
action union
action find_tuple_counts
relation P138
type Q13220204
type Q337567
action find_tuple_counts
relation P138
type Q13220204
type Q15617994
value 1
[{'concept': 'Q13220204'}, 'P138', [{'concept': 'Q337567'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?k WHERE { { ?k property:P138 ?s . ?k rdf:type ontology:Q13220204 . ?s rdf:type ontology:Q15617994 } UNION { ?k property:P138 ?s . ?k rdf:type ontology:Q13220204 . ?s rdf:type ontology:Q337567 } } GROUP BY ?k } . FILTER ( ?l <= 1 ) }
action atmost
action union
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type still waters
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type designation for an administrative territorial entity
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', [{'concept': 'still waters'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?k WHERE { { ?k property:named_after ?s . ?k rdf:type ontology:second-level_administrative_country_subdivision . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k property:named_after ?s . ?k rdf:type ontology:second-level_administrative_country_subdivision . ?s rdf:type ontology:still_waters } } GROUP BY ?k } . FILTER ( ?l <= 1 ) }
[]
still waters designation for an administrative territorial entity second-level administrative country subdivision
Q210234 Q2114866 Q322986
SYSTEM
Zuidhorn, De Fryske Marren, Delfzijl
Q840460 Q1019611 Q1318857 Q1230035 Q476289 Q976859 Q1229800 Q1375771 Q475431 Q1972315 Q3539151 Q1229758 Q1856341 Q775090 Q1375853 Q1375878 Q476616 Q476771 Q476444 Q1095 Q476127 Q475237 Q892064 Q2000198 Q475919 Q1375868 Q1375755 Q1019432 Q806453 Q2634089 Q7653734 Q475574 Q1019598 Q863961 Q976848 Q475787 Q835096 Q1032245 Q1114927 Q840457 Q475792 Q2496758 Q768756 Q3539256 Q1468138 Q1318822 Q476211 Q3539414 Q1025079 Q1059262 Q475366 Q2343545 Q2621725 Q1362109 Q476982 Q706857 Q476980 Q322986 Q476391 Q1979895 Q1375762 Q60453 Q1207391 Q3539495 Q1229906 Q806448 Q1229881 Q432438 Q2183668 Q2140086 Q891962 Q475737 Q999094 Q806446 Q1944288 Q204642 Q73074 Q475550 Q3321614 Q476744 Q475797 Q976873 Q475662 Q475558 Q835083 Q476188 Q1032238 Q1920922 Q476772 Q3539648 Q1229734 Q1972732 Q1032233 Q638697 Q219591 Q2443862 Q476264 Q3536082 Q475322 Q638592 Q475932 Q1814172 Q6459 Q1770737 Q1686835 Q2152309 Q2227543 Q534226 Q3321631 Q1113 Q1375819 Q73065 Q1118 Q1229919 Q1114977 Q475396 Q476473 Q3539572 Q66360 Q2234599 Q4221652 Q73069 Q476648 Q164474 Q1114 Q1318806 Q793916 Q1375812 Q1116 Q476570 Q1375780 Q3539730 Q475949 Q546634 Q1229797 Q69262 Q1375789 Q210234 Q1014499 Q1114868 Q476970 Q206519 Q1375835 Q476605 Q1947322 Q166993 Q10078 Q841525 Q1375850 Q604966 Q136498 Q849574 Q3537661 Q1375859 Q11939 Q1318815 Q995091 Q113560 Q1229921 Q1028215 Q581822 Q878851 Q837093 Q1362085 Q3539116 Q892526 Q1364824 Q70701 Q1318865 Q100130 Q605986 Q1091337 Q1229793 Q1740651 Q1996903 Q1290829 Q1229798 Q2114866 Q1186535 Q476486 Q300665 Q1375825 Q225618 Q1972329 Q10045 Q2536628 Q161144 Q1375843 Q1229930 Q683658 Q983748 Q475503 Q476933 Q1990863 Q1019626 Q2261414 Q500162 Q926417 Q1229869 Q7123 Q1525422 Q976883 Q1947893 Q1985961 Q1318833 Q475772 Q1365449 Q1001823 Q198666 Q182269 Q14523654 Q255972 Q66515 Q208011 Q328087 Q3321599 Q1114885 Q66453 Q1318887 Q69048 Q107135 Q750772 Q476798 Q1019651 Q1124909 Q3536116 Q476730 Q1318877 Q475512 Q534203 Q571198 Q1318872 Q2044762 Q1347872 Q68823 Q1186541 Q67536 Q475978 Q1321140 Q589047 Q3539602 Q1155047 Q861873 Q166236 Q867219 Q475871 Q819700 Q1122 Q1091595 Q1151066 Q835118 Q1947944 Q341024 Q1151062 Q1019417 Q289419 Q10026 Q475422 Q1114954 Q580538 Q1114938 Q1318843 Q1126 Q953123 Q14641 Q1114903 Q1025969 Q4504255 Q476600 Q1230005 Q9766 Q1362129 Q3539277 Q778989 Q475889 Q932077 Q475663 Q1362587 Q1403340 Q475101 Q461142 Q476231 Q629038 Q2024239 Q3536053 Q850211 Q1990080 Q1019420 Q574558 Q1125 Q2311189 Q1127 Q1129 Q1019428 Q166990 Q257040 Q848831 Q3526470 Q1364817
(c(Q13220204),P138,c(Q337567)|c(Q15617994))
action atmost
action union
action find_tuple_counts
relation P138
type Q13220204
type Q337567
action find_tuple_counts
relation P138
type Q13220204
type Q15617994
value 1
[ANSWERS] have atmost 1 still waterss and administrative territories as their toponym
[{'concept': 'Q13220204'}, 'P138', [{'concept': 'Q337567'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?k WHERE { { ?k property:P138 ?s . ?k rdf:type ontology:Q13220204 . ?s rdf:type ontology:Q15617994 } UNION { ?k property:P138 ?s . ?k rdf:type ontology:Q13220204 . ?s rdf:type ontology:Q337567 } } GROUP BY ?k } . FILTER ( ?l <= 1 ) }
Vlagtwedde Suan Luang Koboko District Pader District Nong Ya Plong Nakasongola District Busia District Amuru District Chum Ta Bong Samphanthawong Kole District Arua District Oostburg Plandište Nakapiripirit District Lyantonde District Samrong Srinagarindra Phra Samut Chedi Limburg Na Haeo Bang Pla Ma Kiboga District Nestos Mae Ai Bukwo District Butaleja District Khan Na Yao Bang Phlat Sikyona Swanson County Kaeng Krachan Chom Thong Binnenmaas Wakiso District Ko Kut Leek Kanungu District Serere District Tynaarlo Ko Pha-ngan Khrestivka Chordeleg Canton Kyegegwa District Leoncio Prado Province Amolatar District Noen Kham Mitooma District Winsum Blantyre District Menameradiel Babadaýhan District Polesia Voblast Mpigi District Wachirabarami Bakhmut Vibhavadi Delfzijl Phaya Mengrai Aristotelis Amuria District Coevorden Kayunga District Napak District Kaberamaido District Bang Na Kaabong District Nakaseke District Moyo District Reiderland Mubende District Khon San Lat Phrao Bang Kho Laem Daniel Alcides Carrión Province Ntungamo District Stadskanaal Huai Thap Than Kalungu District Sirindhorn Ko Lanta Rakai District Khao Kho Kabang Noordenveld Nam Pat Masindi District Mariscal Ramón Castilla Province Su-ngai Kolok Rubirizi District Adjumani District Thung Khru Masaka District Belisario Boeto Province Vatutine Echteld Nong Mamong Alebtong District Chai Buri Krāslava Mae Fa Luang Grau Province Kautokeino Albufeira Municipality Yenakiieve Frunzyenski District Pavlos Melas Bang Bon Buikwe District West Flanders Namutumba District Veendam Flemish Brabant Kasese District Luuka District Chiang Muan Phu Kradueng Nwoya District Büren an der Aare Holibivka Kirov Krai Hoogezand-Sappemeer Sap Yai Kamuli District East Flanders Kamwenge District Kara-Buura District Bukedea District Antwerp Rong Kham Abim District Zombo District Mae Poen Nea Smyrni Bushenyi District Noordoostpolder Manafwa District Zuidhorn Sevilla de Oro Canton Bulambuli District Ubolratana Lira District Sironko District Sam Roi Yot Aizawl district Khlong Hoi Khong Reimerswaal Marum Moroto District Kibaale District Fuerte Olimpo Loppersum Buhweju District Kaliro District Stein am Rhein Kyenjojo District Aleksandrovac Din Daeng Kapchorwa District Gulu District Mbale District Sokuluk District Kadiivka Budaka District Kiryandongo District Groningen Mayuge District Jorat-Menthue Kiruhura District Vaishali district Grootegast Soroti District Buliisa District Khlong Sam Wa Olympos Ko Chang Bugiri District De Fryske Marren Hoima District Phu Ruea Aa en Hunze Nebbi District Bang Khae Thawi Watthana IJsselstein Harlingen Alchevsk Pallisa District Katakwi District Franekeradeel Jinja District Galyani Vadhana Thung Chang Pangaio Prawet Evrotas Kitgum District Kampala District Iganga District Sursee Filadelfia Sembabule District General Sánchez Cerro Province Kormista Oyam District Khwao Sinarin Bududa District Bueng Kum Bang Klam Bernisse Ko Samui Eemsmond Augst Schiermonnikoog Dronten Bukomansimbi District Kibuku District St. Ursen Isingiro District Kaiseraugst Fredrikstad Ferwerderadiel Tak Fa Yan Nawa Graafstroom Amudat District Sida Ibanda District Hankha Kyankwanzi District Kollumerland c.a. Dokolo District Lyeninski District Oldambt Troistorrents Tororo District Wangen an der Aare Mae Wong Varanasi district Jorge Basadre Province Otuke District Jerusalén Bilyayivka Bang Sue Kalangala District Lam Plai Mat Bergh Walloon Brabant Mbarara District Mukono District Borger-Odoorn Mariscal Cáceres Province Achtkarspelen Kumi District Watthana Rukungiri District Zwartewaterland Chulabhorn Lwengo District Kisoro District Buyende District Kotido District Luxembourg Jerusalén Emmen Ngora District Sai Mai Pedro Moncayo Canton Sam Ngam Mityana District Eijsden-Margraten Bundibugyo District Lamwo District Leeuwarderadeel Lan Sak Pekela Khao Phanom Yumbe District Khlong Toei Ban Haet Bedum Non Sila Cuenca Canton Kirawsk District Agago District Slochteren Camilo Ponce Enríquez Canton Saphan Sung Heerenveen Namur Leeuwarden Liège Hainaut Wang Thonglang Na Mom Bua Lai Province of Brabant Kabale District Luwero District
Zuidhorn, De Fryske Marren and Delfzijl have atmost 1 still waterss and administrative territories as their toponym
Zuidhorn De Fryske Marren Delfzijl
action atmost
action union
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type still waters
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type designation for an administrative territorial entity
value 1
[{'concept': 'second-level administrative country subdivision'}, 'named after', [{'concept': 'still waters'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?k WHERE { { ?k property:named_after ?s . ?k rdf:type ontology:second-level_administrative_country_subdivision . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?k property:named_after ?s . ?k rdf:type ontology:second-level_administrative_country_subdivision . ?s rdf:type ontology:still_waters } } GROUP BY ?k } . FILTER ( ?l <= 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q13220204
USER
How many administrative country subdivisions share border with that administrative country subdivision ?
(Q210234,P47,c(Q13220204))
['Q210234', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2123535 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
['Zuidhorn', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Zuidhorn property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Quantitative|Count|Single entity type|Clarification
Q210234
SYSTEM
Did you mean Zuidhorn ?
(Q210234,P47,c(Q13220204)) (Q2114866,P47,c(Q13220204)) (Q322986,P47,c(Q13220204))
[ANSWER]
['Q210234', 'P47', {'concept': 'Q13220204'}] ['Q2114866', 'P47', {'concept': 'Q13220204'}] ['Q322986', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2123535 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
Did you mean Zuidhorn ?
Zuidhorn
['Zuidhorn', 'shares border with', {'concept': 'second-level administrative country subdivision'}] ['De Fryske Marren', 'shares border with', {'concept': 'second-level administrative country subdivision'}] ['Delfzijl', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Zuidhorn property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q210234,P47,c(Q13220204))
['Q210234', 'P47', {'concept': 'Q13220204'}]
['Zuidhorn', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
[]
SYSTEM
6
Q840663 Q835096 Q1025079 Q341024 Q571198 Q892526
(Q210234,P47,c(Q13220204))
[ANSWER]
['Q210234', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2123535 property:P47 ?z . ?z rdf:type ontology:Q13220204 }
De Marne Leek Winsum Achtkarspelen Kollumerland c.a. Groningen
6
['Zuidhorn', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Zuidhorn property:shares_border_with ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2844113 Q585
P17
Q15617994
USER
Which administrative territories are Oslo or Amparihy Est located in ?
OR((Q585,P17,c(Q15617994)), (Q2844113,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q585
relation P17
action find
entity Q2844113
relation P17
type Q15617994
{'OR': [['Q585', 'P17', {'concept': 'Q15617994'}], ['Q2844113', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q585 property:P17 ?z } UNION { resource:Q2844113 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Amparihy Est Oslo
action filter_type
action union
action find
entity Oslo
relation country
action find
entity Amparihy Est
relation country
type designation for an administrative territorial entity
{'OR': [['Oslo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Amparihy Est', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Oslo property:country ?z } UNION { resource:Amparihy_Est property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q1019
SYSTEM
Norway, Madagascar
Q20 Q1019
OR((Q585,P17,c(Q15617994)), (Q2844113,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q585
relation P17
action find
entity Q2844113
relation P17
type Q15617994
Oslo or Amparihy Est are located in [ANSWERS]
{'OR': [['Q585', 'P17', {'concept': 'Q15617994'}], ['Q2844113', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q585 property:P17 ?z } UNION { resource:Q2844113 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Norway Madagascar
Oslo or Amparihy Est are located in Norway and Madagascar
Norway Madagascar
action filter_type
action union
action find
entity Oslo
relation country
action find
entity Amparihy Est
relation country
type designation for an administrative territorial entity
{'OR': [['Oslo', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Amparihy Est', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Oslo property:country ?z } UNION { resource:Amparihy_Est property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q20 Q1019
P1313
Q12737077
USER
Which occupations are fulfilled by those administrative territories ?
(Q20,P1313,c(Q12737077)) (Q1019,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
['Q20', 'P1313', {'concept': 'Q12737077'}] ['Q1019', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?x ) { ( resource:Q20 ) ( resource:Q1019 ) } . ?w rdf:type ontology:Q12737077 . ?x property:P1313 ?w }
Norway Madagascar
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Norway', 'office held by head of government', {'concept': 'occupation'}] ['Madagascar', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?x ) { ( resource:Norway ) ( resource:Madagascar ) } . ?w rdf:type ontology:occupation . ?x property:office_held_by_head_of_government ?w }
[]
occupation
Q13409304 Q1147512
SYSTEM
Statsminister, Prime Minister of Madagascar
Q13409304 Q1147512
(Q20,P1313,c(Q12737077)) (Q1019,P1313,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P1313
type Q12737077
[ANSWERS] are fulfilled by those administrative territories
['Q20', 'P1313', {'concept': 'Q12737077'}] ['Q1019', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?x ) { ( resource:Q20 ) ( resource:Q1019 ) } . ?w rdf:type ontology:Q12737077 . ?x property:P1313 ?w }
Statsminister Prime Minister of Madagascar
Statsminister and Prime Minister of Madagascar are fulfilled by those administrative territories
Statsminister Prime Minister of Madagascar
action filter_type
action find
entity prev_answer
relation office held by head of government
type occupation
['Norway', 'office held by head of government', {'concept': 'occupation'}] ['Madagascar', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?x ) { ( resource:Norway ) ( resource:Madagascar ) } . ?w rdf:type ontology:occupation . ?x property:office_held_by_head_of_government ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q57076
P190
Q914262
USER
Which administrative territory of Sweden is twin town of Bærum ?
(Q57076,P190,c(Q914262))
action filter_type
action find
entity Q57076
relation P190
type Q914262
['Q57076', 'P190', {'concept': 'Q914262'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q914262 . resource:Q57076 property:P190 ?w }
Bærum
action filter_type
action find
entity Bærum
relation sister city
type administrative territorial entity of Sweden
['Bærum', 'sister city', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Bærum property:sister_city ?w }
[]
administrative territorial entity of Sweden
Q59091
SYSTEM
Uppsala Municipality
Q59091
(Q57076,P190,c(Q914262))
action filter_type
action find
entity Q57076
relation P190
type Q914262
[ANSWER] is twin town of Bærum
['Q57076', 'P190', {'concept': 'Q914262'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q914262 . resource:Q57076 property:P190 ?w }
Uppsala Municipality
Uppsala Municipality is twin town of Bærum
Uppsala Municipality
action filter_type
action find
entity Bærum
relation sister city
type administrative territorial entity of Sweden
['Bærum', 'sister city', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity_of_Sweden . resource:Bærum property:sister_city ?w }
[]