Simple Question (Direct)
Simple Question
Q938295
P641
Q31629
USER
What types of sport were Renato Pasini a part of ?
(Q938295,P641,c(Q31629))
action filter_type
action find
entity Q938295
relation P641
type Q31629
['Q938295', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { resource:Q938295 property:P641 ?z . ?z rdf:type ontology:Q31629 }
Renato Pasini
action filter_type
action find
entity Renato Pasini
relation sport
type type of sport
['Renato Pasini', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { resource:Renato_Pasini property:sport ?z . ?z rdf:type ontology:type_of_sport }
[]
type of sport
Q179687 Q1075998
SYSTEM
cross-country skiing, ski mountaineering
Q179687 Q1075998
(Q938295,P641,c(Q31629))
action filter_type
action find
entity Q938295
relation P641
type Q31629
[ANSWERS] were Renato Pasini a part of
['Q938295', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { resource:Q938295 property:P641 ?z . ?z rdf:type ontology:Q31629 }
cross-country skiing ski mountaineering
Cross-country skiing and ski mountaineering were Renato Pasini a part of
cross-country skiing ski mountaineering
action filter_type
action find
entity Renato Pasini
relation sport
type type of sport
['Renato Pasini', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { resource:Renato_Pasini property:sport ?z . ?z rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q938295
P19
Q15617994
USER
Where was that person born ?
(Q179687,P19,c(Q15617994)) (Q1075998,P19,c(Q15617994))
action filter_type
action find
entity Q938295
relation P19
type Q15617994
['Q179687', 'P19', {'concept': 'Q15617994'}] ['Q1075998', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q938295 property:P19 ?e . ?e rdf:type ontology:Q15617994 }
Renato Pasini
action filter_type
action find
entity Renato Pasini
relation place of birth
type designation for an administrative territorial entity
['cross-country skiing', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['ski mountaineering', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Renato_Pasini property:place_of_birth ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q101130
SYSTEM
Gazzaniga
Q101130
(Q179687,P19,c(Q15617994)) (Q1075998,P19,c(Q15617994))
action filter_type
action find
entity Q938295
relation P19
type Q15617994
That person was born in [ANSWER]
['Q179687', 'P19', {'concept': 'Q15617994'}] ['Q1075998', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q938295 property:P19 ?e . ?e rdf:type ontology:Q15617994 }
Gazzaniga
That person was born in Gazzaniga
Gazzaniga
action filter_type
action find
entity Renato Pasini
relation place of birth
type designation for an administrative territorial entity
['cross-country skiing', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['ski mountaineering', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Renato_Pasini property:place_of_birth ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q101130 Q31644 Q23210
P47
Q15617994
USER
Is that administrative territory next to the border of Trostberg and Anzola d'Ossola ?
(Q101130,P47,Q31644) (Q101130,P47,Q23210)
action is_in
entity Q101130
action intersection
action find_reverse
entity Q31644
relation P47
action find_reverse
entity Q23210
relation P47
['Q101130', 'P47', 'Q31644'] ['Q101130', 'P47', 'Q23210']
ASK WHERE { resource:Q101130 property:P47 resource:Q31644 . resource:Q101130 property:P47 resource:Q23210 }
Gazzaniga Trostberg Anzola d'Ossola
action is_in
entity Gazzaniga
action intersection
action find_reverse
entity Trostberg
relation shares border with
action find_reverse
entity Anzola d'Ossola
relation shares border with
['Gazzaniga', 'shares border with', 'Trostberg'] ['Gazzaniga', 'shares border with', "Anzola d'Ossola"]
ASK WHERE { resource:Gazzaniga property:shares_border_with resource:Trostberg . resource:Gazzaniga property:shares_border_with resource:Anzola_d'Ossola }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q101130,P47,Q31644) (Q101130,P47,Q23210)
action is_in
entity Q101130
action intersection
action find_reverse
entity Q31644
relation P47
action find_reverse
entity Q23210
relation P47
[ANSWER]
['Q101130', 'P47', 'Q31644'] ['Q101130', 'P47', 'Q23210']
ASK WHERE { resource:Q101130 property:P47 resource:Q31644 . resource:Q101130 property:P47 resource:Q23210 }
No
action is_in
entity Gazzaniga
action intersection
action find_reverse
entity Trostberg
relation shares border with
action find_reverse
entity Anzola d'Ossola
relation shares border with
['Gazzaniga', 'shares border with', 'Trostberg'] ['Gazzaniga', 'shares border with', "Anzola d'Ossola"]
ASK WHERE { resource:Gazzaniga property:shares_border_with resource:Trostberg . resource:Gazzaniga property:shares_border_with resource:Anzola_d'Ossola }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q938295 Q38
P27
Q15617994
USER
Is that person an inhabitant of Italy ?
(Q938295,P27,Q38)
action is_in
entity Q38
action find
entity Q938295
relation P27
['Q938295', 'P27', 'Q38']
ASK WHERE { resource:Q938295 property:P27 resource:Q38 }
Renato Pasini Italy
action is_in
entity Italy
action find
entity Renato Pasini
relation country of citizenship
['Renato Pasini', 'country of citizenship', 'Italy']
ASK WHERE { resource:Renato_Pasini property:country_of_citizenship resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q938295,P27,Q38)
action is_in
entity Q38
action find
entity Q938295
relation P27
[ANSWER]
['Q938295', 'P27', 'Q38']
ASK WHERE { resource:Q938295 property:P27 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Renato Pasini
relation country of citizenship
['Renato Pasini', 'country of citizenship', 'Italy']
ASK WHERE { resource:Renato_Pasini property:country_of_citizenship resource:Italy }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q32485
P641
Q31629 Q13406554 Q18608583
USER
How many types of sport were lesser number of sport competitions or recurring sporting events a part of than modern pentathlon ?
(c(Q13406554)|c(Q18608583),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q32485
relation P641
type Q13406554
type Q18608583
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P641 ?e . ?e rdf:type ontology:Q31629 . ?b rdf:type ontology:Q18608583 } UNION { ?b property:P641 ?e . ?e rdf:type ontology:Q31629 . ?b rdf:type ontology:Q13406554 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P641 resource:Q32485 . { { ?y rdf:type ontology:Q13406554 } UNION { ?y rdf:type ontology:Q18608583 } } } } . FILTER ( ?u < ?o ) }
modern pentathlon
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity modern pentathlon
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:sport ?e . ?e rdf:type ontology:type_of_sport . ?b rdf:type ontology:recurring_sporting_event } UNION { ?b property:sport ?e . ?e rdf:type ontology:type_of_sport . ?b rdf:type ontology:sport_competition } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:sport resource:modern_pentathlon . { { ?y rdf:type ontology:sport_competition } UNION { ?y rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?u < ?o ) }
[]
type of sport sport competition recurring sporting event
SYSTEM
70
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q706199 Q919072 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q1629556 Q14554839 Q172809 Q16629853 Q1423069 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q1128216 Q7735 Q428242 Q162883 Q5300110
(c(Q13406554)|c(Q18608583),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q32485
relation P641
type Q13406554
type Q18608583
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P641 ?e . ?e rdf:type ontology:Q31629 . ?b rdf:type ontology:Q18608583 } UNION { ?b property:P641 ?e . ?e rdf:type ontology:Q31629 . ?b rdf:type ontology:Q13406554 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P641 resource:Q32485 . { { ?y rdf:type ontology:Q13406554 } UNION { ?y rdf:type ontology:Q18608583 } } } } . FILTER ( ?u < ?o ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing nine-pin bowling sporting clays rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin 1000 metres competitive fencing ten-pin bowling Mixed Doubles canoe camping alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism wheelchair basketball diving ski-orienteering free climbing double trap
70
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity modern pentathlon
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:sport ?e . ?e rdf:type ontology:type_of_sport . ?b rdf:type ontology:recurring_sporting_event } UNION { ?b property:sport ?e . ?e rdf:type ontology:type_of_sport . ?b rdf:type ontology:sport_competition } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:sport resource:modern_pentathlon . { { ?y rdf:type ontology:sport_competition } UNION { ?y rdf:type ontology:recurring_sporting_event } } } } . FILTER ( ?u < ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1293
P641
Q31629 Q13406554 Q18608583
USER
And how about draughts?
(c(Q13406554)|c(Q18608583),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q1293
relation P641
type Q13406554
type Q18608583
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?h WHERE { { ?h rdf:type ontology:Q31629 . ?m rdf:type ontology:Q18608583 . ?m property:P641 ?h } UNION { ?m property:P641 ?h . ?h rdf:type ontology:Q31629 . ?m rdf:type ontology:Q13406554 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P641 resource:Q1293 . { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } } } } . FILTER ( ?t < ?u ) }
draughts
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity draughts
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?h WHERE { { ?h rdf:type ontology:type_of_sport . ?m rdf:type ontology:recurring_sporting_event . ?m property:sport ?h } UNION { ?m property:sport ?h . ?h rdf:type ontology:type_of_sport . ?m rdf:type ontology:sport_competition } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:sport resource:draughts . { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } } } } . FILTER ( ?t < ?u ) }
[]
type of sport sport competition recurring sporting event
SYSTEM
67
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q29358 Q211155 Q191691 Q3817372 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q706199 Q919072 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q1209037 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q1629556 Q14554839 Q172809 Q16629853 Q1423069 Q186222 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q7735 Q428242 Q162883 Q5300110
(c(Q13406554)|c(Q18608583),P641,c(Q31629))
action count
action less
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
action count
action filter_multi_types
action find_reverse
entity Q1293
relation P641
type Q13406554
type Q18608583
[ANSWER]
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?h WHERE { { ?h rdf:type ontology:Q31629 . ?m rdf:type ontology:Q18608583 . ?m property:P641 ?h } UNION { ?m property:P641 ?h . ?h rdf:type ontology:Q31629 . ?m rdf:type ontology:Q13406554 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P641 resource:Q1293 . { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } } } } . FILTER ( ?t < ?u ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking orienteering 200 metres 1500 metres beach run snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing nine-pin bowling sporting clays rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet Modern competitive archery roller skating sprint Pilates ski mountaineering canoe racing Keirin 1000 metres competitive fencing ten-pin bowling Mixed Doubles canoe camping alpine skiing para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism diving ski-orienteering free climbing double trap
67
action count
action less
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find_reverse
entity draughts
relation sport
type sport competition
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?h WHERE { { ?h rdf:type ontology:type_of_sport . ?m rdf:type ontology:recurring_sporting_event . ?m property:sport ?h } UNION { ?m property:sport ?h . ?h rdf:type ontology:type_of_sport . ?m rdf:type ontology:sport_competition } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:sport resource:draughts . { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } } } } . FILTER ( ?t < ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15783986 Q938295
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Renato Pasini or Armindo Teixeira Lopes ?
OR((Q938295,P27,c(Q15617994)), (Q15783986,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q938295
relation P27
action find
entity Q15783986
relation P27
type Q15617994
{'OR': [['Q938295', 'P27', {'concept': 'Q15617994'}], ['Q15783986', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?n ) { ( resource:Q938295 ) ( resource:Q15783986 ) } . ?n property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Armindo Teixeira Lopes Renato Pasini
action filter_type
action union
action find
entity Renato Pasini
relation country of citizenship
action find
entity Armindo Teixeira Lopes
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Renato Pasini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Armindo Teixeira Lopes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?n ) { ( resource:Renato_Pasini ) ( resource:Armindo_Teixeira_Lopes ) } . ?n property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q45
SYSTEM
Italy, Portugal
Q38 Q45
OR((Q938295,P27,c(Q15617994)), (Q15783986,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q938295
relation P27
action find
entity Q15783986
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Renato Pasini or Armindo Teixeira Lopes
{'OR': [['Q938295', 'P27', {'concept': 'Q15617994'}], ['Q15783986', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?n ) { ( resource:Q938295 ) ( resource:Q15783986 ) } . ?n property:P27 ?p } . ?p rdf:type ontology:Q15617994 }
Italy Portugal
Italy and Portugal are the countries of citizenship of Renato Pasini or Armindo Teixeira Lopes
Italy Portugal
action filter_type
action union
action find
entity Renato Pasini
relation country of citizenship
action find
entity Armindo Teixeira Lopes
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Renato Pasini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Armindo Teixeira Lopes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?n ) { ( resource:Renato_Pasini ) ( resource:Armindo_Teixeira_Lopes ) } . ?n property:country_of_citizenship ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P641
Q31629 Q500834 Q18608583
USER
Which types of sport were min number of tournaments or recurring sporting events a part of ?
(c(Q500834)|c(Q18608583),P641,c(Q31629))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?h WHERE { { ?y property:P641 ?h . ?h rdf:type ontology:Q31629 . ?y rdf:type ontology:Q18608583 } UNION { ?y property:P641 ?h . ?h rdf:type ontology:Q31629 . ?y rdf:type ontology:Q500834 } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?f WHERE { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } } GROUP BY ?f } . FILTER ( ?s = ?w ) }
action argmin
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?h WHERE { { ?y property:sport ?h . ?h rdf:type ontology:type_of_sport . ?y rdf:type ontology:recurring_sporting_event } UNION { ?y property:sport ?h . ?h rdf:type ontology:type_of_sport . ?y rdf:type ontology:tournament } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?f WHERE { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } } GROUP BY ?f } . FILTER ( ?s = ?w ) }
[]
type of sport tournament recurring sporting event
Q216613 Q165704 Q271008
SYSTEM
Nordic skiing, high jump, 800 metres
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q29358 Q211155 Q191691 Q3817372 Q166788 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q216613 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q1209037 Q179687 Q1707432 Q352749 Q272460 Q1075998 Q1141850 Q774176 Q1629556 Q14554839 Q172809 Q16629853 Q335638 Q1423069 Q465014 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q1128216 Q7735 Q428242 Q162883 Q5300110
(c(Q500834)|c(Q18608583),P641,c(Q31629))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action find_reverse_tuple_counts
relation P641
type Q31629
type Q18608583
[ANSWERS] were min number of tournaments or recurring sporting events a part of
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?h WHERE { { ?y property:P641 ?h . ?h rdf:type ontology:Q31629 . ?y rdf:type ontology:Q18608583 } UNION { ?y property:P641 ?h . ?h rdf:type ontology:Q31629 . ?y rdf:type ontology:Q500834 } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?f WHERE { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:Q500834 ) ( ontology:Q18608583 ) } } GROUP BY ?f } . FILTER ( ?s = ?w ) }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts orienteering 200 metres 1500 metres beach run biathlon snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays Nordic skiing rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet Modern competitive archery cross-country skiing roller skating sprint Pilates ski mountaineering canoe racing Keirin 1000 metres competitive fencing ten-pin bowling Mixed Doubles cyclo-cross canoe camping trampolining para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism wheelchair basketball diving ski-orienteering free climbing double trap
Nordic skiing, high jump and 800 metres were min number of tournaments or recurring sporting events a part of
Nordic skiing high jump 800 metres
action argmin
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action find_reverse_tuple_counts
relation sport
type type of sport
type recurring sporting event
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?h WHERE { { ?y property:sport ?h . ?h rdf:type ontology:type_of_sport . ?y rdf:type ontology:recurring_sporting_event } UNION { ?y property:sport ?h . ?h rdf:type ontology:type_of_sport . ?y rdf:type ontology:tournament } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) ?f WHERE { ?p rdf:type ?b . VALUES ( ?b ) { ( ontology:tournament ) ( ontology:recurring_sporting_event ) } } GROUP BY ?f } . FILTER ( ?s = ?w ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q216613 Q165704 Q271008
P641
Q502895
USER
Which people play those types of sport ?
(c(Q502895),P641,Q216613) (c(Q502895),P641,Q165704) (c(Q502895),P641,Q271008)
action filter_type
action find_reverse
entity prev_answer
relation P641
type Q502895
[{'concept': 'Q502895'}, 'P641', 'Q216613'] [{'concept': 'Q502895'}, 'P641', 'Q165704'] [{'concept': 'Q502895'}, 'P641', 'Q271008']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q271008 ) ( resource:Q637186 ) ( resource:Q170004 ) } . ?u property:P641 ?c }
Nordic skiing high jump 800 metres
action filter_type
action find_reverse
entity prev_answer
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'Nordic skiing'] [{'concept': 'common name'}, 'sport', 'high jump'] [{'concept': 'common name'}, 'sport', '800 metres']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:800_metres ) ( resource:grass_skiing ) ( resource:110_metres_hurdles ) } . ?u property:sport ?c }
[]
common name
Q3180548 Q504643 Q712535
SYSTEM
Levern Spencer, Mal Whitfield, Rudolf Harbig
Q1150664 Q16683534 Q629360 Q456929 Q6109622 Q3180548 Q231969 Q267150 Q10508695 Q520322 Q292000 Q270252 Q17737839 Q1732 Q1739 Q2272803 Q17600207 Q15477273 Q235140 Q17505314 Q241819 Q715011 Q920803 Q2385920 Q440700 Q19758470 Q1527381 Q1078128 Q691878 Q2141560 Q1601974 Q824758 Q1671226 Q258676 Q1719047 Q712535 Q792170 Q1705662 Q1221716 Q1285152 Q317543 Q2080226 Q982495 Q1640919 Q262033 Q66584 Q256600 Q1533710 Q535101 Q534641 Q251900 Q2503028 Q524204 Q17609944 Q316539 Q655604 Q536698 Q15852254 Q584869 Q550843 Q324367 Q17517599 Q634121 Q1668 Q273194 Q1314028 Q524819 Q17520951 Q822469 Q1602188 Q2262834 Q1566149 Q652627 Q2543437 Q20730494 Q237071 Q15834414 Q999178 Q1650919 Q1362959 Q681536 Q2143517 Q1472234 Q95271 Q1739704 Q546038 Q704373 Q2428161 Q164871 Q1591139 Q316214 Q916417 Q1690172 Q1894955 Q1714664 Q749067 Q2062250 Q1662238 Q447909 Q2209993 Q646118 Q1714080 Q584695 Q536619 Q2374266 Q1221960 Q272202 Q1671945 Q504643 Q784788 Q662842 Q1947961 Q879802 Q823419 Q250056 Q112995 Q565378 Q566489 Q1577207 Q455272 Q69840 Q547285 Q17539051 Q68909 Q1489995 Q1987045 Q15822206 Q1665 Q15794281 Q1729495 Q1870853 Q106287 Q459179
(c(Q502895),P641,Q216613) (c(Q502895),P641,Q165704) (c(Q502895),P641,Q271008)
action filter_type
action find_reverse
entity prev_answer
relation P641
type Q502895
[ANSWERS] play those types of sport
[{'concept': 'Q502895'}, 'P641', 'Q216613'] [{'concept': 'Q502895'}, 'P641', 'Q165704'] [{'concept': 'Q502895'}, 'P641', 'Q271008']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q271008 ) ( resource:Q637186 ) ( resource:Q170004 ) } . ?u property:P641 ?c }
César Baena Xavier Thévenard Masashi Abe Melanie Melfort Roberto Cabrejas Levern Spencer Yelena Slesarenko Marina Kuptsova Šárka Nováková Jaroslav Bába Olga Kaliturina Svetlana Lapina Riccardo Fortini Ivan Ukhov Mutaz Essa Barshim Sergey Senyukov Danil Lysenko Angelo Tommasi Yelena Yelesina Yair Lubin Svetlana Shkolina Dimitrios Chondrokoukis Tomáš Janků Iryna Kovalenko Marina Aitova Fabrice Saint-Jean Gisela Klein Christa Merten Arnd Krüger Reinhold Soyka Jana Hartmann Klaus-Peter Nabein Veronika Kummerfeldt Hildegard Falck Simone Büngener Rudolf Harbig Axel Harries Josef Schmid Dieter Bogatzki Edith Schiller Otto Peltzer Petra Kleinbrahm Mohammed Aman Ilse Dörffeldt Christine Wachtel Hanns Braun Lina Radke Godehard Brysch Nico Motchebon Angelika Traugott Anja Knippel Ute Lix Heinz Ulzheimer Angela Ramello Günther Steines Ariane Döser Monika Merl Ursula Hook Antje Schröder Anita Rottmüller-Wörner Robin Schembera Timo Benitz Paul-Heinz Wellmann Leonel Manzano Heike Meißner Ewald Mertens Claudia Gesell Federica Del Buono Sören Ludolph Helga Henning Sebastian Keiner Heike Roock Olaf Beyer Walter Adams Clayton Murphy Sigrun Wodars Matthias Assmann Maritta Politz Marie Dollinger Erwin Gohlke Jens-Peter Herold Renate Siebach Karin Kessler Thomas Giessing Kerstin Werner Margrit Klinger Willi Wülbeck Thomas Wilking Ivonne Teichmann Janina Goldfuß Hermann Engelhard Brigitte Koczelnik Joachim Heydgen Margarete Buscher Jutta von Haase Herbert Wursthorn Paul Schmidt Ines Vogelgesang Linda Kisabaka Sabine Zwiener Harald Norpoth Jussi Udelhoven Antje Gleichfeld Hans-Peter Ferner Sylvia Schenk Dieter Friedrich Brigitte Kraus Manfred Henne Mal Whitfield Peter Braun René Herms Moritz Höft Franz-Josef Kemper Bernd Epler Martina Kämpfert Wolfgang Dessecker Bodo Tümmler Annett Horna Hans-Henning Ohlert Nils Schumann Gaby Bußmann Anni Pede-Erdkamp Dennis Krüger Fabienne Kohlmann Gabriela Lesch Nicole Mikisch Jörg Balke Taoufik Makhloufi Christina Hering Karin Lix Lothar Hirsch Jan Drees Manfred Kinder
Levern Spencer, Mal Whitfield and Rudolf Harbig play those types of sport
Levern Spencer Mal Whitfield Rudolf Harbig
action filter_type
action find_reverse
entity prev_answer
relation sport
type common name
[{'concept': 'common name'}, 'sport', 'Nordic skiing'] [{'concept': 'common name'}, 'sport', 'high jump'] [{'concept': 'common name'}, 'sport', '800 metres']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:800_metres ) ( resource:grass_skiing ) ( resource:110_metres_hurdles ) } . ?u property:sport ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3180548
P2416
Q31629
USER
Which type of sport was that person a contestant of ?
(Q3180548,P2416,c(Q31629))
action filter_type
action find
entity Q3180548
relation P2416
type Q31629
['Q3180548', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q3180548 property:P2416 ?q . ?q rdf:type ontology:Q31629 }
Levern Spencer
action filter_type
action find
entity Levern Spencer
relation sports discipline competed in
type type of sport
['Levern Spencer', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Levern_Spencer property:sports_discipline_competed_in ?q . ?q rdf:type ontology:type_of_sport }
[]
type of sport
Clarification for simple ques.
Q3180548
SYSTEM
Did you mean Levern Spencer ?
Q3180548 Q504643 Q712535
(Q3180548,P2416,c(Q31629)) (Q504643,P2416,c(Q31629)) (Q712535,P2416,c(Q31629))
[ANSWER]
['Q3180548', 'P2416', {'concept': 'Q31629'}] ['Q504643', 'P2416', {'concept': 'Q31629'}] ['Q712535', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q3180548 property:P2416 ?q . ?q rdf:type ontology:Q31629 }
Levern Spencer Mal Whitfield Rudolf Harbig
Did you mean Levern Spencer ?
Levern Spencer
['Levern Spencer', 'sports discipline competed in', {'concept': 'type of sport'}] ['Mal Whitfield', 'sports discipline competed in', {'concept': 'type of sport'}] ['Rudolf Harbig', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Levern_Spencer property:sports_discipline_competed_in ?q . ?q rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3180548,P2416,c(Q31629))
['Q3180548', 'P2416', {'concept': 'Q31629'}]
['Levern Spencer', 'sports discipline competed in', {'concept': 'type of sport'}]
[]
Q165704
SYSTEM
high jump
Q165704
(Q3180548,P2416,c(Q31629))
action filter_type
action find
entity Q3180548
relation P2416
type Q31629
[ANSWER] was that person a contestant of
['Q3180548', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { resource:Q3180548 property:P2416 ?q . ?q rdf:type ontology:Q31629 }
high jump
High jump was that person a contestant of
high jump
action filter_type
action find
entity Levern Spencer
relation sports discipline competed in
type type of sport
['Levern Spencer', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { resource:Levern_Spencer property:sports_discipline_competed_in ?q . ?q rdf:type ontology:type_of_sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1007
P495
Q15617994 Q15416 Q838948
USER
Which administrative territories did less number of television programs and works of art originate than Guinea-Bissau ?
(c(Q15416)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1007
relation P495
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P495 resource:Q1007 . { VALUES ( ?p ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?d rdf:type ?p } } } . FILTER ( ?l < ?z ) . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?u } }
Guinea-Bissau
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
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 Guinea-Bissau
relation country of origin
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:country_of_origin resource:Guinea-Bissau . { VALUES ( ?p ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?d rdf:type ?p } } } . FILTER ( ?l < ?z ) . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?u } }
[]
designation for an administrative territorial entity television program work of art
Q29999 Q1030 Q958
SYSTEM
Kingdom of the Netherlands, Namibia, South Sudan
Q1462 Q12536 Q36678 Q1460 Q4628 Q958 Q986 Q244 Q153136 Q983 Q29999 Q1013 Q159626 Q238 Q1020 Q1030 Q239502 Q686 Q1014 Q176
(c(Q15416)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1007
relation P495
type Q15416
type Q838948
[ANSWERS] less number of television programs and works of art originated than Guinea-Bissau
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P495 resource:Q1007 . { VALUES ( ?p ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?d rdf:type ?p } } } . FILTER ( ?l < ?z ) . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?u } }
Sardinia Abbasid caliphate West Bank Sicily Faroe Islands South Sudan Eritrea Barbados Habsburg Empire Equatorial Guinea Kingdom of the Netherlands Lesotho Württemberg San Marino Malawi Namibia Kingdom of Galicia–Volhynia Vanuatu Liberia Quebec
Kingdom of the Netherlands, Namibia and South Sudan less number of television programs and works of art originated than Guinea-Bissau
Kingdom of the Netherlands Namibia South Sudan
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
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 Guinea-Bissau
relation country of origin
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:country_of_origin resource:Guinea-Bissau . { VALUES ( ?p ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?d rdf:type ?p } } } . FILTER ( ?l < ?z ) . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?l ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?u } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q2342494
USER
Which administrative territories did around the same number of television programs or collectables originate as that administrative territory ?
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
designation for an administrative territorial entity television program collectable
Comparative|More/Less|Mult. entity type|Clarification
Q1030
SYSTEM
Did you mean Namibia ?
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
Did you mean Namibia ?
Namibia
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
No, I meant Kingdom of the Netherlands. Could you tell me the answer for that?
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
Q29999
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q15416)|c(Q2342494),P495,c(Q15617994))
[ANSWERS] around the same number of television programs or collectables originated as that administrative territory
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia around the same number of television programs or collectables originated as that administrative territory
Italy Brazil Georgia
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q230
P36
Q56061
USER
Which administrative territories are associated to Italy, Brazil and Georgia as the capital ?
(Q38,P36,c(Q56061)) (Q155,P36,c(Q56061)) (Q230,P36,c(Q56061))
action union
action filter_type
action find
entity Q38
relation P36
type Q56061
action filter_type
action find
entity Q155
relation P36
type Q56061
action filter_type
action find
entity Q230
relation P36
type Q56061
['Q38', 'P36', {'concept': 'Q56061'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q230', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { resource:Q38 property:P36 ?f . ?f rdf:type ontology:Q56061 } UNION { resource:Q155 property:P36 ?f . ?f rdf:type ontology:Q56061 } }
Italy Brazil Georgia
action union
action filter_type
action find
entity Italy
relation capital
type administrative territorial entity
action filter_type
action find
entity Brazil
relation capital
type administrative territorial entity
action filter_type
action find
entity Georgia
relation capital
type administrative territorial entity
['Italy', 'capital', {'concept': 'administrative territorial entity'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['Georgia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:Italy property:capital ?f . ?f rdf:type ontology:administrative_territorial_entity } UNION { resource:Brazil property:capital ?f . ?f rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q8678 Q220 Q994
SYSTEM
Rio de Janeiro, Rome, Tbilisi
Q220 Q8678 Q994 Q172415
(Q38,P36,c(Q56061)) (Q155,P36,c(Q56061)) (Q230,P36,c(Q56061))
action union
action filter_type
action find
entity Q38
relation P36
type Q56061
action filter_type
action find
entity Q155
relation P36
type Q56061
action filter_type
action find
entity Q230
relation P36
type Q56061
[ANSWERS] are associated to Italy, Brazil and Georgia as the capital
['Q38', 'P36', {'concept': 'Q56061'}] ['Q155', 'P36', {'concept': 'Q56061'}] ['Q230', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { resource:Q38 property:P36 ?f . ?f rdf:type ontology:Q56061 } UNION { resource:Q155 property:P36 ?f . ?f rdf:type ontology:Q56061 } }
Rome Rio de Janeiro Tbilisi Kutaisi
Rio de Janeiro, Rome and Tbilisi are associated to Italy, Brazil and Georgia as the capital
Rio de Janeiro Rome Tbilisi
action union
action filter_type
action find
entity Italy
relation capital
type administrative territorial entity
action filter_type
action find
entity Brazil
relation capital
type administrative territorial entity
action filter_type
action find
entity Georgia
relation capital
type administrative territorial entity
['Italy', 'capital', {'concept': 'administrative territorial entity'}] ['Brazil', 'capital', {'concept': 'administrative territorial entity'}] ['Georgia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:Italy property:capital ?f . ?f rdf:type ontology:administrative_territorial_entity } UNION { resource:Brazil property:capital ?f . ?f rdf:type ontology:administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q994
P159
Q7210356
USER
Which political organizations have the principal seat at that administrative territory ?
(c(Q7210356),P159,Q994)
action filter_type
action find_reverse
entity Q994
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q994']
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q994 . ?h rdf:type ontology:Q7210356 }
Tbilisi
action filter_type
action find_reverse
entity Tbilisi
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Tbilisi']
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Tbilisi . ?h rdf:type ontology:political_organization }
[]
political organization
Clarification for simple ques.
Q994
SYSTEM
Did you mean Tbilisi ?
Q8678 Q220 Q994
(c(Q7210356),P159,Q8678) (c(Q7210356),P159,Q220) (c(Q7210356),P159,Q994)
[ANSWER]
[{'concept': 'Q7210356'}, 'P159', 'Q8678'] [{'concept': 'Q7210356'}, 'P159', 'Q220'] [{'concept': 'Q7210356'}, 'P159', 'Q994']
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q994 . ?h rdf:type ontology:Q7210356 }
Rio de Janeiro Rome Tbilisi
Did you mean Tbilisi ?
Tbilisi
[{'concept': 'political organization'}, 'headquarters location', 'Rio de Janeiro'] [{'concept': 'political organization'}, 'headquarters location', 'Rome'] [{'concept': 'political organization'}, 'headquarters location', 'Tbilisi']
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Tbilisi . ?h rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q7210356),P159,Q994)
[{'concept': 'Q7210356'}, 'P159', 'Q994']
[{'concept': 'political organization'}, 'headquarters location', 'Tbilisi']
[]
Q1057495 Q1429418 Q46516
SYSTEM
United National Movement, Republican Party of Georgia, Georgian Dream
Q1057495 Q1429418 Q2331103 Q1327025 Q680769 Q183331 Q3646446 Q3103162 Q639395 Q46516
(c(Q7210356),P159,Q994)
action filter_type
action find_reverse
entity Q994
relation P159
type Q7210356
[ANSWERS] have the principal seat at that administrative territory
[{'concept': 'Q7210356'}, 'P159', 'Q994']
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q994 . ?h rdf:type ontology:Q7210356 }
United National Movement Republican Party of Georgia National Democratic Party United Communist Party of Georgia Georgia's Way Our Georgia – Free Democrats Conservative Party of Georgia New Rights Union of Citizens of Georgia Georgian Dream
United National Movement, Republican Party of Georgia and Georgian Dream have the principal seat at that administrative territory
United National Movement Republican Party of Georgia Georgian Dream
action filter_type
action find_reverse
entity Tbilisi
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Tbilisi']
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Tbilisi . ?h rdf:type ontology:political_organization }
[]