Simple Question (Direct)
Simple Question
Q16528415
P39
Q12737077
USER
What was the position held by Alejandro de la Cruz ?
(Q16528415,P39,c(Q12737077))
action filter_type
action find
entity Q16528415
relation P39
type Q12737077
['Q16528415', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q16528415 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Alejandro de la Cruz
action filter_type
action find
entity Alejandro de la Cruz
relation position held
type occupation
['Alejandro de la Cruz', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Alejandro_de_la_Cruz property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q984276
SYSTEM
court painter
Q984276
(Q16528415,P39,c(Q12737077))
action filter_type
action find
entity Q16528415
relation P39
type Q12737077
The position held by Alejandro de la Cruz was a [ANSWER]
['Q16528415', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q16528415 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
court painter
The position held by Alejandro de la Cruz was a court painter
court painter
action filter_type
action find
entity Alejandro de la Cruz
relation position held
type occupation
['Alejandro de la Cruz', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Alejandro_de_la_Cruz property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q984276
P425
Q3249551
USER
Which process is associated with the field of occupation that one ?
(Q984276,P425,c(Q3249551))
action filter_type
action find
entity Q984276
relation P425
type Q3249551
['Q984276', 'P425', {'concept': 'Q3249551'}]
SELECT DISTINCT ?d WHERE { resource:Q984276 property:P425 ?d . ?d rdf:type ontology:Q3249551 }
court painter
action filter_type
action find
entity court painter
relation field of this occupation
type process
['court painter', 'field of this occupation', {'concept': 'process'}]
SELECT DISTINCT ?d WHERE { resource:court_painter property:field_of_this_occupation ?d . ?d rdf:type ontology:process }
[]
process
Q11629
SYSTEM
art of painting
Q11629
(Q984276,P425,c(Q3249551))
action filter_type
action find
entity Q984276
relation P425
type Q3249551
The [ANSWER] is associated with the field of occupation that one
['Q984276', 'P425', {'concept': 'Q3249551'}]
SELECT DISTINCT ?d WHERE { resource:Q984276 property:P425 ?d . ?d rdf:type ontology:Q3249551 }
art of painting
The art of painting is associated with the field of occupation that one
art of painting
action filter_type
action find
entity court painter
relation field of this occupation
type process
['court painter', 'field of this occupation', {'concept': 'process'}]
SELECT DISTINCT ?d WHERE { resource:court_painter property:field_of_this_occupation ?d . ?d rdf:type ontology:process }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16528415
P21
Q290
USER
Which sex does Alejandro de la Cruz belong to ?
(Q16528415,P21,c(Q290))
action filter_type
action find
entity Q16528415
relation P21
type Q290
['Q16528415', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q16528415 property:P21 ?v . ?v rdf:type ontology:Q290 }
Alejandro de la Cruz
action filter_type
action find
entity Alejandro de la Cruz
relation gender
type sex
['Alejandro de la Cruz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Alejandro_de_la_Cruz property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16528415,P21,c(Q290))
action filter_type
action find
entity Q16528415
relation P21
type Q290
Alejandro de la Cruz belongs to [ANSWER]
['Q16528415', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q16528415 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Alejandro de la Cruz belongs to male
male
action filter_type
action find
entity Alejandro de la Cruz
relation gender
type sex
['Alejandro de la Cruz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Alejandro_de_la_Cruz property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting expresses that sex ?
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?h WHERE { ?h property:P180 resource:Q6581097 . ?h rdf:type ontology:Q3305213 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?h WHERE { ?h property:depicts resource:male . ?h rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER] expresses that sex
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?h WHERE { ?h property:P180 resource:Q6581097 . ?h rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister expresses that sex
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?h WHERE { ?h property:depicts resource:male . ?h rdf:type ontology:painting }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P180
Q14524493 Q337567 Q3305213
USER
Which paintings express more number of terrains or still waterss than that painting ?
(c(Q3305213),P180,c(Q14524493)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P180
type Q3305213
type Q14524493
action find_tuple_counts
relation P180
type Q3305213
type Q337567
action count
action filter_multi_types
action find
entity Q18713957
relation P180
type Q14524493
type Q337567
[{'concept': 'Q3305213'}, 'P180', [{'concept': 'Q14524493'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?j ) { ( ontology:Q14524493 ) ( ontology:Q337567 ) } . ?z rdf:type ?j } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q18713957 property:P180 ?r . { { ?r rdf:type ontology:Q14524493 } UNION { ?r rdf:type ontology:Q337567 } } } } . FILTER ( ?s > ?n ) }
action greater
action union
action find_tuple_counts
relation depicts
type painting
type terrain
action find_tuple_counts
relation depicts
type painting
type still waters
action count
action filter_multi_types
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation depicts
type terrain
type still waters
[{'concept': 'painting'}, 'depicts', [{'concept': 'terrain'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?j ) { ( ontology:terrain ) ( ontology:still_waters ) } . ?z rdf:type ?j } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:depicts ?r . { { ?r rdf:type ontology:terrain } UNION { ?r rdf:type ontology:still_waters } } } } . FILTER ( ?s > ?n ) }
[]
terrain still waters painting
SYSTEM
11
Q22312819 Q20740293 Q22915284 Q20178620 Q22915291 Q20701647 Q20169799 Q20667106 Q20064452 Q20064450 Q19924202
(c(Q3305213),P180,c(Q14524493)|c(Q337567))
action greater
action union
action find_tuple_counts
relation P180
type Q3305213
type Q14524493
action find_tuple_counts
relation P180
type Q3305213
type Q337567
action count
action filter_multi_types
action find
entity Q18713957
relation P180
type Q14524493
type Q337567
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', [{'concept': 'Q14524493'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?j ) { ( ontology:Q14524493 ) ( ontology:Q337567 ) } . ?z rdf:type ?j } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q18713957 property:P180 ?r . { { ?r rdf:type ontology:Q14524493 } UNION { ?r rdf:type ontology:Q337567 } } } } . FILTER ( ?s > ?n ) }
Île Dorval Hudson River North to Croton Point Lake Winnipesaukee Lake Squam and the Sandwich Mountains Long Pond, Foot of Red Hill Landscape Mural Moonlight on Mount Lafayette, New Hampshire Storm King on the Hudson. 30 x 50 inches, watercolor on paper Sketch of the city of Konstanz The Vale of Ashburnham Lake Squam from Red Hill
11
action greater
action union
action find_tuple_counts
relation depicts
type painting
type terrain
action find_tuple_counts
relation depicts
type painting
type still waters
action count
action filter_multi_types
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation depicts
type terrain
type still waters
[{'concept': 'painting'}, 'depicts', [{'concept': 'terrain'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?s ) WHERE { VALUES ( ?j ) { ( ontology:terrain ) ( ontology:still_waters ) } . ?z rdf:type ?j } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:depicts ?r . { { ?r rdf:type ontology:terrain } UNION { ?r rdf:type ontology:still_waters } } } } . FILTER ( ?s > ?n ) }
[]