Simple Question (Direct)
Simple Question
Q12831046
P21
Q290
USER
Which sex does Rustam Akramov possess ?
(Q12831046,P21,c(Q290))
action filter_type
action find
entity Q12831046
relation P21
type Q290
['Q12831046', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q12831046 property:P21 ?m }
Rustam Akramov
action filter_type
action find
entity Rustam Akramov
relation gender
type sex
['Rustam Akramov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Rustam_Akramov property:gender ?m }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12831046,P21,c(Q290))
action filter_type
action find
entity Q12831046
relation P21
type Q290
Rustam Akramov possesses un [ANSWER]
['Q12831046', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q12831046 property:P21 ?m }
male
Rustam Akramov possesses un male
male
action filter_type
action find
entity Rustam Akramov
relation gender
type sex
['Rustam Akramov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Rustam_Akramov property:gender ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12831046
P27
Q15617994
USER
Which administrative territory is Rustam Akramov a civilian of ?
(Q12831046,P27,c(Q15617994))
action filter_type
action find
entity Q12831046
relation P27
type Q15617994
['Q12831046', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q12831046 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Rustam Akramov
action filter_type
action find
entity Rustam Akramov
relation country of citizenship
type designation for an administrative territorial entity
['Rustam Akramov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Rustam_Akramov property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q265
SYSTEM
Uzbekistan
Q265
(Q12831046,P27,c(Q15617994))
action filter_type
action find
entity Q12831046
relation P27
type Q15617994
[ANSWER] is Rustam Akramov a civilian of
['Q12831046', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q12831046 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Uzbekistan
Uzbekistan is Rustam Akramov a civilian of
Uzbekistan
action filter_type
action find
entity Rustam Akramov
relation country of citizenship
type designation for an administrative territorial entity
['Rustam Akramov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Rustam_Akramov property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12831046
P641
Q349
USER
Which sport did that person participate in ?
(Q265,P641,c(Q349))
action filter_type
action find
entity Q12831046
relation P641
type Q349
['Q265', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q12831046 property:P641 ?c . ?c rdf:type ontology:Q349 }
Rustam Akramov
action filter_type
action find
entity Rustam Akramov
relation sport
type sport
['Uzbekistan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Rustam_Akramov property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q265,P641,c(Q349))
action filter_type
action find
entity Q12831046
relation P641
type Q349
That person participated in [ANSWER]
['Q265', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q12831046 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Rustam Akramov
relation sport
type sport
['Uzbekistan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Rustam_Akramov property:sport ?c . ?c rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q265
P463
Q874405 Q484652
USER
How many social groups and international organizations were Uzbekistan a member of ?
(Q265,P463,c(Q874405)) (Q265,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q265
relation P463
type Q874405
action filter_type
action find
entity Q265
relation P463
type Q484652
['Q265', 'P463', {'concept': 'Q874405'}] ['Q265', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:Q874405 ) ( ontology:Q484652 ) } . ?c rdf:type ?v }
Uzbekistan
action count
action union
action filter_type
action find
entity Uzbekistan
relation member of
type social group
action filter_type
action find
entity Uzbekistan
relation member of
type international organization
['Uzbekistan', 'member of', {'concept': 'social group'}] ['Uzbekistan', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:social_group ) ( ontology:international_organization ) } . ?c rdf:type ?v }
[]
social group international organization
SYSTEM
2 social groups and 4 international organizations
Q81299 Q2297670 Q1065 Q188822 Q47543 Q1043527
(Q265,P463,c(Q874405)) (Q265,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q265
relation P463
type Q874405
action filter_type
action find
entity Q265
relation P463
type Q484652
[ANSWER]
['Q265', 'P463', {'concept': 'Q874405'}] ['Q265', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:Q874405 ) ( ontology:Q484652 ) } . ?c rdf:type ?v }
Organization for Security and Co-operation in Europe Central Asian Cooperation Organization United Nations Asian Development Bank Organisation of Islamic Cooperation Multilateral Investment Guarantee Agency
2 social groups and 4 international organizations
action count
action union
action filter_type
action find
entity Uzbekistan
relation member of
type social group
action filter_type
action find
entity Uzbekistan
relation member of
type international organization
['Uzbekistan', 'member of', {'concept': 'social group'}] ['Uzbekistan', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { VALUES ( ?v ) { ( ontology:social_group ) ( ontology:international_organization ) } . ?c rdf:type ?v }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with atmost 33 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 33
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?a <= 33 ) }
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 33
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?a <= 33 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q159
SYSTEM
United States of America, Georgia, Russia
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 atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 33
[ANSWERS] have a diplomatic relationship with atmost 33 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?o } . FILTER ( ?a <= 33 ) }
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
United States of America, Georgia and Russia have a diplomatic relationship with atmost 33 administrative territories
United States of America Georgia Russia
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 33
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?a <= 33 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q230 Q159
P30
Q2221906
USER
Which geographic locations are those administrative territories located in ?
(Q30,P30,c(Q2221906)) (Q230,P30,c(Q2221906)) (Q159,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?r ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } . ?r property:P30 ?f . ?f rdf:type ontology:Q2221906 }
United States of America Georgia Russia
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?r ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } . ?r property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
geographic location
Q48 Q46 Q46
SYSTEM
Europe for 2nd, 3rd, Asia for 1st
Q538 Q49 Q46 Q5401 Q46 Q5401 Q48
(Q30,P30,c(Q2221906)) (Q230,P30,c(Q2221906)) (Q159,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
[ANSWERS]
['Q30', 'P30', {'concept': 'Q2221906'}] ['Q230', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?r ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } . ?r property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Oceania North America Europe Eurasia Europe Eurasia Asia
Those administrative territories are located in Asia, Europe and Europe
Asia Europe Europe
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}] ['Georgia', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?r ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } . ?r property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P38
Q8142
USER
What is accepted as the currency of United States of America ?
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?g WHERE { resource:Q30 property:P38 ?g . ?g rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?g WHERE { resource:United_States_of_America property:currency ?g . ?g rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q30,P38,c(Q8142))
action filter_type
action find
entity Q30
relation P38
type Q8142
The [ANSWER] is accepted as the currency of United States of America
['Q30', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?g WHERE { resource:Q30 property:P38 ?g . ?g rdf:type ontology:Q8142 }
United States dollar
The United States dollar is accepted as the currency of United States of America
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
['United States of America', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?g WHERE { resource:United_States_of_America property:currency ?g . ?g rdf:type ontology:currency }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1911988
Q8142
USER
And how about Rendsville Township, Stevens County?
(Q1911988,P38,c(Q8142))
action filter_type
action find
entity Q1911988
relation P38
type Q8142
['Q1911988', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q8142 . resource:Q1911988 property:P38 ?z }
Rendsville Township, Stevens County
action filter_type
action find
entity Rendsville Township, Stevens County
relation currency
type currency
['Rendsville Township, Stevens County', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:currency . resource:Rendsville_Township,_Stevens_County property:currency ?z }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
(Q1911988,P38,c(Q8142))
action filter_type
action find
entity Q1911988
relation P38
type Q8142
[ANSWER]
['Q1911988', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q8142 . resource:Q1911988 property:P38 ?z }
United States dollar
United States dollar
action filter_type
action find
entity Rendsville Township, Stevens County
relation currency
type currency
['Rendsville Township, Stevens County', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:currency . resource:Rendsville_Township,_Stevens_County property:currency ?z }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q553036 Q2221906
USER
Which natural region of Germanys are max number of geographic locations located on ?
(c(Q2221906),P706,Q15079119)
action argmax
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
[{'concept': 'Q2221906'}, 'P706', 'Q15079119']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P706 ?l . ?l rdf:type ontology:Q553036 . ?u rdf:type ontology:Q2221906 } GROUP BY ?l } . FILTER ( ?k = ?c ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?r rdf:type ontology:Q553036 . ?z rdf:type ontology:Q2221906 . ?z property:P706 ?r } GROUP BY ?r } } }
action argmax
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'Steigerwald']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:located_on_terrain_feature ?l . ?l rdf:type ontology:natural_region_of_Germany . ?u rdf:type ontology:geographic_location } GROUP BY ?l } . FILTER ( ?k = ?c ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?r rdf:type ontology:natural_region_of_Germany . ?z rdf:type ontology:geographic_location . ?z property:located_on_terrain_feature ?r } GROUP BY ?r } } }
[]
natural region of Germany geographic location
Q4186
SYSTEM
Harz
Q4186
(c(Q2221906),P706,Q15079119)
action argmax
action find_reverse_tuple_counts
relation P706
type Q553036
type Q2221906
[ANSWER] is max number of geographic locations located on
[{'concept': 'Q2221906'}, 'P706', 'Q15079119']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P706 ?l . ?l rdf:type ontology:Q553036 . ?u rdf:type ontology:Q2221906 } GROUP BY ?l } . FILTER ( ?k = ?c ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?r rdf:type ontology:Q553036 . ?z rdf:type ontology:Q2221906 . ?z property:P706 ?r } GROUP BY ?r } } }
Harz
Harz is max number of geographic locations located on
Harz
action argmax
action find_reverse_tuple_counts
relation located on terrain feature
type natural region of Germany
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'Steigerwald']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:located_on_terrain_feature ?l . ?l rdf:type ontology:natural_region_of_Germany . ?u rdf:type ontology:geographic_location } GROUP BY ?l } . FILTER ( ?k = ?c ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?c ) { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?r rdf:type ontology:natural_region_of_Germany . ?z rdf:type ontology:geographic_location . ?z property:located_on_terrain_feature ?r } GROUP BY ?r } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P706
Q553036 Q271669
USER
How many natural region of Germanys are the location where less number of landforms are located than that natural region of Germany ?
(c(Q271669),P706,c(Q553036))
action count
action less
action find_tuple_counts
relation P706
type Q553036
type Q271669
action count
action filter_type
action find
entity Q4186
relation P706
type Q553036
[{'concept': 'Q271669'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?m ) WHERE { ?t property:P706 ?r . ?t rdf:type ontology:Q553036 . ?r rdf:type ontology:Q271669 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q4186 property:P706 ?b . ?b rdf:type ontology:Q553036 } } . FILTER ( ?m < ?v ) }
action count
action less
action find_tuple_counts
relation located on terrain feature
type natural region of Germany
type landform
action count
action filter_type
action find
entity Harz
relation located on terrain feature
type natural region of Germany
[{'concept': 'landform'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?m ) WHERE { ?t property:located_on_terrain_feature ?r . ?t rdf:type ontology:natural_region_of_Germany . ?r rdf:type ontology:landform } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Harz property:located_on_terrain_feature ?b . ?b rdf:type ontology:natural_region_of_Germany } } . FILTER ( ?m < ?v ) }
[]
natural region of Germany landform
SYSTEM
0
(c(Q271669),P706,c(Q553036))
action count
action less
action find_tuple_counts
relation P706
type Q553036
type Q271669
action count
action filter_type
action find
entity Q4186
relation P706
type Q553036
[ANSWER]
[{'concept': 'Q271669'}, 'P706', {'concept': 'Q553036'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?m ) WHERE { ?t property:P706 ?r . ?t rdf:type ontology:Q553036 . ?r rdf:type ontology:Q271669 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Q4186 property:P706 ?b . ?b rdf:type ontology:Q553036 } } . FILTER ( ?m < ?v ) }
0
action count
action less
action find_tuple_counts
relation located on terrain feature
type natural region of Germany
type landform
action count
action filter_type
action find
entity Harz
relation located on terrain feature
type natural region of Germany
[{'concept': 'landform'}, 'located on terrain feature', {'concept': 'natural region of Germany'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?m ) WHERE { ?t property:located_on_terrain_feature ?r . ?t rdf:type ontology:natural_region_of_Germany . ?r rdf:type ontology:landform } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { resource:Harz property:located_on_terrain_feature ?b . ?b rdf:type ontology:natural_region_of_Germany } } . FILTER ( ?m < ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4186
P138
Q17444909 Q1496967
USER
How many astronomical object types and territories are the eponym of Harz ?
(c(Q17444909),P138,Q4186) (c(Q1496967),P138,Q4186)
action count
action union
action filter_type
action find_reverse
entity Q4186
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q4186
relation P138
type Q1496967
[{'concept': 'Q17444909'}, 'P138', 'Q4186'] [{'concept': 'Q1496967'}, 'P138', 'Q4186']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q17444909 ) ( ontology:Q1496967 ) } }
Harz
action count
action union
action filter_type
action find_reverse
entity Harz
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Harz
relation named after
type territorial entity
[{'concept': 'astronomical object type'}, 'named after', 'Harz'] [{'concept': 'territorial entity'}, 'named after', 'Harz']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:astronomical_object_type ) ( ontology:territorial_entity ) } }
[]
astronomical object type territorial entity
SYSTEM
1 astronomical object types and 1 territories
Q1082663 Q18536584
(c(Q17444909),P138,Q4186) (c(Q1496967),P138,Q4186)
action count
action union
action filter_type
action find_reverse
entity Q4186
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q4186
relation P138
type Q1496967
[ANSWER]
[{'concept': 'Q17444909'}, 'P138', 'Q4186'] [{'concept': 'Q1496967'}, 'P138', 'Q4186']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:Q17444909 ) ( ontology:Q1496967 ) } }
10249 Harz Südharz
1 astronomical object types and 1 territories
action count
action union
action filter_type
action find_reverse
entity Harz
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Harz
relation named after
type territorial entity
[{'concept': 'astronomical object type'}, 'named after', 'Harz'] [{'concept': 'territorial entity'}, 'named after', 'Harz']
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { ?a rdf:type ?o . VALUES ( ?o ) { ( ontology:astronomical_object_type ) ( ontology:territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q46
P183
Q16521
USER
Which taxon is endemic to Europe ?
(c(Q16521),P183,Q46)
action filter_type
action find_reverse
entity Q46
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q46']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q16521 . ?v property:P183 resource:Q46 }
Europe
action filter_type
action find_reverse
entity Europe
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Europe']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:taxon . ?v property:endemic_to resource:Europe }
[]
taxon
Q4248045
SYSTEM
Coleophora peribenanderi
Q4248045
(c(Q16521),P183,Q46)
action filter_type
action find_reverse
entity Q46
relation P183
type Q16521
[ANSWER] is endemic to Europe
[{'concept': 'Q16521'}, 'P183', 'Q46']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q16521 . ?v property:P183 resource:Q46 }
Coleophora peribenanderi
Coleophora peribenanderi is endemic to Europe
Coleophora peribenanderi
action filter_type
action find_reverse
entity Europe
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Europe']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:taxon . ?v property:endemic_to resource:Europe }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46
P123
Q166142
USER
Which applications produced that geographic location ?
(c(Q166142),P123,Q4248045)
action filter_type
action find_reverse
entity Q46
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q4248045']
SELECT DISTINCT ?v WHERE { ?v property:P123 resource:Q46 . ?v rdf:type ontology:Q166142 }
Europe
action filter_type
action find_reverse
entity Europe
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Coleophora peribenanderi']
SELECT DISTINCT ?v WHERE { ?v property:publisher resource:Europe . ?v rdf:type ontology:application }
[]
application
Q835522 Q1423320 Q2860051
SYSTEM
GT Legends, GTR – FIA GT Racing Game, Archer Maclean's Mercury
Q2860051 Q1992543 Q835522 Q3705376 Q1423320 Q1626988
(c(Q166142),P123,Q4248045)
action filter_type
action find_reverse
entity Q46
relation P123
type Q166142
[ANSWERS] produced that geographic location
[{'concept': 'Q166142'}, 'P123', 'Q4248045']
SELECT DISTINCT ?v WHERE { ?v property:P123 resource:Q46 . ?v rdf:type ontology:Q166142 }
Archer Maclean's Mercury Ghosthunter GT Legends Demon Gaze GTR – FIA GT Racing Game Schizm: Mysterious Journey
GT Legends, GTR – FIA GT Racing Game and Archer Maclean's Mercury produced that geographic location
GT Legends GTR – FIA GT Racing Game Archer Maclean's Mercury
action filter_type
action find_reverse
entity Europe
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Coleophora peribenanderi']
SELECT DISTINCT ?v WHERE { ?v property:publisher resource:Europe . ?v rdf:type ontology:application }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1203222
P1445
Q166142 Q386724
USER
How many works are set up by lesser number of applications than Shrek ?
(c(Q386724),P1445,c(Q166142))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q1203222
relation P1445
type Q166142
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?t ) WHERE { ?k property:P1445 ?o . ?k rdf:type ontology:Q386724 . ?o rdf:type ontology:Q166142 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q1203222 property:P1445 ?x . ?x rdf:type ontology:Q166142 } } . FILTER ( ?t < ?m ) }
Shrek
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Shrek
relation fictional universe described in
type application
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?t ) WHERE { ?k property:fictional_universe_described_in ?o . ?k rdf:type ontology:work . ?o rdf:type ontology:application } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Shrek property:fictional_universe_described_in ?x . ?x rdf:type ontology:application } } . FILTER ( ?t < ?m ) }
[]
application work
SYSTEM
4
Q15731902 Q11927 Q3177580 Q384426
(c(Q386724),P1445,c(Q166142))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q1203222
relation P1445
type Q166142
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?t ) WHERE { ?k property:P1445 ?o . ?k rdf:type ontology:Q386724 . ?o rdf:type ontology:Q166142 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q1203222 property:P1445 ?x . ?x rdf:type ontology:Q166142 } } . FILTER ( ?t < ?m ) }
Aladdin media franchise Stargate The Walking Dead Pirates of the Caribbean
4
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Shrek
relation fictional universe described in
type application
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?t ) WHERE { ?k property:fictional_universe_described_in ?o . ?k rdf:type ontology:work . ?o rdf:type ontology:application } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Shrek property:fictional_universe_described_in ?x . ?x rdf:type ontology:application } } . FILTER ( ?t < ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q384426
P1445
Q166142 Q386724
USER
And also tell me about Pirates of the Caribbean?
(c(Q386724),P1445,c(Q166142))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q384426
relation P1445
type Q166142
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?m ) WHERE { ?r property:P1445 ?e . ?r rdf:type ontology:Q386724 . ?e rdf:type ontology:Q166142 } GROUP BY ?r } . FILTER ( ?m < ?z ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q384426 property:P1445 ?v . ?v rdf:type ontology:Q166142 } } }
Pirates of the Caribbean
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Pirates of the Caribbean
relation fictional universe described in
type application
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?m ) WHERE { ?r property:fictional_universe_described_in ?e . ?r rdf:type ontology:work . ?e rdf:type ontology:application } GROUP BY ?r } . FILTER ( ?m < ?z ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in ?v . ?v rdf:type ontology:application } } }
[]
application work
SYSTEM
3
Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q166142))
action count
action less
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q384426
relation P1445
type Q166142
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?m ) WHERE { ?r property:P1445 ?e . ?r rdf:type ontology:Q386724 . ?e rdf:type ontology:Q166142 } GROUP BY ?r } . FILTER ( ?m < ?z ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q384426 property:P1445 ?v . ?v rdf:type ontology:Q166142 } } }
Aladdin media franchise Stargate The Walking Dead
3
action count
action less
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Pirates of the Caribbean
relation fictional universe described in
type application
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?t ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?m ) WHERE { ?r property:fictional_universe_described_in ?e . ?r rdf:type ontology:work . ?e rdf:type ontology:application } GROUP BY ?r } . FILTER ( ?m < ?z ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in ?v . ?v rdf:type ontology:application } } }
[]