Simple Question (Direct)
Simple Question
Q2897724
P106
Q12737077
USER
Which occupation is the profession of Bernard Coutaz ?
(Q2897724,P106,c(Q12737077))
action filter_type
action find
entity Q2897724
relation P106
type Q12737077
['Q2897724', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q2897724 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Bernard Coutaz
action filter_type
action find
entity Bernard Coutaz
relation occupation
type occupation
['Bernard Coutaz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Bernard_Coutaz property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q1930187
SYSTEM
journalist
Q1930187
(Q2897724,P106,c(Q12737077))
action filter_type
action find
entity Q2897724
relation P106
type Q12737077
The [ANSWER] is the profession of Bernard Coutaz
['Q2897724', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q2897724 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
journalist
The journalist is the profession of Bernard Coutaz
journalist
action filter_type
action find
entity Bernard Coutaz
relation occupation
type occupation
['Bernard Coutaz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Bernard_Coutaz property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2897724
P21
Q290
USER
What is the sex of Bernard Coutaz ?
(Q2897724,P21,c(Q290))
action filter_type
action find
entity Q2897724
relation P21
type Q290
['Q2897724', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q2897724 property:P21 ?u . ?u rdf:type ontology:Q290 }
Bernard Coutaz
action filter_type
action find
entity Bernard Coutaz
relation gender
type sex
['Bernard Coutaz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Bernard_Coutaz property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2897724,P21,c(Q290))
action filter_type
action find
entity Q2897724
relation P21
type Q290
The sex of Bernard Coutaz is the [ANSWER]
['Q2897724', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q2897724 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
The sex of Bernard Coutaz is the male
male
action filter_type
action find
entity Bernard Coutaz
relation gender
type sex
['Bernard Coutaz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Bernard_Coutaz property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2897724
P136
Q151885
USER
What is the genre of that person ?
(Q6581097,P136,c(Q151885))
action filter_type
action find
entity Q2897724
relation P136
type Q151885
['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q2897724 property:P136 ?z . ?z rdf:type ontology:Q151885 }
Bernard Coutaz
action filter_type
action find
entity Bernard Coutaz
relation genre
type concept
['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Bernard_Coutaz property:genre ?z . ?z rdf:type ontology:concept }
[]
concept
Q9730
SYSTEM
classical music
Q9730
(Q6581097,P136,c(Q151885))
action filter_type
action find
entity Q2897724
relation P136
type Q151885
The genre of that person is a [ANSWER]
['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q2897724 property:P136 ?z . ?z rdf:type ontology:Q151885 }
classical music
The genre of that person is a classical music
classical music
action filter_type
action find
entity Bernard Coutaz
relation genre
type concept
['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Bernard_Coutaz property:genre ?z . ?z rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9730 Q3031562
P136
Q502895
USER
Does Flex-Deon Blake a that concept as its type ?
(Q3031562,P136,Q9730)
action is_in
entity Q3031562
action find
entity Q9730
relation P136
['Q3031562', 'P136', 'Q9730']
ASK WHERE { resource:Q9730 property:P136 resource:Q3031562 }
classical music Flex-Deon Blake
action is_in
entity Flex-Deon Blake
action find
entity classical music
relation genre
['Flex-Deon Blake', 'genre', 'classical music']
ASK WHERE { resource:classical_music property:genre resource:Flex-Deon_Blake }
[]
common name
SYSTEM
NO
(Q3031562,P136,Q9730)
action is_in
entity Q3031562
action find
entity Q9730
relation P136
[ANSWER]
['Q3031562', 'P136', 'Q9730']
ASK WHERE { resource:Q9730 property:P136 resource:Q3031562 }
No
action is_in
entity Flex-Deon Blake
action find
entity classical music
relation genre
['Flex-Deon Blake', 'genre', 'classical music']
ASK WHERE { resource:classical_music property:genre resource:Flex-Deon_Blake }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q2221906 Q107425 Q151885
USER
Which concepts are located in max number of geographic locations and landscapes ?
(c(Q151885),P706,c(Q2221906)|c(Q107425))
action argmax
action union
action find_tuple_counts
relation P706
type Q151885
type Q2221906
action find_tuple_counts
relation P706
type Q151885
type Q107425
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?l WHERE { { ?a rdf:type ontology:Q2221906 . ?l rdf:type ontology:Q151885 . ?l property:P706 ?a } UNION { ?l property:P706 ?a . ?l rdf:type ontology:Q151885 . ?a rdf:type ontology:Q107425 } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?h WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:Q2221906 ) ( ontology:Q107425 ) } } GROUP BY ?h } . FILTER ( ?w = ?e ) }
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
action find_tuple_counts
relation located on terrain feature
type concept
type landscape
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?l WHERE { { ?a rdf:type ontology:geographic_location . ?l rdf:type ontology:concept . ?l property:located_on_terrain_feature ?a } UNION { ?l property:located_on_terrain_feature ?a . ?l rdf:type ontology:concept . ?a rdf:type ontology:landscape } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?h WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:geographic_location ) ( ontology:landscape ) } } GROUP BY ?h } . FILTER ( ?w = ?e ) }
[]
geographic location landscape concept
Q756905 Q746287
SYSTEM
Gravettian, Oldowan
Q756905 Q746287
(c(Q151885),P706,c(Q2221906)|c(Q107425))
action argmax
action union
action find_tuple_counts
relation P706
type Q151885
type Q2221906
action find_tuple_counts
relation P706
type Q151885
type Q107425
[ANSWERS] are located in max number of geographic locations and landscapes
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?l WHERE { { ?a rdf:type ontology:Q2221906 . ?l rdf:type ontology:Q151885 . ?l property:P706 ?a } UNION { ?l property:P706 ?a . ?l rdf:type ontology:Q151885 . ?a rdf:type ontology:Q107425 } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?h WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:Q2221906 ) ( ontology:Q107425 ) } } GROUP BY ?h } . FILTER ( ?w = ?e ) }
Gravettian Oldowan
Gravettian and Oldowan are located in max number of geographic locations and landscapes
Gravettian Oldowan
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
action find_tuple_counts
relation located on terrain feature
type concept
type landscape
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?l WHERE { { ?a rdf:type ontology:geographic_location . ?l rdf:type ontology:concept . ?l property:located_on_terrain_feature ?a } UNION { ?l property:located_on_terrain_feature ?a . ?l rdf:type ontology:concept . ?a rdf:type ontology:landscape } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) ?h WHERE { ?f rdf:type ?q . VALUES ( ?q ) { ( ontology:geographic_location ) ( ontology:landscape ) } } GROUP BY ?h } . FILTER ( ?w = ?e ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2181064 Q3031562
P27
Q15617994
USER
Which administrative territories are the native countriesof Flex-Deon Blake or Gène Hanssen ?
OR((Q3031562,P27,c(Q15617994)), (Q2181064,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3031562
relation P27
action find
entity Q2181064
relation P27
type Q15617994
{'OR': [['Q3031562', 'P27', {'concept': 'Q15617994'}], ['Q2181064', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q2181064 property:P27 ?d } UNION { resource:Q3031562 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Gène Hanssen Flex-Deon Blake
action filter_type
action union
action find
entity Flex-Deon Blake
relation country of citizenship
action find
entity Gène Hanssen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Flex-Deon Blake', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gène Hanssen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Gène_Hanssen property:country_of_citizenship ?d } UNION { resource:Flex-Deon_Blake property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q29999
SYSTEM
United States of America, Kingdom of the Netherlands
Q30 Q29999
OR((Q3031562,P27,c(Q15617994)), (Q2181064,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3031562
relation P27
action find
entity Q2181064
relation P27
type Q15617994
[ANSWERS] are the native countriesof Flex-Deon Blake or Gène Hanssen
{'OR': [['Q3031562', 'P27', {'concept': 'Q15617994'}], ['Q2181064', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q2181064 property:P27 ?d } UNION { resource:Q3031562 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
United States of America Kingdom of the Netherlands
United States of America and Kingdom of the Netherlands are the native countriesof Flex-Deon Blake or Gène Hanssen
United States of America Kingdom of the Netherlands
action filter_type
action union
action find
entity Flex-Deon Blake
relation country of citizenship
action find
entity Gène Hanssen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Flex-Deon Blake', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gène Hanssen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Gène_Hanssen property:country_of_citizenship ?d } UNION { resource:Flex-Deon_Blake property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21288845
P27
Q502895
USER
Are Ernst Leyden a citizen of those administrative territories ?
(Q21288845,P27,Q30) (Q21288845,P27,Q29999)
action is_in
entity prev_answer
action find
entity Q21288845
relation P27
['Q21288845', 'P27', 'Q30'] ['Q21288845', 'P27', 'Q29999']
ASK WHERE { VALUES ( ?h ) { ( resource:Q30 ) ( resource:Q29999 ) } . resource:Q21288845 property:P27 ?h }
Ernst Leyden
action is_in
entity prev_answer
action find
entity Ernst Leyden
relation country of citizenship
['Ernst Leyden', 'country of citizenship', 'United States of America'] ['Ernst Leyden', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { VALUES ( ?h ) { ( resource:United_States_of_America ) ( resource:Kingdom_of_the_Netherlands ) } . resource:Ernst_Leyden property:country_of_citizenship ?h }
[]
common name
SYSTEM
YES
(Q21288845,P27,Q30) (Q21288845,P27,Q29999)
action is_in
entity prev_answer
action find
entity Q21288845
relation P27
[ANSWER]
['Q21288845', 'P27', 'Q30'] ['Q21288845', 'P27', 'Q29999']
ASK WHERE { VALUES ( ?h ) { ( resource:Q30 ) ( resource:Q29999 ) } . resource:Q21288845 property:P27 ?h }
Yes
action is_in
entity prev_answer
action find
entity Ernst Leyden
relation country of citizenship
['Ernst Leyden', 'country of citizenship', 'United States of America'] ['Ernst Leyden', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { VALUES ( ?h ) { ( resource:United_States_of_America ) ( resource:Kingdom_of_the_Netherlands ) } . resource:Ernst_Leyden property:country_of_citizenship ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P137
Q15056995
USER
Which aircraft model is the administrator of Kingdom of the Netherlands ?
(c(Q15056995),P137,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P137
type Q15056995
[{'concept': 'Q15056995'}, 'P137', 'Q29999']
SELECT DISTINCT ?l WHERE { ?l property:P137 resource:Q29999 . ?l rdf:type ontology:Q15056995 }
Kingdom of the Netherlands
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation operator
type aircraft model
[{'concept': 'aircraft model'}, 'operator', 'Kingdom of the Netherlands']
SELECT DISTINCT ?l WHERE { ?l property:operator resource:Kingdom_of_the_Netherlands . ?l rdf:type ontology:aircraft_model }
[]
aircraft model
Q17907664
SYSTEM
NA-27
Q17907664
(c(Q15056995),P137,Q29999)
action filter_type
action find_reverse
entity Q29999
relation P137
type Q15056995
[ANSWER] is the administrator of Kingdom of the Netherlands
[{'concept': 'Q15056995'}, 'P137', 'Q29999']
SELECT DISTINCT ?l WHERE { ?l property:P137 resource:Q29999 . ?l rdf:type ontology:Q15056995 }
NA-27
NA-27 is the administrator of Kingdom of the Netherlands
NA-27
action filter_type
action find_reverse
entity Kingdom of the Netherlands
relation operator
type aircraft model
[{'concept': 'aircraft model'}, 'operator', 'Kingdom of the Netherlands']
SELECT DISTINCT ?l WHERE { ?l property:operator resource:Kingdom_of_the_Netherlands . ?l rdf:type ontology:aircraft_model }
[]