Simple Question (Direct)
Simple Question
Q2642497
P106
Q12737077
USER
What does Filip Lukšík do for a living ?
(Q2642497,P106,c(Q12737077))
action filter_type
action find
entity Q2642497
relation P106
type Q12737077
['Q2642497', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q2642497 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Filip Lukšík
action filter_type
action find
entity Filip Lukšík
relation occupation
type occupation
['Filip Lukšík', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Filip_Lukšík property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2642497,P106,c(Q12737077))
action filter_type
action find
entity Q2642497
relation P106
type Q12737077
[ANSWER] Filip Lukšík does for a living
['Q2642497', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q2642497 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
association football player
Association football player Filip Lukšík does for a living
association football player
action filter_type
action find
entity Filip Lukšík
relation occupation
type occupation
['Filip Lukšík', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Filip_Lukšík property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2642497
P54
Q1194951
USER
Which national sports team is Filip Lukšík a member of ?
(Q2642497,P54,c(Q1194951))
action filter_type
action find
entity Q2642497
relation P54
type Q1194951
['Q2642497', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?o WHERE { resource:Q2642497 property:P54 ?o . ?o rdf:type ontology:Q1194951 }
Filip Lukšík
action filter_type
action find
entity Filip Lukšík
relation member of sports team
type national sports team
['Filip Lukšík', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?o WHERE { resource:Filip_Lukšík property:member_of_sports_team ?o . ?o rdf:type ontology:national_sports_team }
[]
national sports team
Q174512
SYSTEM
Slovakia national football team
Q174512
(Q2642497,P54,c(Q1194951))
action filter_type
action find
entity Q2642497
relation P54
type Q1194951
[ANSWER] is Filip Lukšík a member of
['Q2642497', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?o WHERE { resource:Q2642497 property:P54 ?o . ?o rdf:type ontology:Q1194951 }
Slovakia national football team
Slovakia national football team is Filip Lukšík a member of
Slovakia national football team
action filter_type
action find
entity Filip Lukšík
relation member of sports team
type national sports team
['Filip Lukšík', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?o WHERE { resource:Filip_Lukšík property:member_of_sports_team ?o . ?o rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2619219
Q1194951
USER
And how about Kristoffer Weckström?
(Q2619219,P54,c(Q1194951))
action filter_type
action find
entity Q2619219
relation P54
type Q1194951
['Q2619219', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { resource:Q2619219 property:P54 ?s . ?s rdf:type ontology:Q1194951 }
Kristoffer Weckström
action filter_type
action find
entity Kristoffer Weckström
relation member of sports team
type national sports team
['Kristoffer Weckström', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { resource:Kristoffer_Weckström property:member_of_sports_team ?s . ?s rdf:type ontology:national_sports_team }
[]
national sports team
Q1996890
SYSTEM
Åland Islands official football team
Q1996890
(Q2619219,P54,c(Q1194951))
action filter_type
action find
entity Q2619219
relation P54
type Q1194951
[ANSWER]
['Q2619219', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { resource:Q2619219 property:P54 ?s . ?s rdf:type ontology:Q1194951 }
Åland Islands official football team
Åland Islands official football team
action filter_type
action find
entity Kristoffer Weckström
relation member of sports team
type national sports team
['Kristoffer Weckström', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { resource:Kristoffer_Weckström property:member_of_sports_team ?s . ?s rdf:type ontology:national_sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q847499 Q1996890
P54
Q502895
USER
Which people play for the team named Åland Islands official football team or 1. FC Slovácko ?
OR((c(Q502895),P54,Q1996890), (c(Q502895),P54,Q847499))
action filter_type
action union
action find_reverse
entity Q1996890
relation P54
action find_reverse
entity Q847499
relation P54
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P54', 'Q1996890'], [{'concept': 'Q502895'}, 'P54', 'Q847499']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P54 resource:Q1996890 } UNION { ?y property:P54 resource:Q847499 } } . ?y rdf:type ontology:Q502895 }
1. FC Slovácko Åland Islands official football team
action filter_type
action union
action find_reverse
entity Åland Islands official football team
relation member of sports team
action find_reverse
entity 1. FC Slovácko
relation member of sports team
type common name
{'OR': [[{'concept': 'common name'}, 'member of sports team', 'Åland Islands official football team'], [{'concept': 'common name'}, 'member of sports team', '1. FC Slovácko']]}
SELECT DISTINCT ?y WHERE { { { ?y property:member_of_sports_team resource:Åland_Islands_official_football_team } UNION { ?y property:member_of_sports_team resource:1._FC_Slovácko } } . ?y rdf:type ontology:common_name }
[]
common name
Q5271095 Q6319666 Q7178510 Q1364947 Q18043815 Q4016691 Q6160565 Q372729 Q2474969 Q5238456
SYSTEM
Some of them are Diana Bartovičová, Ján Zolna, Petr Filipský, Milan Ivana, Samuel Fagerholm, Václav Ondřejka, Jaroslav Diviš, Daniel Břežný, Veliče Šumulikoski, David Pavelka
Q3494038 Q5113523 Q7280093 Q5271095 Q3992983 Q2474969 Q945634 Q3106336 Q1339404 Q16205342 Q6319666 Q9016127 Q3495768 Q1345927 Q4105524 Q472884 Q3512720 Q1644688 Q7178513 Q3179322 Q7361948 Q6214968 Q10514010 Q4290512 Q12059193 Q3992978 Q7155717 Q362328 Q6203778 Q368301 Q16235537 Q382366 Q4016691 Q10533485 Q22005054 Q7820581 Q819422 Q6149461 Q7313707 Q6160685 Q7944130 Q1712848 Q7820618 Q294990 Q2431036 Q21622653 Q18686609 Q6125496 Q18043815 Q1563559 Q350926 Q8534004 Q20011563 Q353175 Q15735564 Q138843 Q982135 Q444415 Q1983367 Q1583143 Q10820367 Q16236769 Q12048908 Q984458 Q1648090 Q2006625 Q1374091 Q522401 Q6874045 Q334334 Q1605010 Q7178510 Q3502913 Q1268189 Q1934239 Q614738 Q14920331 Q10533563 Q10524536 Q3499206 Q4180608 Q1364947 Q15917626 Q15838286 Q44671 Q4407976 Q7092248 Q6835746 Q730563 Q373459 Q3701053 Q1343743 Q3804927 Q898240 Q1383219 Q7092259 Q5448510 Q1862779 Q3825399 Q7156015 Q471426 Q7280090 Q12025529 Q4121149 Q9023942 Q18587241 Q144013 Q5252666 Q16886181 Q3701690 Q2079964 Q10514514 Q1891145 Q1338936 Q3745033 Q14435106 Q344240 Q5238456 Q2073717 Q372729 Q352391 Q1935708 Q329219 Q2619219 Q6758865 Q3796417 Q10475105 Q1472446 Q7147958 Q3494023 Q15283473 Q3716784 Q1689841 Q7155596 Q3938457 Q526267 Q1990725 Q168323 Q2117598 Q1384243 Q1681611 Q1383261 Q588123 Q5241517 Q19902169 Q354623 Q265982 Q6775740 Q6203811 Q6160565 Q3901016 Q1989090
OR((c(Q502895),P54,Q1996890), (c(Q502895),P54,Q847499))
action filter_type
action union
action find_reverse
entity Q1996890
relation P54
action find_reverse
entity Q847499
relation P54
type Q502895
[ANSWERS] play for the team named Åland Islands official football team or 1. FC Slovácko
{'OR': [[{'concept': 'Q502895'}, 'P54', 'Q1996890'], [{'concept': 'Q502895'}, 'P54', 'Q847499']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P54 resource:Q1996890 } UNION { ?y property:P54 resource:Q847499 } } . ?y rdf:type ontology:Q502895 }
Roman Fischer Christos Andreou Radek Szmek Diana Bartovičová Tomáš Košút Veliče Šumulikoski Radim Nečas Pavel Kováč Tomáš Rada Ondřej Čtvrtníček Ján Zolna Pavel Vrána Václav Procházka Martin Psohlavec Petr Vašek Jan Nezmar Darko Šuškavčević Petr Faldyna Petr Drobisz Jiří Kowalík Roman Dobeš Johan Carlsson Lukáš Matůš Petr Kaspřák Tomáš Gerich Tomáš Kazár Pavel Němčický Michal Daněk Jiří Perůtka Jakub Petr Marián Kovář Jakub Mareš Václav Ondřejka Radim Holub Alexander Homér Tomáš Jeleček Thomas Sowunmi Jan Martykán René Formánek Jaroslav Starý Václav Marek Michal Kordula Tomáš Mica Michal Kadlec Tiago Bernardini Lukáš Sadílek Roman Haša Jakub Bureš Samuel Fagerholm Ondřej Smetana Martin Abraham Tomáš Randa Ondřej Lysoněk Ladislav Volešák Zdeněk Caudr Lukáš Zelenka Michal Kolomazník Martin Švejnoha Martin Kuncl Peter Struhár Andrej Lubčenko Marek Havlík Rastislav Kostka Michal Ordoš Alexander Weckström Ondřej Kúdela Lukáš Kubáň Amadou Cissé Miroslav Poliaček Daniel Kolář Ivan Dvořák Petr Filipský Tomáš Polách Dušan Melichárek Milan Kerbr junior Josef Kubásek Katarína Strožová Jan Palinek Milan Heča Róbert Zeher Jozef Jankech Milan Ivana Francis Koné Juraj Chvátal Mario Lička Jimmy Sundman Ondřej Honka Michal Gonda Jan Rajnoch Lukáš Fujerik Dalibor Slezák Petr Reinberk Ivo Zbožínek Michal Meduna Libor Došek Ondřej Voříšek Filip Racko Csaba Horváth Ladislav Martan Pavol Kopačka Richard Dostálek Radek Mezlík Jiří Studík Cléber Nascimento da Silva Miroslav Filipko Tomáš Břečka Lubomír Blaha Dejan Jurkič Michal Trávník Daniel Nešpor Petr Bolek Marek Seman Juraj Czinege Luboš Kalouda Filip Hlúpik Přemysl Kovář Tomáš Abrahám David Pavelka Martin Vozábal Daniel Břežný Jiří Ondra Miloslav Kufa Petr Čoupek Kristoffer Weckström Marek Kuzma Ilija Nestorovski Ilya Matalyha Ferenc Róth Patrik Šimko Vlastimil Daníček Petr Pavlík Duško Stajić Jiří Valenta Pavel Eismann Robert Veselovsky Pavel Malcharek Pavel Šultes Zbyněk Pospěch Vladimír Malár Lukáš Jarolím Jan Berger Aleš Urbánek Vít Valenta David Šmahaj Josef Čtvrtníček Milan Petržela Peter Sládek Martin Hála Jiří Skalák Jaroslav Diviš Petr Švancara Jan Trousil
Diana Bartovičová, Ján Zolna, Petr Filipský, Milan Ivana, Samuel Fagerholm, Václav Ondřejka, Jaroslav Diviš, Daniel Břežný, Veliče Šumulikoski and David Pavelka play for the team named Åland Islands official football team or 1. FC Slovácko
Diana Bartovičová Ján Zolna Petr Filipský Milan Ivana Samuel Fagerholm Václav Ondřejka Jaroslav Diviš Daniel Břežný Veliče Šumulikoski David Pavelka
action filter_type
action union
action find_reverse
entity Åland Islands official football team
relation member of sports team
action find_reverse
entity 1. FC Slovácko
relation member of sports team
type common name
{'OR': [[{'concept': 'common name'}, 'member of sports team', 'Åland Islands official football team'], [{'concept': 'common name'}, 'member of sports team', '1. FC Slovácko']]}
SELECT DISTINCT ?y WHERE { { { ?y property:member_of_sports_team resource:Åland_Islands_official_football_team } UNION { ?y property:member_of_sports_team resource:1._FC_Slovácko } } . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q174512
P17
Q15617994
USER
How many administrative territories do Slovakia national football team belong to ?
(Q174512,P17,c(Q15617994))
action count
action filter_type
action find
entity Q174512
relation P17
type Q15617994
['Q174512', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q174512 property:P17 ?a }
Slovakia national football team
action count
action filter_type
action find
entity Slovakia national football team
relation country
type designation for an administrative territorial entity
['Slovakia national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Slovakia_national_football_team property:country ?a }
[]
designation for an administrative territorial entity
SYSTEM
1
Q214
(Q174512,P17,c(Q15617994))
action count
action filter_type
action find
entity Q174512
relation P17
type Q15617994
[ANSWER]
['Q174512', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q174512 property:P17 ?a }
Slovakia
1
action count
action filter_type
action find
entity Slovakia national football team
relation country
type designation for an administrative territorial entity
['Slovakia national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Slovakia_national_football_team property:country ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174512
P1532
Q15617994
USER
Which administrative territory is represented by that national sports team ?
action filter_type
action find
entity Q174512
relation P1532
type Q15617994
SELECT DISTINCT ?o WHERE { resource:Q174512 property:P1532 ?o . ?o rdf:type ontology:Q15617994 }
Slovakia national football team
action filter_type
action find
entity Slovakia national football team
relation country for sport
type designation for an administrative territorial entity
SELECT DISTINCT ?o WHERE { resource:Slovakia_national_football_team property:country_for_sport ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
action filter_type
action find
entity Q174512
relation P1532
type Q15617994
And [ANSWER] is represented by that national sports team
SELECT DISTINCT ?o WHERE { resource:Q174512 property:P1532 ?o . ?o rdf:type ontology:Q15617994 }
Slovakia
And Slovakia is represented by that national sports team
Slovakia
action filter_type
action find
entity Slovakia national football team
relation country for sport
type designation for an administrative territorial entity
SELECT DISTINCT ?o WHERE { resource:Slovakia_national_football_team property:country_for_sport ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10486180 Q5271095
P27
Q15617994
USER
Which administrative territories are the native countriesof Diana Bartovičová or Julian Gerxho ?
OR((Q5271095,P27,c(Q15617994)), (Q10486180,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5271095
relation P27
action find
entity Q10486180
relation P27
type Q15617994
{'OR': [['Q5271095', 'P27', {'concept': 'Q15617994'}], ['Q10486180', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q5271095 property:P27 ?h } UNION { resource:Q10486180 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Julian Gerxho Diana Bartovičová
action filter_type
action union
action find
entity Diana Bartovičová
relation country of citizenship
action find
entity Julian Gerxho
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Diana Bartovičová', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Julian Gerxho', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Diana_Bartovičová property:country_of_citizenship ?h } UNION { resource:Julian_Gerxho property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q222 Q214
SYSTEM
Albania, Slovakia
Q222 Q214
OR((Q5271095,P27,c(Q15617994)), (Q10486180,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5271095
relation P27
action find
entity Q10486180
relation P27
type Q15617994
[ANSWERS] are the native countriesof Diana Bartovičová or Julian Gerxho
{'OR': [['Q5271095', 'P27', {'concept': 'Q15617994'}], ['Q10486180', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q5271095 property:P27 ?h } UNION { resource:Q10486180 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Albania Slovakia
Albania and Slovakia are the native countriesof Diana Bartovičová or Julian Gerxho
Albania Slovakia
action filter_type
action union
action find
entity Diana Bartovičová
relation country of citizenship
action find
entity Julian Gerxho
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Diana Bartovičová', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Julian Gerxho', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Diana_Bartovičová property:country_of_citizenship ?h } UNION { resource:Julian_Gerxho property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5096431
P530
Q15617994
USER
Are Chico Independent School District known to have diplomatic connections with those ones ?
(Q5096431,P530,Q222) (Q5096431,P530,Q214)
action is_in
entity prev_answer
action find
entity Q5096431
relation P530
['Q5096431', 'P530', 'Q222'] ['Q5096431', 'P530', 'Q214']
ASK WHERE { resource:Q5096431 property:P530 ?p . VALUES ( ?p ) { ( resource:Q222 ) ( resource:Q214 ) } }
Chico Independent School District
action is_in
entity prev_answer
action find
entity Chico Independent School District
relation diplomatic relation
['Chico Independent School District', 'diplomatic relation', 'Albania'] ['Chico Independent School District', 'diplomatic relation', 'Slovakia']
ASK WHERE { resource:Chico_Independent_School_District property:diplomatic_relation ?p . VALUES ( ?p ) { ( resource:Albania ) ( resource:Slovakia ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5096431,P530,Q222) (Q5096431,P530,Q214)
action is_in
entity prev_answer
action find
entity Q5096431
relation P530
[ANSWER]
['Q5096431', 'P530', 'Q222'] ['Q5096431', 'P530', 'Q214']
ASK WHERE { resource:Q5096431 property:P530 ?p . VALUES ( ?p ) { ( resource:Q222 ) ( resource:Q214 ) } }
No
action is_in
entity prev_answer
action find
entity Chico Independent School District
relation diplomatic relation
['Chico Independent School District', 'diplomatic relation', 'Albania'] ['Chico Independent School District', 'diplomatic relation', 'Slovakia']
ASK WHERE { resource:Chico_Independent_School_District property:diplomatic_relation ?p . VALUES ( ?p ) { ( resource:Albania ) ( resource:Slovakia ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with around 121 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 121
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?k ) WHERE { ?s property:P530 ?o . ?s rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?k = 121 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 121
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?k ) WHERE { ?s property:diplomatic_relation ?o . ?s rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?k = 121 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 121
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?k ) WHERE { ?s property:P530 ?o . ?s rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?k = 121 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 121
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?k ) WHERE { ?s property:diplomatic_relation ?o . ?s rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?k = 121 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q222
P6
Q502895
USER
Who is the head of the government of Albania ?
(Q222,P6,c(Q502895))
action filter_type
action find
entity Q222
relation P6
type Q502895
['Q222', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q222 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Albania
action filter_type
action find
entity Albania
relation head of government
type common name
['Albania', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Albania property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
common name
Q316901
SYSTEM
Edi Rama
Q316901
(Q222,P6,c(Q502895))
action filter_type
action find
entity Q222
relation P6
type Q502895
The head of the government of Albania is Prince [ANSWER]
['Q222', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q222 property:P6 ?j . ?j rdf:type ontology:Q502895 }
Edi Rama
The head of the government of Albania is Prince Edi Rama
Edi Rama
action filter_type
action find
entity Albania
relation head of government
type common name
['Albania', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Albania property:head_of_government ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q222
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
(Q316901,P47,c(Q15617994))
action filter_type
action find
entity Q222
relation P47
type Q15617994
['Q316901', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q222 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Albania
action filter_type
action find
entity Albania
relation shares border with
type designation for an administrative territorial entity
['Edi Rama', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Albania property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41 Q403 Q236
SYSTEM
Greece, Serbia, Montenegro
Q403 Q236 Q221 Q41
(Q316901,P47,c(Q15617994))
action filter_type
action find
entity Q222
relation P47
type Q15617994
[ANSWERS] are bordered by that one
['Q316901', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q222 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Serbia Montenegro Republic of Macedonia Greece
Greece, Serbia and Montenegro are bordered by that one
Greece Serbia Montenegro
action filter_type
action find
entity Albania
relation shares border with
type designation for an administrative territorial entity
['Edi Rama', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Albania property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q15416 Q2342494
USER
How many administrative territories are the countries of origin of atmost 4380 television programs or collectables ?
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 4380
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?w } . FILTER ( ?t <= 4380 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 4380
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?w } . FILTER ( ?t <= 4380 ) }
[]
designation for an administrative territorial entity television program collectable
SYSTEM
167
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
value 4380
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?w } . FILTER ( ?t <= 4380 ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
167
action count
action atmost
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
value 4380
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?w } . FILTER ( ?t <= 4380 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relations with atleast 98 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 98
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?t >= 98 ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?t ) WHERE { ?j property:P530 ?x . ?j rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?j } }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 98
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?t >= 98 ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?t ) WHERE { ?j property:diplomatic_relation ?x . ?j rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 98
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?t >= 98 ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?t ) WHERE { ?j property:P530 ?x . ?j rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?j } }
Germany Australia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 98
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) WHERE { FILTER ( ?t >= 98 ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?t ) WHERE { ?j property:diplomatic_relation ?x . ?j rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q53933 Q222
P47 P530
Q15617994
USER
Which administrative territories have a diplomatic relationship with Albania or share the border with Pedivigliano ?
OR((Q222,P530,c(Q15617994)), (Q53933,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q222
relation P530
action find
entity Q53933
relation P47
type Q15617994
{'OR': [['Q222', 'P530', {'concept': 'Q15617994'}], ['Q53933', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q222 property:P530 ?q } UNION { resource:Q53933 property:P47 ?q } } . ?q rdf:type ontology:Q15617994 }
Pedivigliano Albania
action filter_type
action union
action find
entity Albania
relation diplomatic relation
action find
entity Pedivigliano
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Albania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Pedivigliano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Albania property:diplomatic_relation ?q } UNION { resource:Pedivigliano property:shares_border_with ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q53658 Q53518 Q53869 Q30 Q54001 Q889 Q53724 Q38
SYSTEM
France, Motta Santa Lucia, Decollatura, Colosimi, United States of America, Scigliano, Afghanistan, Soveria Mannelli, Italy
Q142 Q53658 Q53518 Q53869 Q30 Q54001 Q889 Q53724 Q38
OR((Q222,P530,c(Q15617994)), (Q53933,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q222
relation P530
action find
entity Q53933
relation P47
type Q15617994
[ANSWERS] have a diplomatic relationship with Albania or share the border with Pedivigliano
{'OR': [['Q222', 'P530', {'concept': 'Q15617994'}], ['Q53933', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q222 property:P530 ?q } UNION { resource:Q53933 property:P47 ?q } } . ?q rdf:type ontology:Q15617994 }
France Motta Santa Lucia Decollatura Colosimi United States of America Scigliano Afghanistan Soveria Mannelli Italy
France, Motta Santa Lucia, Decollatura, Colosimi, United States of America, Scigliano, Afghanistan, Soveria Mannelli and Italy have a diplomatic relationship with Albania or share the border with Pedivigliano
France Motta Santa Lucia Decollatura Colosimi United States of America Scigliano Afghanistan Soveria Mannelli Italy
action filter_type
action union
action find
entity Albania
relation diplomatic relation
action find
entity Pedivigliano
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Albania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Pedivigliano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Albania property:diplomatic_relation ?q } UNION { resource:Pedivigliano property:shares_border_with ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]