Simple Question (Direct)
Simple Question
Q7931938
P106
Q12737077
USER
Which occupation is the profession of Vincent Matthews ?
(Q7931938,P106,c(Q12737077))
action filter_type
action find
entity Q7931938
relation P106
type Q12737077
['Q7931938', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q7931938 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Vincent Matthews
action filter_type
action find
entity Vincent Matthews
relation occupation
type occupation
['Vincent Matthews', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Vincent_Matthews property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7931938,P106,c(Q12737077))
action filter_type
action find
entity Q7931938
relation P106
type Q12737077
Player [ANSWER] is the profession of Vincent Matthews
['Q7931938', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q7931938 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Vincent Matthews
association football player
action filter_type
action find
entity Vincent Matthews
relation occupation
type occupation
['Vincent Matthews', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Vincent_Matthews property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Which sport has that one as thier associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q937857 property:P425 ?n }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?n }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
Football [ANSWER] has that one as thier associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q937857 property:P425 ?n }
association football
Football association football has that one as thier associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the country of origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?b }
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 ?b WHERE { ?b rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?b }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The country of origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?b }
England
The country of origin of that sport is 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 ?b WHERE { ?b rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?b }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P840
Q1496967 Q15416 Q166142
USER
How many territories are more number of television programs or applications set in than that territory ?
(c(Q15416)|c(Q166142),P840,c(Q1496967))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q15416
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q21
relation P840
type Q15416
type Q166142
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q1496967'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P840 resource:Q21 . { { ?f rdf:type ontology:Q166142 } UNION { ?f rdf:type ontology:Q15416 } } } } . FILTER ( ?w > ?y ) . { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:P840 ?n . ?x rdf:type ontology:Q15416 . ?n rdf:type ontology:Q1496967 } UNION { ?x property:P840 ?n . ?n rdf:type ontology:Q1496967 . ?x rdf:type ontology:Q166142 } } GROUP BY ?n } }
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity England
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:narrative_location resource:England . { { ?f rdf:type ontology:application } UNION { ?f rdf:type ontology:television_program } } } } . FILTER ( ?w > ?y ) . { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:narrative_location ?n . ?x rdf:type ontology:television_program . ?n rdf:type ontology:territorial_entity } UNION { ?x property:narrative_location ?n . ?n rdf:type ontology:territorial_entity . ?x rdf:type ontology:application } } GROUP BY ?n } }
[]
territorial entity television program application
SYSTEM
0
(c(Q15416)|c(Q166142),P840,c(Q1496967))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q15416
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q21
relation P840
type Q15416
type Q166142
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q1496967'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P840 resource:Q21 . { { ?f rdf:type ontology:Q166142 } UNION { ?f rdf:type ontology:Q15416 } } } } . FILTER ( ?w > ?y ) . { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:P840 ?n . ?x rdf:type ontology:Q15416 . ?n rdf:type ontology:Q1496967 } UNION { ?x property:P840 ?n . ?n rdf:type ontology:Q1496967 . ?x rdf:type ontology:Q166142 } } GROUP BY ?n } }
0
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity England
relation narrative location
type television program
type application
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:narrative_location resource:England . { { ?f rdf:type ontology:application } UNION { ?f rdf:type ontology:television_program } } } } . FILTER ( ?w > ?y ) . { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?w ) WHERE { { ?x property:narrative_location ?n . ?x rdf:type ontology:television_program . ?n rdf:type ontology:territorial_entity } UNION { ?x property:narrative_location ?n . ?n rdf:type ontology:territorial_entity . ?x rdf:type ontology:application } } GROUP BY ?n } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q732577 Q386724
USER
Which occupations were max number of publications or works mainly about ?
(c(Q732577)|c(Q386724),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:Q732577 ) ( ontology:Q386724 ) } . ?d rdf:type ?z } GROUP BY ?e } } . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q732577 } UNION { ?u rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q386724 . ?f property:P921 ?u } } GROUP BY ?u } . FILTER ( ?g = ?h ) }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:publication ) ( ontology:work ) } . ?d rdf:type ?z } GROUP BY ?e } } . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:main_subject ?u . ?u rdf:type ontology:occupation . ?f rdf:type ontology:publication } UNION { ?u rdf:type ontology:occupation . ?f rdf:type ontology:work . ?f property:main_subject ?u } } GROUP BY ?u } . FILTER ( ?g = ?h ) }
[]
occupation publication work
Q16746569
SYSTEM
high school student
Q16746569
(c(Q732577)|c(Q386724),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
Max number of publications or works mainly were about a [ANSWER]
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:Q732577 ) ( ontology:Q386724 ) } . ?d rdf:type ?z } GROUP BY ?e } } . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:P921 ?u . ?u rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q732577 } UNION { ?u rdf:type ontology:Q12737077 . ?f rdf:type ontology:Q386724 . ?f property:P921 ?u } } GROUP BY ?u } . FILTER ( ?g = ?h ) }
high school student
Max number of publications or works mainly were about a high school student
high school student
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:publication ) ( ontology:work ) } . ?d rdf:type ?z } GROUP BY ?e } } . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:main_subject ?u . ?u rdf:type ontology:occupation . ?f rdf:type ontology:publication } UNION { ?u rdf:type ontology:occupation . ?f rdf:type ontology:work . ?f property:main_subject ?u } } GROUP BY ?u } . FILTER ( ?g = ?h ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16746569 Q3930134
P921
Q838948
USER
Was Ranma ½ One Grew Over the Kuno's Nest mainly based on that occupation ?
(Q3930134,P921,Q16746569)
action is_in
entity Q16746569
action find
entity Q3930134
relation P921
['Q3930134', 'P921', 'Q16746569']
ASK WHERE { resource:Q3930134 property:P921 resource:Q16746569 }
high school student Ranma ½ One Grew Over the Kuno's Nest
action is_in
entity high school student
action find
entity Ranma ½ One Grew Over the Kuno's Nest
relation main subject
["Ranma ½ One Grew Over the Kuno's Nest", 'main subject', 'high school student']
ASK WHERE { resource:Ranma_½_One_Grew_Over_the_Kuno's_Nest property:main_subject resource:high_school_student }
[]
work of art
SYSTEM
YES
(Q3930134,P921,Q16746569)
action is_in
entity Q16746569
action find
entity Q3930134
relation P921
[ANSWER]
['Q3930134', 'P921', 'Q16746569']
ASK WHERE { resource:Q3930134 property:P921 resource:Q16746569 }
Yes
action is_in
entity high school student
action find
entity Ranma ½ One Grew Over the Kuno's Nest
relation main subject
["Ranma ½ One Grew Over the Kuno's Nest", 'main subject', 'high school student']
ASK WHERE { resource:Ranma_½_One_Grew_Over_the_Kuno's_Nest property:main_subject resource:high_school_student }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P276
Q17524420
USER
Which aspect of history is situated at England ?
(c(Q17524420),P276,Q21)
action filter_type
action find_reverse
entity Q21
relation P276
type Q17524420
[{'concept': 'Q17524420'}, 'P276', 'Q21']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q17524420 . ?c property:P276 resource:Q21 }
England
action filter_type
action find_reverse
entity England
relation location
type aspect of history
[{'concept': 'aspect of history'}, 'location', 'England']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:aspect_of_history . ?c property:location resource:England }
[]
aspect of history
Q18159685
SYSTEM
English Benedictine Reform
Q18159685
(c(Q17524420),P276,Q21)
action filter_type
action find_reverse
entity Q21
relation P276
type Q17524420
[ANSWER] is situated at England
[{'concept': 'Q17524420'}, 'P276', 'Q21']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q17524420 . ?c property:P276 resource:Q21 }
English Benedictine Reform
English Benedictine Reform is situated at England
English Benedictine Reform
action filter_type
action find_reverse
entity England
relation location
type aspect of history
[{'concept': 'aspect of history'}, 'location', 'England']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:aspect_of_history . ?c property:location resource:England }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P37
Q34770
USER
What is the official language of England ?
(Q21,P37,c(Q34770))
action filter_type
action find
entity Q21
relation P37
type Q34770
['Q21', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q21 property:P37 ?f . ?f rdf:type ontology:Q34770 }
England
action filter_type
action find
entity England
relation official language
type language
['England', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:England property:official_language ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q21,P37,c(Q34770))
action filter_type
action find
entity Q21
relation P37
type Q34770
The official language of England is the [ANSWER]
['Q21', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q21 property:P37 ?f . ?f rdf:type ontology:Q34770 }
English
The official language of England is the English
English
action filter_type
action find
entity England
relation official language
type language
['England', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:England property:official_language ?f . ?f rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q70143
Q34770
USER
And what about Morbio Inferiore?
(Q70143,P37,c(Q34770))
action filter_type
action find
entity Q70143
relation P37
type Q34770
['Q70143', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q70143 property:P37 ?m . ?m rdf:type ontology:Q34770 }
Morbio Inferiore
action filter_type
action find
entity Morbio Inferiore
relation official language
type language
['Morbio Inferiore', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Morbio_Inferiore property:official_language ?m . ?m rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q70143,P37,c(Q34770))
action filter_type
action find
entity Q70143
relation P37
type Q34770
[ANSWER]
['Q70143', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q70143 property:P37 ?m . ?m rdf:type ontology:Q34770 }
Italian
Italian
action filter_type
action find
entity Morbio Inferiore
relation official language
type language
['Morbio Inferiore', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Morbio_Inferiore property:official_language ?m . ?m rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q652 Q2312518
P364
Q838948
USER
Is Traffic Jam known to be originally created in that one language ?
(Q2312518,P364,Q652)
action is_in
entity Q652
action find
entity Q2312518
relation P364
['Q2312518', 'P364', 'Q652']
ASK WHERE { resource:Q2312518 property:P364 resource:Q652 }
Italian Traffic Jam
action is_in
entity Italian
action find
entity Traffic Jam
relation original language of work
['Traffic Jam', 'original language of work', 'Italian']
ASK WHERE { resource:Traffic_Jam property:original_language_of_work resource:Italian }
[]
work of art
SYSTEM
YES
(Q2312518,P364,Q652)
action is_in
entity Q652
action find
entity Q2312518
relation P364
[ANSWER]
['Q2312518', 'P364', 'Q652']
ASK WHERE { resource:Q2312518 property:P364 resource:Q652 }
Yes
action is_in
entity Italian
action find
entity Traffic Jam
relation original language of work
['Traffic Jam', 'original language of work', 'Italian']
ASK WHERE { resource:Traffic_Jam property:original_language_of_work resource:Italian }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1860 Q38980
P361
Q5962346
USER
Is English a portion of Paisley Terrier ?
(Q1860,P361,Q38980)
action is_in
entity Q38980
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q38980']
ASK WHERE { resource:Q1860 property:P361 resource:Q38980 }
English Paisley Terrier
action is_in
entity Paisley Terrier
action find
entity English
relation part of
['English', 'part of', 'Paisley Terrier']
ASK WHERE { resource:English property:part_of resource:Paisley_Terrier }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q38980)
action is_in
entity Q38980
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q38980']
ASK WHERE { resource:Q1860 property:P361 resource:Q38980 }
No
action is_in
entity Paisley Terrier
action find
entity English
relation part of
['English', 'part of', 'Paisley Terrier']
ASK WHERE { resource:English property:part_of resource:Paisley_Terrier }
[]