Simple Question (Direct)
Simple Question
Q3516128
P641
Q31629
USER
What was the type of sport that Tatyana Roslanova was a part of ?
(Q3516128,P641,c(Q31629))
action filter_type
action find
entity Q3516128
relation P641
type Q31629
['Q3516128', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?s WHERE { resource:Q3516128 property:P641 ?s . ?s rdf:type ontology:Q31629 }
Tatyana Roslanova
action filter_type
action find
entity Tatyana Roslanova
relation sport
type type of sport
['Tatyana Roslanova', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?s WHERE { resource:Tatyana_Roslanova property:sport ?s . ?s rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q3516128,P641,c(Q31629))
action filter_type
action find
entity Q3516128
relation P641
type Q31629
The type of sport that Tatyana Roslanova was a part of was h [ANSWER]
['Q3516128', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?s WHERE { resource:Q3516128 property:P641 ?s . ?s rdf:type ontology:Q31629 }
athletics
The type of sport that Tatyana Roslanova was a part of was h athletics
athletics
action filter_type
action find
entity Tatyana Roslanova
relation sport
type type of sport
['Tatyana Roslanova', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?s WHERE { resource:Tatyana_Roslanova property:sport ?s . ?s rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3516128
P21
Q290
USER
Which sex does Tatyana Roslanova possess ?
(Q3516128,P21,c(Q290))
action filter_type
action find
entity Q3516128
relation P21
type Q290
['Q3516128', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3516128 property:P21 ?m . ?m rdf:type ontology:Q290 }
Tatyana Roslanova
action filter_type
action find
entity Tatyana Roslanova
relation gender
type sex
['Tatyana Roslanova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Tatyana_Roslanova property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3516128,P21,c(Q290))
action filter_type
action find
entity Q3516128
relation P21
type Q290
Tatyana Roslanova possesses a [ANSWER]
['Q3516128', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3516128 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
Tatyana Roslanova possesses a female
female
action filter_type
action find
entity Tatyana Roslanova
relation gender
type sex
['Tatyana Roslanova', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Tatyana_Roslanova property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3226099
Q290
USER
And how about Maarten Claeyssens?
(Q3226099,P21,c(Q290))
action filter_type
action find
entity Q3226099
relation P21
type Q290
['Q3226099', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3226099 property:P21 ?a . ?a rdf:type ontology:Q290 }
Maarten Claeyssens
action filter_type
action find
entity Maarten Claeyssens
relation gender
type sex
['Maarten Claeyssens', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Maarten_Claeyssens property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3226099,P21,c(Q290))
action filter_type
action find
entity Q3226099
relation P21
type Q290
[ANSWER]
['Q3226099', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3226099 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Maarten Claeyssens
relation gender
type sex
['Maarten Claeyssens', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Maarten_Claeyssens property:gender ?a . ?a rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581072
P21
Q193291 Q11424
USER
How many spirits and films are a female ?
(c(Q193291),P21,Q6581072) (c(Q11424),P21,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q193291
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q11424
[{'concept': 'Q193291'}, 'P21', 'Q6581072'] [{'concept': 'Q11424'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:Q11424 ) ( ontology:Q193291 ) } }
female
action count
action union
action filter_type
action find_reverse
entity female
relation gender
type spirit
action filter_type
action find_reverse
entity female
relation gender
type film
[{'concept': 'spirit'}, 'gender', 'female'] [{'concept': 'film'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:film ) ( ontology:spirit ) } }
[]
spirit film
SYSTEM
15 spirits and 2 films
Q6727083 Q1888154 Q1359465 Q2454771 Q1477162 Q19667319 Q4683151 Q5594049 Q4750939 Q1888234 Q739947 Q6799152 Q5423293 Q1930712 Q6799149 Q3293278 Q19372360
(c(Q193291),P21,Q6581072) (c(Q11424),P21,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q193291
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q11424
[ANSWER]
[{'concept': 'Q193291'}, 'P21', 'Q6581072'] [{'concept': 'Q11424'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:Q11424 ) ( ontology:Q193291 ) } }
Mademoiselle Charlotte Maman Brigitte Erzulie Mawu Yemaja Catarina de San Juan Adjassou-Linguetor Gran Maître Anaisa Pye Mami Wata Ayizan Maîtresse Hounon'gon Ezili Dantor Ayida-Weddo Maîtresse Délai Marinette Dagny Sibblund
15 spirits and 2 films
action count
action union
action filter_type
action find_reverse
entity female
relation gender
type spirit
action filter_type
action find_reverse
entity female
relation gender
type film
[{'concept': 'spirit'}, 'gender', 'female'] [{'concept': 'film'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:film ) ( ontology:spirit ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3516128
P19
Q56061
USER
How many administrative territories were Tatyana Roslanova born in ?
(Q3516128,P19,c(Q56061))
action count
action filter_type
action find
entity Q3516128
relation P19
type Q56061
['Q3516128', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q3516128 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Tatyana Roslanova
action count
action filter_type
action find
entity Tatyana Roslanova
relation place of birth
type administrative territorial entity
['Tatyana Roslanova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Tatyana_Roslanova property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q477232
(Q3516128,P19,c(Q56061))
action count
action filter_type
action find
entity Q3516128
relation P19
type Q56061
[ANSWER]
['Q3516128', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q3516128 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Aktobe
1
action count
action filter_type
action find
entity Tatyana Roslanova
relation place of birth
type administrative territorial entity
['Tatyana Roslanova', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Tatyana_Roslanova property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3564456
Q56061
USER
And also tell me about Víctor Gárate?
(Q3564456,P19,c(Q56061))
action count
action filter_type
action find
entity Q3564456
relation P19
type Q56061
['Q3564456', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q3564456 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Víctor Gárate
action count
action filter_type
action find
entity Víctor Gárate
relation place of birth
type administrative territorial entity
['Víctor Gárate', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Víctor_Gárate property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q3564456,P19,c(Q56061))
action count
action filter_type
action find
entity Q3564456
relation P19
type Q56061
[ANSWER]
['Q3564456', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q3564456 property:P19 ?c . ?c rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Víctor Gárate
relation place of birth
type administrative territorial entity
['Víctor Gárate', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Víctor_Gárate property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P641
Q31629 Q502895 Q500834
USER
Which types of sport were min number of people and tournaments a part of ?
(c(Q502895)|c(Q500834),P641,c(Q31629))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?f WHERE { { ?i property:P641 ?f . ?f rdf:type ontology:Q31629 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P641 ?f . ?i rdf:type ontology:Q500834 . ?f rdf:type ontology:Q31629 } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?x WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q500834 ) ( ontology:Q502895 ) } } GROUP BY ?x } . FILTER ( ?s = ?h ) }
action argmin
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?f WHERE { { ?i property:sport ?f . ?f rdf:type ontology:type_of_sport . ?i rdf:type ontology:common_name } UNION { ?i property:sport ?f . ?i rdf:type ontology:tournament . ?f rdf:type ontology:type_of_sport } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?x WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:tournament ) ( ontology:common_name ) } } GROUP BY ?x } . FILTER ( ?s = ?h ) }
[]
type of sport common name tournament
Q1666862 Q692853 Q16629853
SYSTEM
International rules football, Flag football, Mixed Doubles
Q637186 Q1666862 Q217108 Q672066 Q1320458 Q692853 Q2164355 Q1209037 Q272460 Q774176 Q172809 Q16629853 Q1423069 Q11020 Q453778 Q779272 Q2891117 Q162883
(c(Q502895)|c(Q500834),P641,c(Q31629))
action argmin
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q502895
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
[ANSWERS] were min number of people and tournaments a part of
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?f WHERE { { ?i property:P641 ?f . ?f rdf:type ontology:Q31629 . ?i rdf:type ontology:Q502895 } UNION { ?i property:P641 ?f . ?i rdf:type ontology:Q500834 . ?f rdf:type ontology:Q31629 } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?x WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q500834 ) ( ontology:Q502895 ) } } GROUP BY ?x } . FILTER ( ?s = ?h ) }
grass skiing International rules football airsoft downhill mountain biking Ice yachting Flag football roller sport Modern competitive archery Pilates Keirin ten-pin bowling Mixed Doubles canoe camping pool Roller skiing ice skating dragon boat sport free climbing
International rules football, Flag football and Mixed Doubles were min number of people and tournaments a part of
International rules football Flag football Mixed Doubles
action argmin
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type common name
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?f WHERE { { ?i property:sport ?f . ?f rdf:type ontology:type_of_sport . ?i rdf:type ontology:common_name } UNION { ?i property:sport ?f . ?i rdf:type ontology:tournament . ?f rdf:type ontology:type_of_sport } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?x WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:tournament ) ( ontology:common_name ) } } GROUP BY ?x } . FILTER ( ?s = ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3761115 Q3564456
P27
Q15617994
USER
Which administrative territories are Víctor Gárate or Germano De Cinque an inhabitant of ?
OR((Q3564456,P27,c(Q15617994)), (Q3761115,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3564456
relation P27
action find
entity Q3761115
relation P27
type Q15617994
{'OR': [['Q3564456', 'P27', {'concept': 'Q15617994'}], ['Q3761115', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { VALUES ( ?w ) { ( resource:Q3564456 ) ( resource:Q3761115 ) } . ?w property:P27 ?u } }
Germano De Cinque Víctor Gárate
action filter_type
action union
action find
entity Víctor Gárate
relation country of citizenship
action find
entity Germano De Cinque
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Víctor Gárate', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Germano De Cinque', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?w ) { ( resource:Víctor_Gárate ) ( resource:Germano_De_Cinque ) } . ?w property:country_of_citizenship ?u } }
[]
designation for an administrative territorial entity
Q38 Q717
SYSTEM
Italy, Venezuela
Q38 Q717
OR((Q3564456,P27,c(Q15617994)), (Q3761115,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3564456
relation P27
action find
entity Q3761115
relation P27
type Q15617994
[ANSWERS] are Víctor Gárate or Germano De Cinque an inhabitant of
{'OR': [['Q3564456', 'P27', {'concept': 'Q15617994'}], ['Q3761115', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { VALUES ( ?w ) { ( resource:Q3564456 ) ( resource:Q3761115 ) } . ?w property:P27 ?u } }
Italy Venezuela
Italy and Venezuela are Víctor Gárate or Germano De Cinque an inhabitant of
Italy Venezuela
action filter_type
action union
action find
entity Víctor Gárate
relation country of citizenship
action find
entity Germano De Cinque
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Víctor Gárate', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Germano De Cinque', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?w ) { ( resource:Víctor_Gárate ) ( resource:Germano_De_Cinque ) } . ?w property:country_of_citizenship ?u } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20028698
P27
Q502895
USER
Are Dirck van Domburgh a citizen of those administrative territories ?
(Q20028698,P27,Q38) (Q20028698,P27,Q717)
action is_in
entity prev_answer
action find
entity Q20028698
relation P27
['Q20028698', 'P27', 'Q38'] ['Q20028698', 'P27', 'Q717']
ASK WHERE { VALUES ( ?m ) { ( resource:Q38 ) ( resource:Q717 ) } . resource:Q20028698 property:P27 ?m }
Dirck van Domburgh
action is_in
entity prev_answer
action find
entity Dirck van Domburgh
relation country of citizenship
['Dirck van Domburgh', 'country of citizenship', 'Italy'] ['Dirck van Domburgh', 'country of citizenship', 'Venezuela']
ASK WHERE { VALUES ( ?m ) { ( resource:Italy ) ( resource:Venezuela ) } . resource:Dirck_van_Domburgh property:country_of_citizenship ?m }
[]
common name
SYSTEM
NO
(Q20028698,P27,Q38) (Q20028698,P27,Q717)
action is_in
entity prev_answer
action find
entity Q20028698
relation P27
[ANSWER]
['Q20028698', 'P27', 'Q38'] ['Q20028698', 'P27', 'Q717']
ASK WHERE { VALUES ( ?m ) { ( resource:Q38 ) ( resource:Q717 ) } . resource:Q20028698 property:P27 ?m }
No
action is_in
entity prev_answer
action find
entity Dirck van Domburgh
relation country of citizenship
['Dirck van Domburgh', 'country of citizenship', 'Italy'] ['Dirck van Domburgh', 'country of citizenship', 'Venezuela']
ASK WHERE { VALUES ( ?m ) { ( resource:Italy ) ( resource:Venezuela ) } . resource:Dirck_van_Domburgh property:country_of_citizenship ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q717 Q15058883
P47
Q15617994
USER
Does Clowance Wood have a shared border with Venezuela ?
(Q717,P47,Q15058883)
action is_in
entity Q15058883
action find
entity Q717
relation P47
['Q717', 'P47', 'Q15058883']
ASK WHERE { resource:Q717 property:P47 resource:Q15058883 }
Venezuela Clowance Wood
action is_in
entity Clowance Wood
action find
entity Venezuela
relation shares border with
['Venezuela', 'shares border with', 'Clowance Wood']
ASK WHERE { resource:Venezuela property:shares_border_with resource:Clowance_Wood }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q717,P47,Q15058883)
action is_in
entity Q15058883
action find
entity Q717
relation P47
[ANSWER]
['Q717', 'P47', 'Q15058883']
ASK WHERE { resource:Q717 property:P47 resource:Q15058883 }
No
action is_in
entity Clowance Wood
action find
entity Venezuela
relation shares border with
['Venezuela', 'shares border with', 'Clowance Wood']
ASK WHERE { resource:Venezuela property:shares_border_with resource:Clowance_Wood }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3516128 Q232
P27
Q15617994
USER
Does Tatyana Roslanova belong to Kazakhstan ?
(Q3516128,P27,Q232)
action is_in
entity Q232
action find
entity Q3516128
relation P27
['Q3516128', 'P27', 'Q232']
ASK WHERE { resource:Q3516128 property:P27 resource:Q232 }
Tatyana Roslanova Kazakhstan
action is_in
entity Kazakhstan
action find
entity Tatyana Roslanova
relation country of citizenship
['Tatyana Roslanova', 'country of citizenship', 'Kazakhstan']
ASK WHERE { resource:Tatyana_Roslanova property:country_of_citizenship resource:Kazakhstan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3516128,P27,Q232)
action is_in
entity Q232
action find
entity Q3516128
relation P27
[ANSWER]
['Q3516128', 'P27', 'Q232']
ASK WHERE { resource:Q3516128 property:P27 resource:Q232 }
Yes
action is_in
entity Kazakhstan
action find
entity Tatyana Roslanova
relation country of citizenship
['Tatyana Roslanova', 'country of citizenship', 'Kazakhstan']
ASK WHERE { resource:Tatyana_Roslanova property:country_of_citizenship resource:Kazakhstan }
[]