Simple Question (Direct)
Simple Question
Q4062894
P21
Q290
USER
Which sex does Halife Altay belong to ?
(Q4062894,P21,c(Q290))
action filter_type
action find
entity Q4062894
relation P21
type Q290
['Q4062894', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q4062894 property:P21 ?p . ?p rdf:type ontology:Q290 }
Halife Altay
action filter_type
action find
entity Halife Altay
relation gender
type sex
['Halife Altay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Halife_Altay property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4062894,P21,c(Q290))
action filter_type
action find
entity Q4062894
relation P21
type Q290
Halife Altay belongs to [ANSWER]
['Q4062894', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q4062894 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Halife Altay belongs to male
male
action filter_type
action find
entity Halife Altay
relation gender
type sex
['Halife Altay', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Halife_Altay property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4062894
P19
Q15617994
USER
Which administrative territory is the birthplace of Halife Altay ?
(Q4062894,P19,c(Q15617994))
action filter_type
action find
entity Q4062894
relation P19
type Q15617994
['Q4062894', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q4062894 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Halife Altay
action filter_type
action find
entity Halife Altay
relation place of birth
type designation for an administrative territorial entity
['Halife Altay', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Halife_Altay property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q232
SYSTEM
Kazakhstan
Q232
(Q4062894,P19,c(Q15617994))
action filter_type
action find
entity Q4062894
relation P19
type Q15617994
[ANSWER] is the birthplace of Halife Altay
['Q4062894', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q4062894 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Kazakhstan
Kazakhstan is the birthplace of Halife Altay
Kazakhstan
action filter_type
action find
entity Halife Altay
relation place of birth
type designation for an administrative territorial entity
['Halife Altay', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Halife_Altay property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4062894
P20
Q15617994
USER
Which administrative territory is the place of death of Halife Altay ?
(Q4062894,P20,c(Q15617994))
action filter_type
action find
entity Q4062894
relation P20
type Q15617994
['Q4062894', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q4062894 property:P20 ?d }
Halife Altay
action filter_type
action find
entity Halife Altay
relation place of death
type designation for an administrative territorial entity
['Halife Altay', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Halife_Altay property:place_of_death ?d }
[]
designation for an administrative territorial entity
Q232
SYSTEM
Kazakhstan
Q232
(Q4062894,P20,c(Q15617994))
action filter_type
action find
entity Q4062894
relation P20
type Q15617994
[ANSWER] is the place of death of Halife Altay
['Q4062894', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q4062894 property:P20 ?d }
Kazakhstan
Kazakhstan is the place of death of Halife Altay
Kazakhstan
action filter_type
action find
entity Halife Altay
relation place of death
type designation for an administrative territorial entity
['Halife Altay', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Halife_Altay property:place_of_death ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q100776
Q15617994
USER
And how about Albert von Holleben?
(Q100776,P20,c(Q15617994))
action filter_type
action find
entity Q100776
relation P20
type Q15617994
['Q100776', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q100776 property:P20 ?m . ?m rdf:type ontology:Q15617994 }
Albert von Holleben
action filter_type
action find
entity Albert von Holleben
relation place of death
type designation for an administrative territorial entity
['Albert von Holleben', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Albert_von_Holleben property:place_of_death ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15986
SYSTEM
Naumburg
Q15986
(Q100776,P20,c(Q15617994))
action filter_type
action find
entity Q100776
relation P20
type Q15617994
[ANSWER]
['Q100776', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q100776 property:P20 ?m . ?m rdf:type ontology:Q15617994 }
Naumburg
Naumburg
action filter_type
action find
entity Albert von Holleben
relation place of death
type designation for an administrative territorial entity
['Albert von Holleben', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Albert_von_Holleben property:place_of_death ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q15986 Q11656812
P20
Q502895
USER
Does Hiroko Sakamoto have that administrative territory as the area of death ?
(Q11656812,P20,Q15986)
action is_in
entity Q11656812
action find
entity Q15986
relation P20
['Q11656812', 'P20', 'Q15986']
ASK WHERE { resource:Q15986 property:P20 resource:Q11656812 }
Naumburg Hiroko Sakamoto
action is_in
entity Hiroko Sakamoto
action find
entity Naumburg
relation place of death
['Hiroko Sakamoto', 'place of death', 'Naumburg']
ASK WHERE { resource:Naumburg property:place_of_death resource:Hiroko_Sakamoto }
[]
common name
SYSTEM
NO
(Q11656812,P20,Q15986)
action is_in
entity Q11656812
action find
entity Q15986
relation P20
[ANSWER]
['Q11656812', 'P20', 'Q15986']
ASK WHERE { resource:Q15986 property:P20 resource:Q11656812 }
No
action is_in
entity Hiroko Sakamoto
action find
entity Naumburg
relation place of death
['Hiroko Sakamoto', 'place of death', 'Naumburg']
ASK WHERE { resource:Naumburg property:place_of_death resource:Hiroko_Sakamoto }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15986
P47
Q15617994
USER
Which administrative territory has an adjacent border with that one ?
action filter_type
action find_reverse
entity Q15986
relation P47
type Q15617994
SELECT DISTINCT ?y WHERE { ?y property:P47 resource:Q15986 . ?y rdf:type ontology:Q15617994 }
Naumburg
action filter_type
action find_reverse
entity Naumburg
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?y WHERE { ?y property:shares_border_with resource:Naumburg . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q634924
SYSTEM
Mertendorf
Q634924
action filter_type
action find_reverse
entity Q15986
relation P47
type Q15617994
Of [ANSWER] has an adjacent border with that one
SELECT DISTINCT ?y WHERE { ?y property:P47 resource:Q15986 . ?y rdf:type ontology:Q15617994 }
Mertendorf
Of Mertendorf has an adjacent border with that one
Mertendorf
action filter_type
action find_reverse
entity Naumburg
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?y WHERE { ?y property:shares_border_with resource:Naumburg . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q244
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with less number of administrative territories than Barbados ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q244
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?p < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q244 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?p ) WHERE { ?x property:P530 ?l . ?x rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?x } }
Barbados
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Barbados
relation diplomatic relation
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 ?x WHERE { FILTER ( ?p < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Barbados property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?p ) WHERE { ?x property:diplomatic_relation ?l . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q244
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with less number of administrative territories than Barbados
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?p < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Q244 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?p ) WHERE { ?x property:P530 ?l . ?x rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?x } }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have diplomatic associations with less number of administrative territories than Barbados
Kingdom of the Netherlands Dominican Republic Tanzania
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Barbados
relation diplomatic relation
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 ?x WHERE { FILTER ( ?p < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { resource:Barbados property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?p ) WHERE { ?x property:diplomatic_relation ?l . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q233
P530
Q15617994 Q15617994
USER
And also tell me about Malta?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q233
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p property:P530 ?i . ?p rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q233 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?d ) }
Malta
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Malta
relation diplomatic relation
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 ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p property:diplomatic_relation ?i . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Malta property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q233
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p property:P530 ?i . ?p rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q233 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?d ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands Dominican Republic Tanzania
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Malta
relation diplomatic relation
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 ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?u ) WHERE { ?p property:diplomatic_relation ?i . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Malta property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?d ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with atleast 19 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?m ) WHERE { ?p property:P530 ?o . ?p rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?m >= 19 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?m ) WHERE { ?p property:diplomatic_relation ?o . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?m >= 19 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
7
Q801 Q159 Q155 Q38 Q230 Q184 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?m ) WHERE { ?p property:P530 ?o . ?p rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?p } . FILTER ( ?m >= 19 ) }
Israel Russia Brazil Italy Georgia Belarus Zambia
7
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?m ) WHERE { ?p property:diplomatic_relation ?o . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . FILTER ( ?m >= 19 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q15416 Q2342494
USER
How many administrative territories are the narrative locations of approximately 31 television programs and collectables ?
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 31
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { FILTER ( ?y = 31 ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?k rdf:type ?q } GROUP BY ?v } }
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 31
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { FILTER ( ?y = 31 ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?q ) { ( ontology:television_program ) ( ontology:collectable ) } . ?k rdf:type ?q } GROUP BY ?v } }
[]
designation for an administrative territorial entity television program collectable
SYSTEM
9
Q55 Q258 Q43 Q155 Q796 Q794 Q881 Q30 Q38
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 31
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { FILTER ( ?y = 31 ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?k rdf:type ?q } GROUP BY ?v } }
Netherlands South Africa Turkey Brazil Iraq Iran Vietnam United States of America Italy
9
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 31
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { FILTER ( ?y = 31 ) . { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?y ) WHERE { VALUES ( ?q ) { ( ontology:television_program ) ( ontology:collectable ) } . ?k rdf:type ?q } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P425
Q1914636
USER
Who is associated with the field of occupation writer ?
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1914636 . resource:Q36180 property:P425 ?i }
writer
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:activity . resource:writer property:field_of_this_occupation ?i }
[]
activity
Q8242
SYSTEM
literature
Q8242
(Q36180,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
Is [ANSWER] is associated with the field of occupation writer
['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1914636 . resource:Q36180 property:P425 ?i }
literature
Is literature is associated with the field of occupation writer
literature
action filter_type
action find
entity writer
relation field of this occupation
type activity
['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:activity . resource:writer property:field_of_this_occupation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q786
P706
Q2221906
USER
Which geographic location is Dominican Republic located on ?
(Q786,P706,c(Q2221906))
action filter_type
action find
entity Q786
relation P706
type Q2221906
['Q786', 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q786 property:P706 ?y . ?y rdf:type ontology:Q2221906 }
Dominican Republic
action filter_type
action find
entity Dominican Republic
relation located on terrain feature
type geographic location
['Dominican Republic', 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Dominican_Republic property:located_on_terrain_feature ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q664609
SYSTEM
Caribbean
Q664609
(Q786,P706,c(Q2221906))
action filter_type
action find
entity Q786
relation P706
type Q2221906
Dominican Republic is located in [ANSWER]
['Q786', 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q786 property:P706 ?y . ?y rdf:type ontology:Q2221906 }
Caribbean
Dominican Republic is located in Caribbean
Caribbean
action filter_type
action find
entity Dominican Republic
relation located on terrain feature
type geographic location
['Dominican Republic', 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Dominican_Republic property:located_on_terrain_feature ?y . ?y rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15986
P17
Q1048835
USER
Which political territory is Naumburg present in ?
(Q15986,P17,c(Q1048835))
action filter_type
action find
entity Q15986
relation P17
type Q1048835
['Q15986', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q15986 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Naumburg
action filter_type
action find
entity Naumburg
relation country
type political territorial entity
['Naumburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Naumburg property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q15986,P17,c(Q1048835))
action filter_type
action find
entity Q15986
relation P17
type Q1048835
Naumburg is in [ANSWER]
['Q15986', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q15986 property:P17 ?z . ?z rdf:type ontology:Q1048835 }
Germany
Naumburg is in Germany
Germany
action filter_type
action find
entity Naumburg
relation country
type political territorial entity
['Naumburg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Naumburg property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15986
P190
Q56061
USER
Which administrative territory is a sister city of that administrative territory ?
(c(Q56061),P190,Q183)
action filter_type
action find
entity Q15986
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q183']
SELECT DISTINCT ?f WHERE { resource:Q15986 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Naumburg
action filter_type
action find
entity Naumburg
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Germany']
SELECT DISTINCT ?f WHERE { resource:Naumburg property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1017
SYSTEM
Aachen
Q1017
(c(Q56061),P190,Q183)
action filter_type
action find
entity Q15986
relation P190
type Q56061
[ANSWER] is a sister city of that administrative territory
[{'concept': 'Q56061'}, 'P190', 'Q183']
SELECT DISTINCT ?f WHERE { resource:Q15986 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Aachen
Aachen is a sister city of that administrative territory
Aachen
action filter_type
action find
entity Naumburg
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Germany']
SELECT DISTINCT ?f WHERE { resource:Naumburg property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15617994 Q13220204 Q34442
USER
Which administrative territories are max number of administrative country subdivisions and roads named after ?
(c(Q13220204)|c(Q34442),P138,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q34442
[[{'concept': 'Q13220204'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?r ) { ( ontology:Q13220204 ) ( ontology:Q34442 ) } . ?c rdf:type ?r } GROUP BY ?z } } . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?g . VALUES ( ?g ) { ( ontology:Q13220204 ) ( ontology:Q34442 ) } } GROUP BY ?f } . FILTER ( ?t = ?e ) }
action argmax
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'road'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?r ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:road ) } . ?c rdf:type ?r } GROUP BY ?z } } . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?g . VALUES ( ?g ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:road ) } } GROUP BY ?f } . FILTER ( ?t = ?e ) }
[]
designation for an administrative territorial entity second-level administrative country subdivision road
Q223
SYSTEM
Greenland
Q223
(c(Q13220204)|c(Q34442),P138,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q13220204
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q34442
[ANSWER] is max number of administrative country subdivisions and roads named after
[[{'concept': 'Q13220204'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?r ) { ( ontology:Q13220204 ) ( ontology:Q34442 ) } . ?c rdf:type ?r } GROUP BY ?z } } . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?g . VALUES ( ?g ) { ( ontology:Q13220204 ) ( ontology:Q34442 ) } } GROUP BY ?f } . FILTER ( ?t = ?e ) }
Greenland
Greenland is max number of administrative country subdivisions and roads named after
Greenland
action argmax
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'road'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?r ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:road ) } . ?c rdf:type ?r } GROUP BY ?z } } . { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?t ) WHERE { ?m rdf:type ?g . VALUES ( ?g ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:road ) } } GROUP BY ?f } . FILTER ( ?t = ?e ) }
[]