Simple Question (Direct)
Simple Question
Q4715068
P21
Q290
USER
What is the sex of Aleksandr Bodrov ?
(Q4715068,P21,c(Q290))
action filter_type
action find
entity Q4715068
relation P21
type Q290
['Q4715068', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q4715068 property:P21 ?s . ?s rdf:type ontology:Q290 }
Aleksandr Bodrov
action filter_type
action find
entity Aleksandr Bodrov
relation gender
type sex
['Aleksandr Bodrov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Aleksandr_Bodrov property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4715068,P21,c(Q290))
action filter_type
action find
entity Q4715068
relation P21
type Q290
The sex of Aleksandr Bodrov is the [ANSWER]
['Q4715068', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q4715068 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
The sex of Aleksandr Bodrov is the male
male
action filter_type
action find
entity Aleksandr Bodrov
relation gender
type sex
['Aleksandr Bodrov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Aleksandr_Bodrov property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4715068
P641
Q349
USER
What did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q4715068
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q4715068 property:P641 ?d }
Aleksandr Bodrov
action filter_type
action find
entity Aleksandr Bodrov
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Aleksandr_Bodrov property:sport ?d }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q4715068
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q4715068 property:P641 ?d }
association football
That person participated in association football
association football
action filter_type
action find
entity Aleksandr Bodrov
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Aleksandr_Bodrov property:sport ?d }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q18206434 Q4715068
P641
Q349
USER
Or Juan Ignacio Domínguez Gil?
OR((Q4715068,P641,c(Q349)), (Q18206434,P641,c(Q349)))
action filter_type
action union
action find
entity Q4715068
relation P641
action find
entity Q18206434
relation P641
type Q349
{'OR': [['Q4715068', 'P641', {'concept': 'Q349'}], ['Q18206434', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q4715068 property:P641 ?t } UNION { resource:Q18206434 property:P641 ?t } } . ?t rdf:type ontology:Q349 }
Juan Ignacio Domínguez Gil Aleksandr Bodrov
action filter_type
action union
action find
entity Aleksandr Bodrov
relation sport
action find
entity Juan Ignacio Domínguez Gil
relation sport
type sport
{'OR': [['Aleksandr Bodrov', 'sport', {'concept': 'sport'}], ['Juan Ignacio Domínguez Gil', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Aleksandr_Bodrov property:sport ?t } UNION { resource:Juan_Ignacio_Domínguez_Gil property:sport ?t } } . ?t rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q4715068,P641,c(Q349)), (Q18206434,P641,c(Q349)))
action filter_type
action union
action find
entity Q4715068
relation P641
action find
entity Q18206434
relation P641
type Q349
[ANSWER]
{'OR': [['Q4715068', 'P641', {'concept': 'Q349'}], ['Q18206434', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q4715068 property:P641 ?t } UNION { resource:Q18206434 property:P641 ?t } } . ?t rdf:type ontology:Q349 }
association football
association football
action filter_type
action union
action find
entity Aleksandr Bodrov
relation sport
action find
entity Juan Ignacio Domínguez Gil
relation sport
type sport
{'OR': [['Aleksandr Bodrov', 'sport', {'concept': 'sport'}], ['Juan Ignacio Domínguez Gil', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Aleksandr_Bodrov property:sport ?t } UNION { resource:Juan_Ignacio_Domínguez_Gil property:sport ?t } } . ?t rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8196941 Q4715068
P106
Q12737077
USER
Which occupations have Aleksandr Bodrov or Amadeo Marco Ilincheta as his/her as a career ?
OR((Q4715068,P106,c(Q12737077)), (Q8196941,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4715068
relation P106
action find
entity Q8196941
relation P106
type Q12737077
{'OR': [['Q4715068', 'P106', {'concept': 'Q12737077'}], ['Q8196941', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q4715068 property:P106 ?l } UNION { resource:Q8196941 property:P106 ?l } } . ?l rdf:type ontology:Q12737077 }
Amadeo Marco Ilincheta Aleksandr Bodrov
action filter_type
action union
action find
entity Aleksandr Bodrov
relation occupation
action find
entity Amadeo Marco Ilincheta
relation occupation
type occupation
{'OR': [['Aleksandr Bodrov', 'occupation', {'concept': 'occupation'}], ['Amadeo Marco Ilincheta', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Aleksandr_Bodrov property:occupation ?l } UNION { resource:Amadeo_Marco_Ilincheta property:occupation ?l } } . ?l rdf:type ontology:occupation }
[]
occupation
Q628099 Q82955 Q937857
SYSTEM
association football manager, politician, association football player
Q628099 Q82955 Q937857
OR((Q4715068,P106,c(Q12737077)), (Q8196941,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4715068
relation P106
action find
entity Q8196941
relation P106
type Q12737077
[ANSWERS] have Aleksandr Bodrov or Amadeo Marco Ilincheta as his/her as a career
{'OR': [['Q4715068', 'P106', {'concept': 'Q12737077'}], ['Q8196941', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q4715068 property:P106 ?l } UNION { resource:Q8196941 property:P106 ?l } } . ?l rdf:type ontology:Q12737077 }
association football manager politician association football player
Association football manager, politician and association football player have Aleksandr Bodrov or Amadeo Marco Ilincheta as his/her as a career
association football manager politician association football player
action filter_type
action union
action find
entity Aleksandr Bodrov
relation occupation
action find
entity Amadeo Marco Ilincheta
relation occupation
type occupation
{'OR': [['Aleksandr Bodrov', 'occupation', {'concept': 'occupation'}], ['Amadeo Marco Ilincheta', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Aleksandr_Bodrov property:occupation ?l } UNION { resource:Amadeo_Marco_Ilincheta property:occupation ?l } } . ?l rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q178649
P106
Q502895
USER
Do Romário have the profession as those occupations ?
(Q178649,P106,Q628099) (Q178649,P106,Q82955) (Q178649,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q178649
relation P106
['Q178649', 'P106', 'Q628099'] ['Q178649', 'P106', 'Q82955'] ['Q178649', 'P106', 'Q937857']
ASK WHERE { resource:Q178649 property:P106 ?r . VALUES ( ?r ) { ( resource:Q628099 ) ( resource:Q82955 ) ( resource:Q937857 ) } }
Romário
action is_in
entity prev_answer
action find
entity Romário
relation occupation
['Romário', 'occupation', 'association football manager'] ['Romário', 'occupation', 'politician'] ['Romário', 'occupation', 'association football player']
ASK WHERE { resource:Romário property:occupation ?r . VALUES ( ?r ) { ( resource:association_football_manager ) ( resource:politician ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
YES
(Q178649,P106,Q628099) (Q178649,P106,Q82955) (Q178649,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q178649
relation P106
[ANSWER]
['Q178649', 'P106', 'Q628099'] ['Q178649', 'P106', 'Q82955'] ['Q178649', 'P106', 'Q937857']
ASK WHERE { resource:Q178649 property:P106 ?r . VALUES ( ?r ) { ( resource:Q628099 ) ( resource:Q82955 ) ( resource:Q937857 ) } }
Yes
action is_in
entity prev_answer
action find
entity Romário
relation occupation
['Romário', 'occupation', 'association football manager'] ['Romário', 'occupation', 'politician'] ['Romário', 'occupation', 'association football player']
ASK WHERE { resource:Romário property:occupation ?r . VALUES ( ?r ) { ( resource:association_football_manager ) ( resource:politician ) ( resource:association_football_player ) } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17818632
Q502895
USER
And also tell me about George J. G. Cheyne?
(Q17818632,P101,c(Q502895))
action filter_type
action find
entity Q17818632
relation P101
type Q502895
['Q17818632', 'P101', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q17818632 property:P101 ?d . ?d rdf:type ontology:Q502895 }
George J. G. Cheyne
action filter_type
action find
entity George J. G. Cheyne
relation field of work
type common name
['George J. G. Cheyne', 'field of work', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:George_J._G._Cheyne property:field_of_work ?d . ?d rdf:type ontology:common_name }
[]
common name
Q965602
SYSTEM
Joaquín Costa
Q965602
(Q17818632,P101,c(Q502895))
action filter_type
action find
entity Q17818632
relation P101
type Q502895
[ANSWER]
['Q17818632', 'P101', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q17818632 property:P101 ?d . ?d rdf:type ontology:Q502895 }
Joaquín Costa
Joaquín Costa
action filter_type
action find
entity George J. G. Cheyne
relation field of work
type common name
['George J. G. Cheyne', 'field of work', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:George_J._G._Cheyne property:field_of_work ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q650184
P136
Q151885
USER
What can be considered as category for Eiji Oue ?
(Q650184,P136,c(Q151885))
action filter_type
action find
entity Q650184
relation P136
type Q151885
['Q650184', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q650184 property:P136 ?v . ?v rdf:type ontology:Q151885 }
Eiji Oue
action filter_type
action find
entity Eiji Oue
relation genre
type concept
['Eiji Oue', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Eiji_Oue property:genre ?v . ?v rdf:type ontology:concept }
[]
concept
Q9730
SYSTEM
classical music
Q9730
(Q650184,P136,c(Q151885))
action filter_type
action find
entity Q650184
relation P136
type Q151885
And [ANSWER] can be considered as category for Eiji Oue
['Q650184', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?v WHERE { resource:Q650184 property:P136 ?v . ?v rdf:type ontology:Q151885 }
classical music
And classical music can be considered as category for Eiji Oue
classical music
action filter_type
action find
entity Eiji Oue
relation genre
type concept
['Eiji Oue', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?v WHERE { resource:Eiji_Oue property:genre ?v . ?v rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q965602
P1038
Q502895
USER
Who is a kin of Joaquín Costa ?
(c(Q502895),P1038,Q965602)
action filter_type
action find_reverse
entity Q965602
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q965602']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P1038 resource:Q965602 }
Joaquín Costa
action filter_type
action find_reverse
entity Joaquín Costa
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Joaquín Costa']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:relative resource:Joaquín_Costa }
[]
common name
Q21209384
SYSTEM
Pedro Martínez Baselga
Q21209384
(c(Q502895),P1038,Q965602)
action filter_type
action find_reverse
entity Q965602
relation P1038
type Q502895
A kin of Joaquín Costa is of [ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q965602']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P1038 resource:Q965602 }
Pedro Martínez Baselga
A kin of Joaquín Costa is of Pedro Martínez Baselga
Pedro Martínez Baselga
action filter_type
action find_reverse
entity Joaquín Costa
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Joaquín Costa']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:relative resource:Joaquín_Costa }
[]