Simple Question (Direct)
Simple Question
Q6193327
P39
Q12737077
USER
Which occupation was a position for which Karl-Erik Strömberg was appointed ?
(Q6193327,P39,c(Q12737077))
action filter_type
action find
entity Q6193327
relation P39
type Q12737077
['Q6193327', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q6193327 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Karl-Erik Strömberg
action filter_type
action find
entity Karl-Erik Strömberg
relation position held
type occupation
['Karl-Erik Strömberg', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Karl-Erik_Strömberg property:position_held ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q10655178
SYSTEM
Member of the Riksdag
Q10655178
(Q6193327,P39,c(Q12737077))
action filter_type
action find
entity Q6193327
relation P39
type Q12737077
[ANSWER] was a position for which Karl-Erik Strömberg was appointed
['Q6193327', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q6193327 property:P39 ?l . ?l rdf:type ontology:Q12737077 }
Member of the Riksdag
Member of the Riksdag was a position for which Karl-Erik Strömberg was appointed
Member of the Riksdag
action filter_type
action find
entity Karl-Erik Strömberg
relation position held
type occupation
['Karl-Erik Strömberg', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Karl-Erik_Strömberg property:position_held ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10655178
P1001
Q15617994
USER
Which administrative territory comes under the supervision of that occupation ?
(Q10655178,P1001,c(Q15617994))
action filter_type
action find
entity Q10655178
relation P1001
type Q15617994
['Q10655178', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q10655178 property:P1001 ?b . ?b rdf:type ontology:Q15617994 }
Member of the Riksdag
action filter_type
action find
entity Member of the Riksdag
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the Riksdag', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Member_of_the_Riksdag property:applies_to_jurisdiction ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q10655178,P1001,c(Q15617994))
action filter_type
action find
entity Q10655178
relation P1001
type Q15617994
[ANSWER] comes under the supervision of that occupation
['Q10655178', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q10655178 property:P1001 ?b . ?b rdf:type ontology:Q15617994 }
Sweden
Sweden comes under the supervision of that occupation
Sweden
action filter_type
action find
entity Member of the Riksdag
relation applies to jurisdiction
type designation for an administrative territorial entity
['Member of the Riksdag', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Member_of_the_Riksdag property:applies_to_jurisdiction ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q668
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with greater number of administrative territories than India ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q668
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?z ) WHERE { ?s property:P530 ?e . ?s rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q668 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?z > ?y ) }
India
action count
action greater
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 India
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 ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?z ) WHERE { ?s property:diplomatic_relation ?e . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:India property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z > ?y ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
19
Q801 Q805 Q142 Q145 Q148 Q403 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q225 Q17 Q114 Q858 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q668
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?z ) WHERE { ?s property:P530 ?e . ?s rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q668 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?z > ?y ) }
Israel Yemen France United Kingdom People's Republic of China Serbia Russia Brazil United States of America Central African Republic Italy Georgia Belarus Bosnia and Herzegovina Japan Kenya Syria Cape Verde Zambia
19
action count
action greater
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 India
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 ( COUNT ( ?s ) AS ?v ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?z ) WHERE { ?s property:diplomatic_relation ?e . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:India property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z > ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P1532
Q502895
USER
Which people play for Sweden ?
(c(Q502895),P1532,Q34)
action filter_type
action find_reverse
entity Q34
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q34']
SELECT DISTINCT ?v WHERE { ?v property:P1532 resource:Q34 . ?v rdf:type ontology:Q502895 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Sweden']
SELECT DISTINCT ?v WHERE { ?v property:country_for_sport resource:Sweden . ?v rdf:type ontology:common_name }
[]
common name
Q442182 Q4990346 Q22249564
SYSTEM
Klas Ingesson, Monica Westén, Johanna Nilsson
Q5888043 Q22249564 Q23418572 Q23840287 Q4990346 Q23838152 Q23915862 Q442182 Q23827037 Q5545583 Q5913953 Q20354569 Q6019106 Q23834471 Q164250 Q4962811 Q20740797
(c(Q502895),P1532,Q34)
action filter_type
action find_reverse
entity Q34
relation P1532
type Q502895
[ANSWERS] play for Sweden
[{'concept': 'Q502895'}, 'P1532', 'Q34']
SELECT DISTINCT ?v WHERE { ?v property:P1532 resource:Q34 . ?v rdf:type ontology:Q502895 }
Torbjörn Johansson Johanna Nilsson Andreas Kramer Britt Holmquist Monica Westén Åke Söderlund Fanny Roos Klas Ingesson Lisa Gunnarsson Claes Albihn Tom Kling-Baptiste Björn Johansson Claes Nyberg Margareta Simu Chardine Sloof Lovisa Lindh Armand Duplantis
Klas Ingesson, Monica Westén and Johanna Nilsson play for Sweden
Klas Ingesson Monica Westén Johanna Nilsson
action filter_type
action find_reverse
entity Sweden
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Sweden']
SELECT DISTINCT ?v WHERE { ?v property:country_for_sport resource:Sweden . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22249564
P641
Q349
USER
Which sport was that person a part of ?
(Q22249564,P641,c(Q349))
action filter_type
action find
entity Q22249564
relation P641
type Q349
['Q22249564', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q22249564 property:P641 ?a . ?a rdf:type ontology:Q349 }
Johanna Nilsson
action filter_type
action find
entity Johanna Nilsson
relation sport
type sport
['Johanna Nilsson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Johanna_Nilsson property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q442182
SYSTEM
Did you mean Klas Ingesson ?
Q442182 Q4990346 Q22249564
(Q442182,P641,c(Q349)) (Q4990346,P641,c(Q349)) (Q22249564,P641,c(Q349))
[ANSWER]
['Q442182', 'P641', {'concept': 'Q349'}] ['Q4990346', 'P641', {'concept': 'Q349'}] ['Q22249564', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q22249564 property:P641 ?a . ?a rdf:type ontology:Q349 }
Klas Ingesson Monica Westén Johanna Nilsson
Did you mean Klas Ingesson ?
Klas Ingesson
['Klas Ingesson', 'sport', {'concept': 'sport'}] ['Monica Westén', 'sport', {'concept': 'sport'}] ['Johanna Nilsson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Johanna_Nilsson property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Johanna Nilsson. Could you tell me the answer for that?
(Q22249564,P641,c(Q349))
Q22249564
['Q22249564', 'P641', {'concept': 'Q349'}]
['Johanna Nilsson', 'sport', {'concept': 'sport'}]
[]
Q500050
SYSTEM
cross country running
Q500050
(Q22249564,P641,c(Q349))
action filter_type
action find
entity Q22249564
relation P641
type Q349
Teams [ANSWER] was that person a part of
['Q22249564', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q22249564 property:P641 ?a . ?a rdf:type ontology:Q349 }
cross country running
Teams cross country running was that person a part of
cross country running
action filter_type
action find
entity Johanna Nilsson
relation sport
type sport
['Johanna Nilsson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Johanna_Nilsson property:sport ?a . ?a rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q20667921 Q515
USER
How many administrative territories have around 2 french administrative divisions or cities as their capital ?
(c(Q20667921)|c(Q515),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
value 2
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?f rdf:type ?k } GROUP BY ?t } }
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
value 2
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?f rdf:type ?k } GROUP BY ?t } }
[]
designation for an administrative territorial entity type of french administrative division city
SYSTEM
8
Q2998020 Q252 Q3259 Q12798 Q12730 Q3278 Q12772 Q3240
(c(Q20667921)|c(Q515),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
value 2
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } . ?f rdf:type ?k } GROUP BY ?t } }
Corse Indonesia Cantal Vendée Haute-Saône Charente-Maritime Tarn Bouches-du-Rhône
8
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
value 2
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { FILTER ( ?j = 2 ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } . ?f rdf:type ?k } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q500050
P413
Q502895
USER
Who have cross country running as the position of playing ?
(c(Q502895),P413,Q500050)
action filter_type
action find_reverse
entity Q500050
relation P413
type Q502895
[{'concept': 'Q502895'}, 'P413', 'Q500050']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P413 resource:Q500050 }
cross country running
action filter_type
action find_reverse
entity cross country running
relation position played on team / speciality
type common name
[{'concept': 'common name'}, 'position played on team / speciality', 'cross country running']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:position_played_on_team_/_speciality resource:cross_country_running }
[]
common name
Q25907340 Q24170632
SYSTEM
Florent Caelen, Émile Renson
Q25907340 Q24170632
(c(Q502895),P413,Q500050)
action filter_type
action find_reverse
entity Q500050
relation P413
type Q502895
[ANSWERS] have cross country running as the position of playing
[{'concept': 'Q502895'}, 'P413', 'Q500050']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P413 resource:Q500050 }
Florent Caelen Émile Renson
Florent Caelen and Émile Renson have cross country running as the position of playing
Florent Caelen Émile Renson
action filter_type
action find_reverse
entity cross country running
relation position played on team / speciality
type common name
[{'concept': 'common name'}, 'position played on team / speciality', 'cross country running']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:position_played_on_team_/_speciality resource:cross_country_running }
[]
Clarification
Simple Question|Single Entity|Indirect
Q25907340
P2416
Q31629
USER
Which type of sport was that person a contender for ?
(Q25907340,P2416,c(Q31629))
action filter_type
action find
entity Q25907340
relation P2416
type Q31629
['Q25907340', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { resource:Q25907340 property:P2416 ?r . ?r rdf:type ontology:Q31629 }
Florent Caelen
action filter_type
action find
entity Florent Caelen
relation sports discipline competed in
type type of sport
['Florent Caelen', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { resource:Florent_Caelen property:sports_discipline_competed_in ?r . ?r rdf:type ontology:type_of_sport }
[]
type of sport
Clarification for simple ques.
Q24170632
SYSTEM
Did you mean Émile Renson ?
Q25907340 Q24170632
(Q25907340,P2416,c(Q31629)) (Q24170632,P2416,c(Q31629))
[ANSWER]
['Q25907340', 'P2416', {'concept': 'Q31629'}] ['Q24170632', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { resource:Q25907340 property:P2416 ?r . ?r rdf:type ontology:Q31629 }
Florent Caelen Émile Renson
Did you mean Émile Renson ?
Émile Renson
['Florent Caelen', 'sports discipline competed in', {'concept': 'type of sport'}] ['Émile Renson', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { resource:Florent_Caelen property:sports_discipline_competed_in ?r . ?r rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Florent Caelen. Could you tell me the answer for that?
(Q25907340,P2416,c(Q31629))
Q25907340
['Q25907340', 'P2416', {'concept': 'Q31629'}]
['Florent Caelen', 'sports discipline competed in', {'concept': 'type of sport'}]
[]
Q40244
SYSTEM
marathon
Q40244
(Q25907340,P2416,c(Q31629))
action filter_type
action find
entity Q25907340
relation P2416
type Q31629
The [ANSWER] was that person a contender for
['Q25907340', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?r WHERE { resource:Q25907340 property:P2416 ?r . ?r rdf:type ontology:Q31629 }
marathon
The marathon was that person a contender for
marathon
action filter_type
action find
entity Florent Caelen
relation sports discipline competed in
type type of sport
['Florent Caelen', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?r WHERE { resource:Florent_Caelen property:sports_discipline_competed_in ?r . ?r rdf:type ontology:type_of_sport }
[]