Simple Question (Direct)
Simple Question
Q1652709
P937
Q56061
USER
What is the location where Hıdır Çelik worked ?
(Q1652709,P937,c(Q56061))
action filter_type
action find
entity Q1652709
relation P937
type Q56061
['Q1652709', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1652709 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Hıdır Çelik
action filter_type
action find
entity Hıdır Çelik
relation work location
type administrative territorial entity
['Hıdır Çelik', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Hıdır_Çelik property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q1652709,P937,c(Q56061))
action filter_type
action find
entity Q1652709
relation P937
type Q56061
[ANSWER]
['Q1652709', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1652709 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Bonn
Bonn
action filter_type
action find
entity Hıdır Çelik
relation work location
type administrative territorial entity
['Hıdır Çelik', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Hıdır_Çelik property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q586
P6
Q502895
USER
Who are the heads of the government of that administrative territory ?
(Q586,P6,c(Q502895))
action filter_type
action find
entity Q586
relation P6
type Q502895
['Q586', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q586 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Bonn
action filter_type
action find
entity Bonn
relation head of government
type common name
['Bonn', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Bonn property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
common name
Q1433770 Q99317 Q2076872
SYSTEM
Hans Daniels, Bärbel Dieckmann, Peter Maria Busen
Q20971243 Q1433770 Q2076872 Q2076405 Q2572319 Q99317 Q1717521
(Q586,P6,c(Q502895))
action filter_type
action find
entity Q586
relation P6
type Q502895
[ANSWERS]
['Q586', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q586 property:P6 ?f . ?f rdf:type ontology:Q502895 }
Ashok-Alexander Sridharan Hans Daniels Peter Maria Busen Peter Kraemer Wilhelm Daniels Bärbel Dieckmann Jürgen Nimptsch
Hans Daniels Bärbel Dieckmann Peter Maria Busen
action filter_type
action find
entity Bonn
relation head of government
type common name
['Bonn', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Bonn property:head_of_government ?f . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q820011
P725
Q502895 Q15619164
USER
Which abstract beings did approximately the same number of people dub for as Sylvanas Windrunner ?
(c(Q15619164),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q820011
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:Q15619164 . resource:Q820011 property:P725 ?n } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?m ) WHERE { ?f property:P725 ?h . ?f rdf:type ontology:Q15619164 . ?h rdf:type ontology:Q502895 } GROUP BY ?f } }
Sylvanas Windrunner
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Sylvanas Windrunner
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:abstract_being . resource:Sylvanas_Windrunner property:voice_actor ?n } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?m ) WHERE { ?f property:voice_actor ?h . ?f rdf:type ontology:abstract_being . ?h rdf:type ontology:common_name } GROUP BY ?f } }
[]
common name abstract being
Q5480 Q819519 Q2291154
SYSTEM
Bart Simpson, Gul'dan, Kratos
Q21009638 Q15537062 Q819724 Q22079436 Q15502715 Q21006905 Q15055569 Q11339793 Q820011 Q819644 Q15648502 Q15725453 Q15502566 Q638630 Q15728188 Q15648510 Q1134585 Q15728185 Q820088 Q4701169 Q15884361 Q15956614 Q21036253 Q2079562 Q10343913 Q1161155 Q819500 Q27691284 Q3805994 Q15632347 Q15632342 Q15632343 Q2270749 Q11331437 Q15632348 Q819748 Q21027734 Q15502591 Q682371 Q15990697 Q15958700 Q15502577 Q2779377 Q819519 Q2558257 Q15520173 Q15712269 Q15502620 Q977511 Q17628767 Q15710705 Q27334870 Q27265636 Q49352 Q552682 Q5957609 Q728718 Q15502538 Q15490560 Q3631585 Q16040855 Q27300001 Q849700 Q15502637 Q27613927 Q819804 Q282514 Q3858633 Q16995485 Q18292066 Q844697 Q15502733 Q15956634 Q15970363 Q3605971 Q1076302 Q15502526 Q21030278 Q15990717 Q613241 Q2291154 Q15966747 Q3482136 Q18292143 Q18934600 Q27493776 Q2151996 Q3201327 Q2663645 Q819544 Q15961663 Q3479120 Q909655 Q16005386 Q16003600 Q2566378 Q15731593 Q17634983 Q2291498 Q849758 Q27680001 Q2332475 Q1200192 Q6076547 Q2082802 Q4000019 Q15502552 Q3937809 Q15502464 Q3966728 Q4874693 Q2738631 Q819851 Q15846552 Q5480 Q935079 Q18468944 Q15537046 Q14429586
(c(Q15619164),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q820011
relation P725
type Q15619164
[ANSWERS]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:Q15619164 . resource:Q820011 property:P725 ?n } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?m ) WHERE { ?f property:P725 ?h . ?f rdf:type ontology:Q15619164 . ?h rdf:type ontology:Q502895 } GROUP BY ?f } }
Beltino Toad Manami Tamura Lady Vashj Maz Kanata Nana Nishigaki Lionel Fusco Jeremiah Gottwald My Melody Sylvanas Windrunner Kael'thas Sunstrider Haruka Takayama Queen Chrysalis Ayano Sugiura Larry Laffer Renge Miyauchi Yuu Sonoda Hiroshi Nohara Hotaru Ichijo Thrall Akira Okuzaki Honoka Kōsaka Tamako Kitashirakawa Tricky SHODAN Palutena MZ/X Grom Hellscream Alma Diaz Jacqueline Natla Haruka Nishida Kana Nakamachi Amano Saki Pit Pikmin Mika Kujiin Maiev Shadowsong Young Link Sakurako Ohmuro Index Kotone Noda Dera Mochimazzwi Chitose Ikeda Mimi Tachikawa Gul'dan Rose Ui Hirasawa Mitsuki Sonoda Rise Matsumoto Shizuka Minamoto Diablo Discord Miku Hatsune Append (Dark) Len Kagamine Gena the Crocodile Hatsune Miku Rin Kagamine Rukia Kuchiki Yui Funami Sawako Yamanaka Azusa Nakano Pico Adam Jensen Deathwing Akane Akaza Thomas Burke Malfurion Stormrage Alucard Mio Akiyama Hiro Takachiho Sora Takenouchi Shinichi Kudo Mirakurun Mochizō Ōji Larson Conway Aerie Isaac Kleiner Kyōko Toshinō Toon Link Konari Koshigaya el niño rata Kratos Seiji Amasawa Alexander Anderson Koushirou "Izzy" Izumi Asuna Yūki Miku Hatsune Append (Sweet) Constance Harm Kōzō Fuyutsuki Krystal Illidan Stormrage Shijuku Tsukishima Seras Victoria Kagamine Rin/Len Kazuho Miyauchi Lizuka Yuzu Garrosh Hellscream Shizuku Minami Christopher Thorndyke Taichi Yagami Vol'jin Danny Burke Yamato "Matt" Ishida Midna Pip Bernadotte Sakura Kinomoto Tsumugi Kotobuki Chinatsu Yoshikawa Ritsu Tainaka Akari Akaza Spike Bayonetta Anna Williams Mannoroth Natsumi Koshigaya Bart Simpson SpongeBob SquarePants Kirito Kirino Kosaka Panther Caroso
Bart Simpson Gul'dan Kratos
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Sylvanas Windrunner
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { ?n rdf:type ontology:abstract_being . resource:Sylvanas_Windrunner property:voice_actor ?n } } . FILTER ( ?m = ?w ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?m ) WHERE { ?f property:voice_actor ?h . ?f rdf:type ontology:abstract_being . ?h rdf:type ontology:common_name } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q14432283
P725
Q502895 Q15619164
USER
And how about Katt Monroe?
(c(Q15619164),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q14432283
relation P725
type Q15619164
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?y ) WHERE { ?h property:P725 ?o . ?h rdf:type ontology:Q15619164 . ?o rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q14432283 property:P725 ?q . ?q rdf:type ontology:Q15619164 } } . FILTER ( ?y = ?w ) }
Katt Monroe
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Katt Monroe
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?y ) WHERE { ?h property:voice_actor ?o . ?h rdf:type ontology:abstract_being . ?o rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Katt_Monroe property:voice_actor ?q . ?q rdf:type ontology:abstract_being } } . FILTER ( ?y = ?w ) }
[]
common name abstract being
Q15710470 Q3190648 Q20948918
SYSTEM
Big McIntosh, Kari Kamiya, Andrew Oikonny
Q15710470 Q3190648 Q14432243 Q20948918 Q15141427 Q3222756 Q21036253 Q12739035 Q9300505 Q3152983 Q10343913 Q2270749 Q4023191 Q977511 Q17628767 Q3565718 Q3271686 Q11297446 Q3858633 Q844697 Q3482136 Q8212419 Q14432283 Q2151996 Q15730337 Q2663645 Q3966728 Q4810757 Q15710460 Q3222748 Q14429586
(c(Q15619164),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
action count
action filter_type
action find
entity Q14432283
relation P725
type Q15619164
[ANSWERS]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?y ) WHERE { ?h property:P725 ?o . ?h rdf:type ontology:Q15619164 . ?o rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q14432283 property:P725 ?q . ?q rdf:type ontology:Q15619164 } } . FILTER ( ?y = ?w ) }
Big McIntosh Kari Kamiya Bill Grey Andrew Oikonny Pinkie Pie Pigma Dengar Tricky Rainbow Dash Rarity Integra Hellsing Palutena Pit Yui Hirasawa Shizuka Minamoto Diablo Walter C. Dornez Andross Kyūbey Mio Akiyama Shinichi Kudo Alexander Anderson Leon Powalski Katt Monroe Constance Harm Babs Seed Krystal Spike Tyrael Gilda, the Griffin James McCloud Panther Caroso
Big McIntosh Kari Kamiya Andrew Oikonny
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
action count
action filter_type
action find
entity Katt Monroe
relation voice actor
type abstract being
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?y ) WHERE { ?h property:voice_actor ?o . ?h rdf:type ontology:abstract_being . ?o rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Katt_Monroe property:voice_actor ?q . ?q rdf:type ontology:abstract_being } } . FILTER ( ?y = ?w ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15619164 Q386724 Q3305213
USER
Which abstract beings are depicted in max number of works and paintings ?
(c(Q386724)|c(Q3305213),P180,c(Q15619164))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q386724
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q3305213
[[{'concept': 'Q386724'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15619164'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?f WHERE { VALUES ( ?q ) { ( ontology:Q386724 ) ( ontology:Q3305213 ) } . ?a rdf:type ?q } GROUP BY ?f } } . FILTER ( ?u = ?v ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?o WHERE { { ?r property:P180 ?o . ?o rdf:type ontology:Q15619164 . ?r rdf:type ontology:Q3305213 } UNION { ?r property:P180 ?o . ?o rdf:type ontology:Q15619164 . ?r rdf:type ontology:Q386724 } } GROUP BY ?o } }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type abstract being
type work
action find_reverse_tuple_counts
relation depicts
type abstract being
type painting
[[{'concept': 'work'}, {'concept': 'painting'}], 'depicts', {'concept': 'abstract being'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?f WHERE { VALUES ( ?q ) { ( ontology:work ) ( ontology:painting ) } . ?a rdf:type ?q } GROUP BY ?f } } . FILTER ( ?u = ?v ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?o WHERE { { ?r property:depicts ?o . ?o rdf:type ontology:abstract_being . ?r rdf:type ontology:painting } UNION { ?r property:depicts ?o . ?o rdf:type ontology:abstract_being . ?r rdf:type ontology:work } } GROUP BY ?o } }
[]
abstract being work painting
Q302
SYSTEM
Jesus Christ
Q302
(c(Q386724)|c(Q3305213),P180,c(Q15619164))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q386724
action find_reverse_tuple_counts
relation P180
type Q15619164
type Q3305213
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15619164'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?f WHERE { VALUES ( ?q ) { ( ontology:Q386724 ) ( ontology:Q3305213 ) } . ?a rdf:type ?q } GROUP BY ?f } } . FILTER ( ?u = ?v ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?o WHERE { { ?r property:P180 ?o . ?o rdf:type ontology:Q15619164 . ?r rdf:type ontology:Q3305213 } UNION { ?r property:P180 ?o . ?o rdf:type ontology:Q15619164 . ?r rdf:type ontology:Q386724 } } GROUP BY ?o } }
Jesus Christ
Jesus Christ
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type abstract being
type work
action find_reverse_tuple_counts
relation depicts
type abstract being
type painting
[[{'concept': 'work'}, {'concept': 'painting'}], 'depicts', {'concept': 'abstract being'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?f WHERE { VALUES ( ?q ) { ( ontology:work ) ( ontology:painting ) } . ?a rdf:type ?q } GROUP BY ?f } } . FILTER ( ?u = ?v ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) ?o WHERE { { ?r property:depicts ?o . ?o rdf:type ontology:abstract_being . ?r rdf:type ontology:painting } UNION { ?r property:depicts ?o . ?o rdf:type ontology:abstract_being . ?r rdf:type ontology:work } } GROUP BY ?o } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q302 Q430776
P19
Q56061
USER
Was that abstract being born at Nazareth ?
(Q302,P19,Q430776)
action is_in
entity Q430776
action find
entity Q302
relation P19
['Q302', 'P19', 'Q430776']
ASK WHERE { resource:Q302 property:P19 resource:Q430776 }
Jesus Christ Nazareth
action is_in
entity Nazareth
action find
entity Jesus Christ
relation place of birth
['Jesus Christ', 'place of birth', 'Nazareth']
ASK WHERE { resource:Jesus_Christ property:place_of_birth resource:Nazareth }
[]
administrative territorial entity
SYSTEM
YES
(Q302,P19,Q430776)
action is_in
entity Q430776
action find
entity Q302
relation P19
[ANSWER]
['Q302', 'P19', 'Q430776']
ASK WHERE { resource:Q302 property:P19 resource:Q430776 }
Yes
action is_in
entity Nazareth
action find
entity Jesus Christ
relation place of birth
['Jesus Christ', 'place of birth', 'Nazareth']
ASK WHERE { resource:Jesus_Christ property:place_of_birth resource:Nazareth }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q586 Q4221904
P1376
Q1048835
USER
Does Kyriakivka have Bonn as its county seat ?
(Q586,P1376,Q4221904)
action is_in
entity Q4221904
action find
entity Q586
relation P1376
['Q586', 'P1376', 'Q4221904']
ASK WHERE { resource:Q586 property:P1376 resource:Q4221904 }
Bonn Kyriakivka
action is_in
entity Kyriakivka
action find
entity Bonn
relation capital of
['Bonn', 'capital of', 'Kyriakivka']
ASK WHERE { resource:Bonn property:capital_of resource:Kyriakivka }
[]
political territorial entity
SYSTEM
NO
(Q586,P1376,Q4221904)
action is_in
entity Q4221904
action find
entity Q586
relation P1376
[ANSWER]
['Q586', 'P1376', 'Q4221904']
ASK WHERE { resource:Q586 property:P1376 resource:Q4221904 }
No
action is_in
entity Kyriakivka
action find
entity Bonn
relation capital of
['Bonn', 'capital of', 'Kyriakivka']
ASK WHERE { resource:Bonn property:capital_of resource:Kyriakivka }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2076872 Q365 Q8045640
P19
Q56061
USER
Was Peter Maria Busen born at Cologne and Xênkyêr ?
(Q2076872,P19,Q365) (Q2076872,P19,Q8045640)
action is_in
entity Q2076872
action intersection
action find_reverse
entity Q365
relation P19
action find_reverse
entity Q8045640
relation P19
['Q2076872', 'P19', 'Q365'] ['Q2076872', 'P19', 'Q8045640']
ASK WHERE { resource:Q2076872 property:P19 resource:Q8045640 . resource:Q2076872 property:P19 resource:Q365 }
Peter Maria Busen Cologne Xênkyêr
action is_in
entity Peter Maria Busen
action intersection
action find_reverse
entity Cologne
relation place of birth
action find_reverse
entity Xênkyêr
relation place of birth
['Peter Maria Busen', 'place of birth', 'Cologne'] ['Peter Maria Busen', 'place of birth', 'Xênkyêr']
ASK WHERE { resource:Peter_Maria_Busen property:place_of_birth resource:Xênkyêr . resource:Peter_Maria_Busen property:place_of_birth resource:Cologne }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q2076872,P19,Q365) (Q2076872,P19,Q8045640)
action is_in
entity Q2076872
action intersection
action find_reverse
entity Q365
relation P19
action find_reverse
entity Q8045640
relation P19
[ANSWER]
['Q2076872', 'P19', 'Q365'] ['Q2076872', 'P19', 'Q8045640']
ASK WHERE { resource:Q2076872 property:P19 resource:Q8045640 . resource:Q2076872 property:P19 resource:Q365 }
YES and NO respectively
action is_in
entity Peter Maria Busen
action intersection
action find_reverse
entity Cologne
relation place of birth
action find_reverse
entity Xênkyêr
relation place of birth
['Peter Maria Busen', 'place of birth', 'Cologne'] ['Peter Maria Busen', 'place of birth', 'Xênkyêr']
ASK WHERE { resource:Peter_Maria_Busen property:place_of_birth resource:Xênkyêr . resource:Peter_Maria_Busen property:place_of_birth resource:Cologne }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1187924 Q5480
P1441
Q15961987
USER
Which television genres do Bart Simpson or Sideswipe appear ?
OR((Q5480,P1441,c(Q15961987)), (Q1187924,P1441,c(Q15961987)))
action filter_type
action union
action find
entity Q5480
relation P1441
action find
entity Q1187924
relation P1441
type Q15961987
{'OR': [['Q5480', 'P1441', {'concept': 'Q15961987'}], ['Q1187924', 'P1441', {'concept': 'Q15961987'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1187924 property:P1441 ?l } UNION { resource:Q5480 property:P1441 ?l } } . ?l rdf:type ontology:Q15961987 }
Sideswipe Bart Simpson
action filter_type
action union
action find
entity Bart Simpson
relation present in work
action find
entity Sideswipe
relation present in work
type television genre
{'OR': [['Bart Simpson', 'present in work', {'concept': 'television genre'}], ['Sideswipe', 'present in work', {'concept': 'television genre'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Sideswipe property:present_in_work ?l } UNION { resource:Bart_Simpson property:present_in_work ?l } } . ?l rdf:type ontology:television_genre }
[]
television genre
Q886 Q602883
SYSTEM
The Simpsons, The Transformers
Q886 Q602883
OR((Q5480,P1441,c(Q15961987)), (Q1187924,P1441,c(Q15961987)))
action filter_type
action union
action find
entity Q5480
relation P1441
action find
entity Q1187924
relation P1441
type Q15961987
[ANSWERS]
{'OR': [['Q5480', 'P1441', {'concept': 'Q15961987'}], ['Q1187924', 'P1441', {'concept': 'Q15961987'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1187924 property:P1441 ?l } UNION { resource:Q5480 property:P1441 ?l } } . ?l rdf:type ontology:Q15961987 }
The Simpsons The Transformers
The Simpsons The Transformers
action filter_type
action union
action find
entity Bart Simpson
relation present in work
action find
entity Sideswipe
relation present in work
type television genre
{'OR': [['Bart Simpson', 'present in work', {'concept': 'television genre'}], ['Sideswipe', 'present in work', {'concept': 'television genre'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Sideswipe property:present_in_work ?l } UNION { resource:Bart_Simpson property:present_in_work ?l } } . ?l rdf:type ontology:television_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q81483 Q586
P17
Q1048835
USER
Which political territories do Bonn or The Levant belong to ?
OR((Q586,P17,c(Q1048835)), (Q81483,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q586
relation P17
action find
entity Q81483
relation P17
type Q1048835
{'OR': [['Q586', 'P17', {'concept': 'Q1048835'}], ['Q81483', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . { VALUES ( ?l ) { ( resource:Q586 ) ( resource:Q81483 ) } . ?l property:P17 ?r } }
The Levant Bonn
action filter_type
action union
action find
entity Bonn
relation country
action find
entity The Levant
relation country
type political territorial entity
{'OR': [['Bonn', 'country', {'concept': 'political territorial entity'}], ['The Levant', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . { VALUES ( ?l ) { ( resource:Bonn ) ( resource:The_Levant ) } . ?l property:country ?r } }
[]
political territorial entity
Q407199 Q183
SYSTEM
Palestinian territories, Germany
Q407199 Q183
OR((Q586,P17,c(Q1048835)), (Q81483,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q586
relation P17
action find
entity Q81483
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q586', 'P17', {'concept': 'Q1048835'}], ['Q81483', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . { VALUES ( ?l ) { ( resource:Q586 ) ( resource:Q81483 ) } . ?l property:P17 ?r } }
Palestinian territories Germany
Palestinian territories Germany
action filter_type
action union
action find
entity Bonn
relation country
action find
entity The Levant
relation country
type political territorial entity
{'OR': [['Bonn', 'country', {'concept': 'political territorial entity'}], ['The Levant', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . { VALUES ( ?l ) { ( resource:Bonn ) ( resource:The_Levant ) } . ?l property:country ?r } }
[]