Simple Question (Direct)
Simple Question
Q9336982
P27
Q15617994
USER
Which administrative territory is the native country of Silver Ayoo ?
(Q9336982,P27,c(Q15617994))
action filter_type
action find
entity Q9336982
relation P27
type Q15617994
['Q9336982', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q9336982 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Silver Ayoo
action filter_type
action find
entity Silver Ayoo
relation country of citizenship
type designation for an administrative territorial entity
['Silver Ayoo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Silver_Ayoo property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1036
SYSTEM
Uganda
Q1036
(Q9336982,P27,c(Q15617994))
action filter_type
action find
entity Q9336982
relation P27
type Q15617994
[ANSWER] is the native country of Silver Ayoo
['Q9336982', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q9336982 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Uganda
Uganda is the native country of Silver Ayoo
Uganda
action filter_type
action find
entity Silver Ayoo
relation country of citizenship
type designation for an administrative territorial entity
['Silver Ayoo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Silver_Ayoo property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1036
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q1036,P163,c(Q14660))
action filter_type
action find
entity Q1036
relation P163
type Q14660
['Q1036', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { resource:Q1036 property:P163 ?b . ?b rdf:type ontology:Q14660 }
Uganda
action filter_type
action find
entity Uganda
relation flag
type flag
['Uganda', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { resource:Uganda property:flag ?b . ?b rdf:type ontology:flag }
[]
flag
Q103037
SYSTEM
Flag of Uganda
Q103037
(Q1036,P163,c(Q14660))
action filter_type
action find
entity Q1036
relation P163
type Q14660
Uganda [ANSWER] is associated with that administrative territory
['Q1036', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { resource:Q1036 property:P163 ?b . ?b rdf:type ontology:Q14660 }
Flag of Uganda
Uganda Flag of Uganda is associated with that administrative territory
Flag of Uganda
action filter_type
action find
entity Uganda
relation flag
type flag
['Uganda', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { resource:Uganda property:flag ?b . ?b rdf:type ontology:flag }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q103037 Q552099
P163
Q15617994
USER
Is Simmersfeld associated with that flag ?
(Q552099,P163,Q103037)
action is_in
entity Q552099
action find
entity Q103037
relation P163
['Q552099', 'P163', 'Q103037']
ASK WHERE { resource:Q103037 property:P163 resource:Q552099 }
Flag of Uganda Simmersfeld
action is_in
entity Simmersfeld
action find
entity Flag of Uganda
relation flag
['Simmersfeld', 'flag', 'Flag of Uganda']
ASK WHERE { resource:Flag_of_Uganda property:flag resource:Simmersfeld }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q552099,P163,Q103037)
action is_in
entity Q552099
action find
entity Q103037
relation P163
[ANSWER]
['Q552099', 'P163', 'Q103037']
ASK WHERE { resource:Q103037 property:P163 resource:Q552099 }
No
action is_in
entity Simmersfeld
action find
entity Flag of Uganda
relation flag
['Simmersfeld', 'flag', 'Flag of Uganda']
ASK WHERE { resource:Flag_of_Uganda property:flag resource:Simmersfeld }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q298
P194
Q1752346 Q701632 Q15617994
USER
How many administrative territories have greater number of assemblies and municipal councils as their representative body than Chile ?
(c(Q15617994),P194,c(Q1752346)|c(Q701632))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q298
relation P194
type Q1752346
type Q701632
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?r WHERE { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1752346 ) ( ontology:Q701632 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q298 property:P194 ?n . { { ?n rdf:type ontology:Q701632 } UNION { ?n rdf:type ontology:Q1752346 } } } } . FILTER ( ?d > ?v ) }
Chile
action count
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Chile
relation legislative body
type assembly
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?r WHERE { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:assembly ) ( ontology:municipal_council ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Chile property:legislative_body ?n . { { ?n rdf:type ontology:municipal_council } UNION { ?n rdf:type ontology:assembly } } } } . FILTER ( ?d > ?v ) }
[]
assembly municipal council designation for an administrative territorial entity
SYSTEM
2
Q794 Q6465
(c(Q15617994),P194,c(Q1752346)|c(Q701632))
action count
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q298
relation P194
type Q1752346
type Q701632
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?r WHERE { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1752346 ) ( ontology:Q701632 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q298 property:P194 ?n . { { ?n rdf:type ontology:Q701632 } UNION { ?n rdf:type ontology:Q1752346 } } } } . FILTER ( ?d > ?v ) }
Iran department of France
2
action count
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Chile
relation legislative body
type assembly
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?r WHERE { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:assembly ) ( ontology:municipal_council ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Chile property:legislative_body ?n . { { ?n rdf:type ontology:municipal_council } UNION { ?n rdf:type ontology:assembly } } } } . FILTER ( ?d > ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q431048
P47
Q15617994
USER
How many administrative territories are adjacent to Bivona ?
(Q431048,P47,c(Q15617994))
action count
action filter_type
action find
entity Q431048
relation P47
type Q15617994
['Q431048', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q431048 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
Bivona
action count
action filter_type
action find
entity Bivona
relation shares border with
type designation for an administrative territorial entity
['Bivona', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Bivona property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
8
Q489688 Q490756 Q430988 Q431798 Q432527 Q432680 Q431101 Q431492
(Q431048,P47,c(Q15617994))
action count
action filter_type
action find
entity Q431048
relation P47
type Q15617994
[ANSWER]
['Q431048', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q431048 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
Palazzo Adriano Castronovo di Sicilia Alessandria della Rocca Lucca Sicula Ribera Santo Stefano Quisquina Calamonaci Cianciana
8
action count
action filter_type
action find
entity Bivona
relation shares border with
type designation for an administrative territorial entity
['Bivona', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Bivona property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q101810
Q15617994
USER
And how about Zanica?
(Q101810,P47,c(Q15617994))
action count
action filter_type
action find
entity Q101810
relation P47
type Q15617994
['Q101810', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q101810 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Zanica
action count
action filter_type
action find
entity Zanica
relation shares border with
type designation for an administrative territorial entity
['Zanica', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Zanica property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
7
(Q101810,P47,c(Q15617994))
action count
action filter_type
action find
entity Q101810
relation P47
type Q15617994
[ANSWER]
['Q101810', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Q101810 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
7
action count
action filter_type
action find
entity Zanica
relation shares border with
type designation for an administrative territorial entity
['Zanica', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { resource:Zanica property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1036
P495
Q1002697
USER
Which periodical literature has Uganda as its place of origin ?
(c(Q1002697),P495,Q1036)
action filter_type
action find_reverse
entity Q1036
relation P495
type Q1002697
[{'concept': 'Q1002697'}, 'P495', 'Q1036']
SELECT DISTINCT ?u WHERE { ?u property:P495 resource:Q1036 . ?u rdf:type ontology:Q1002697 }
Uganda
action filter_type
action find_reverse
entity Uganda
relation country of origin
type periodical literature
[{'concept': 'periodical literature'}, 'country of origin', 'Uganda']
SELECT DISTINCT ?u WHERE { ?u property:country_of_origin resource:Uganda . ?u rdf:type ontology:periodical_literature }
[]
periodical literature
Q520214
SYSTEM
New Vision
Q520214
(c(Q1002697),P495,Q1036)
action filter_type
action find_reverse
entity Q1036
relation P495
type Q1002697
[ANSWER] has Uganda as its place of origin
[{'concept': 'Q1002697'}, 'P495', 'Q1036']
SELECT DISTINCT ?u WHERE { ?u property:P495 resource:Q1036 . ?u rdf:type ontology:Q1002697 }
New Vision
New Vision has Uganda as its place of origin
New Vision
action filter_type
action find_reverse
entity Uganda
relation country of origin
type periodical literature
[{'concept': 'periodical literature'}, 'country of origin', 'Uganda']
SELECT DISTINCT ?u WHERE { ?u property:country_of_origin resource:Uganda . ?u rdf:type ontology:periodical_literature }
[]