Simple Question (Direct)
Simple Question
Q16078982
P641
Q349
USER
Which sport was Nicolás Mentxaka a part of ?
(Q16078982,P641,c(Q349))
action filter_type
action find
entity Q16078982
relation P641
type Q349
['Q16078982', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q16078982 property:P641 ?y . ?y rdf:type ontology:Q349 }
Nicolás Mentxaka
action filter_type
action find
entity Nicolás Mentxaka
relation sport
type sport
['Nicolás Mentxaka', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Nicolás_Mentxaka property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16078982,P641,c(Q349))
action filter_type
action find
entity Q16078982
relation P641
type Q349
Which sport was Nicolás Mentxaka a part of
['Q16078982', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q16078982 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Which sport was Nicolás Mentxaka a part of
association football
action filter_type
action find
entity Nicolás Mentxaka
relation sport
type sport
['Nicolás Mentxaka', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Nicolás_Mentxaka property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?k WHERE { resource:Q2736 property:P495 ?k . ?k rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:association_football property:country_of_origin ?k . ?k rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?k WHERE { resource:Q2736 property:P495 ?k . ?k rdf:type ontology:Q1496967 }
England
That sport originated in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:association_football property:country_of_origin ?k . ?k rdf:type ontology:territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7744743
Q1496967
USER
And what about The Kiss of Death?
(Q7744743,P495,c(Q1496967))
action filter_type
action find
entity Q7744743
relation P495
type Q1496967
['Q7744743', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?r WHERE { resource:Q7744743 property:P495 ?r . ?r rdf:type ontology:Q1496967 }
The Kiss of Death
action filter_type
action find
entity The Kiss of Death
relation country of origin
type territorial entity
['The Kiss of Death', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:The_Kiss_of_Death property:country_of_origin ?r . ?r rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q7744743,P495,c(Q1496967))
action filter_type
action find
entity Q7744743
relation P495
type Q1496967
[ANSWER]
['Q7744743', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?r WHERE { resource:Q7744743 property:P495 ?r . ?r rdf:type ontology:Q1496967 }
England
England
action filter_type
action find
entity The Kiss of Death
relation country of origin
type territorial entity
['The Kiss of Death', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:The_Kiss_of_Death property:country_of_origin ?r . ?r rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P163
Q14660
USER
Which flag is associated with that territory ?
(Q21,P163,c(Q14660))
action filter_type
action find
entity Q21
relation P163
type Q14660
['Q21', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q14660 . resource:Q21 property:P163 ?s }
England
action filter_type
action find
entity England
relation flag
type flag
['England', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:flag . resource:England property:flag ?s }
[]
flag
Q171117
SYSTEM
flag of England
Q171117
(Q21,P163,c(Q14660))
action filter_type
action find
entity Q21
relation P163
type Q14660
The [ANSWER] is associated with that territory
['Q21', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q14660 . resource:Q21 property:P163 ?s }
flag of England
The flag of England is associated with that territory
flag of England
action filter_type
action find
entity England
relation flag
type flag
['England', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:flag . resource:England property:flag ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q207961 Q2221906 Q14660
USER
How many flags express atleast 1 shapes or geographic locations ?
(c(Q14660),P180,c(Q207961)|c(Q2221906))
action count
action atleast
action union
action find_tuple_counts
relation P180
type Q14660
type Q207961
action find_tuple_counts
relation P180
type Q14660
type Q2221906
value 1
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q207961'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) ?r WHERE { { ?d rdf:type ontology:Q2221906 . ?r rdf:type ontology:Q14660 . ?r property:P180 ?d } UNION { ?r property:P180 ?d . ?r rdf:type ontology:Q14660 . ?d rdf:type ontology:Q207961 } } GROUP BY ?r } }
action count
action atleast
action union
action find_tuple_counts
relation depicts
type flag
type shape
action find_tuple_counts
relation depicts
type flag
type geographic location
value 1
[{'concept': 'flag'}, 'depicts', [{'concept': 'shape'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) ?r WHERE { { ?d rdf:type ontology:geographic_location . ?r rdf:type ontology:flag . ?r property:depicts ?d } UNION { ?r property:depicts ?d . ?r rdf:type ontology:flag . ?d rdf:type ontology:shape } } GROUP BY ?r } }
[]
shape geographic location flag
SYSTEM
3
Q266618 Q82194 Q202189
(c(Q14660),P180,c(Q207961)|c(Q2221906))
action count
action atleast
action union
action find_tuple_counts
relation P180
type Q14660
type Q207961
action find_tuple_counts
relation P180
type Q14660
type Q2221906
value 1
[ANSWER]
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q207961'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) ?r WHERE { { ?d rdf:type ontology:Q2221906 . ?r rdf:type ontology:Q14660 . ?r property:P180 ?d } UNION { ?r property:P180 ?d . ?r rdf:type ontology:Q14660 . ?d rdf:type ontology:Q207961 } } GROUP BY ?r } }
Flag of Prince Edward Island flag of Brazil Flag of Niue
3
action count
action atleast
action union
action find_tuple_counts
relation depicts
type flag
type shape
action find_tuple_counts
relation depicts
type flag
type geographic location
value 1
[{'concept': 'flag'}, 'depicts', [{'concept': 'shape'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) ?r WHERE { { ?d rdf:type ontology:geographic_location . ?r rdf:type ontology:flag . ?r property:depicts ?d } UNION { ?r property:depicts ?d . ?r rdf:type ontology:flag . ?d rdf:type ontology:shape } } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q16521 Q44539 Q14660
USER
How many flags depict exactly 1 taxons or temples ?
(c(Q14660),P180,c(Q16521)|c(Q44539))
action count
action equal
action union
action find_tuple_counts
relation P180
type Q14660
type Q16521
action find_tuple_counts
relation P180
type Q14660
type Q44539
value 1
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q16521'}, {'concept': 'Q44539'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?o ) WHERE { { ?m property:P180 ?c . ?m rdf:type ontology:Q14660 . ?c rdf:type ontology:Q16521 } UNION { ?m property:P180 ?c . ?m rdf:type ontology:Q14660 . ?c rdf:type ontology:Q44539 } } GROUP BY ?m } . FILTER ( ?o = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation depicts
type flag
type taxon
action find_tuple_counts
relation depicts
type flag
type temple
value 1
[{'concept': 'flag'}, 'depicts', [{'concept': 'taxon'}, {'concept': 'temple'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?o ) WHERE { { ?m property:depicts ?c . ?m rdf:type ontology:flag . ?c rdf:type ontology:taxon } UNION { ?m property:depicts ?c . ?m rdf:type ontology:flag . ?c rdf:type ontology:temple } } GROUP BY ?m } . FILTER ( ?o = 1 ) }
[]
taxon temple flag
SYSTEM
14
Q185285 Q1091279 Q599323 Q330517 Q693558 Q162999 Q103037 Q36005 Q19427 Q19373 Q1418784 Q185271 Q284396 Q170814
(c(Q14660),P180,c(Q16521)|c(Q44539))
action count
action equal
action union
action find_tuple_counts
relation P180
type Q14660
type Q16521
action find_tuple_counts
relation P180
type Q14660
type Q44539
value 1
[ANSWER]
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q16521'}, {'concept': 'Q44539'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?o ) WHERE { { ?m property:P180 ?c . ?m rdf:type ontology:Q14660 . ?c rdf:type ontology:Q16521 } UNION { ?m property:P180 ?c . ?m rdf:type ontology:Q14660 . ?c rdf:type ontology:Q44539 } } GROUP BY ?m } . FILTER ( ?o = 1 ) }
Flag of Vanuatu flag of Western Australia flag of the Northern Territory Flag of California flag of Saskatchewan Flag of Cambodia Flag of Uganda flag of Lebanon flag of Oregon Flag of South Carolina Flag of New Brunswick Flag of Papua New Guinea Flag of Kansas Flag of Zambia
14
action count
action equal
action union
action find_tuple_counts
relation depicts
type flag
type taxon
action find_tuple_counts
relation depicts
type flag
type temple
value 1
[{'concept': 'flag'}, 'depicts', [{'concept': 'taxon'}, {'concept': 'temple'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?o ) WHERE { { ?m property:depicts ?c . ?m rdf:type ontology:flag . ?c rdf:type ontology:taxon } UNION { ?m property:depicts ?c . ?m rdf:type ontology:flag . ?c rdf:type ontology:temple } } GROUP BY ?m } . FILTER ( ?o = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P30
Q2221906
USER
Which geographic location is England located in ?
(Q21,P30,c(Q2221906))
action filter_type
action find
entity Q21
relation P30
type Q2221906
['Q21', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { resource:Q21 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
England
action filter_type
action find
entity England
relation continent
type geographic location
['England', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { resource:England property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q21,P30,c(Q2221906))
action filter_type
action find
entity Q21
relation P30
type Q2221906
England is located in [ANSWER]
['Q21', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { resource:Q21 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
Europe
England is located in Europe
Europe
action filter_type
action find
entity England
relation continent
type geographic location
['England', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { resource:England property:continent ?v . ?v rdf:type ontology:geographic_location }
[]