Simple Question (Direct)
Simple Question
Q5336566
P21
Q290
USER
Which sex does Eddie White have ?
(Q5336566,P21,c(Q290))
action filter_type
action find
entity Q5336566
relation P21
type Q290
['Q5336566', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q5336566 property:P21 ?s . ?s rdf:type ontology:Q290 }
Eddie White
action filter_type
action find
entity Eddie White
relation gender
type sex
['Eddie White', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Eddie_White property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5336566,P21,c(Q290))
action filter_type
action find
entity Q5336566
relation P21
type Q290
Eddie White has a [ANSWER]
['Q5336566', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q5336566 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Eddie White has a male
male
action filter_type
action find
entity Eddie White
relation gender
type sex
['Eddie White', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Eddie_White property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5336566
P106
Q12737077
USER
What are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q5336566
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q5336566 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Eddie White
action filter_type
action find
entity Eddie White
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Eddie_White property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q5336566
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q5336566 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
association football manager association football player
The professions of that person are association football manager and association football player
association football manager association football player
action filter_type
action find
entity Eddie White
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Eddie_White property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5336566
P641
Q349
USER
Which sport did Eddie White participate in ?
(Q5336566,P641,c(Q349))
action filter_type
action find
entity Q5336566
relation P641
type Q349
['Q5336566', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q5336566 property:P641 ?q }
Eddie White
action filter_type
action find
entity Eddie White
relation sport
type sport
['Eddie White', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:Eddie_White property:sport ?q }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5336566,P641,c(Q349))
action filter_type
action find
entity Q5336566
relation P641
type Q349
Eddie White participated in [ANSWER]
['Q5336566', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q349 . resource:Q5336566 property:P641 ?q }
association football
Eddie White participated in association football
association football
action filter_type
action find
entity Eddie White
relation sport
type sport
['Eddie White', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sport . resource:Eddie_White property:sport ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6786393
Q349
USER
And how about Matej Jelić?
(Q6786393,P641,c(Q349))
action filter_type
action find
entity Q6786393
relation P641
type Q349
['Q6786393', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q6786393 property:P641 ?x . ?x rdf:type ontology:Q349 }
Matej Jelić
action filter_type
action find
entity Matej Jelić
relation sport
type sport
['Matej Jelić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Matej_Jelić property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6786393,P641,c(Q349))
action filter_type
action find
entity Q6786393
relation P641
type Q349
[ANSWER]
['Q6786393', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q6786393 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Matej Jelić
relation sport
type sport
['Matej Jelić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Matej_Jelić property:sport ?x . ?x rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1125081 Q6786393
P27
Q15617994
USER
Which administrative territories do Matej Jelić or Ivan Palec belong to ?
OR((Q6786393,P27,c(Q15617994)), (Q1125081,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6786393
relation P27
action find
entity Q1125081
relation P27
type Q15617994
{'OR': [['Q6786393', 'P27', {'concept': 'Q15617994'}], ['Q1125081', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q6786393 property:P27 ?k } UNION { resource:Q1125081 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Ivan Palec Matej Jelić
action filter_type
action union
action find
entity Matej Jelić
relation country of citizenship
action find
entity Ivan Palec
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Matej Jelić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ivan Palec', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Matej_Jelić property:country_of_citizenship ?k } UNION { resource:Ivan_Palec property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q224
SYSTEM
Czech Republic, Croatia
Q213 Q224
OR((Q6786393,P27,c(Q15617994)), (Q1125081,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6786393
relation P27
action find
entity Q1125081
relation P27
type Q15617994
Matej Jelić or Ivan Palec belong to the [ANSWERS]
{'OR': [['Q6786393', 'P27', {'concept': 'Q15617994'}], ['Q1125081', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q6786393 property:P27 ?k } UNION { resource:Q1125081 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Czech Republic Croatia
Matej Jelić or Ivan Palec belong to the Czech Republic and Croatia
Czech Republic Croatia
action filter_type
action union
action find
entity Matej Jelić
relation country of citizenship
action find
entity Ivan Palec
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Matej Jelić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ivan Palec', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Matej_Jelić property:country_of_citizenship ?k } UNION { resource:Ivan_Palec property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic associations with those administrative territories ?
(Q183,P530,Q213) (Q183,P530,Q224)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q213'] ['Q183', 'P530', 'Q224']
ASK WHERE { VALUES ( ?t ) { ( resource:Q213 ) ( resource:Q224 ) } . resource:Q183 property:P530 ?t }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Czech Republic'] ['Germany', 'diplomatic relation', 'Croatia']
ASK WHERE { VALUES ( ?t ) { ( resource:Czech_Republic ) ( resource:Croatia ) } . resource:Germany property:diplomatic_relation ?t }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q213) (Q183,P530,Q224)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q213'] ['Q183', 'P530', 'Q224']
ASK WHERE { VALUES ( ?t ) { ( resource:Q213 ) ( resource:Q224 ) } . resource:Q183 property:P530 ?t }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Czech Republic'] ['Germany', 'diplomatic relation', 'Croatia']
ASK WHERE { VALUES ( ?t ) { ( resource:Czech_Republic ) ( resource:Croatia ) } . resource:Germany property:diplomatic_relation ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213
P1532
Q502895
USER
Who represent Czech Republic ?
(c(Q502895),P1532,Q213)
action filter_type
action find_reverse
entity Q213
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q213']
SELECT DISTINCT ?w WHERE { ?w property:P1532 resource:Q213 . ?w rdf:type ontology:Q502895 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Czech Republic']
SELECT DISTINCT ?w WHERE { ?w property:country_for_sport resource:Czech_Republic . ?w rdf:type ontology:common_name }
[]
common name
Q4767410 Q19630970 Q17275699
SYSTEM
Anna Pichrtová, Patrik Šorm, Kristiina Mäki
Q17275699 Q19630970 Q25933029 Q4767410
(c(Q502895),P1532,Q213)
action filter_type
action find_reverse
entity Q213
relation P1532
type Q502895
The [ANSWERS] represent Czech Republic
[{'concept': 'Q502895'}, 'P1532', 'Q213']
SELECT DISTINCT ?w WHERE { ?w property:P1532 resource:Q213 . ?w rdf:type ontology:Q502895 }
Kristiina Mäki Patrik Šorm Lucie Koudelová Anna Pichrtová
The Anna Pichrtová, Patrik Šorm and Kristiina Mäki represent Czech Republic
Anna Pichrtová Patrik Šorm Kristiina Mäki
action filter_type
action find_reverse
entity Czech Republic
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Czech Republic']
SELECT DISTINCT ?w WHERE { ?w property:country_for_sport resource:Czech_Republic . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4767410 Q19630970 Q17275699
P21
Q290
USER
What are the sex of Anna Pichrtová, Patrik Šorm and Kristiina Mäki ?
(Q4767410,P21,c(Q290)) (Q19630970,P21,c(Q290)) (Q17275699,P21,c(Q290))
action union
action filter_type
action find
entity Q4767410
relation P21
type Q290
action filter_type
action find
entity Q19630970
relation P21
type Q290
action filter_type
action find
entity Q17275699
relation P21
type Q290
['Q4767410', 'P21', {'concept': 'Q290'}] ['Q19630970', 'P21', {'concept': 'Q290'}] ['Q17275699', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?l property:P21 ?v . VALUES ( ?l ) { ( resource:Q4767410 ) ( resource:Q19630970 ) } }
Anna Pichrtová Patrik Šorm Kristiina Mäki
action union
action filter_type
action find
entity Anna Pichrtová
relation gender
type sex
action filter_type
action find
entity Patrik Šorm
relation gender
type sex
action filter_type
action find
entity Kristiina Mäki
relation gender
type sex
['Anna Pichrtová', 'gender', {'concept': 'sex'}] ['Patrik Šorm', 'gender', {'concept': 'sex'}] ['Kristiina Mäki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?l property:gender ?v . VALUES ( ?l ) { ( resource:Anna_Pichrtová ) ( resource:Patrik_Šorm ) } }
[]
sex
Q6581072 Q6581097 Q6581072
SYSTEM
male for 2nd, female for 1st, 3rd
Q6581072 Q6581097 Q6581072
(Q4767410,P21,c(Q290)) (Q19630970,P21,c(Q290)) (Q17275699,P21,c(Q290))
action union
action filter_type
action find
entity Q4767410
relation P21
type Q290
action filter_type
action find
entity Q19630970
relation P21
type Q290
action filter_type
action find
entity Q17275699
relation P21
type Q290
[ANSWERS]
['Q4767410', 'P21', {'concept': 'Q290'}] ['Q19630970', 'P21', {'concept': 'Q290'}] ['Q17275699', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?l property:P21 ?v . VALUES ( ?l ) { ( resource:Q4767410 ) ( resource:Q19630970 ) } }
female male female
The sex of Anna Pichrtová , Patrik Šorm and Kristiina Mäki are all female, male and female
female male female
action union
action filter_type
action find
entity Anna Pichrtová
relation gender
type sex
action filter_type
action find
entity Patrik Šorm
relation gender
type sex
action filter_type
action find
entity Kristiina Mäki
relation gender
type sex
['Anna Pichrtová', 'gender', {'concept': 'sex'}] ['Patrik Šorm', 'gender', {'concept': 'sex'}] ['Kristiina Mäki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?l property:gender ?v . VALUES ( ?l ) { ( resource:Anna_Pichrtová ) ( resource:Patrik_Šorm ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4767410
P1344
Q13406554
USER
What did that person participate in ?
(Q4767410,P1344,c(Q13406554))
action filter_type
action find
entity Q4767410
relation P1344
type Q13406554
['Q4767410', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?o WHERE { resource:Q4767410 property:P1344 ?o . ?o rdf:type ontology:Q13406554 }
Anna Pichrtová
action filter_type
action find
entity Anna Pichrtová
relation participant of
type sport competition
['Anna Pichrtová', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?o WHERE { resource:Anna_Pichrtová property:participant_of ?o . ?o rdf:type ontology:sport_competition }
[]
sport competition
Clarification for simple ques.
Q4767410
SYSTEM
Did you mean Anna Pichrtová ?
Q6581072 Q6581097 Q6581072
(Q6581072,P1344,c(Q13406554)) (Q6581097,P1344,c(Q13406554)) (Q6581072,P1344,c(Q13406554))
[ANSWER]
['Q6581072', 'P1344', {'concept': 'Q13406554'}] ['Q6581097', 'P1344', {'concept': 'Q13406554'}] ['Q6581072', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?o WHERE { resource:Q4767410 property:P1344 ?o . ?o rdf:type ontology:Q13406554 }
female male female
Did you mean Anna Pichrtová ?
Anna Pichrtová
['female', 'participant of', {'concept': 'sport competition'}] ['male', 'participant of', {'concept': 'sport competition'}] ['female', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?o WHERE { resource:Anna_Pichrtová property:participant_of ?o . ?o rdf:type ontology:sport_competition }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4767410,P1344,c(Q13406554))
['Q4767410', 'P1344', {'concept': 'Q13406554'}]
['Anna Pichrtová', 'participant of', {'concept': 'sport competition'}]
[]
Q263403 Q630307
SYSTEM
2003 World Championships in Athletics, 2005 World Championships in Athletics
Q263403 Q630307
(Q4767410,P1344,c(Q13406554))
action filter_type
action find
entity Q4767410
relation P1344
type Q13406554
That person participated in [ANSWERS]
['Q4767410', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ?o WHERE { resource:Q4767410 property:P1344 ?o . ?o rdf:type ontology:Q13406554 }
2003 World Championships in Athletics 2005 World Championships in Athletics
That person participated in 2003 World Championships in Athletics and 2005 World Championships in Athletics
2003 World Championships in Athletics 2005 World Championships in Athletics
action filter_type
action find
entity Anna Pichrtová
relation participant of
type sport competition
['Anna Pichrtová', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ?o WHERE { resource:Anna_Pichrtová property:participant_of ?o . ?o rdf:type ontology:sport_competition }
[]