Simple Question (Direct)
Simple Question
Q683077
P27
Q15617994
USER
Which administrative territory does Robert Dołęga belong to ?
(Q683077,P27,c(Q15617994))
action filter_type
action find
entity Q683077
relation P27
type Q15617994
['Q683077', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q683077 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Robert Dołęga
action filter_type
action find
entity Robert Dołęga
relation country of citizenship
type designation for an administrative territorial entity
['Robert Dołęga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Dołęga property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q683077,P27,c(Q15617994))
action filter_type
action find
entity Q683077
relation P27
type Q15617994
Robert Dołęga belongs to [ANSWER]
['Q683077', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q683077 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Poland
Robert Dołęga belongs to Poland
Poland
action filter_type
action find
entity Robert Dołęga
relation country of citizenship
type designation for an administrative territorial entity
['Robert Dołęga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Dołęga property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q683077
P641
Q349
USER
Which sport was Robert Dołęga a part of ?
(Q683077,P641,c(Q349))
action filter_type
action find
entity Q683077
relation P641
type Q349
['Q683077', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q683077 property:P641 ?f . ?f rdf:type ontology:Q349 }
Robert Dołęga
action filter_type
action find
entity Robert Dołęga
relation sport
type sport
['Robert Dołęga', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Robert_Dołęga property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q83462
SYSTEM
weightlifting
Q83462
(Q683077,P641,c(Q349))
action filter_type
action find
entity Q683077
relation P641
type Q349
Which sport was Robert Dołęga a part of
['Q683077', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q683077 property:P641 ?f . ?f rdf:type ontology:Q349 }
weightlifting
Which sport was Robert Dołęga a part of
weightlifting
action filter_type
action find
entity Robert Dołęga
relation sport
type sport
['Robert Dołęga', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Robert_Dołęga property:sport ?f . ?f rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q83462
P425
Q151885
USER
Which concept has that sport as thier field of occupation ?
(c(Q151885),P425,Q83462)
action filter_type
action find_reverse
entity Q83462
relation P425
type Q151885
[{'concept': 'Q151885'}, 'P425', 'Q83462']
SELECT DISTINCT ?o WHERE { ?o property:P425 resource:Q83462 . ?o rdf:type ontology:Q151885 }
weightlifting
action filter_type
action find_reverse
entity weightlifting
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', 'weightlifting']
SELECT DISTINCT ?o WHERE { ?o property:field_of_this_occupation resource:weightlifting . ?o rdf:type ontology:concept }
[]
concept
Q13381376
SYSTEM
weightlifter
Q13381376
(c(Q151885),P425,Q83462)
action filter_type
action find_reverse
entity Q83462
relation P425
type Q151885
Er [ANSWER] has that sport as thier field of occupation
[{'concept': 'Q151885'}, 'P425', 'Q83462']
SELECT DISTINCT ?o WHERE { ?o property:P425 resource:Q83462 . ?o rdf:type ontology:Q151885 }
weightlifter
Er weightlifter has that sport as thier field of occupation
weightlifter
action filter_type
action find_reverse
entity weightlifting
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', 'weightlifting']
SELECT DISTINCT ?o WHERE { ?o property:field_of_this_occupation resource:weightlifting . ?o rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P610
Q14524493
USER
Which terrain is the highest point of Poland ?
(Q36,P610,c(Q14524493))
action filter_type
action find
entity Q36
relation P610
type Q14524493
['Q36', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?p WHERE { resource:Q36 property:P610 ?p . ?p rdf:type ontology:Q14524493 }
Poland
action filter_type
action find
entity Poland
relation highest point
type terrain
['Poland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?p WHERE { resource:Poland property:highest_point ?p . ?p rdf:type ontology:terrain }
[]
terrain
Q672936
SYSTEM
Rysy
Q672936
(Q36,P610,c(Q14524493))
action filter_type
action find
entity Q36
relation P610
type Q14524493
[ANSWER] is the highest point of Poland
['Q36', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?p WHERE { resource:Q36 property:P610 ?p . ?p rdf:type ontology:Q14524493 }
Rysy
Rysy is the highest point of Poland
Rysy
action filter_type
action find
entity Poland
relation highest point
type terrain
['Poland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?p WHERE { resource:Poland property:highest_point ?p . ?p rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7581425
Q14524493
USER
And what about Spruce Mountain?
(Q7581425,P610,c(Q14524493))
action filter_type
action find
entity Q7581425
relation P610
type Q14524493
['Q7581425', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q14524493 . resource:Q7581425 property:P610 ?o }
Spruce Mountain
action filter_type
action find
entity Spruce Mountain
relation highest point
type terrain
['Spruce Mountain', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:terrain . resource:Spruce_Mountain property:highest_point ?o }
[]
terrain
Q1815535
SYSTEM
Spruce Knob
Q1815535
(Q7581425,P610,c(Q14524493))
action filter_type
action find
entity Q7581425
relation P610
type Q14524493
[ANSWER]
['Q7581425', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q14524493 . resource:Q7581425 property:P610 ?o }
Spruce Knob
Spruce Knob
action filter_type
action find
entity Spruce Mountain
relation highest point
type terrain
['Spruce Mountain', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:terrain . resource:Spruce_Mountain property:highest_point ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1815535
P17
Q15617994
USER
Which administrative territory is that terrain situated in ?
(Q1815535,P17,c(Q15617994))
action filter_type
action find
entity Q1815535
relation P17
type Q15617994
['Q1815535', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1815535 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Spruce Knob
action filter_type
action find
entity Spruce Knob
relation country
type designation for an administrative territorial entity
['Spruce Knob', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Spruce_Knob property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1815535,P17,c(Q15617994))
action filter_type
action find
entity Q1815535
relation P17
type Q15617994
That terrain is situated in [ANSWER]
['Q1815535', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1815535 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
That terrain is situated in United States of America
United States of America
action filter_type
action find
entity Spruce Knob
relation country
type designation for an administrative territorial entity
['Spruce Knob', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Spruce_Knob property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17334867
Q15617994
USER
And also tell me about Portrait of gouverneur-generaal Jeremias van Riemsdijk?
(Q17334867,P17,c(Q15617994))
action filter_type
action find
entity Q17334867
relation P17
type Q15617994
['Q17334867', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q17334867 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Portrait of gouverneur-generaal Jeremias van Riemsdijk
action filter_type
action find
entity Portrait of gouverneur-generaal Jeremias van Riemsdijk
relation country
type designation for an administrative territorial entity
['Portrait of gouverneur-generaal Jeremias van Riemsdijk', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Portrait_of_gouverneur-generaal_Jeremias_van_Riemsdijk property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q17334867,P17,c(Q15617994))
action filter_type
action find
entity Q17334867
relation P17
type Q15617994
[ANSWER]
['Q17334867', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q17334867 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Portrait of gouverneur-generaal Jeremias van Riemsdijk
relation country
type designation for an administrative territorial entity
['Portrait of gouverneur-generaal Jeremias van Riemsdijk', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Portrait_of_gouverneur-generaal_Jeremias_van_Riemsdijk property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q838948
USER
How many administrative territories are the origins of more number of film genres or works of art than that administrative territory ?
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P495 resource:Q55 . { { ?q rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q201658 } } } } . FILTER ( ?d > ?a ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q201658 ) } } GROUP BY ?x } }
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:country_of_origin resource:Netherlands . { { ?q rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:film_genre } } } } . FILTER ( ?d > ?a ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:film_genre ) } } GROUP BY ?x } }
[]
designation for an administrative territorial entity film genre work of art
SYSTEM
12
Q668 Q414 Q142 Q145 Q148 Q884 Q30 Q34 Q38 Q96 Q17 Q29
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q201658
type Q838948
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P495 resource:Q55 . { { ?q rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q201658 } } } } . FILTER ( ?d > ?a ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q201658 ) } } GROUP BY ?x } }
India Argentina France United Kingdom People's Republic of China South Korea United States of America Sweden Italy Mexico Japan Spain
12
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:country_of_origin resource:Netherlands . { { ?q rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:film_genre } } } } . FILTER ( ?d > ?a ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?k . VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:film_genre ) } } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q710
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with greater number of administrative territories than Kiribati ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q710
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?o ) WHERE { ?w rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?d property:P530 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q710 property:P530 ?m } } . FILTER ( ?o > ?n ) }
Kiribati
action greater
action find_reverse_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 Kiribati
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?o ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kiribati property:diplomatic_relation ?m } } . FILTER ( ?o > ?n ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q710
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with greater number of administrative territories than Kiribati
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?o ) WHERE { ?w rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?d property:P530 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q710 property:P530 ?m } } . FILTER ( ?o > ?n ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relations with greater number of administrative territories than Kiribati
Italy Brazil United States of America
action greater
action find_reverse_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 Kiribati
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?o ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kiribati property:diplomatic_relation ?m } } . FILTER ( ?o > ?n ) }
[]