Simple Question (Direct)
Simple Question
Q367910
P106
Q12737077
USER
Which occupation is the profession of Mariano Gago ?
(Q367910,P106,c(Q12737077))
action filter_type
action find
entity Q367910
relation P106
type Q12737077
['Q367910', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q367910 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Mariano Gago
action filter_type
action find
entity Mariano Gago
relation occupation
type occupation
['Mariano Gago', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Mariano_Gago property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
(Q367910,P106,c(Q12737077))
action filter_type
action find
entity Q367910
relation P106
type Q12737077
The [ANSWER] is the profession of Mariano Gago
['Q367910', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q367910 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
university teacher
The university teacher is the profession of Mariano Gago
university teacher
action filter_type
action find
entity Mariano Gago
relation occupation
type occupation
['Mariano Gago', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Mariano_Gago property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q367910
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q1622272,P27,c(Q15617994))
action filter_type
action find
entity Q367910
relation P27
type Q15617994
['Q1622272', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q367910 property:P27 ?d }
Mariano Gago
action filter_type
action find
entity Mariano Gago
relation country of citizenship
type designation for an administrative territorial entity
['university teacher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mariano_Gago property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q1622272,P27,c(Q15617994))
action filter_type
action find
entity Q367910
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q1622272', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q367910 property:P27 ?d }
Portugal
Portugal is the country of citizenship of that person
Portugal
action filter_type
action find
entity Mariano Gago
relation country of citizenship
type designation for an administrative territorial entity
['university teacher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mariano_Gago property:country_of_citizenship ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q45 Q3321991
P530
Q1048835
USER
Does Camaná District have diplomatic relationships with that administrative territory ?
(Q45,P530,Q3321991)
action is_in
entity Q3321991
action find
entity Q45
relation P530
['Q45', 'P530', 'Q3321991']
ASK WHERE { resource:Q45 property:P530 resource:Q3321991 }
Portugal Camaná District
action is_in
entity Camaná District
action find
entity Portugal
relation diplomatic relation
['Portugal', 'diplomatic relation', 'Camaná District']
ASK WHERE { resource:Portugal property:diplomatic_relation resource:Camaná_District }
[]
political territorial entity
SYSTEM
NO
(Q45,P530,Q3321991)
action is_in
entity Q3321991
action find
entity Q45
relation P530
[ANSWER]
['Q45', 'P530', 'Q3321991']
ASK WHERE { resource:Q45 property:P530 resource:Q3321991 }
No
action is_in
entity Camaná District
action find
entity Portugal
relation diplomatic relation
['Portugal', 'diplomatic relation', 'Camaná District']
ASK WHERE { resource:Portugal property:diplomatic_relation resource:Camaná_District }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13861040 Q1622272
P710 P417
Q502895
USER
Which people are the patron saint of university teacher or were participants of 2004 World Junior Badminton Championships – Women's Singles ?
OR((Q1622272,P417,c(Q502895)), (Q13861040,P710,c(Q502895)))
action filter_type
action union
action find
entity Q1622272
relation P417
action find
entity Q13861040
relation P710
type Q502895
{'OR': [['Q1622272', 'P417', {'concept': 'Q502895'}], ['Q13861040', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1622272 property:P417 ?u } UNION { resource:Q13861040 property:P710 ?u } } . ?u rdf:type ontology:Q502895 }
2004 World Junior Badminton Championships – Women's Singles university teacher
action filter_type
action union
action find
entity university teacher
relation patron saint
action find
entity 2004 World Junior Badminton Championships – Women's Singles
relation participant
type common name
{'OR': [['university teacher', 'patron saint', {'concept': 'common name'}], ["2004 World Junior Badminton Championships – Women's Singles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:university_teacher property:patron_saint ?u } UNION { resource:2004_World_Junior_Badminton_Championships_–_Women's_Singles property:participant ?u } } . ?u rdf:type ontology:common_name }
[]
common name
Q444402 Q9438 Q456091 Q455725 Q456103
SYSTEM
Ha Jung-eun, Thomas Aquinas, Lu Lan, Wang Lin, Cheng Shao-Chieh
Q444402 Q9438 Q456091 Q455725 Q456103
OR((Q1622272,P417,c(Q502895)), (Q13861040,P710,c(Q502895)))
action filter_type
action union
action find
entity Q1622272
relation P417
action find
entity Q13861040
relation P710
type Q502895
[ANSWERS] are the patron saint of university teacher or were participants of 2004 World Junior Badminton Championships – Women's Singles
{'OR': [['Q1622272', 'P417', {'concept': 'Q502895'}], ['Q13861040', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1622272 property:P417 ?u } UNION { resource:Q13861040 property:P710 ?u } } . ?u rdf:type ontology:Q502895 }
Ha Jung-eun Thomas Aquinas Lu Lan Wang Lin Cheng Shao-Chieh
Ha Jung-eun, Thomas Aquinas, Lu Lan, Wang Lin and Cheng Shao-Chieh are the patron saint of university teacher or were participants of 2004 World Junior Badminton Championships – Women's Singles
Ha Jung-eun Thomas Aquinas Lu Lan Wang Lin Cheng Shao-Chieh
action filter_type
action union
action find
entity university teacher
relation patron saint
action find
entity 2004 World Junior Badminton Championships – Women's Singles
relation participant
type common name
{'OR': [['university teacher', 'patron saint', {'concept': 'common name'}], ["2004 World Junior Badminton Championships – Women's Singles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:university_teacher property:patron_saint ?u } UNION { resource:2004_World_Junior_Badminton_Championships_–_Women's_Singles property:participant ?u } } . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q460005 Q456103
P1344
Q18536594
USER
Which Olympic sporting events did Cheng Shao-Chieh and Michelle Li compete in ?
AND((Q456103,P1344,c(Q18536594)), (Q460005,P1344,c(Q18536594)))
action filter_type
action intersection
action find
entity Q456103
relation P1344
action find
entity Q460005
relation P1344
type Q18536594
{'AND': [['Q456103', 'P1344', {'concept': 'Q18536594'}], ['Q460005', 'P1344', {'concept': 'Q18536594'}]]}
SELECT DISTINCT ?f WHERE { resource:Q456103 property:P1344 ?f . resource:Q460005 property:P1344 ?f . ?f rdf:type ontology:Q18536594 }
Michelle Li Cheng Shao-Chieh
action filter_type
action intersection
action find
entity Cheng Shao-Chieh
relation participant of
action find
entity Michelle Li
relation participant of
type Olympic sporting event
{'AND': [['Cheng Shao-Chieh', 'participant of', {'concept': 'Olympic sporting event'}], ['Michelle Li', 'participant of', {'concept': 'Olympic sporting event'}]]}
SELECT DISTINCT ?f WHERE { resource:Cheng_Shao-Chieh property:participant_of ?f . resource:Michelle_Li property:participant_of ?f . ?f rdf:type ontology:Olympic_sporting_event }
[]
Olympic sporting event
Q1345726
SYSTEM
Badminton at the 2012 Summer Olympics – Women's singles
Q1345726
AND((Q456103,P1344,c(Q18536594)), (Q460005,P1344,c(Q18536594)))
action filter_type
action intersection
action find
entity Q456103
relation P1344
action find
entity Q460005
relation P1344
type Q18536594
[ANSWER] did Cheng Shao-Chieh and Michelle Li compete in
{'AND': [['Q456103', 'P1344', {'concept': 'Q18536594'}], ['Q460005', 'P1344', {'concept': 'Q18536594'}]]}
SELECT DISTINCT ?f WHERE { resource:Q456103 property:P1344 ?f . resource:Q460005 property:P1344 ?f . ?f rdf:type ontology:Q18536594 }
Badminton at the 2012 Summer Olympics – Women's singles
Badminton at the 2012 Summer Olympics – Women's singles did Cheng Shao-Chieh and Michelle Li compete in
Badminton at the 2012 Summer Olympics – Women's singles
action filter_type
action intersection
action find
entity Cheng Shao-Chieh
relation participant of
action find
entity Michelle Li
relation participant of
type Olympic sporting event
{'AND': [['Cheng Shao-Chieh', 'participant of', {'concept': 'Olympic sporting event'}], ['Michelle Li', 'participant of', {'concept': 'Olympic sporting event'}]]}
SELECT DISTINCT ?f WHERE { resource:Cheng_Shao-Chieh property:participant_of ?f . resource:Michelle_Li property:participant_of ?f . ?f rdf:type ontology:Olympic_sporting_event }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1345726 Q1396585 Q377689
P710
Q502895
USER
Was Susan Egelstaff and Adriyanti Firdasari a participant of Q1345726 ?
(Q1345726,P710,Q1396585) (Q1345726,P710,Q377689)
action is_in
entity Q1345726
action intersection
action find_reverse
entity Q1396585
relation P710
action find_reverse
entity Q377689
relation P710
['Q1345726', 'P710', 'Q1396585'] ['Q1345726', 'P710', 'Q377689']
ASK WHERE { resource:Q1345726 property:P710 resource:Q377689 . resource:Q1345726 property:P710 resource:Q1396585 }
Badminton at the 2012 Summer Olympics – Women's singles Susan Egelstaff Adriyanti Firdasari
action is_in
entity Badminton at the 2012 Summer Olympics – Women's singles
action intersection
action find_reverse
entity Susan Egelstaff
relation participant
action find_reverse
entity Adriyanti Firdasari
relation participant
["Badminton at the 2012 Summer Olympics – Women's singles", 'participant', 'Susan Egelstaff'] ["Badminton at the 2012 Summer Olympics – Women's singles", 'participant', 'Adriyanti Firdasari']
ASK WHERE { resource:Badminton_at_the_2012_Summer_Olympics_–_Women's_singles property:participant resource:Adriyanti_Firdasari . resource:Badminton_at_the_2012_Summer_Olympics_–_Women's_singles property:participant resource:Susan_Egelstaff }
[]
common name
SYSTEM
YES
(Q1345726,P710,Q1396585) (Q1345726,P710,Q377689)
action is_in
entity Q1345726
action intersection
action find_reverse
entity Q1396585
relation P710
action find_reverse
entity Q377689
relation P710
[ANSWER]
['Q1345726', 'P710', 'Q1396585'] ['Q1345726', 'P710', 'Q377689']
ASK WHERE { resource:Q1345726 property:P710 resource:Q377689 . resource:Q1345726 property:P710 resource:Q1396585 }
Yes
action is_in
entity Badminton at the 2012 Summer Olympics – Women's singles
action intersection
action find_reverse
entity Susan Egelstaff
relation participant
action find_reverse
entity Adriyanti Firdasari
relation participant
["Badminton at the 2012 Summer Olympics – Women's singles", 'participant', 'Susan Egelstaff'] ["Badminton at the 2012 Summer Olympics – Women's singles", 'participant', 'Adriyanti Firdasari']
ASK WHERE { resource:Badminton_at_the_2012_Summer_Olympics_–_Women's_singles property:participant resource:Adriyanti_Firdasari . resource:Badminton_at_the_2012_Summer_Olympics_–_Women's_singles property:participant resource:Susan_Egelstaff }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P137
Q2424752
USER
Which product was managed by Portugal ?
(c(Q2424752),P137,Q45)
action filter_type
action find_reverse
entity Q45
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', 'Q45']
SELECT DISTINCT ?r WHERE { ?r property:P137 resource:Q45 . ?r rdf:type ontology:Q2424752 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation operator
type product
[{'concept': 'product'}, 'operator', 'Portugal']
SELECT DISTINCT ?r WHERE { ?r property:operator resource:Portugal . ?r rdf:type ontology:product }
[]
product
Q18173029
SYSTEM
SA 330C Puma
Q18173029
(c(Q2424752),P137,Q45)
action filter_type
action find_reverse
entity Q45
relation P137
type Q2424752
[ANSWER] was managed by Portugal
[{'concept': 'Q2424752'}, 'P137', 'Q45']
SELECT DISTINCT ?r WHERE { ?r property:P137 resource:Q45 . ?r rdf:type ontology:Q2424752 }
SA 330C Puma
SA 330C Puma was managed by Portugal
SA 330C Puma
action filter_type
action find_reverse
entity Portugal
relation operator
type product
[{'concept': 'product'}, 'operator', 'Portugal']
SELECT DISTINCT ?r WHERE { ?r property:operator resource:Portugal . ?r rdf:type ontology:product }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18173029
P144
Q2424752
USER
Which product is based on that one ?
(c(Q2424752),P144,Q18173029)
action filter_type
action find_reverse
entity Q18173029
relation P144
type Q2424752
[{'concept': 'Q2424752'}, 'P144', 'Q18173029']
SELECT DISTINCT ?c WHERE { ?c property:P144 resource:Q18173029 . ?c rdf:type ontology:Q2424752 }
SA 330C Puma
action filter_type
action find_reverse
entity SA 330C Puma
relation based on
type product
[{'concept': 'product'}, 'based on', 'SA 330C Puma']
SELECT DISTINCT ?c WHERE { ?c property:based_on resource:SA_330C_Puma . ?c rdf:type ontology:product }
[]
product
Q18173077
SYSTEM
SA 330L Puma
Q18173077
(c(Q2424752),P144,Q18173029)
action filter_type
action find_reverse
entity Q18173029
relation P144
type Q2424752
P [ANSWER] is based on that one
[{'concept': 'Q2424752'}, 'P144', 'Q18173029']
SELECT DISTINCT ?c WHERE { ?c property:P144 resource:Q18173029 . ?c rdf:type ontology:Q2424752 }
SA 330L Puma
P SA 330L Puma is based on that one
SA 330L Puma
action filter_type
action find_reverse
entity SA 330C Puma
relation based on
type product
[{'concept': 'product'}, 'based on', 'SA 330C Puma']
SELECT DISTINCT ?c WHERE { ?c property:based_on resource:SA_330C_Puma . ?c rdf:type ontology:product }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q18173077 Q18173029 Q21041379
P144
Q2424752
USER
Does that product builds on SA 330C Puma and Yapp ?
(Q18173077,P144,Q18173029) (Q18173077,P144,Q21041379)
action is_in
entity Q18173077
action intersection
action find_reverse
entity Q18173029
relation P144
action find_reverse
entity Q21041379
relation P144
['Q18173077', 'P144', 'Q18173029'] ['Q18173077', 'P144', 'Q21041379']
ASK WHERE { resource:Q18173077 property:P144 resource:Q18173029 . resource:Q18173077 property:P144 resource:Q21041379 }
SA 330L Puma SA 330C Puma Yapp
action is_in
entity SA 330L Puma
action intersection
action find_reverse
entity SA 330C Puma
relation based on
action find_reverse
entity Yapp
relation based on
['SA 330L Puma', 'based on', 'SA 330C Puma'] ['SA 330L Puma', 'based on', 'Yapp']
ASK WHERE { resource:SA_330L_Puma property:based_on resource:SA_330C_Puma . resource:SA_330L_Puma property:based_on resource:Yapp }
[]
product
SYSTEM
YES and NO respectively
(Q18173077,P144,Q18173029) (Q18173077,P144,Q21041379)
action is_in
entity Q18173077
action intersection
action find_reverse
entity Q18173029
relation P144
action find_reverse
entity Q21041379
relation P144
[ANSWER]
['Q18173077', 'P144', 'Q18173029'] ['Q18173077', 'P144', 'Q21041379']
ASK WHERE { resource:Q18173077 property:P144 resource:Q18173029 . resource:Q18173077 property:P144 resource:Q21041379 }
YES and NO respectively
action is_in
entity SA 330L Puma
action intersection
action find_reverse
entity SA 330C Puma
relation based on
action find_reverse
entity Yapp
relation based on
['SA 330L Puma', 'based on', 'SA 330C Puma'] ['SA 330L Puma', 'based on', 'Yapp']
ASK WHERE { resource:SA_330L_Puma property:based_on resource:SA_330C_Puma . resource:SA_330L_Puma property:based_on resource:Yapp }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1345726 Q24151020 Q438549
P710
Q502895
USER
Does Badminton at the 2012 Summer Olympics – Women's singles have Emma Follis and Rena Wang as its participant ?
(Q1345726,P710,Q24151020) (Q1345726,P710,Q438549)
action is_in
entity Q1345726
action intersection
action find_reverse
entity Q24151020
relation P710
action find_reverse
entity Q438549
relation P710
['Q1345726', 'P710', 'Q24151020'] ['Q1345726', 'P710', 'Q438549']
ASK WHERE { resource:Q1345726 property:P710 resource:Q24151020 . resource:Q1345726 property:P710 resource:Q438549 }
Badminton at the 2012 Summer Olympics – Women's singles Emma Follis Rena Wang
action is_in
entity Badminton at the 2012 Summer Olympics – Women's singles
action intersection
action find_reverse
entity Emma Follis
relation participant
action find_reverse
entity Rena Wang
relation participant
["Badminton at the 2012 Summer Olympics – Women's singles", 'participant', 'Emma Follis'] ["Badminton at the 2012 Summer Olympics – Women's singles", 'participant', 'Rena Wang']
ASK WHERE { resource:Badminton_at_the_2012_Summer_Olympics_–_Women's_singles property:participant resource:Emma_Follis . resource:Badminton_at_the_2012_Summer_Olympics_–_Women's_singles property:participant resource:Rena_Wang }
[]
common name
SYSTEM
NO and YES respectively
(Q1345726,P710,Q24151020) (Q1345726,P710,Q438549)
action is_in
entity Q1345726
action intersection
action find_reverse
entity Q24151020
relation P710
action find_reverse
entity Q438549
relation P710
[ANSWER]
['Q1345726', 'P710', 'Q24151020'] ['Q1345726', 'P710', 'Q438549']
ASK WHERE { resource:Q1345726 property:P710 resource:Q24151020 . resource:Q1345726 property:P710 resource:Q438549 }
NO and YES respectively
action is_in
entity Badminton at the 2012 Summer Olympics – Women's singles
action intersection
action find_reverse
entity Emma Follis
relation participant
action find_reverse
entity Rena Wang
relation participant
["Badminton at the 2012 Summer Olympics – Women's singles", 'participant', 'Emma Follis'] ["Badminton at the 2012 Summer Olympics – Women's singles", 'participant', 'Rena Wang']
ASK WHERE { resource:Badminton_at_the_2012_Summer_Olympics_–_Women's_singles property:participant resource:Emma_Follis . resource:Badminton_at_the_2012_Summer_Olympics_–_Women's_singles property:participant resource:Rena_Wang }
[]