Simple Question (Direct)
Simple Question
Q5244140
P21
Q290
USER
Which sex does DeVone Claybrooks have ?
(Q5244140,P21,c(Q290))
action filter_type
action find
entity Q5244140
relation P21
type Q290
['Q5244140', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q5244140 property:P21 ?j . ?j rdf:type ontology:Q290 }
DeVone Claybrooks
action filter_type
action find
entity DeVone Claybrooks
relation gender
type sex
['DeVone Claybrooks', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:DeVone_Claybrooks property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5244140,P21,c(Q290))
action filter_type
action find
entity Q5244140
relation P21
type Q290
DeVone Claybrooks has a [ANSWER]
['Q5244140', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q5244140 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
DeVone Claybrooks has a male
male
action filter_type
action find
entity DeVone Claybrooks
relation gender
type sex
['DeVone Claybrooks', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:DeVone_Claybrooks property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q340169
USER
Which media depicts that sex ?
(c(Q340169),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[{'concept': 'Q340169'}, 'P180', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q340169 . ?g property:P180 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'male']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:media . ?g property:depicts resource:male }
[]
media
Q20020115
SYSTEM
Portrait of a Young Man
Q20020115
(c(Q340169),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q340169
[ANSWER] depicts that sex
[{'concept': 'Q340169'}, 'P180', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q340169 . ?g property:P180 resource:Q6581097 }
Portrait of a Young Man
Portrait of a Young Man depicts that sex
Portrait of a Young Man
action filter_type
action find_reverse
entity male
relation depicts
type media
[{'concept': 'media'}, 'depicts', 'male']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:media . ?g property:depicts resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5244140
P106
Q12737077
USER
What does DeVone Claybrooks do for a living ?
(Q5244140,P106,c(Q12737077))
action filter_type
action find
entity Q5244140
relation P106
type Q12737077
['Q5244140', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5244140 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
DeVone Claybrooks
action filter_type
action find
entity DeVone Claybrooks
relation occupation
type occupation
['DeVone Claybrooks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:DeVone_Claybrooks property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q5244140,P106,c(Q12737077))
action filter_type
action find
entity Q5244140
relation P106
type Q12737077
DeVone Claybrooks does an [ANSWER] for a living
['Q5244140', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5244140 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
American football player
DeVone Claybrooks does an American football player for a living
American football player
action filter_type
action find
entity DeVone Claybrooks
relation occupation
type occupation
['DeVone Claybrooks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:DeVone_Claybrooks property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16642663
Q12737077
USER
And how about Hyppolite Bazin?
(Q16642663,P106,c(Q12737077))
action filter_type
action find
entity Q16642663
relation P106
type Q12737077
['Q16642663', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q16642663 property:P106 ?t }
Hyppolite Bazin
action filter_type
action find
entity Hyppolite Bazin
relation occupation
type occupation
['Hyppolite Bazin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Hyppolite_Bazin property:occupation ?t }
[]
occupation
Q81096
SYSTEM
engineer
Q81096
(Q16642663,P106,c(Q12737077))
action filter_type
action find
entity Q16642663
relation P106
type Q12737077
[ANSWER]
['Q16642663', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q16642663 property:P106 ?t }
engineer
engineer
action filter_type
action find
entity Hyppolite Bazin
relation occupation
type occupation
['Hyppolite Bazin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Hyppolite_Bazin property:occupation ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2180295
P180
Q12737077 Q15709879 Q2342494
USER
How many occupations are depicted in greater number of artwork series or collectables than mail carrier ?
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2180295
relation P180
type Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:Q15709879 } UNION { ?w rdf:type ontology:Q2342494 } } . ?w property:P180 resource:Q2180295 } } . FILTER ( ?b > ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?a WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } } GROUP BY ?a } }
mail carrier
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity mail carrier
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:artwork_series } UNION { ?w rdf:type ontology:collectable } } . ?w property:depicts resource:mail_carrier } } . FILTER ( ?b > ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?a WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:artwork_series ) ( ontology:collectable ) } } GROUP BY ?a } }
[]
occupation artwork series collectable
SYSTEM
9
Q47064 Q11900058 Q805221 Q12059906 Q843281 Q622630 Q170779 Q838811 Q39631
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q2180295
relation P180
type Q15709879
type Q2342494
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:Q15709879 } UNION { ?w rdf:type ontology:Q2342494 } } . ?w property:P180 resource:Q2180295 } } . FILTER ( ?b > ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?a WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } } GROUP BY ?a } }
military personnel explorer ballet dancer herder hobo odalisque Kassandra peasant physician
9
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity mail carrier
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { { ?w rdf:type ontology:artwork_series } UNION { ?w rdf:type ontology:collectable } } . ?w property:depicts resource:mail_carrier } } . FILTER ( ?b > ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?a WHERE { ?l rdf:type ?i . VALUES ( ?i ) { ( ontology:artwork_series ) ( ontology:collectable ) } } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q19595175
P180
Q12737077 Q15709879 Q2342494
USER
And also tell me about amateur wrestler?
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q19595175
relation P180
type Q15709879
type Q2342494
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?d ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?e rdf:type ?d } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P180 resource:Q19595175 . { { ?x rdf:type ontology:Q15709879 } UNION { ?x rdf:type ontology:Q2342494 } } } } . FILTER ( ?m > ?j ) }
amateur wrestler
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity amateur wrestler
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?d ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?e rdf:type ?d } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:depicts resource:amateur_wrestler . { { ?x rdf:type ontology:artwork_series } UNION { ?x rdf:type ontology:collectable } } } } . FILTER ( ?m > ?j ) }
[]
occupation artwork series collectable
SYSTEM
9
Q47064 Q11900058 Q805221 Q12059906 Q843281 Q622630 Q170779 Q838811 Q39631
(c(Q15709879)|c(Q2342494),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q19595175
relation P180
type Q15709879
type Q2342494
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?d ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?e rdf:type ?d } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:P180 resource:Q19595175 . { { ?x rdf:type ontology:Q15709879 } UNION { ?x rdf:type ontology:Q2342494 } } } } . FILTER ( ?m > ?j ) }
military personnel explorer ballet dancer herder hobo odalisque Kassandra peasant physician
9
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action count
action filter_multi_types
action find_reverse
entity amateur wrestler
relation depicts
type artwork series
type collectable
[[{'concept': 'artwork series'}, {'concept': 'collectable'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?d ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?e rdf:type ?d } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { ?x property:depicts resource:amateur_wrestler . { { ?x rdf:type ontology:artwork_series } UNION { ?x rdf:type ontology:collectable } } } } . FILTER ( ?m > ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19204627
P425
Q349
USER
Which sport has American football player as thier associated field of occupation ?
(Q19204627,P425,c(Q349))
action filter_type
action find
entity Q19204627
relation P425
type Q349
['Q19204627', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q19204627 property:P425 ?b . ?b rdf:type ontology:Q349 }
American football player
action filter_type
action find
entity American football player
relation field of this occupation
type sport
['American football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:American_football_player property:field_of_this_occupation ?b . ?b rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q19204627,P425,c(Q349))
action filter_type
action find
entity Q19204627
relation P425
type Q349
Player [ANSWER] has [ANSWER] player as thier associated field of occupation
['Q19204627', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q19204627 property:P425 ?b . ?b rdf:type ontology:Q349 }
American football
Player American football has American football player as thier associated field of occupation
American football
action filter_type
action find
entity American football player
relation field of this occupation
type sport
['American football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:American_football_player property:field_of_this_occupation ?b . ?b rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5244140
P27
Q15617994
USER
Which administrative territory is DeVone Claybrooks an inhabitant of ?
(Q5244140,P27,c(Q15617994))
action filter_type
action find
entity Q5244140
relation P27
type Q15617994
['Q5244140', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5244140 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
DeVone Claybrooks
action filter_type
action find
entity DeVone Claybrooks
relation country of citizenship
type designation for an administrative territorial entity
['DeVone Claybrooks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:DeVone_Claybrooks property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5244140,P27,c(Q15617994))
action filter_type
action find
entity Q5244140
relation P27
type Q15617994
[ANSWER] is DeVone Claybrooks an inhabitant of
['Q5244140', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q5244140 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
United States of America is DeVone Claybrooks an inhabitant of
United States of America
action filter_type
action find
entity DeVone Claybrooks
relation country of citizenship
type designation for an administrative territorial entity
['DeVone Claybrooks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:DeVone_Claybrooks property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]