Simple Question (Direct)
Simple Question
Q6097308
P641
Q349
USER
Which sport was Ivan Raychev a part of ?
(Q6097308,P641,c(Q349))
action filter_type
action find
entity Q6097308
relation P641
type Q349
['Q6097308', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q6097308 property:P641 ?y }
Ivan Raychev
action filter_type
action find
entity Ivan Raychev
relation sport
type sport
['Ivan Raychev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Ivan_Raychev property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6097308,P641,c(Q349))
action filter_type
action find
entity Q6097308
relation P641
type Q349
[ANSWER]
['Q6097308', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q6097308 property:P641 ?y }
association football
association football
action filter_type
action find
entity Ivan Raychev
relation sport
type sport
['Ivan Raychev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Ivan_Raychev property:sport ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6097308
P21
Q290
USER
What is the sex of Ivan Raychev ?
(Q6097308,P21,c(Q290))
action filter_type
action find
entity Q6097308
relation P21
type Q290
['Q6097308', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q6097308 property:P21 ?j . ?j rdf:type ontology:Q290 }
Ivan Raychev
action filter_type
action find
entity Ivan Raychev
relation gender
type sex
['Ivan Raychev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Ivan_Raychev property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6097308,P21,c(Q290))
action filter_type
action find
entity Q6097308
relation P21
type Q290
[ANSWER]
['Q6097308', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q6097308 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Ivan Raychev
relation gender
type sex
['Ivan Raychev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Ivan_Raychev property:gender ?j . ?j rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 4142 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4142
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 . ?r property:P1303 ?m } GROUP BY ?m } . FILTER ( ?d >= 4142 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4142
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument . ?r property:instrument ?m } GROUP BY ?m } . FILTER ( ?d >= 4142 ) }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4142
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 . ?r property:P1303 ?m } GROUP BY ?m } . FILTER ( ?d >= 4142 ) }
piano violin
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4142
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?d ) WHERE { ?r rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument . ?r property:instrument ?m } GROUP BY ?m } . FILTER ( ?d >= 4142 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2865302
P1303
Q502895
USER
Does Arthur Pougin play those musical instruments ?
(Q2865302,P1303,Q5994) (Q2865302,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q2865302
relation P1303
['Q2865302', 'P1303', 'Q5994'] ['Q2865302', 'P1303', 'Q8355']
ASK WHERE { VALUES ( ?h ) { ( resource:Q5994 ) ( resource:Q8355 ) } . resource:Q2865302 property:P1303 ?h }
Arthur Pougin
action is_in
entity prev_answer
action find
entity Arthur Pougin
relation instrument
['Arthur Pougin', 'instrument', 'piano'] ['Arthur Pougin', 'instrument', 'violin']
ASK WHERE { VALUES ( ?h ) { ( resource:piano ) ( resource:violin ) } . resource:Arthur_Pougin property:instrument ?h }
[]
common name
SYSTEM
YES
(Q2865302,P1303,Q5994) (Q2865302,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q2865302
relation P1303
[ANSWER]
['Q2865302', 'P1303', 'Q5994'] ['Q2865302', 'P1303', 'Q8355']
ASK WHERE { VALUES ( ?h ) { ( resource:Q5994 ) ( resource:Q8355 ) } . resource:Q2865302 property:P1303 ?h }
Yes
action is_in
entity prev_answer
action find
entity Arthur Pougin
relation instrument
['Arthur Pougin', 'instrument', 'piano'] ['Arthur Pougin', 'instrument', 'violin']
ASK WHERE { VALUES ( ?h ) { ( resource:piano ) ( resource:violin ) } . resource:Arthur_Pougin property:instrument ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2865302
P106
Q12737077
USER
What are the job of that person ?
action filter_type
action find
entity Q2865302
relation P106
type Q12737077
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q2865302 property:P106 ?o }
Arthur Pougin
action filter_type
action find
entity Arthur Pougin
relation occupation
type occupation
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Arthur_Pougin property:occupation ?o }
[]
occupation
Q1930187 Q158852 Q20198542
SYSTEM
journalist, conductor, music historian
Q158852 Q1930187 Q20198542 Q1350157 Q486748 Q4263842 Q14915627
action filter_type
action find
entity Q2865302
relation P106
type Q12737077
[ANSWERS]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q2865302 property:P106 ?o }
conductor journalist music historian music critic pianist literary critic musicologist
journalist conductor music historian
action filter_type
action find
entity Arthur Pougin
relation occupation
type occupation
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Arthur_Pougin property:occupation ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2865302
P20
Q56061
USER
Where did that person expire ?
(Q1930187,P20,c(Q56061)) (Q158852,P20,c(Q56061)) (Q20198542,P20,c(Q56061))
action filter_type
action find
entity Q2865302
relation P20
type Q56061
['Q1930187', 'P20', {'concept': 'Q56061'}] ['Q158852', 'P20', {'concept': 'Q56061'}] ['Q20198542', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q2865302 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Arthur Pougin
action filter_type
action find
entity Arthur Pougin
relation place of death
type administrative territorial entity
['journalist', 'place of death', {'concept': 'administrative territorial entity'}] ['conductor', 'place of death', {'concept': 'administrative territorial entity'}] ['music historian', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Arthur_Pougin property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q1930187,P20,c(Q56061)) (Q158852,P20,c(Q56061)) (Q20198542,P20,c(Q56061))
action filter_type
action find
entity Q2865302
relation P20
type Q56061
[ANSWER]
['Q1930187', 'P20', {'concept': 'Q56061'}] ['Q158852', 'P20', {'concept': 'Q56061'}] ['Q20198542', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q2865302 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Paris
Paris
action filter_type
action find
entity Arthur Pougin
relation place of death
type administrative territorial entity
['journalist', 'place of death', {'concept': 'administrative territorial entity'}] ['conductor', 'place of death', {'concept': 'administrative territorial entity'}] ['music historian', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Arthur_Pougin property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2865302
P19
Q20667921
USER
Which french administrative division was Arthur Pougin born at ?
(Q2865302,P19,c(Q20667921))
action filter_type
action find
entity Q2865302
relation P19
type Q20667921
['Q2865302', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q2865302 property:P19 ?v . ?v rdf:type ontology:Q20667921 }
Arthur Pougin
action filter_type
action find
entity Arthur Pougin
relation place of birth
type type of french administrative division
['Arthur Pougin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Arthur_Pougin property:place_of_birth ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q174251
SYSTEM
Châteauroux
Q174251
(Q2865302,P19,c(Q20667921))
action filter_type
action find
entity Q2865302
relation P19
type Q20667921
[ANSWER]
['Q2865302', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q2865302 property:P19 ?v . ?v rdf:type ontology:Q20667921 }
Châteauroux
Châteauroux
action filter_type
action find
entity Arthur Pougin
relation place of birth
type type of french administrative division
['Arthur Pougin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Arthur_Pougin property:place_of_birth ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]