Simple Question (Direct)
Simple Question
Q18377945
P21
Q290
USER
What is the sex of Jasmin Raboshta ?
(Q18377945,P21,c(Q290))
action filter_type
action find
entity Q18377945
relation P21
type Q290
['Q18377945', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q18377945 property:P21 ?i . ?i rdf:type ontology:Q290 }
Jasmin Raboshta
action filter_type
action find
entity Jasmin Raboshta
relation gender
type sex
['Jasmin Raboshta', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Jasmin_Raboshta property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18377945,P21,c(Q290))
action filter_type
action find
entity Q18377945
relation P21
type Q290
The sex of Jasmin Raboshta is the [ANSWER]
['Q18377945', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q18377945 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Jasmin Raboshta is the male
male
action filter_type
action find
entity Jasmin Raboshta
relation gender
type sex
['Jasmin Raboshta', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Jasmin_Raboshta property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18377945
P106
Q12737077
USER
What is the job of Jasmin Raboshta ?
(Q18377945,P106,c(Q12737077))
action filter_type
action find
entity Q18377945
relation P106
type Q12737077
['Q18377945', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q18377945 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Jasmin Raboshta
action filter_type
action find
entity Jasmin Raboshta
relation occupation
type occupation
['Jasmin Raboshta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Jasmin_Raboshta property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q18377945,P106,c(Q12737077))
action filter_type
action find
entity Q18377945
relation P106
type Q12737077
The job of Jasmin Raboshta is an [ANSWER]
['Q18377945', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q18377945 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
The job of Jasmin Raboshta is an association football player
association football player
action filter_type
action find
entity Jasmin Raboshta
relation occupation
type occupation
['Jasmin Raboshta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Jasmin_Raboshta property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q172015 Q18377945
P27 P17
Q15617994
USER
Which administrative territories are Jasmin Raboshta a civilian of or are 2009 Turkish Grand Prix a part of ?
OR((Q18377945,P27,c(Q15617994)), (Q172015,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18377945
relation P27
action find
entity Q172015
relation P17
type Q15617994
{'OR': [['Q18377945', 'P27', {'concept': 'Q15617994'}], ['Q172015', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q18377945 property:P27 ?v } UNION { resource:Q172015 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
2009 Turkish Grand Prix Jasmin Raboshta
action filter_type
action union
action find
entity Jasmin Raboshta
relation country of citizenship
action find
entity 2009 Turkish Grand Prix
relation country
type designation for an administrative territorial entity
{'OR': [['Jasmin Raboshta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['2009 Turkish Grand Prix', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Jasmin_Raboshta property:country_of_citizenship ?v } UNION { resource:2009_Turkish_Grand_Prix property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q222 Q43
SYSTEM
Albania, Turkey
Q222 Q43
OR((Q18377945,P27,c(Q15617994)), (Q172015,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18377945
relation P27
action find
entity Q172015
relation P17
type Q15617994
[ANSWERS] are Jasmin Raboshta a civilian of or are 2009 Turkish Grand Prix a part of
{'OR': [['Q18377945', 'P27', {'concept': 'Q15617994'}], ['Q172015', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q18377945 property:P27 ?v } UNION { resource:Q172015 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Albania Turkey
Albania and Turkey are Jasmin Raboshta a civilian of or are 2009 Turkish Grand Prix a part of
Albania Turkey
action filter_type
action union
action find
entity Jasmin Raboshta
relation country of citizenship
action find
entity 2009 Turkish Grand Prix
relation country
type designation for an administrative territorial entity
{'OR': [['Jasmin Raboshta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['2009 Turkish Grand Prix', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Jasmin_Raboshta property:country_of_citizenship ?v } UNION { resource:2009_Turkish_Grand_Prix property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q14680260
P47
Q15617994
USER
Are Alhambra Elementary School District next to the border of those ones ?
(Q14680260,P47,Q222) (Q14680260,P47,Q43)
action is_in
entity prev_answer
action find
entity Q14680260
relation P47
['Q14680260', 'P47', 'Q222'] ['Q14680260', 'P47', 'Q43']
ASK WHERE { VALUES ( ?l ) { ( resource:Q222 ) ( resource:Q43 ) } . resource:Q14680260 property:P47 ?l }
Alhambra Elementary School District
action is_in
entity prev_answer
action find
entity Alhambra Elementary School District
relation shares border with
['Alhambra Elementary School District', 'shares border with', 'Albania'] ['Alhambra Elementary School District', 'shares border with', 'Turkey']
ASK WHERE { VALUES ( ?l ) { ( resource:Albania ) ( resource:Turkey ) } . resource:Alhambra_Elementary_School_District property:shares_border_with ?l }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q14680260,P47,Q222) (Q14680260,P47,Q43)
action is_in
entity prev_answer
action find
entity Q14680260
relation P47
[ANSWER]
['Q14680260', 'P47', 'Q222'] ['Q14680260', 'P47', 'Q43']
ASK WHERE { VALUES ( ?l ) { ( resource:Q222 ) ( resource:Q43 ) } . resource:Q14680260 property:P47 ?l }
No
action is_in
entity prev_answer
action find
entity Alhambra Elementary School District
relation shares border with
['Alhambra Elementary School District', 'shares border with', 'Albania'] ['Alhambra Elementary School District', 'shares border with', 'Turkey']
ASK WHERE { VALUES ( ?l ) { ( resource:Albania ) ( resource:Turkey ) } . resource:Alhambra_Elementary_School_District property:shares_border_with ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q43 Q131252
P123
Q21114848
USER
How many magazine genres were released by Turkey or University of Chicago ?
(c(Q21114848),P123,Q43) (c(Q21114848),P123,Q131252)
action count
action union
action filter_type
action find_reverse
entity Q43
relation P123
type Q21114848
action filter_type
action find_reverse
entity Q131252
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q43'] [{'concept': 'Q21114848'}, 'P123', 'Q131252']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:P123 resource:Q43 . ?h rdf:type ontology:Q21114848 } UNION { ?h property:P123 resource:Q131252 . ?h rdf:type ontology:Q21114848 } }
Turkey University of Chicago
action count
action union
action filter_type
action find_reverse
entity Turkey
relation publisher
type magazine genre
action filter_type
action find_reverse
entity University of Chicago
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Turkey'] [{'concept': 'magazine genre'}, 'publisher', 'University of Chicago']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:publisher resource:Turkey . ?h rdf:type ontology:magazine_genre } UNION { ?h property:publisher resource:University_of_Chicago . ?h rdf:type ontology:magazine_genre } }
[]
magazine genre
SYSTEM
2
Q4744240 Q7782416
(c(Q21114848),P123,Q43) (c(Q21114848),P123,Q131252)
action count
action union
action filter_type
action find_reverse
entity Q43
relation P123
type Q21114848
action filter_type
action find_reverse
entity Q131252
relation P123
type Q21114848
[ANSWER]
[{'concept': 'Q21114848'}, 'P123', 'Q43'] [{'concept': 'Q21114848'}, 'P123', 'Q131252']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:P123 resource:Q43 . ?h rdf:type ontology:Q21114848 } UNION { ?h property:P123 resource:Q131252 . ?h rdf:type ontology:Q21114848 } }
American Journal of Education Theory of Computing
2
action count
action union
action filter_type
action find_reverse
entity Turkey
relation publisher
type magazine genre
action filter_type
action find_reverse
entity University of Chicago
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Turkey'] [{'concept': 'magazine genre'}, 'publisher', 'University of Chicago']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h property:publisher resource:Turkey . ?h rdf:type ontology:magazine_genre } UNION { ?h property:publisher resource:University_of_Chicago . ?h rdf:type ontology:magazine_genre } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q15619164 Q188451
USER
How many abstract beings and music genres have association football player as his/her means of employment ?
(c(Q15619164),P106,Q937857) (c(Q188451),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q15619164
action filter_type
action find_reverse
entity Q937857
relation P106
type Q188451
[{'concept': 'Q15619164'}, 'P106', 'Q937857'] [{'concept': 'Q188451'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { ?e property:P106 resource:Q937857 . ?e rdf:type ontology:Q188451 } UNION { ?e rdf:type ontology:Q15619164 . ?e property:P106 resource:Q937857 } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type abstract being
action filter_type
action find_reverse
entity association football player
relation occupation
type music genre
[{'concept': 'abstract being'}, 'occupation', 'association football player'] [{'concept': 'music genre'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { ?e property:occupation resource:association_football_player . ?e rdf:type ontology:music_genre } UNION { ?e rdf:type ontology:abstract_being . ?e property:occupation resource:association_football_player } }
[]
abstract being music genre
SYSTEM
7 abstract beings and 1 music genres
Q10279728 Q746996 Q3810827 Q2484120 Q2754813 Q6782491 Q4933787 Q2248090
(c(Q15619164),P106,Q937857) (c(Q188451),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q15619164
action filter_type
action find_reverse
entity Q937857
relation P106
type Q188451
[ANSWER]
[{'concept': 'Q15619164'}, 'P106', 'Q937857'] [{'concept': 'Q188451'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { ?e property:P106 resource:Q937857 . ?e rdf:type ontology:Q188451 } UNION { ?e rdf:type ontology:Q15619164 . ?e property:P106 resource:Q937857 } }
Fago Kojirō Hyūga Juan Diaz Tsubasa Oozora Tarō Misaki Masal Bugduv Bob Ridley Genzō Wakabayashi
7 abstract beings and 1 music genres
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type abstract being
action filter_type
action find_reverse
entity association football player
relation occupation
type music genre
[{'concept': 'abstract being'}, 'occupation', 'association football player'] [{'concept': 'music genre'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { ?e property:occupation resource:association_football_player . ?e rdf:type ontology:music_genre } UNION { ?e rdf:type ontology:abstract_being . ?e property:occupation resource:association_football_player } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with max number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?y ) { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?j ) WHERE { ?z rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?z property:P530 ?k } GROUP BY ?z } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:P530 ?x . ?e rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?c = ?y ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?y ) { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?j ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?k } GROUP BY ?z } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:diplomatic_relation ?x . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?c = ?y ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have tactful political relations with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?y ) { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?j ) WHERE { ?z rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 . ?z property:P530 ?k } GROUP BY ?z } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:P530 ?x . ?e rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?e } . FILTER ( ?c = ?y ) }
Georgia
Georgia have tactful political relations with max number of administrative territories
Georgia
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?y ) { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?j ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?k } GROUP BY ?z } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:diplomatic_relation ?x . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?c = ?y ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q230 Q2372847
P27
Q502895
USER
Is Nani Bregvadze a citizen of that administrative territory ?
(Q2372847,P27,Q230)
action is_in
entity Q230
action find
entity Q2372847
relation P27
['Q2372847', 'P27', 'Q230']
ASK WHERE { resource:Q2372847 property:P27 resource:Q230 }
Georgia Nani Bregvadze
action is_in
entity Georgia
action find
entity Nani Bregvadze
relation country of citizenship
['Nani Bregvadze', 'country of citizenship', 'Georgia']
ASK WHERE { resource:Nani_Bregvadze property:country_of_citizenship resource:Georgia }
[]
common name
SYSTEM
YES
(Q2372847,P27,Q230)
action is_in
entity Q230
action find
entity Q2372847
relation P27
[ANSWER]
['Q2372847', 'P27', 'Q230']
ASK WHERE { resource:Q2372847 property:P27 resource:Q230 }
Yes
action is_in
entity Georgia
action find
entity Nani Bregvadze
relation country of citizenship
['Nani Bregvadze', 'country of citizenship', 'Georgia']
ASK WHERE { resource:Nani_Bregvadze property:country_of_citizenship resource:Georgia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q222 Q30
P530
Q15617994
USER
Does United States of America have diplomatic relations with Albania ?
(Q222,P530,Q30)
action is_in
entity Q30
action find
entity Q222
relation P530
['Q222', 'P530', 'Q30']
ASK WHERE { resource:Q222 property:P530 resource:Q30 }
Albania United States of America
action is_in
entity United States of America
action find
entity Albania
relation diplomatic relation
['Albania', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Albania property:diplomatic_relation resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q222,P530,Q30)
action is_in
entity Q30
action find
entity Q222
relation P530
[ANSWER]
['Q222', 'P530', 'Q30']
ASK WHERE { resource:Q222 property:P530 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Albania
relation diplomatic relation
['Albania', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Albania property:diplomatic_relation resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with atmost 45 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 45
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?j property:P530 ?g } GROUP BY ?g } . FILTER ( ?v <= 45 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 45
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?g } GROUP BY ?g } . FILTER ( ?v <= 45 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
164
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 45
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?j property:P530 ?g } GROUP BY ?g } . FILTER ( ?v <= 45 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
164
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 45
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?g } GROUP BY ?g } . FILTER ( ?v <= 45 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q230
P35
Q502895
USER
Which people are the heads of state of Georgia ?
(Q230,P35,c(Q502895))
action filter_type
action find
entity Q230
relation P35
type Q502895
['Q230', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q230 property:P35 ?e . ?e rdf:type ontology:Q502895 }
Georgia
action filter_type
action find
entity Georgia
relation head of state
type common name
['Georgia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Georgia property:head_of_state ?e . ?e rdf:type ontology:common_name }
[]
common name
Q43330 Q151929 Q229493
SYSTEM
Mikhail Saakashvili, Eduard Shevardnadze, Nino Burjanadze
Q218435 Q229493 Q151929 Q43330 Q13107337
(Q230,P35,c(Q502895))
action filter_type
action find
entity Q230
relation P35
type Q502895
[ANSWERS] are the heads of state of Georgia
['Q230', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q230 property:P35 ?e . ?e rdf:type ontology:Q502895 }
Zviad Gamsakhurdia Nino Burjanadze Eduard Shevardnadze Mikhail Saakashvili Giorgi Margvelashvili
Mikhail Saakashvili, Eduard Shevardnadze and Nino Burjanadze are the heads of state of Georgia
Mikhail Saakashvili Eduard Shevardnadze Nino Burjanadze
action filter_type
action find
entity Georgia
relation head of state
type common name
['Georgia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Georgia property:head_of_state ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q230 Q36704
P1532
Q502895
USER
How many people play for Georgia or Yugoslavia ?
(c(Q502895),P1532,Q230) (c(Q502895),P1532,Q36704)
action count
action union
action filter_type
action find_reverse
entity Q230
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q36704
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q230'] [{'concept': 'Q502895'}, 'P1532', 'Q36704']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l property:P1532 resource:Q230 . ?l rdf:type ontology:Q502895 } UNION { ?l property:P1532 resource:Q36704 . ?l rdf:type ontology:Q502895 } }
Georgia Yugoslavia
action count
action union
action filter_type
action find_reverse
entity Georgia
relation country for sport
type common name
action filter_type
action find_reverse
entity Yugoslavia
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Georgia'] [{'concept': 'common name'}, 'country for sport', 'Yugoslavia']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l property:country_for_sport resource:Georgia . ?l rdf:type ontology:common_name } UNION { ?l property:country_for_sport resource:Yugoslavia . ?l rdf:type ontology:common_name } }
[]
common name
SYSTEM
5
Q21675931 Q25999722 Q4355946 Q21562098 Q663786
(c(Q502895),P1532,Q230) (c(Q502895),P1532,Q36704)
action count
action union
action filter_type
action find_reverse
entity Q230
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q36704
relation P1532
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1532', 'Q230'] [{'concept': 'Q502895'}, 'P1532', 'Q36704']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l property:P1532 resource:Q230 . ?l rdf:type ontology:Q502895 } UNION { ?l property:P1532 resource:Q36704 . ?l rdf:type ontology:Q502895 } }
Siniša Peša Lasha Torgvaidze Olga Gere Marina Filipović Velimir Zajec
5
action count
action union
action filter_type
action find_reverse
entity Georgia
relation country for sport
type common name
action filter_type
action find_reverse
entity Yugoslavia
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Georgia'] [{'concept': 'common name'}, 'country for sport', 'Yugoslavia']
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { { ?l property:country_for_sport resource:Georgia . ?l rdf:type ontology:common_name } UNION { ?l property:country_for_sport resource:Yugoslavia . ?l rdf:type ontology:common_name } }
[]