Simple Question (Direct)
Simple Question
Q1405299
P641
Q349
USER
What did Stevan Ostojić participate in ?
(Q1405299,P641,c(Q349))
action filter_type
action find
entity Q1405299
relation P641
type Q349
['Q1405299', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q1405299 property:P641 ?k . ?k rdf:type ontology:Q349 }
Stevan Ostojić
action filter_type
action find
entity Stevan Ostojić
relation sport
type sport
['Stevan Ostojić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Stevan_Ostojić property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1405299,P641,c(Q349))
action filter_type
action find
entity Q1405299
relation P641
type Q349
Stevan Ostojić participated in [ANSWER]
['Q1405299', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q1405299 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Stevan Ostojić participated in association football
association football
action filter_type
action find
entity Stevan Ostojić
relation sport
type sport
['Stevan Ostojić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Stevan_Ostojić property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1405299
P21
Q290
USER
Which sex does Stevan Ostojić have ?
(Q1405299,P21,c(Q290))
action filter_type
action find
entity Q1405299
relation P21
type Q290
['Q1405299', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q1405299 property:P21 ?z }
Stevan Ostojić
action filter_type
action find
entity Stevan Ostojić
relation gender
type sex
['Stevan Ostojić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Stevan_Ostojić property:gender ?z }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1405299,P21,c(Q290))
action filter_type
action find
entity Q1405299
relation P21
type Q290
Stevan Ostojić has 1 [ANSWER]
['Q1405299', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q1405299 property:P21 ?z }
male
Stevan Ostojić has 1 male
male
action filter_type
action find
entity Stevan Ostojić
relation gender
type sex
['Stevan Ostojić', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Stevan_Ostojić property:gender ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15968628
Q290
USER
And how about Guillaume-Stanislas Faure?
(Q15968628,P21,c(Q290))
action filter_type
action find
entity Q15968628
relation P21
type Q290
['Q15968628', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q15968628 property:P21 ?o . ?o rdf:type ontology:Q290 }
Guillaume-Stanislas Faure
action filter_type
action find
entity Guillaume-Stanislas Faure
relation gender
type sex
['Guillaume-Stanislas Faure', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Guillaume-Stanislas_Faure property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15968628,P21,c(Q290))
action filter_type
action find
entity Q15968628
relation P21
type Q290
[ANSWER]
['Q15968628', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q15968628 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Guillaume-Stanislas Faure
relation gender
type sex
['Guillaume-Stanislas Faure', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Guillaume-Stanislas_Faure property:gender ?o . ?o rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q3762246
P21
Q502895
USER
Is Giacomo Randazzo a that sex ?
(Q3762246,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3762246
relation P21
['Q3762246', 'P21', 'Q6581097']
ASK WHERE { resource:Q3762246 property:P21 resource:Q6581097 }
male Giacomo Randazzo
action is_in
entity male
action find
entity Giacomo Randazzo
relation gender
['Giacomo Randazzo', 'gender', 'male']
ASK WHERE { resource:Giacomo_Randazzo property:gender resource:male }
[]
common name
SYSTEM
YES
(Q3762246,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3762246
relation P21
[ANSWER]
['Q3762246', 'P21', 'Q6581097']
ASK WHERE { resource:Q3762246 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Giacomo Randazzo
relation gender
['Giacomo Randazzo', 'gender', 'male']
ASK WHERE { resource:Giacomo_Randazzo property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1405299 Q937857
P106
Q12737077
USER
Is association football player the job of Stevan Ostojić ?
(Q1405299,P106,Q937857)
action is_in
entity Q937857
action find
entity Q1405299
relation P106
['Q1405299', 'P106', 'Q937857']
ASK WHERE { resource:Q1405299 property:P106 resource:Q937857 }
Stevan Ostojić association football player
action is_in
entity association football player
action find
entity Stevan Ostojić
relation occupation
['Stevan Ostojić', 'occupation', 'association football player']
ASK WHERE { resource:Stevan_Ostojić property:occupation resource:association_football_player }
[]
occupation
SYSTEM
YES
(Q1405299,P106,Q937857)
action is_in
entity Q937857
action find
entity Q1405299
relation P106
[ANSWER]
['Q1405299', 'P106', 'Q937857']
ASK WHERE { resource:Q1405299 property:P106 resource:Q937857 }
Yes
action is_in
entity association football player
action find
entity Stevan Ostojić
relation occupation
['Stevan Ostojić', 'occupation', 'association football player']
ASK WHERE { resource:Stevan_Ostojić property:occupation resource:association_football_player }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2849008 Q1405299
P106
Q12737077
USER
Which occupations are the professions of Stevan Ostojić or Andrés Courreges ?
OR((Q1405299,P106,c(Q12737077)), (Q2849008,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1405299
relation P106
action find
entity Q2849008
relation P106
type Q12737077
{'OR': [['Q1405299', 'P106', {'concept': 'Q12737077'}], ['Q2849008', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { ?j property:P106 ?u . VALUES ( ?j ) { ( resource:Q1405299 ) ( resource:Q2849008 ) } } . ?u rdf:type ontology:Q12737077 }
Andrés Courreges Stevan Ostojić
action filter_type
action union
action find
entity Stevan Ostojić
relation occupation
action find
entity Andrés Courreges
relation occupation
type occupation
{'OR': [['Stevan Ostojić', 'occupation', {'concept': 'occupation'}], ['Andrés Courreges', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { ?j property:occupation ?u . VALUES ( ?j ) { ( resource:Stevan_Ostojić ) ( resource:Andrés_Courreges ) } } . ?u rdf:type ontology:occupation }
[]
occupation
Q14089670 Q628099 Q937857
SYSTEM
rugby union player, association football manager, association football player
Q14089670 Q628099 Q937857
OR((Q1405299,P106,c(Q12737077)), (Q2849008,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1405299
relation P106
action find
entity Q2849008
relation P106
type Q12737077
[ANSWERS] are the professions of Stevan Ostojić or Andrés Courreges
{'OR': [['Q1405299', 'P106', {'concept': 'Q12737077'}], ['Q2849008', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { ?j property:P106 ?u . VALUES ( ?j ) { ( resource:Q1405299 ) ( resource:Q2849008 ) } } . ?u rdf:type ontology:Q12737077 }
rugby union player association football manager association football player
Rugby union player, association football manager and association football player are the professions of Stevan Ostojić or Andrés Courreges
rugby union player association football manager association football player
action filter_type
action union
action find
entity Stevan Ostojić
relation occupation
action find
entity Andrés Courreges
relation occupation
type occupation
{'OR': [['Stevan Ostojić', 'occupation', {'concept': 'occupation'}], ['Andrés Courreges', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { ?j property:occupation ?u . VALUES ( ?j ) { ( resource:Stevan_Ostojić ) ( resource:Andrés_Courreges ) } } . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1405299
P54
Q1194951
USER
What is Stevan Ostojić a member of ?
(Q1405299,P54,c(Q1194951))
action filter_type
action find
entity Q1405299
relation P54
type Q1194951
['Q1405299', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { resource:Q1405299 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Stevan Ostojić
action filter_type
action find
entity Stevan Ostojić
relation member of sports team
type national sports team
['Stevan Ostojić', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { resource:Stevan_Ostojić property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
national sports team
Q188363
SYSTEM
Yugoslavia national football team
Q188363
(Q1405299,P54,c(Q1194951))
action filter_type
action find
entity Q1405299
relation P54
type Q1194951
Stevan Ostojić a member of is former [ANSWER]
['Q1405299', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { resource:Q1405299 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Yugoslavia national football team
Stevan Ostojić a member of is former Yugoslavia national football team
Yugoslavia national football team
action filter_type
action find
entity Stevan Ostojić
relation member of sports team
type national sports team
['Stevan Ostojić', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { resource:Stevan_Ostojić property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]