Simple Question (Direct)
Simple Question
Q3835102
P54
Q1194951
USER
Which national sports team is Liu Yu a member of ?
(Q3835102,P54,c(Q1194951))
action filter_type
action find
entity Q3835102
relation P54
type Q1194951
['Q3835102', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q3835102 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
Liu Yu
action filter_type
action find
entity Liu Yu
relation member of sports team
type national sports team
['Liu Yu', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Liu_Yu property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
national sports team
Q130582
SYSTEM
China PR national football team
Q130582
(Q3835102,P54,c(Q1194951))
action filter_type
action find
entity Q3835102
relation P54
type Q1194951
The [ANSWER] is Liu Yu a member of
['Q3835102', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q3835102 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
China PR national football team
The China PR national football team is Liu Yu a member of
China PR national football team
action filter_type
action find
entity Liu Yu
relation member of sports team
type national sports team
['Liu Yu', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Liu_Yu property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3835102
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q130582,P106,c(Q12737077))
action filter_type
action find
entity Q3835102
relation P106
type Q12737077
['Q130582', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3835102 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Liu Yu
action filter_type
action find
entity Liu Yu
relation occupation
type occupation
['China PR national football team', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Liu_Yu property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q130582,P106,c(Q12737077))
action filter_type
action find
entity Q3835102
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q130582', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3835102 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Liu Yu
relation occupation
type occupation
['China PR national football team', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Liu_Yu property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q827992 Q3835102
P39 P106
Q12737077
USER
Which occupations have Liu Yu as his/her as a career or were the positions occupied by Berthold Martin ?
OR((Q3835102,P106,c(Q12737077)), (Q827992,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q3835102
relation P106
action find
entity Q827992
relation P39
type Q12737077
{'OR': [['Q3835102', 'P106', {'concept': 'Q12737077'}], ['Q827992', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3835102 property:P106 ?y } UNION { resource:Q827992 property:P39 ?y } } . ?y rdf:type ontology:Q12737077 }
Berthold Martin Liu Yu
action filter_type
action union
action find
entity Liu Yu
relation occupation
action find
entity Berthold Martin
relation position held
type occupation
{'OR': [['Liu Yu', 'occupation', {'concept': 'occupation'}], ['Berthold Martin', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Liu_Yu property:occupation ?y } UNION { resource:Berthold_Martin property:position_held ?y } } . ?y rdf:type ontology:occupation }
[]
occupation
Q17519166 Q1939555 Q937857
SYSTEM
Member of the Hessian Parliament, member of the German Bundestag, association football player
Q17519166 Q1939555 Q937857
OR((Q3835102,P106,c(Q12737077)), (Q827992,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q3835102
relation P106
action find
entity Q827992
relation P39
type Q12737077
[ANSWERS] have Liu Yu as his/her as a career or were the positions occupied by Berthold Martin
{'OR': [['Q3835102', 'P106', {'concept': 'Q12737077'}], ['Q827992', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3835102 property:P106 ?y } UNION { resource:Q827992 property:P39 ?y } } . ?y rdf:type ontology:Q12737077 }
Member of the Hessian Parliament member of the German Bundestag association football player
Member of the Hessian Parliament, member of the German Bundestag and association football player have Liu Yu as his/her as a career or were the positions occupied by Berthold Martin
Member of the Hessian Parliament member of the German Bundestag association football player
action filter_type
action union
action find
entity Liu Yu
relation occupation
action find
entity Berthold Martin
relation position held
type occupation
{'OR': [['Liu Yu', 'occupation', {'concept': 'occupation'}], ['Berthold Martin', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Liu_Yu property:occupation ?y } UNION { resource:Berthold_Martin property:position_held ?y } } . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q827992
P512
Q849697
USER
Which doctoral degree does Berthold Martin hold ?
(Q17519166,P512,c(Q849697)) (Q1939555,P512,c(Q849697)) (Q937857,P512,c(Q849697))
action filter_type
action find
entity Q827992
relation P512
type Q849697
['Q17519166', 'P512', {'concept': 'Q849697'}] ['Q1939555', 'P512', {'concept': 'Q849697'}] ['Q937857', 'P512', {'concept': 'Q849697'}]
SELECT DISTINCT ?o WHERE { resource:Q827992 property:P512 ?o . ?o rdf:type ontology:Q849697 }
Berthold Martin
action filter_type
action find
entity Berthold Martin
relation academic degree
type doctoral degree
['Member of the Hessian Parliament', 'academic degree', {'concept': 'doctoral degree'}] ['member of the German Bundestag', 'academic degree', {'concept': 'doctoral degree'}] ['association football player', 'academic degree', {'concept': 'doctoral degree'}]
SELECT DISTINCT ?o WHERE { resource:Berthold_Martin property:academic_degree ?o . ?o rdf:type ontology:doctoral_degree }
[]
doctoral degree
Q913404
SYSTEM
Doctor of Medicine
Q913404
(Q17519166,P512,c(Q849697)) (Q1939555,P512,c(Q849697)) (Q937857,P512,c(Q849697))
action filter_type
action find
entity Q827992
relation P512
type Q849697
Berthold Martin holds a [ANSWER]
['Q17519166', 'P512', {'concept': 'Q849697'}] ['Q1939555', 'P512', {'concept': 'Q849697'}] ['Q937857', 'P512', {'concept': 'Q849697'}]
SELECT DISTINCT ?o WHERE { resource:Q827992 property:P512 ?o . ?o rdf:type ontology:Q849697 }
Doctor of Medicine
Berthold Martin holds a Doctor of Medicine
Doctor of Medicine
action filter_type
action find
entity Berthold Martin
relation academic degree
type doctoral degree
['Member of the Hessian Parliament', 'academic degree', {'concept': 'doctoral degree'}] ['member of the German Bundestag', 'academic degree', {'concept': 'doctoral degree'}] ['association football player', 'academic degree', {'concept': 'doctoral degree'}]
SELECT DISTINCT ?o WHERE { resource:Berthold_Martin property:academic_degree ?o . ?o rdf:type ontology:doctoral_degree }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q913404 Q2399315
P512
Q502895
USER
Is Leena Peltonen-Palotie the recepient of that one as academic degree ?
(Q2399315,P512,Q913404)
action is_in
entity Q913404
action find
entity Q2399315
relation P512
['Q2399315', 'P512', 'Q913404']
ASK WHERE { resource:Q2399315 property:P512 resource:Q913404 }
Doctor of Medicine Leena Peltonen-Palotie
action is_in
entity Doctor of Medicine
action find
entity Leena Peltonen-Palotie
relation academic degree
['Leena Peltonen-Palotie', 'academic degree', 'Doctor of Medicine']
ASK WHERE { resource:Leena_Peltonen-Palotie property:academic_degree resource:Doctor_of_Medicine }
[]
common name
SYSTEM
YES
(Q2399315,P512,Q913404)
action is_in
entity Q913404
action find
entity Q2399315
relation P512
[ANSWER]
['Q2399315', 'P512', 'Q913404']
ASK WHERE { resource:Q2399315 property:P512 resource:Q913404 }
Yes
action is_in
entity Doctor of Medicine
action find
entity Leena Peltonen-Palotie
relation academic degree
['Leena Peltonen-Palotie', 'academic degree', 'Doctor of Medicine']
ASK WHERE { resource:Leena_Peltonen-Palotie property:academic_degree resource:Doctor_of_Medicine }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24205413 Q3835102
P27
Q15617994
USER
Which administrative territories do Liu Yu or Constantin Tache belong to ?
OR((Q3835102,P27,c(Q15617994)), (Q24205413,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3835102
relation P27
action find
entity Q24205413
relation P27
type Q15617994
{'OR': [['Q3835102', 'P27', {'concept': 'Q15617994'}], ['Q24205413', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?s ) { ( resource:Q3835102 ) ( resource:Q24205413 ) } . ?s property:P27 ?i } . ?i rdf:type ontology:Q15617994 }
Constantin Tache Liu Yu
action filter_type
action union
action find
entity Liu Yu
relation country of citizenship
action find
entity Constantin Tache
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Liu Yu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Constantin Tache', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?s ) { ( resource:Liu_Yu ) ( resource:Constantin_Tache ) } . ?s property:country_of_citizenship ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q218
SYSTEM
People's Republic of China, Romania
Q148 Q218
OR((Q3835102,P27,c(Q15617994)), (Q24205413,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3835102
relation P27
action find
entity Q24205413
relation P27
type Q15617994
Liu Yu or Constantin Tache belong to the [ANSWERS]
{'OR': [['Q3835102', 'P27', {'concept': 'Q15617994'}], ['Q24205413', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?s ) { ( resource:Q3835102 ) ( resource:Q24205413 ) } . ?s property:P27 ?i } . ?i rdf:type ontology:Q15617994 }
People's Republic of China Romania
Liu Yu or Constantin Tache belong to the People's Republic of China and Romania
People's Republic of China Romania
action filter_type
action union
action find
entity Liu Yu
relation country of citizenship
action find
entity Constantin Tache
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Liu Yu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Constantin Tache', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?s ) { ( resource:Liu_Yu ) ( resource:Constantin_Tache ) } . ?s property:country_of_citizenship ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4427317
P530
Q1048835
USER
Do Sokolivka have ambassadorial relations with those administrative territories ?
(Q4427317,P530,Q148) (Q4427317,P530,Q218)
action is_in
entity prev_answer
action find
entity Q4427317
relation P530
['Q4427317', 'P530', 'Q148'] ['Q4427317', 'P530', 'Q218']
ASK WHERE { VALUES ( ?m ) { ( resource:Q148 ) ( resource:Q218 ) } . resource:Q4427317 property:P530 ?m }
Sokolivka
action is_in
entity prev_answer
action find
entity Sokolivka
relation diplomatic relation
['Sokolivka', 'diplomatic relation', "People's Republic of China"] ['Sokolivka', 'diplomatic relation', 'Romania']
ASK WHERE { VALUES ( ?m ) { ( resource:People's_Republic_of_China ) ( resource:Romania ) } . resource:Sokolivka property:diplomatic_relation ?m }
[]
political territorial entity
SYSTEM
NO
(Q4427317,P530,Q148) (Q4427317,P530,Q218)
action is_in
entity prev_answer
action find
entity Q4427317
relation P530
[ANSWER]
['Q4427317', 'P530', 'Q148'] ['Q4427317', 'P530', 'Q218']
ASK WHERE { VALUES ( ?m ) { ( resource:Q148 ) ( resource:Q218 ) } . resource:Q4427317 property:P530 ?m }
No
action is_in
entity prev_answer
action find
entity Sokolivka
relation diplomatic relation
['Sokolivka', 'diplomatic relation', "People's Republic of China"] ['Sokolivka', 'diplomatic relation', 'Romania']
ASK WHERE { VALUES ( ?m ) { ( resource:People's_Republic_of_China ) ( resource:Romania ) } . resource:Sokolivka property:diplomatic_relation ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1939555 Q373864
P17
Q1048835
USER
Is member of the German Bundestag present in Kotiuzhani ?
(Q1939555,P17,Q373864)
action is_in
entity Q373864
action find
entity Q1939555
relation P17
['Q1939555', 'P17', 'Q373864']
ASK WHERE { resource:Q1939555 property:P17 resource:Q373864 }
member of the German Bundestag Kotiuzhani
action is_in
entity Kotiuzhani
action find
entity member of the German Bundestag
relation country
['member of the German Bundestag', 'country', 'Kotiuzhani']
ASK WHERE { resource:member_of_the_German_Bundestag property:country resource:Kotiuzhani }
[]
political territorial entity
SYSTEM
NO
(Q1939555,P17,Q373864)
action is_in
entity Q373864
action find
entity Q1939555
relation P17
[ANSWER]
['Q1939555', 'P17', 'Q373864']
ASK WHERE { resource:Q1939555 property:P17 resource:Q373864 }
No
action is_in
entity Kotiuzhani
action find
entity member of the German Bundestag
relation country
['member of the German Bundestag', 'country', 'Kotiuzhani']
ASK WHERE { resource:member_of_the_German_Bundestag property:country resource:Kotiuzhani }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q130582 Q148
P1532
Q15617994
USER
Does China PR national football team represent People's Republic of China ?
(Q130582,P1532,Q148)
action is_in
entity Q148
action find
entity Q130582
relation P1532
['Q130582', 'P1532', 'Q148']
ASK WHERE { resource:Q130582 property:P1532 resource:Q148 }
China PR national football team People's Republic of China
action is_in
entity People's Republic of China
action find
entity China PR national football team
relation country for sport
['China PR national football team', 'country for sport', "People's Republic of China"]
ASK WHERE { resource:China_PR_national_football_team property:country_for_sport resource:People's_Republic_of_China }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q130582,P1532,Q148)
action is_in
entity Q148
action find
entity Q130582
relation P1532
[ANSWER]
['Q130582', 'P1532', 'Q148']
ASK WHERE { resource:Q130582 property:P1532 resource:Q148 }
Yes
action is_in
entity People's Republic of China
action find
entity China PR national football team
relation country for sport
['China PR national football team', 'country for sport', "People's Republic of China"]
ASK WHERE { resource:China_PR_national_football_team property:country_for_sport resource:People's_Republic_of_China }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q130582
P1344
Q15275719
USER
What did that national sports team participate in ?
action filter_type
action find
entity Q130582
relation P1344
type Q15275719
SELECT DISTINCT ?n WHERE { resource:Q130582 property:P1344 ?n . ?n rdf:type ontology:Q15275719 }
China PR national football team
action filter_type
action find
entity China PR national football team
relation participant of
type recurring event
SELECT DISTINCT ?n WHERE { resource:China_PR_national_football_team property:participant_of ?n . ?n rdf:type ontology:recurring_event }
[]
recurring event
Q47735
SYSTEM
2002 FIFA World Cup
Q47735
action filter_type
action find
entity Q130582
relation P1344
type Q15275719
That national sports team participated in [ANSWER]
SELECT DISTINCT ?n WHERE { resource:Q130582 property:P1344 ?n . ?n rdf:type ontology:Q15275719 }
2002 FIFA World Cup
That national sports team participated in 2002 FIFA World Cup
2002 FIFA World Cup
action filter_type
action find
entity China PR national football team
relation participant of
type recurring event
SELECT DISTINCT ?n WHERE { resource:China_PR_national_football_team property:participant_of ?n . ?n rdf:type ontology:recurring_event }
[]