Simple Question (Direct)
Simple Question
Q1770981
P21
Q290
USER
Which sex does David Preece have ?
(Q1770981,P21,c(Q290))
action filter_type
action find
entity Q1770981
relation P21
type Q290
['Q1770981', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1770981 property:P21 ?n . ?n rdf:type ontology:Q290 }
David Preece
action filter_type
action find
entity David Preece
relation gender
type sex
['David Preece', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:David_Preece property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1770981,P21,c(Q290))
action filter_type
action find
entity Q1770981
relation P21
type Q290
David Preece has a [ANSWER]
['Q1770981', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1770981 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
David Preece has a male
male
action filter_type
action find
entity David Preece
relation gender
type sex
['David Preece', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:David_Preece property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1770981
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q1770981
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1770981 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
David Preece
action filter_type
action find
entity David Preece
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:David_Preece property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q1770981
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1770981 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity David Preece
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:David_Preece property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q668
P495
Q838948
USER
How many works of art originated in United Kingdom and India ?
(c(Q838948),P495,Q145) (c(Q838948),P495,Q668)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P495
type Q838948
action filter_type
action find_reverse
entity Q668
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q145'] [{'concept': 'Q838948'}, 'P495', 'Q668']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P495 resource:Q145 . ?k rdf:type ontology:Q838948 . ?k property:P495 resource:Q668 . ?k rdf:type ontology:Q838948 }
United Kingdom India
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type work of art
action filter_type
action find_reverse
entity India
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'United Kingdom'] [{'concept': 'work of art'}, 'country of origin', 'India']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:country_of_origin resource:United_Kingdom . ?k rdf:type ontology:work_of_art . ?k property:country_of_origin resource:India . ?k rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
30
Q20950016 Q466443 Q3522334 Q15043364 Q5936069 Q1785725 Q6690606 Q8058995 Q614787 Q3282924 Q6010660 Q24761792 Q3539599 Q1646836 Q202211 Q21527930 Q5268886 Q6412208 Q7756699 Q7672807 Q5357438 Q5978742 Q879029 Q18396499 Q1166355 Q4901992 Q1637390 Q3522918 Q12103382 Q3411185
(c(Q838948),P495,Q145) (c(Q838948),P495,Q668)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P495
type Q838948
action filter_type
action find_reverse
entity Q668
relation P495
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q145'] [{'concept': 'Q838948'}, 'P495', 'Q668']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:P495 resource:Q145 . ?k rdf:type ontology:Q838948 . ?k property:P495 resource:Q668 . ?k rdf:type ontology:Q838948 }
Viceroy's House Kabhi Khushi Kabhie Gham... The Prodigies Porichoi Hullabaloo Over Georgie and Bonnie's Pictures Mississippi Masala Love Has No Language Yours Emotionally Provoked Autobiography of a Princess In Search of Guru Dutt InnSaei - the Sea within Trishna The Warrior Gandhi The Other Side of the Door Dhan Dhana Dhan Goal King of Bollywood The Perfect Murder Taalismaan Electric Moon I Proud to Be an Indian Yaadein Andin. Armenian Journey Chronicles Darling Bhopal: Prayer for Rain Salaam Bombay! The Sun Behind the Clouds Bombil and Beatrice Mirch Masala
30
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type work of art
action filter_type
action find_reverse
entity India
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'United Kingdom'] [{'concept': 'work of art'}, 'country of origin', 'India']
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { ?k property:country_of_origin resource:United_Kingdom . ?k rdf:type ontology:work_of_art . ?k property:country_of_origin resource:India . ?k rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atleast 32 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 32
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?v >= 32 ) . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?v ) WHERE { ?b property:P530 ?k . ?b rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?b } }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 32
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?v >= 32 ) . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?v ) WHERE { ?b property:diplomatic_relation ?k . ?b rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 32
[ANSWERS] have diplomatic relationships with atleast 32 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?v >= 32 ) . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?v ) WHERE { ?b property:P530 ?k . ?b rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?b } }
Germany Australia Canada
Germany, Australia and Canada have diplomatic relationships with atleast 32 administrative territories
Germany Australia Canada
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 32
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?v >= 32 ) . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?v ) WHERE { ?b property:diplomatic_relation ?k . ?b rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q408 Q16
P47
Q1048835
USER
Who share the border with those ones ?
(Q183,P47,c(Q1048835)) (Q408,P47,c(Q1048835)) (Q16,P47,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
['Q183', 'P47', {'concept': 'Q1048835'}] ['Q408', 'P47', {'concept': 'Q1048835'}] ['Q16', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . ?m property:P47 ?y . VALUES ( ?m ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } }
Germany Australia Canada
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Australia', 'shares border with', {'concept': 'political territorial entity'}] ['Canada', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . ?m property:shares_border_with ?y . VALUES ( ?m ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } }
[]
political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q40 Q35 Q664 Q5095 Q691 Q4969463 Q38610 Q34617
(Q183,P47,c(Q1048835)) (Q408,P47,c(Q1048835)) (Q16,P47,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P47
type Q1048835
[ANSWERS] share the border with those ones
['Q183', 'P47', {'concept': 'Q1048835'}] ['Q408', 'P47', {'concept': 'Q1048835'}] ['Q16', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . ?m property:P47 ?y . VALUES ( ?m ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } }
Austria Denmark New Zealand Papua Papua New Guinea British Arctic Territories Dominion of Newfoundland Saint Pierre and Miquelon
Denmark, Austria and New Zealand share the border with those ones
Denmark Austria New Zealand
action filter_type
action find
entity prev_answer
relation shares border with
type political territorial entity
['Germany', 'shares border with', {'concept': 'political territorial entity'}] ['Australia', 'shares border with', {'concept': 'political territorial entity'}] ['Canada', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . ?m property:shares_border_with ?y . VALUES ( ?m ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35 Q40 Q664
P17
Q1048835
USER
Which political territories are Denmark, Austria and New Zealand situated in ?
(Q35,P17,c(Q1048835)) (Q40,P17,c(Q1048835)) (Q664,P17,c(Q1048835))
action union
action filter_type
action find
entity Q35
relation P17
type Q1048835
action filter_type
action find
entity Q40
relation P17
type Q1048835
action filter_type
action find
entity Q664
relation P17
type Q1048835
['Q35', 'P17', {'concept': 'Q1048835'}] ['Q40', 'P17', {'concept': 'Q1048835'}] ['Q664', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?y ) { ( resource:Q40 ) ( resource:Q35 ) } . ?y property:P17 ?x }
Denmark Austria New Zealand
action union
action filter_type
action find
entity Denmark
relation country
type political territorial entity
action filter_type
action find
entity Austria
relation country
type political territorial entity
action filter_type
action find
entity New Zealand
relation country
type political territorial entity
['Denmark', 'country', {'concept': 'political territorial entity'}] ['Austria', 'country', {'concept': 'political territorial entity'}] ['New Zealand', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?y ) { ( resource:Austria ) ( resource:Denmark ) } . ?y property:country ?x }
[]
political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q35 Q40 Q664
(Q35,P17,c(Q1048835)) (Q40,P17,c(Q1048835)) (Q664,P17,c(Q1048835))
action union
action filter_type
action find
entity Q35
relation P17
type Q1048835
action filter_type
action find
entity Q40
relation P17
type Q1048835
action filter_type
action find
entity Q664
relation P17
type Q1048835
Which political territories are [ANSWERS] situated in
['Q35', 'P17', {'concept': 'Q1048835'}] ['Q40', 'P17', {'concept': 'Q1048835'}] ['Q664', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?y ) { ( resource:Q40 ) ( resource:Q35 ) } . ?y property:P17 ?x }
Denmark Austria New Zealand
Which political territories are Denmark, Austria and New Zealand situated in
Denmark Austria New Zealand
action union
action filter_type
action find
entity Denmark
relation country
type political territorial entity
action filter_type
action find
entity Austria
relation country
type political territorial entity
action filter_type
action find
entity New Zealand
relation country
type political territorial entity
['Denmark', 'country', {'concept': 'political territorial entity'}] ['Austria', 'country', {'concept': 'political territorial entity'}] ['New Zealand', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?y ) { ( resource:Austria ) ( resource:Denmark ) } . ?y property:country ?x }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35 Q40 Q664
P1532
Q502895
USER
Whose people are Denmark, Austria and New Zealand ?
(c(Q502895),P1532,Q35) (c(Q502895),P1532,Q40) (c(Q502895),P1532,Q664)
action union
action filter_type
action find_reverse
entity Q35
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q40
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q664
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q35'] [{'concept': 'Q502895'}, 'P1532', 'Q40'] [{'concept': 'Q502895'}, 'P1532', 'Q664']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Q35 ) ( resource:Q40 ) } . ?k property:P1532 ?m }
Denmark Austria New Zealand
action union
action filter_type
action find_reverse
entity Denmark
relation country for sport
type common name
action filter_type
action find_reverse
entity Austria
relation country for sport
type common name
action filter_type
action find_reverse
entity New Zealand
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Denmark'] [{'concept': 'common name'}, 'country for sport', 'Austria'] [{'concept': 'common name'}, 'country for sport', 'New Zealand']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Denmark ) ( resource:Austria ) } . ?k property:country_for_sport ?m }
[]
common name
Q1927083 Q22083608 Q12301578
SYSTEM
Michael Buchleitner, Herwig Röttl, Andreas Martinsen
Q12301578 Q931569 Q20993687 Q17198667 Q1927083 Q22083608 Q20312729 Q20354781 Q9334690 Q18011042
(c(Q502895),P1532,Q35) (c(Q502895),P1532,Q40) (c(Q502895),P1532,Q664)
action union
action filter_type
action find_reverse
entity Q35
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q40
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q664
relation P1532
type Q502895
[ANSWERS] are Denmark, Austria and New Zealand
[{'concept': 'Q502895'}, 'P1532', 'Q35'] [{'concept': 'Q502895'}, 'P1532', 'Q40'] [{'concept': 'Q502895'}, 'P1532', 'Q664']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Q35 ) ( resource:Q40 ) } . ?k property:P1532 ?m }
Andreas Martinsen Mensur Suljović Timna Moser Rowby-John Rodriguez Michael Buchleitner Herwig Röttl Shane Murland David Parkes Sean O'Neill Eliza McCartney
Michael Buchleitner, Herwig Röttl and Andreas Martinsen are Denmark, Austria and New Zealand
Michael Buchleitner Herwig Röttl Andreas Martinsen
action union
action filter_type
action find_reverse
entity Denmark
relation country for sport
type common name
action filter_type
action find_reverse
entity Austria
relation country for sport
type common name
action filter_type
action find_reverse
entity New Zealand
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Denmark'] [{'concept': 'common name'}, 'country for sport', 'Austria'] [{'concept': 'common name'}, 'country for sport', 'New Zealand']
SELECT DISTINCT ?k WHERE { VALUES ( ?m ) { ( resource:Denmark ) ( resource:Austria ) } . ?k property:country_for_sport ?m }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1927083 Q22083608 Q12301578
P2416
Q31629
USER
Which types of sport did those people compete in ?
(Q1927083,P2416,c(Q31629)) (Q22083608,P2416,c(Q31629)) (Q12301578,P2416,c(Q31629))
action filter_type
action find
entity prev_answer
relation P2416
type Q31629
['Q1927083', 'P2416', {'concept': 'Q31629'}] ['Q22083608', 'P2416', {'concept': 'Q31629'}] ['Q12301578', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?f ) { ( resource:Q12301578 ) ( resource:Q931569 ) ( resource:Q20993687 ) } . ?p rdf:type ontology:Q31629 . ?f property:P2416 ?p }
Michael Buchleitner Herwig Röttl Andreas Martinsen
action filter_type
action find
entity prev_answer
relation sports discipline competed in
type type of sport
['Michael Buchleitner', 'sports discipline competed in', {'concept': 'type of sport'}] ['Herwig Röttl', 'sports discipline competed in', {'concept': 'type of sport'}] ['Andreas Martinsen', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?f ) { ( resource:Andreas_Martinsen ) ( resource:Mensur_Suljović ) ( resource:Timna_Moser ) } . ?p rdf:type ontology:type_of_sport . ?f property:sports_discipline_competed_in ?p }
[]
type of sport
Q40244 Q170004 Q170004
SYSTEM
110 metres hurdles for 2nd, 3rd, marathon for 1st
Q40244 Q170004 Q170004
(Q1927083,P2416,c(Q31629)) (Q22083608,P2416,c(Q31629)) (Q12301578,P2416,c(Q31629))
action filter_type
action find
entity prev_answer
relation P2416
type Q31629
[ANSWERS]
['Q1927083', 'P2416', {'concept': 'Q31629'}] ['Q22083608', 'P2416', {'concept': 'Q31629'}] ['Q12301578', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?f ) { ( resource:Q12301578 ) ( resource:Q931569 ) ( resource:Q20993687 ) } . ?p rdf:type ontology:Q31629 . ?f property:P2416 ?p }
marathon 110 metres hurdles 110 metres hurdles
Those people competed in marathon, 110 metres hurdles and 110 metres hurdles
marathon 110 metres hurdles 110 metres hurdles
action filter_type
action find
entity prev_answer
relation sports discipline competed in
type type of sport
['Michael Buchleitner', 'sports discipline competed in', {'concept': 'type of sport'}] ['Herwig Röttl', 'sports discipline competed in', {'concept': 'type of sport'}] ['Andreas Martinsen', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?f ) { ( resource:Andreas_Martinsen ) ( resource:Mensur_Suljović ) ( resource:Timna_Moser ) } . ?p rdf:type ontology:type_of_sport . ?f property:sports_discipline_competed_in ?p }
[]