Simple Question (Direct)
Simple Question
Q20891237
P26
Q502895
USER
Who is the spouse of Aagot Vilhelmine Klaveness ?
(Q20891237,P26,c(Q502895))
action filter_type
action find
entity Q20891237
relation P26
type Q502895
['Q20891237', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q20891237 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Aagot Vilhelmine Klaveness
action filter_type
action find
entity Aagot Vilhelmine Klaveness
relation spouse
type common name
['Aagot Vilhelmine Klaveness', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Aagot_Vilhelmine_Klaveness property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Q16649663
SYSTEM
Erik Lidforss
Q16649663
(Q20891237,P26,c(Q502895))
action filter_type
action find
entity Q20891237
relation P26
type Q502895
The spouse of Aagot Vilhelmine Klaveness is named [ANSWER]
['Q20891237', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q20891237 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Erik Lidforss
The spouse of Aagot Vilhelmine Klaveness is named Erik Lidforss
Erik Lidforss
action filter_type
action find
entity Aagot Vilhelmine Klaveness
relation spouse
type common name
['Aagot Vilhelmine Klaveness', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Aagot_Vilhelmine_Klaveness property:spouse ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20891237
P20
Q15700808
USER
Where did Aagot Vilhelmine Klaveness expire ?
(Q20891237,P20,c(Q15700808))
action filter_type
action find
entity Q20891237
relation P20
type Q15700808
['Q20891237', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?v WHERE { resource:Q20891237 property:P20 ?v . ?v rdf:type ontology:Q15700808 }
Aagot Vilhelmine Klaveness
action filter_type
action find
entity Aagot Vilhelmine Klaveness
relation place of death
type urban unit definition
['Aagot Vilhelmine Klaveness', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?v WHERE { resource:Aagot_Vilhelmine_Klaveness property:place_of_death ?v . ?v rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q21165
SYSTEM
Falköping
Q21165
(Q20891237,P20,c(Q15700808))
action filter_type
action find
entity Q20891237
relation P20
type Q15700808
Aagot Vilhelmine Klaveness expired [ANSWER]
['Q20891237', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?v WHERE { resource:Q20891237 property:P20 ?v . ?v rdf:type ontology:Q15700808 }
Falköping
Aagot Vilhelmine Klaveness expired Falköping
Falköping
action filter_type
action find
entity Aagot Vilhelmine Klaveness
relation place of death
type urban unit definition
['Aagot Vilhelmine Klaveness', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?v WHERE { resource:Aagot_Vilhelmine_Klaveness property:place_of_death ?v . ?v rdf:type ontology:urban_unit_definition }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21165 Q5931504
P19
Q502895
USER
Does Hugh Logan have birthplace at that urban unit definition ?
(Q5931504,P19,Q21165)
action is_in
entity Q5931504
action find
entity Q21165
relation P19
['Q5931504', 'P19', 'Q21165']
ASK WHERE { resource:Q21165 property:P19 resource:Q5931504 }
Falköping Hugh Logan
action is_in
entity Hugh Logan
action find
entity Falköping
relation place of birth
['Hugh Logan', 'place of birth', 'Falköping']
ASK WHERE { resource:Falköping property:place_of_birth resource:Hugh_Logan }
[]
common name
SYSTEM
NO
(Q5931504,P19,Q21165)
action is_in
entity Q5931504
action find
entity Q21165
relation P19
[ANSWER]
['Q5931504', 'P19', 'Q21165']
ASK WHERE { resource:Q21165 property:P19 resource:Q5931504 }
No
action is_in
entity Hugh Logan
action find
entity Falköping
relation place of birth
['Hugh Logan', 'place of birth', 'Falköping']
ASK WHERE { resource:Falköping property:place_of_birth resource:Hugh_Logan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16649663 Q19776546
P9
Q502895
USER
Is Hedvig Strömgren the sibling of Erik Lidforss ?
(Q16649663,P9,Q19776546)
action is_in
entity Q19776546
action find
entity Q16649663
relation P9
['Q16649663', 'P9', 'Q19776546']
ASK WHERE { resource:Q16649663 property:P9 resource:Q19776546 }
Erik Lidforss Hedvig Strömgren
action is_in
entity Hedvig Strömgren
action find
entity Erik Lidforss
relation sister
['Erik Lidforss', 'sister', 'Hedvig Strömgren']
ASK WHERE { resource:Erik_Lidforss property:sister resource:Hedvig_Strömgren }
[]
common name
SYSTEM
YES
(Q16649663,P9,Q19776546)
action is_in
entity Q19776546
action find
entity Q16649663
relation P9
[ANSWER]
['Q16649663', 'P9', 'Q19776546']
ASK WHERE { resource:Q16649663 property:P9 resource:Q19776546 }
Yes
action is_in
entity Hedvig Strömgren
action find
entity Erik Lidforss
relation sister
['Erik Lidforss', 'sister', 'Hedvig Strömgren']
ASK WHERE { resource:Erik_Lidforss property:sister resource:Hedvig_Strömgren }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q799485 Q19776546
P710 P26
Q502895
USER
Which people are married to Hedvig Strömgren or were the participants of 1989 Badminton World Championships – Women's Doubles ?
OR((Q19776546,P26,c(Q502895)), (Q799485,P710,c(Q502895)))
action filter_type
action union
action find
entity Q19776546
relation P26
action find
entity Q799485
relation P710
type Q502895
{'OR': [['Q19776546', 'P26', {'concept': 'Q502895'}], ['Q799485', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q19776546 property:P26 ?m } UNION { resource:Q799485 property:P710 ?m } } . ?m rdf:type ontology:Q502895 }
1989 Badminton World Championships – Women's Doubles Hedvig Strömgren
action filter_type
action union
action find
entity Hedvig Strömgren
relation spouse
action find
entity 1989 Badminton World Championships – Women's Doubles
relation participant
type common name
{'OR': [['Hedvig Strömgren', 'spouse', {'concept': 'common name'}], ["1989 Badminton World Championships – Women's Doubles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Hedvig_Strömgren property:spouse ?m } UNION { resource:1989_Badminton_World_Championships_–_Women's_Doubles property:participant ?m } } . ?m rdf:type ontology:common_name }
[]
common name
Q404969 Q565334 Q26959173 Q475228 Q1051142 Q6577901 Q434373 Q249469 Q544645 Q1208843
SYSTEM
Some of them are Aiko Miyamura, Anne Gibson, Chantal Jobin, Lotte Olsen, Cathy Foo Kune, Marianne Wikdal, Guan Weizhen, Chung Myung-hee, Verawaty Wiharjo, Diana Koleva
Q26959173 Q2599545 Q1471547 Q27763792 Q27763791 Q27763790 Q27763797 Q27763796 Q27763795 Q27763794 Q1348770 Q1592683 Q404969 Q1723702 Q524155 Q27763793 Q2209861 Q1827932 Q1089526 Q26959963 Q1545733 Q27763788 Q27763789 Q475228 Q27032146 Q27763784 Q27763785 Q27763787 Q27763782 Q1355815 Q27044076 Q1113916 Q1524571 Q1827716 Q1250560 Q1672663 Q1612325 Q2391934 Q1701267 Q1978700 Q518639 Q1145699 Q1699869 Q1686676 Q435818 Q1739701 Q290985 Q524282 Q249469 Q520067 Q26958557 Q27613173 Q27613171 Q27613174 Q1354554 Q565334 Q1256010 Q1337368 Q1243888 Q1272550 Q1613699 Q26933330 Q544645 Q1316933 Q27613169 Q2097542 Q523784 Q1051142 Q27503282 Q1504218 Q522091 Q896343 Q6577901 Q1577080 Q521545 Q1294288 Q481827 Q1812028 Q27685623 Q522177 Q1697053 Q1579477 Q27597391 Q1944823 Q1800655 Q2395639 Q448347 Q434373 Q1208843 Q433383 Q1208846 Q182974 Q197986 Q1585211 Q290926 Q1418499 Q1329552 Q2477190 Q705960 Q17275432 Q2220989 Q1895709 Q1245299 Q545836 Q1532092 Q26919622 Q434560
OR((Q19776546,P26,c(Q502895)), (Q799485,P710,c(Q502895)))
action filter_type
action union
action find
entity Q19776546
relation P26
action find
entity Q799485
relation P710
type Q502895
[ANSWERS] are married to Hedvig Strömgren or were the participants of 1989 Badminton World Championships – Women's Doubles
{'OR': [['Q19776546', 'P26', {'concept': 'Q502895'}], ['Q799485', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q19776546 property:P26 ?m } UNION { resource:Q799485 property:P710 ?m } } . ?m rdf:type ontology:Q502895 }
Chantal Jobin Yanti Kusmiati Kaushalya Dissanayake Afshan Shakeel Ellen Berg Elżbieta Grzybek Jane Clarke Kristiina Danskanen Meiling Okuno Lee Yin Ling Nicole Baldewein Kim Ho-ja Aiko Miyamura Kang Chia-I Helen Troke Brigitte Langthaler Sabine Ploner Liselotte Blumer Chun Sung-suk Linda Safarik-Tong Katrin Schmidt Seema Bafna Anetha Stambolizska Lotte Olsen Sriyani Deepika Kalpana Rana Shrestha Poh Chin Peng Takako Shinki Subha Shrestha Erma Sulistianingsih Chan Man Wa Nina Sundberg Gillian Gowers Lisa Campbell Dorte Kjær Irina Serova Tan Sui Hoon Tan Mei Chuan Vlada Chernyavskaya Nettie Nielsen Denyse Julien Harumi Kohara Julie Still Elena Rybkina Rhona Robertson Kerstin Ubben Hwang Hye-young Lin Ying Chung Myung-hee Rosiana Tendean Toni Whittaker Katrin Te Tai Dwi Elmyati Selvie Kartenegara Erika von Heiland Anne Gibson Linda French Emilia Dimitrova Jennifer Williamson Hisako Mori Martine de Souza Rosita Rios Verawaty Wiharjo Elodie Mansuy Yoko Koizumi Piyathip Sansaniyakulvilai Erica van den Heuvel Cathy Foo Kune Lynne Horne Kirsten Schmieder Lim Xiaoqing Bożena Haracz Marianne Wikdal Lim Siew Choon Yao Fen Ghazala Wadood Amy Chan Lee Wai Leng Corinne Corvée Eline Coene Johanne Falardeau Kimiko Jinnai Marzena Masiuk Monique Hoogland Lai Caiqin Tatyana Litvinenko Madhumita Bisht Guan Weizhen Diana Koleva Gil Young-ah Diana Knekna Bożena Bąk Zhou Lei Lee Chien-Mei Chung So-young Fiona Smith Elinor Middlemiss Ulrika von Pfaler Elis Strömgren Tracey Small Sandra Dimbour Maria Bengtsson Doris Piché Gillian Clark Gloria Jiménez Penpan Klangthamniem Christine Magnusson
Aiko Miyamura, Anne Gibson, Chantal Jobin, Lotte Olsen, Cathy Foo Kune, Marianne Wikdal, Guan Weizhen, Chung Myung-hee, Verawaty Wiharjo and Diana Koleva are married to Hedvig Strömgren or were the participants of 1989 Badminton World Championships – Women's Doubles
Aiko Miyamura Anne Gibson Chantal Jobin Lotte Olsen Cathy Foo Kune Marianne Wikdal Guan Weizhen Chung Myung-hee Verawaty Wiharjo Diana Koleva
action filter_type
action union
action find
entity Hedvig Strömgren
relation spouse
action find
entity 1989 Badminton World Championships – Women's Doubles
relation participant
type common name
{'OR': [['Hedvig Strömgren', 'spouse', {'concept': 'common name'}], ["1989 Badminton World Championships – Women's Doubles", 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Hedvig_Strömgren property:spouse ?m } UNION { resource:1989_Badminton_World_Championships_–_Women's_Doubles property:participant ?m } } . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q799538
P710
Q799469
USER
Were those people a participant of 2003 Badminton World Championships – Mixed Doubles ?
(Q799538,P710,Q404969) (Q799538,P710,Q565334) (Q799538,P710,Q26959173) (Q799538,P710,Q475228) (Q799538,P710,Q1051142) (Q799538,P710,Q6577901) (Q799538,P710,Q434373) (Q799538,P710,Q249469) (Q799538,P710,Q544645) (Q799538,P710,Q1208843)
action is_in
entity prev_answer
action find
entity Q799538
relation P710
['Q799538', 'P710', 'Q404969'] ['Q799538', 'P710', 'Q565334'] ['Q799538', 'P710', 'Q26959173'] ['Q799538', 'P710', 'Q475228'] ['Q799538', 'P710', 'Q1051142'] ['Q799538', 'P710', 'Q6577901'] ['Q799538', 'P710', 'Q434373'] ['Q799538', 'P710', 'Q249469'] ['Q799538', 'P710', 'Q544645'] ['Q799538', 'P710', 'Q1208843']
ASK WHERE { VALUES ( ?e ) { ( resource:Q26959173 ) ( resource:Q2599545 ) ( resource:Q1471547 ) } . resource:Q799538 property:P710 ?e }
2003 Badminton World Championships – Mixed Doubles
action is_in
entity prev_answer
action find
entity 2003 Badminton World Championships – Mixed Doubles
relation participant
['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Aiko Miyamura'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Anne Gibson'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Chantal Jobin'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Lotte Olsen'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Cathy Foo Kune'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Marianne Wikdal'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Guan Weizhen'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Chung Myung-hee'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Verawaty Wiharjo'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Diana Koleva']
ASK WHERE { VALUES ( ?e ) { ( resource:Chantal_Jobin ) ( resource:Yanti_Kusmiati ) ( resource:Kaushalya_Dissanayake ) } . resource:2003_Badminton_World_Championships_–_Mixed_Doubles property:participant ?e }
[]
Badminton World Championships
SYSTEM
NO
(Q799538,P710,Q404969) (Q799538,P710,Q565334) (Q799538,P710,Q26959173) (Q799538,P710,Q475228) (Q799538,P710,Q1051142) (Q799538,P710,Q6577901) (Q799538,P710,Q434373) (Q799538,P710,Q249469) (Q799538,P710,Q544645) (Q799538,P710,Q1208843)
action is_in
entity prev_answer
action find
entity Q799538
relation P710
[ANSWER]
['Q799538', 'P710', 'Q404969'] ['Q799538', 'P710', 'Q565334'] ['Q799538', 'P710', 'Q26959173'] ['Q799538', 'P710', 'Q475228'] ['Q799538', 'P710', 'Q1051142'] ['Q799538', 'P710', 'Q6577901'] ['Q799538', 'P710', 'Q434373'] ['Q799538', 'P710', 'Q249469'] ['Q799538', 'P710', 'Q544645'] ['Q799538', 'P710', 'Q1208843']
ASK WHERE { VALUES ( ?e ) { ( resource:Q26959173 ) ( resource:Q2599545 ) ( resource:Q1471547 ) } . resource:Q799538 property:P710 ?e }
No
action is_in
entity prev_answer
action find
entity 2003 Badminton World Championships – Mixed Doubles
relation participant
['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Aiko Miyamura'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Anne Gibson'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Chantal Jobin'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Lotte Olsen'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Cathy Foo Kune'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Marianne Wikdal'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Guan Weizhen'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Chung Myung-hee'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Verawaty Wiharjo'] ['2003 Badminton World Championships – Mixed Doubles', 'participant', 'Diana Koleva']
ASK WHERE { VALUES ( ?e ) { ( resource:Chantal_Jobin ) ( resource:Yanti_Kusmiati ) ( resource:Kaushalya_Dissanayake ) } . resource:2003_Badminton_World_Championships_–_Mixed_Doubles property:participant ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q475228 Q530753
P9
Q502895
USER
Is Rikke Olsen the sibling of Lotte Olsen ?
(Q475228,P9,Q530753)
action is_in
entity Q530753
action find
entity Q475228
relation P9
['Q475228', 'P9', 'Q530753']
ASK WHERE { resource:Q475228 property:P9 resource:Q530753 }
Lotte Olsen Rikke Olsen
action is_in
entity Rikke Olsen
action find
entity Lotte Olsen
relation sister
['Lotte Olsen', 'sister', 'Rikke Olsen']
ASK WHERE { resource:Lotte_Olsen property:sister resource:Rikke_Olsen }
[]
common name
SYSTEM
YES
(Q475228,P9,Q530753)
action is_in
entity Q530753
action find
entity Q475228
relation P9
[ANSWER]
['Q475228', 'P9', 'Q530753']
ASK WHERE { resource:Q475228 property:P9 resource:Q530753 }
Yes
action is_in
entity Rikke Olsen
action find
entity Lotte Olsen
relation sister
['Lotte Olsen', 'sister', 'Rikke Olsen']
ASK WHERE { resource:Lotte_Olsen property:sister resource:Rikke_Olsen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q475228
P1344
Q328539 Q688120
USER
How many German Open Badminton Championshipss or Swiss Open Badminton Championshipss did Lotte Olsen participate in ?
(Q475228,P1344,c(Q328539)) (Q475228,P1344,c(Q688120))
action count
action union
action filter_type
action find
entity Q475228
relation P1344
type Q328539
action filter_type
action find
entity Q475228
relation P1344
type Q688120
['Q475228', 'P1344', {'concept': 'Q328539'}] ['Q475228', 'P1344', {'concept': 'Q688120'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { resource:Q475228 property:P1344 ?q . ?q rdf:type ontology:Q328539 } UNION { resource:Q475228 property:P1344 ?q . ?q rdf:type ontology:Q688120 } }
Lotte Olsen
action count
action union
action filter_type
action find
entity Lotte Olsen
relation participant of
type German Open Badminton Championships
action filter_type
action find
entity Lotte Olsen
relation participant of
type Swiss Open Badminton Championships
['Lotte Olsen', 'participant of', {'concept': 'German Open Badminton Championships'}] ['Lotte Olsen', 'participant of', {'concept': 'Swiss Open Badminton Championships'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { resource:Lotte_Olsen property:participant_of ?q . ?q rdf:type ontology:German_Open_Badminton_Championships } UNION { resource:Lotte_Olsen property:participant_of ?q . ?q rdf:type ontology:Swiss_Open_Badminton_Championships } }
[]
German Open Badminton Championships Swiss Open Badminton Championships
SYSTEM
3
Q27626336 Q27570535 Q27626333
(Q475228,P1344,c(Q328539)) (Q475228,P1344,c(Q688120))
action count
action union
action filter_type
action find
entity Q475228
relation P1344
type Q328539
action filter_type
action find
entity Q475228
relation P1344
type Q688120
[ANSWER]
['Q475228', 'P1344', {'concept': 'Q328539'}] ['Q475228', 'P1344', {'concept': 'Q688120'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { resource:Q475228 property:P1344 ?q . ?q rdf:type ontology:Q328539 } UNION { resource:Q475228 property:P1344 ?q . ?q rdf:type ontology:Q688120 } }
1996 Swiss Open Badminton Championships – Women's doubles 1990 German Open Badminton Championships – Women's doubles 1994 Swiss Open Badminton Championships – Women's doubles
3
action count
action union
action filter_type
action find
entity Lotte Olsen
relation participant of
type German Open Badminton Championships
action filter_type
action find
entity Lotte Olsen
relation participant of
type Swiss Open Badminton Championships
['Lotte Olsen', 'participant of', {'concept': 'German Open Badminton Championships'}] ['Lotte Olsen', 'participant of', {'concept': 'Swiss Open Badminton Championships'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { resource:Lotte_Olsen property:participant_of ?q . ?q rdf:type ontology:German_Open_Badminton_Championships } UNION { resource:Lotte_Olsen property:participant_of ?q . ?q rdf:type ontology:Swiss_Open_Badminton_Championships } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5407017 Q5931504
P27
Q15617994
USER
Which administrative territories are Hugh Logan or Jaakko Björkbacka a civilian of ?
OR((Q5931504,P27,c(Q15617994)), (Q5407017,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5931504
relation P27
action find
entity Q5407017
relation P27
type Q15617994
{'OR': [['Q5931504', 'P27', {'concept': 'Q15617994'}], ['Q5407017', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?s ) { ( resource:Q5931504 ) ( resource:Q5407017 ) } . ?s property:P27 ?n } . ?n rdf:type ontology:Q15617994 }
Jaakko Björkbacka Hugh Logan
action filter_type
action union
action find
entity Hugh Logan
relation country of citizenship
action find
entity Jaakko Björkbacka
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hugh Logan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jaakko Björkbacka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?s ) { ( resource:Hugh_Logan ) ( resource:Jaakko_Björkbacka ) } . ?s property:country_of_citizenship ?n } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q145
SYSTEM
Finland, United Kingdom
Q33 Q145
OR((Q5931504,P27,c(Q15617994)), (Q5407017,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5931504
relation P27
action find
entity Q5407017
relation P27
type Q15617994
[ANSWERS] are Hugh Logan or Jaakko Björkbacka a civilian of
{'OR': [['Q5931504', 'P27', {'concept': 'Q15617994'}], ['Q5407017', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?s ) { ( resource:Q5931504 ) ( resource:Q5407017 ) } . ?s property:P27 ?n } . ?n rdf:type ontology:Q15617994 }
Finland United Kingdom
Finland and United Kingdom are Hugh Logan or Jaakko Björkbacka a civilian of
Finland United Kingdom
action filter_type
action union
action find
entity Hugh Logan
relation country of citizenship
action find
entity Jaakko Björkbacka
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hugh Logan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jaakko Björkbacka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?s ) { ( resource:Hugh_Logan ) ( resource:Jaakko_Björkbacka ) } . ?s property:country_of_citizenship ?n } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5407017
P21
Q290
USER
Which sex does Jaakko Björkbacka belong to ?
(Q5407017,P21,c(Q290))
action filter_type
action find
entity Q5407017
relation P21
type Q290
['Q5407017', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q5407017 property:P21 ?j }
Jaakko Björkbacka
action filter_type
action find
entity Jaakko Björkbacka
relation gender
type sex
['Jaakko Björkbacka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Jaakko_Björkbacka property:gender ?j }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5407017,P21,c(Q290))
action filter_type
action find
entity Q5407017
relation P21
type Q290
Jaakko Björkbacka belongs to [ANSWER]
['Q5407017', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q5407017 property:P21 ?j }
male
Jaakko Björkbacka belongs to male
male
action filter_type
action find
entity Jaakko Björkbacka
relation gender
type sex
['Jaakko Björkbacka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Jaakko_Björkbacka property:gender ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q27125906
Q290
USER
And how about Richard Scrafton Sharpe?
(Q27125906,P21,c(Q290))
action filter_type
action find
entity Q27125906
relation P21
type Q290
['Q27125906', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q27125906 property:P21 ?f . ?f rdf:type ontology:Q290 }
Richard Scrafton Sharpe
action filter_type
action find
entity Richard Scrafton Sharpe
relation gender
type sex
['Richard Scrafton Sharpe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Richard_Scrafton_Sharpe property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q27125906,P21,c(Q290))
action filter_type
action find
entity Q27125906
relation P21
type Q290
[ANSWER]
['Q27125906', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q27125906 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Richard Scrafton Sharpe
relation gender
type sex
['Richard Scrafton Sharpe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Richard_Scrafton_Sharpe property:gender ?f . ?f rdf:type ontology:sex }
[]