Simple Question (Direct)
Simple Question
Q713271
P27
Q15617994
USER
Which administrative territory does Josef Svatopluk Machar belong to ?
(Q713271,P27,c(Q15617994))
action filter_type
action find
entity Q713271
relation P27
type Q15617994
['Q713271', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q713271 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Josef Svatopluk Machar
action filter_type
action find
entity Josef Svatopluk Machar
relation country of citizenship
type designation for an administrative territorial entity
['Josef Svatopluk Machar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Josef_Svatopluk_Machar property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q713271,P27,c(Q15617994))
action filter_type
action find
entity Q713271
relation P27
type Q15617994
Josef Svatopluk Machar belongs to [ANSWER]
['Q713271', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q713271 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Czech Republic
Josef Svatopluk Machar belongs to Czech Republic
Czech Republic
action filter_type
action find
entity Josef Svatopluk Machar
relation country of citizenship
type designation for an administrative territorial entity
['Josef Svatopluk Machar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Josef_Svatopluk_Machar property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q713271
P50
Q2342494
USER
What is the collectable written by Josef Svatopluk Machar ?
(c(Q2342494),P50,Q713271)
action filter_type
action find_reverse
entity Q713271
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q713271']
SELECT DISTINCT ?q WHERE { ?q property:P50 resource:Q713271 . ?q rdf:type ontology:Q2342494 }
Josef Svatopluk Machar
action filter_type
action find_reverse
entity Josef Svatopluk Machar
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Josef Svatopluk Machar']
SELECT DISTINCT ?q WHERE { ?q property:author resource:Josef_Svatopluk_Machar . ?q rdf:type ontology:collectable }
[]
collectable
Q6729847
SYSTEM
Magdalena
Q6729847
(c(Q2342494),P50,Q713271)
action filter_type
action find_reverse
entity Q713271
relation P50
type Q2342494
The collectable written by Josef Svatopluk Machar is about [ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q713271']
SELECT DISTINCT ?q WHERE { ?q property:P50 resource:Q713271 . ?q rdf:type ontology:Q2342494 }
Magdalena
The collectable written by Josef Svatopluk Machar is about Magdalena
Magdalena
action filter_type
action find_reverse
entity Josef Svatopluk Machar
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Josef Svatopluk Machar']
SELECT DISTINCT ?q WHERE { ?q property:author resource:Josef_Svatopluk_Machar . ?q rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q713271
P22
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P22,Q6729847)
action filter_type
action find_reverse
entity Q713271
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q6729847']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q713271 . ?b rdf:type ontology:Q502895 }
Josef Svatopluk Machar
action filter_type
action find_reverse
entity Josef Svatopluk Machar
relation father
type common name
[{'concept': 'common name'}, 'father', 'Magdalena']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Josef_Svatopluk_Machar . ?b rdf:type ontology:common_name }
[]
common name
Q26742226
SYSTEM
Sylva Macharová
Q26742226
(c(Q502895),P22,Q6729847)
action filter_type
action find_reverse
entity Q713271
relation P22
type Q502895
The offspring of that one is also [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q6729847']
SELECT DISTINCT ?b WHERE { ?b property:P22 resource:Q713271 . ?b rdf:type ontology:Q502895 }
Sylva Macharová
The offspring of that one is also Sylva Macharová
Sylva Macharová
action filter_type
action find_reverse
entity Josef Svatopluk Machar
relation father
type common name
[{'concept': 'common name'}, 'father', 'Magdalena']
SELECT DISTINCT ?b WHERE { ?b property:father resource:Josef_Svatopluk_Machar . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26742226
P106
Q12737077
USER
What is the job of that person ?
(Q26742226,P106,c(Q12737077))
action filter_type
action find
entity Q26742226
relation P106
type Q12737077
['Q26742226', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q26742226 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Sylva Macharová
action filter_type
action find
entity Sylva Macharová
relation occupation
type occupation
['Sylva Macharová', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Sylva_Macharová property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q186360
SYSTEM
nurse
Q186360
(Q26742226,P106,c(Q12737077))
action filter_type
action find
entity Q26742226
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q26742226', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q26742226 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
nurse
The job of that person is a nurse
nurse
action filter_type
action find
entity Sylva Macharová
relation occupation
type occupation
['Sylva Macharová', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Sylva_Macharová property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26742226
P21
Q290
USER
Which sex does that person belong to ?
(Q186360,P21,c(Q290))
action filter_type
action find
entity Q26742226
relation P21
type Q290
['Q186360', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q26742226 property:P21 ?y . ?y rdf:type ontology:Q290 }
Sylva Macharová
action filter_type
action find
entity Sylva Macharová
relation gender
type sex
['nurse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Sylva_Macharová property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q186360,P21,c(Q290))
action filter_type
action find
entity Q26742226
relation P21
type Q290
That person belongs to [ANSWER]
['Q186360', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q26742226 property:P21 ?y . ?y rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Sylva Macharová
relation gender
type sex
['nurse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Sylva_Macharová property:gender ?y . ?y rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1434
Q386724 Q36649 Q2342494
USER
How many collectables are set in atmost 1 works and visual artss ?
(c(Q2342494),P1434,c(Q386724)|c(Q36649))
action count
action atmost
action union
action find_tuple_counts
relation P1434
type Q2342494
type Q386724
action find_tuple_counts
relation P1434
type Q2342494
type Q36649
value 1
[{'concept': 'Q2342494'}, 'P1434', [{'concept': 'Q386724'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?s WHERE { VALUES ( ?u ) { ( ontology:Q36649 ) ( ontology:Q386724 ) } . ?p rdf:type ?u } GROUP BY ?s } . FILTER ( ?q <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation describes the fictional universe
type collectable
type work
action find_tuple_counts
relation describes the fictional universe
type collectable
type visual arts
value 1
[{'concept': 'collectable'}, 'describes the fictional universe', [{'concept': 'work'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?s WHERE { VALUES ( ?u ) { ( ontology:visual_arts ) ( ontology:work ) } . ?p rdf:type ?u } GROUP BY ?s } . FILTER ( ?q <= 1 ) }
[]
work visual arts collectable
SYSTEM
231
Q74362 Q5307431 Q7501951 Q7501956 Q8027613 Q26995822 Q753894 Q27021952 Q27055639 Q5609283 Q7764847 Q2295267 Q5373764 Q7735646 Q7720658 Q503793 Q839800 Q330898 Q7501957 Q932592 Q7914469 Q7715579 Q7501955 Q27021907 Q27021869 Q7770728 Q7741197 Q5440721 Q7712698 Q340401 Q5223363 Q332388 Q330826 Q5291021 Q7501946 Q4827169 Q27021433 Q502724 Q7501948 Q16466026 Q3507541 Q503921 Q16386366 Q27021769 Q4884737 Q7733211 Q5025991 Q7776587 Q7134945 Q7741991 Q16995885 Q4726515 Q502032 Q16170368 Q151337 Q181488 Q1250366 Q16466017 Q7719338 Q2464217 Q16204802 Q6517320 Q5306736 Q7769557 Q302832 Q17139220 Q5331266 Q3124890 Q7501953 Q23092039 Q7728161 Q853927 Q7601035 Q7913005 Q7445753 Q503325 Q5327039 Q7501969 Q17110942 Q7762420 Q253344 Q261728 Q7201035 Q7501950 Q502633 Q884010 Q7718723 Q20311367 Q8030203 Q3224307 Q7811310 Q7914965 Q5050872 Q5899064 Q26884512 Q5142529 Q27021796 Q4750670 Q7805231 Q7723230 Q309019 Q4726406 Q7731651 Q339923 Q6673727 Q27021621 Q7897158 Q3212482 Q16724456 Q43361 Q2627716 Q3075680 Q7560287 Q7805532 Q467139 Q4154349 Q16204811 Q1050014 Q7713660 Q194424 Q684818 Q5437659 Q17001721 Q7765626 Q22682114 Q2515250 Q8031874 Q5506048 Q27021718 Q331804 Q27021941 Q565105 Q331651 Q7501990 Q4372933 Q7742024 Q17746256 Q17746254 Q17746255 Q7302532 Q7719013 Q340607 Q7501977 Q27021471 Q17989172 Q1990751 Q46887 Q74287 Q1751870 Q27021892 Q3611744 Q332581 Q13403351 Q2330751 Q7764777 Q783533 Q7501981 Q7729370 Q7501982 Q7501985 Q7501984 Q7501987 Q15228 Q7501989 Q5376098 Q7742975 Q27021813 Q5641870 Q4726516 Q17059929 Q46758 Q6725951 Q18003141 Q46751 Q27021833 Q165068 Q7767913 Q7318678 Q4024239 Q7501979 Q938629 Q7501974 Q192258 Q7501976 Q7033900 Q7501971 Q7501973 Q23541423 Q6517916 Q5306775 Q7730618 Q18062234 Q47209 Q503974 Q5396959 Q7832219 Q6046378 Q5256329 Q2452138 Q503476 Q7733012 Q79762 Q7763595 Q502579 Q6446512 Q16203446 Q27021510 Q302026 Q7501967 Q7501965 Q7501963 Q7501962 Q80817 Q6517902 Q7767942 Q25214361 Q6083546 Q7200270 Q7099002 Q8032576 Q27021746 Q5774660 Q5533441 Q7738458 Q7968678 Q1505793 Q16953491 Q27004175 Q3232655 Q47598 Q27030881
(c(Q2342494),P1434,c(Q386724)|c(Q36649))
action count
action atmost
action union
action find_tuple_counts
relation P1434
type Q2342494
type Q386724
action find_tuple_counts
relation P1434
type Q2342494
type Q36649
value 1
[ANSWER]
[{'concept': 'Q2342494'}, 'P1434', [{'concept': 'Q386724'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?s WHERE { VALUES ( ?u ) { ( ontology:Q36649 ) ( ontology:Q386724 ) } . ?p rdf:type ?u } GROUP BY ?s } . FILTER ( ?q <= 1 ) }
Excession Drift Short Trips: A Universe of Terrors Short Trips: Dalek Empire Wishing Well Aliens: Original Sin Foundation Aliens: No Exit Alien: The Weyland-Yutani Report Grimm Reality The Slow Empire The Ringworld Throne Emotional Chemistry The Gallifrey Chronicles The Burning Morgoth's Ring Foundation and Empire Valaquenta Short Trips: Defining Patterns Foundation's Edge Vanderdeken's Children The Banquo Legacy Short Trips: Companions Aliens: Steel Egg Aliens: DNA War The Turing Test The Hydrogen Sonata Federation The Adventuress of Henrietta Street The Book of Lost Tales Dark Progeny The Two Towers Ainulindalë Dominion Short Trips: 2040 Autumn Mist Aliens The Treason of Isengard Short Trips: A Christmas Treasury My Own Kind of Freedom Noon: 22nd Century The War of the Jewels Interference: Book One Aliens: Rogue Beltempest The Fall of Yquatine Camera Obscura The Year of Intelligent Tigers Parallel 59 The Infinity Race Lando Calrissian and the Starcave of ThonBoka Aliens: Colonial Marines Technical Manual The Shaping of Middle-earth The Walking Dead: The Fall of the Governor The State of the Art Gulliver's Travels The Emerald City of Oz Serenity The Book of the Still Elantris Short Trips: Repercussions Legacy of the Daleks Dreams of Empire The Tomorrow Windows Resident Evil: Caliban Cove Rogues Eater of Wasps Foundation's Triumph Short Trips: Christmas Around the World Robert Kirkman's The Walking Dead: Descent The Crooked World Second Foundation Star Trek Vampire Science Seeing I The War of the Ring EarthWorld Short Trips: Monsters Warriors The Scarlet Empress Foundation's Fear Consider Phlebas Planeswalker Short Trips: A Day in the Life The Return of the Shadow Look to Windward The Blue Angel Aliens: The Female War Wolfsbane The Courtship of Princess Leia To the Slaughter Vanishing Point Casualties of War Hope Re:Collections Coldheart Aliens: Labyrinth Anachrophobia Time Zero The City of the Dead Unfinished Tales Alien Bodies The Eight Doctors Use of Weapons Longest Day Alien Resurrection Unnatural History The Road to Dune Dangerous Women (anthology) Harry Potter and the Philosopher's Stone Darth Maul: Shadow Hunter Foundation and Chaos Sometime Never... Timeless The Player of Games Far Rainbow Short Trips: Indefinable Magic Foundation and Earth The Ancestor Cell Fantastic Beasts and Where to Find Them Matter Father Time Ancillary Justice The Space Age Robert Kirkman's The Walking Dead: Invasion The Walking Dead: The Road to Woodbury Wonderland Frontier Worlds Aliens: Genocide The Adventures of Tom Bombadil Aliens: Criminal Enterprise Psychohistorical Crisis The Children of Húrin Short Trips: Zodiac Escape Attempt The Inhabitant of the Lake and Less Welcome Tenants Book Three of the Travelers Book One of the Travelers Book Two of the Travelers Reckless Engineering The Bodysnatchers The Lays of Beleriand Short Trips: Steel Skies Alien 3 Ancillary Sword Resident Evil: City of the Dead Harry Potter and the Half-Blood Prince The Hobbit A Game of Thrones Aliens: Cauldron Alien The Return of the King Warbreaker The Walking Dead: Rise of the Governor The Sleep of Reason Prelude to Foundation Short Trips: The History of Christmas The Deadstone Memorial Short Trips: The Muses Short Trips: The Solar System Short Trips: The Quality of Leadership Short Trips: Transmissions The Lord of the Rings Short Trips: Time Signature Endgame The Janus Conjunction Music of the Spears Halflife Aliens: Earth Hive The Binding Stone Harry Potter and the Deathly Hallows Mad Dogs and Englishmen Ancillary Mercy Harry Potter and the Goblet of Fire Aliens: Berserker The Tales of Beedle the Bard The Taint Revolution Man Resident Evil: Zero Hour Short Trips: The Ghosts of Christmas Forward the Foundation Short Trips: Seven Deadly Sins Quidditch Through the Ages Short Trips: The Centenarian Nightmare Asylum Short Trips: Past Tense Short Trips: Snapshots The Walking Dead: The Fall of the Governor (Part 2) Legends II Dreamstone Moon The Domino Effect In the Shadow of the Invisible King Harry Potter and the Chamber of Secrets The Peoples of Middle-earth Escape Velocity Trading Futures Interference: Book Two Demontage Resident Evil: Underworld Sauron Defeated The Face-Eater The Silmarillion The Shadows of Avalon The Lost Road and Other Writings Kursaal The Last Resort Alien: Sea of Sorrows Surface Detail Short Trips: Life Science Short Trips: How The Doctor Changed My Life Short Trips: Farewells Short Trips: Destination Prague Harry Potter and the Order of the Phoenix Legends The Taking of Planet 5 Alien: Out of the Shadows Island of Death Placebo Effect Option Lock Wooden Heart Aliens: Alien Harvest History 101 Genocide The Guide to the Territories of Halla War of the Daleks Ringworld The 34th Rule Alien: River of Pain Foundation's Friends Harry Potter and the Prisoner of Azkaban Alien Woman: The Making of Lt. Ellen Ripley
231
action count
action atmost
action union
action find_tuple_counts
relation describes the fictional universe
type collectable
type work
action find_tuple_counts
relation describes the fictional universe
type collectable
type visual arts
value 1
[{'concept': 'collectable'}, 'describes the fictional universe', [{'concept': 'work'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?s WHERE { VALUES ( ?u ) { ( ontology:visual_arts ) ( ontology:work ) } . ?p rdf:type ?u } GROUP BY ?s } . FILTER ( ?q <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q257267
P136
Q151885
USER
Which concept is the genre for Christy Moore ?
(Q257267,P136,c(Q151885))
action filter_type
action find
entity Q257267
relation P136
type Q151885
['Q257267', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q151885 . resource:Q257267 property:P136 ?h }
Christy Moore
action filter_type
action find
entity Christy Moore
relation genre
type concept
['Christy Moore', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:concept . resource:Christy_Moore property:genre ?h }
[]
concept
Q854451
SYSTEM
Celtic music
Q854451
(Q257267,P136,c(Q151885))
action filter_type
action find
entity Q257267
relation P136
type Q151885
It [ANSWER] is the genre for Christy Moore
['Q257267', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q151885 . resource:Q257267 property:P136 ?h }
Celtic music
It Celtic music is the genre for Christy Moore
Celtic music
action filter_type
action find
entity Christy Moore
relation genre
type concept
['Christy Moore', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:concept . resource:Christy_Moore property:genre ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q257267
P7
Q502895
USER
Who has that one as their sibling ?
(Q854451,P7,c(Q502895))
action filter_type
action find
entity Q257267
relation P7
type Q502895
['Q854451', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q257267 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Christy Moore
action filter_type
action find
entity Christy Moore
relation brother
type common name
['Celtic music', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Christy_Moore property:brother ?x . ?x rdf:type ontology:common_name }
[]
common name
Q728951
SYSTEM
Luka Bloom
Q728951
(Q854451,P7,c(Q502895))
action filter_type
action find
entity Q257267
relation P7
type Q502895
[ANSWER] has that one as their sibling
['Q854451', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q257267 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Luka Bloom
Luka Bloom has that one as their sibling
Luka Bloom
action filter_type
action find
entity Christy Moore
relation brother
type common name
['Celtic music', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Christy_Moore property:brother ?x . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19106247 Q6729847
P364
Q34770
USER
Which languages are the original languages of creation of Magdalena or To the citizens for Gaius Rabirius on a charge of treason ?
OR((Q6729847,P364,c(Q34770)), (Q19106247,P364,c(Q34770)))
action filter_type
action union
action find
entity Q6729847
relation P364
action find
entity Q19106247
relation P364
type Q34770
{'OR': [['Q6729847', 'P364', {'concept': 'Q34770'}], ['Q19106247', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q6729847 property:P364 ?o } UNION { resource:Q19106247 property:P364 ?o } } . ?o rdf:type ontology:Q34770 }
To the citizens for Gaius Rabirius on a charge of treason Magdalena
action filter_type
action union
action find
entity Magdalena
relation original language of work
action find
entity To the citizens for Gaius Rabirius on a charge of treason
relation original language of work
type language
{'OR': [['Magdalena', 'original language of work', {'concept': 'language'}], ['To the citizens for Gaius Rabirius on a charge of treason', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Magdalena property:original_language_of_work ?o } UNION { resource:To_the_citizens_for_Gaius_Rabirius_on_a_charge_of_treason property:original_language_of_work ?o } } . ?o rdf:type ontology:language }
[]
language
Q397 Q9056
SYSTEM
Latin, Czech
Q397 Q9056
OR((Q6729847,P364,c(Q34770)), (Q19106247,P364,c(Q34770)))
action filter_type
action union
action find
entity Q6729847
relation P364
action find
entity Q19106247
relation P364
type Q34770
[ANSWERS] are the original languages of creation of Magdalena or To the citizens for Gaius Rabirius on a charge of treason
{'OR': [['Q6729847', 'P364', {'concept': 'Q34770'}], ['Q19106247', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q6729847 property:P364 ?o } UNION { resource:Q19106247 property:P364 ?o } } . ?o rdf:type ontology:Q34770 }
Latin Czech
Latin and Czech are the original languages of creation of Magdalena or To the citizens for Gaius Rabirius on a charge of treason
Latin Czech
action filter_type
action union
action find
entity Magdalena
relation original language of work
action find
entity To the citizens for Gaius Rabirius on a charge of treason
relation original language of work
type language
{'OR': [['Magdalena', 'original language of work', {'concept': 'language'}], ['To the citizens for Gaius Rabirius on a charge of treason', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Magdalena property:original_language_of_work ?o } UNION { resource:To_the_citizens_for_Gaius_Rabirius_on_a_charge_of_treason property:original_language_of_work ?o } } . ?o rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6624057
P364
Q2342494
USER
Were Astronautilia done in those ones language during their inception ?
(Q6624057,P364,Q397) (Q6624057,P364,Q9056)
action is_in
entity prev_answer
action find
entity Q6624057
relation P364
['Q6624057', 'P364', 'Q397'] ['Q6624057', 'P364', 'Q9056']
ASK WHERE { VALUES ( ?r ) { ( resource:Q397 ) ( resource:Q9056 ) } . resource:Q6624057 property:P364 ?r }
Astronautilia
action is_in
entity prev_answer
action find
entity Astronautilia
relation original language of work
['Astronautilia', 'original language of work', 'Latin'] ['Astronautilia', 'original language of work', 'Czech']
ASK WHERE { VALUES ( ?r ) { ( resource:Latin ) ( resource:Czech ) } . resource:Astronautilia property:original_language_of_work ?r }
[]
collectable
SYSTEM
YES
(Q6624057,P364,Q397) (Q6624057,P364,Q9056)
action is_in
entity prev_answer
action find
entity Q6624057
relation P364
[ANSWER]
['Q6624057', 'P364', 'Q397'] ['Q6624057', 'P364', 'Q9056']
ASK WHERE { VALUES ( ?r ) { ( resource:Q397 ) ( resource:Q9056 ) } . resource:Q6624057 property:P364 ?r }
Yes
action is_in
entity prev_answer
action find
entity Astronautilia
relation original language of work
['Astronautilia', 'original language of work', 'Latin'] ['Astronautilia', 'original language of work', 'Czech']
ASK WHERE { VALUES ( ?r ) { ( resource:Latin ) ( resource:Czech ) } . resource:Astronautilia property:original_language_of_work ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q190067
P2175
Q2057971
USER
How many health problems are treated with Δ9-tetrahydrocannabinol ?
(Q190067,P2175,c(Q2057971))
action count
action filter_type
action find
entity Q190067
relation P2175
type Q2057971
['Q190067', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:Q2057971 . resource:Q190067 property:P2175 ?o }
Δ9-tetrahydrocannabinol
action count
action filter_type
action find
entity Δ9-tetrahydrocannabinol
relation medical condition treated
type health problem
['Δ9-tetrahydrocannabinol', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:health_problem . resource:Δ9-tetrahydrocannabinol property:medical_condition_treated ?o }
[]
health problem
SYSTEM
5
Q7632070 Q3743620 Q7331102 Q131749 Q838966
(Q190067,P2175,c(Q2057971))
action count
action filter_type
action find
entity Q190067
relation P2175
type Q2057971
[ANSWER]
['Q190067', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:Q2057971 . resource:Q190067 property:P2175 ?o }
substance-related disorder cannabis dependence alcohol abuse anorexia nervosa irritable bowel syndrome
5
action count
action filter_type
action find
entity Δ9-tetrahydrocannabinol
relation medical condition treated
type health problem
['Δ9-tetrahydrocannabinol', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:health_problem . resource:Δ9-tetrahydrocannabinol property:medical_condition_treated ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q713271
P1411
Q618779
USER
Which award does Josef Svatopluk Machar have ?
(Q713271,P1411,c(Q618779))
action filter_type
action find
entity Q713271
relation P1411
type Q618779
['Q713271', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q713271 property:P1411 ?p . ?p rdf:type ontology:Q618779 }
Josef Svatopluk Machar
action filter_type
action find
entity Josef Svatopluk Machar
relation nominated for
type award
['Josef Svatopluk Machar', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Josef_Svatopluk_Machar property:nominated_for ?p . ?p rdf:type ontology:award }
[]
award
Q37922
SYSTEM
Nobel Prize in Literature
Q37922
(Q713271,P1411,c(Q618779))
action filter_type
action find
entity Q713271
relation P1411
type Q618779
Josef Svatopluk Machar has the [ANSWER]
['Q713271', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?p WHERE { resource:Q713271 property:P1411 ?p . ?p rdf:type ontology:Q618779 }
Nobel Prize in Literature
Josef Svatopluk Machar has the Nobel Prize in Literature
Nobel Prize in Literature
action filter_type
action find
entity Josef Svatopluk Machar
relation nominated for
type award
['Josef Svatopluk Machar', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?p WHERE { resource:Josef_Svatopluk_Machar property:nominated_for ?p . ?p rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37922
P166
Q502895
USER
Who were awarded with that award ?
(c(Q502895),P166,Q37922)
action filter_type
action find_reverse
entity Q37922
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q37922']
SELECT DISTINCT ?d WHERE { ?d property:P166 resource:Q37922 . ?d rdf:type ontology:Q502895 }
Nobel Prize in Literature
action filter_type
action find_reverse
entity Nobel Prize in Literature
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Nobel Prize in Literature']
SELECT DISTINCT ?d WHERE { ?d property:award_received resource:Nobel_Prize_in_Literature . ?d rdf:type ontology:common_name }
[]
common name
Q37030 Q8016 Q37767
SYSTEM
Thomas Mann, Winston Churchill, T. S. Eliot
Q82248 Q45970 Q42037 Q41042 Q129173 Q7728 Q80871 Q121180 Q33760 Q274334 Q226525 Q38049 Q57074 Q165823 Q132723 Q225554 Q83174 Q392 Q44183 Q6538 Q129155 Q134644 Q43523 Q34189 Q134641 Q40213 Q18143 Q133042 Q80064 Q42247 Q40826 Q127349 Q44593 Q42156 Q160478 Q25351 Q5878 Q131318 Q34743 Q42552 Q47243 Q23434 Q8016 Q42398 Q43440 Q41502 Q83059 Q39212 Q222944 Q80095 Q241248 Q47162 Q39803 Q7176 Q93157 Q131487 Q93137 Q25973 Q132695 Q81685 Q129187 Q7241 Q80321 Q9364 Q132589 Q131326 Q38392 Q83038 Q43293 Q40874 Q131549 Q42747 Q159552 Q37030 Q41488 Q37767 Q83184 Q46739 Q75612 Q72334 Q43736 Q41223 Q47484 Q8998 Q47561 Q42596 Q765 Q37327 Q46405 Q19185 Q102483 Q123469 Q34670 Q132684 Q46602 Q80889 Q34474 Q80900 Q75603 Q1403 Q93356 Q42122 Q42443 Q76487 Q132701 Q234819 Q47755 Q44519 Q47695 Q37060 Q862 Q49747 Q47619
(c(Q502895),P166,Q37922)
action filter_type
action find_reverse
entity Q37922
relation P166
type Q502895
[ANSWERS] were awarded with that award
[{'concept': 'Q502895'}, 'P166', 'Q37922']
SELECT DISTINCT ?d WHERE { ?d property:P166 resource:Q37922 . ?d rdf:type ontology:Q502895 }
John Galsworthy Czesław Miłosz J. M. G. Le Clézio Harold Pinter Verner von Heidenstam Grazia Deledda Gabriela Mistral Władysław Reymont Bertrand Russell Sviatlana Aleksievich Carl Spitteler Herta Müller Nelly Sachs Giorgos Seferis Frans Eemil Sillanpää Henrik Pontoppidan Eugenio Montale Bob Dylan William Golding Günter Grass Roger Martin du Gard Vicente Aleixandre Gerhart Hauptmann Pablo Neruda Erik Axel Karlfeldt William Butler Yeats Gao Xingjian Shmuel Yosef Agnon Elias Canetti Sully Prudhomme Knut Hamsun José Echegaray V. S. Naipaul Henri Bergson Odysseas Elytis Theodor Mommsen Gabriel García Márquez Juan Ramón Jiménes Rudyard Kipling Wisława Szymborska Elfriede Jelinek Ernest Hemingway Winston Churchill Michail Sholokhov Giosuè Carducci Henryk Sienkiewicz Saul Bellow John Steinbeck Patrick Modiano Kenzaburō Ōe Orhan Pamuk Romain Rolland Mario Vargas Llosa Naguib Mahfouz Eugene O'Neill Karl Adolph Gjellerup Pär Lagerkvist Hermann Hesse Harry Martinson François Mauriac Patrick White Rabindranath Tagore Halldór Laxness Jean-Paul Sartre Camilo José Cela Eyvind Johnson William Faulkner Salvatore Quasimodo J. M. Coetzee Doris Lessing Claude Simon Heinrich Böll Johannes V. Jensen Thomas Mann Wole Soyinka T. S. Eliot Jacinto Benavente Octavio Paz Panochudo Isaac Bashevis Singer Toni Morrison Yasunari Kawabata Boris Pasternak André Gide Mo Yan Ivo Andrić Frédéric Mistral Dario Fo Samuel Beckett Bjørnstjerne Bjørnson George Bernard Shaw Jaroslav Seifert Sinclair Lewis Albert Camus Saint-John Perse Ivan Bunin Sigrid Undset Aleksandr Solzhenitsyn Pearl S. Buck Miguel Ángel Asturias Luigi Pirandello Seamus Heaney Tomas Tranströmer Anatole France Paul Heyse Derek Walcott Alice Munro Imre Kertész Selma Lagerlöf Rudolf Christoph Eucken José Saramago Joseph Brodsky Maurice Maeterlinck Nadine Gordimer
Thomas Mann, Winston Churchill and T. S. Eliot were awarded with that award
Thomas Mann Winston Churchill T. S. Eliot
action filter_type
action find_reverse
entity Nobel Prize in Literature
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Nobel Prize in Literature']
SELECT DISTINCT ?d WHERE { ?d property:award_received resource:Nobel_Prize_in_Literature . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q37030 Q8016 Q37767
P26
Q502895
USER
Which people are the spouses of Thomas Mann, Winston Churchill and T. S. Eliot ?
(Q37030,P26,c(Q502895)) (Q8016,P26,c(Q502895)) (Q37767,P26,c(Q502895))
action union
action filter_type
action find
entity Q37030
relation P26
type Q502895
action filter_type
action find
entity Q8016
relation P26
type Q502895
action filter_type
action find
entity Q37767
relation P26
type Q502895
['Q37030', 'P26', {'concept': 'Q502895'}] ['Q8016', 'P26', {'concept': 'Q502895'}] ['Q37767', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { resource:Q8016 property:P26 ?a . ?a rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q502895 . resource:Q37030 property:P26 ?a } }
Thomas Mann Winston Churchill T. S. Eliot
action union
action filter_type
action find
entity Thomas Mann
relation spouse
type common name
action filter_type
action find
entity Winston Churchill
relation spouse
type common name
action filter_type
action find
entity T. S. Eliot
relation spouse
type common name
['Thomas Mann', 'spouse', {'concept': 'common name'}] ['Winston Churchill', 'spouse', {'concept': 'common name'}] ['T. S. Eliot', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { resource:Winston_Churchill property:spouse ?a . ?a rdf:type ontology:common_name } UNION { ?a rdf:type ontology:common_name . resource:Thomas_Mann property:spouse ?a } }
[]
common name
Q263454 Q214999 Q7937883
SYSTEM
Clementine Churchill, Baroness Spencer-Churchill, Katia Mann, Vivienne Haigh-Wood Eliot
Q214999 Q263454 Q7937883 Q7911263
(Q37030,P26,c(Q502895)) (Q8016,P26,c(Q502895)) (Q37767,P26,c(Q502895))
action union
action filter_type
action find
entity Q37030
relation P26
type Q502895
action filter_type
action find
entity Q8016
relation P26
type Q502895
action filter_type
action find
entity Q37767
relation P26
type Q502895
[ANSWERS] are the spouses of Thomas Mann, Winston Churchill and T. S. Eliot
['Q37030', 'P26', {'concept': 'Q502895'}] ['Q8016', 'P26', {'concept': 'Q502895'}] ['Q37767', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { resource:Q8016 property:P26 ?a . ?a rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q502895 . resource:Q37030 property:P26 ?a } }
Katia Mann Clementine Churchill, Baroness Spencer-Churchill Vivienne Haigh-Wood Eliot Valerie Eliot
Clementine Churchill, Baroness Spencer-Churchill, Katia Mann and Vivienne Haigh-Wood Eliot are the spouses of Thomas Mann, Winston Churchill and T. S. Eliot
Clementine Churchill, Baroness Spencer-Churchill Katia Mann Vivienne Haigh-Wood Eliot
action union
action filter_type
action find
entity Thomas Mann
relation spouse
type common name
action filter_type
action find
entity Winston Churchill
relation spouse
type common name
action filter_type
action find
entity T. S. Eliot
relation spouse
type common name
['Thomas Mann', 'spouse', {'concept': 'common name'}] ['Winston Churchill', 'spouse', {'concept': 'common name'}] ['T. S. Eliot', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { resource:Winston_Churchill property:spouse ?a . ?a rdf:type ontology:common_name } UNION { ?a rdf:type ontology:common_name . resource:Thomas_Mann property:spouse ?a } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q214999
P551
Q56061
USER
Which administrative territory was the place of residence of that person ?
(Q214999,P551,c(Q56061))
action filter_type
action find
entity Q214999
relation P551
type Q56061
['Q214999', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q214999 property:P551 ?r . ?r rdf:type ontology:Q56061 }
Katia Mann
action filter_type
action find
entity Katia Mann
relation residence
type administrative territorial entity
['Katia Mann', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Katia_Mann property:residence ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q7937883
SYSTEM
Did you mean Vivienne Haigh-Wood Eliot ?
Q263454 Q214999 Q7937883
(Q263454,P551,c(Q56061)) (Q214999,P551,c(Q56061)) (Q7937883,P551,c(Q56061))
[ANSWER]
['Q263454', 'P551', {'concept': 'Q56061'}] ['Q214999', 'P551', {'concept': 'Q56061'}] ['Q7937883', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q214999 property:P551 ?r . ?r rdf:type ontology:Q56061 }
Clementine Churchill, Baroness Spencer-Churchill Katia Mann Vivienne Haigh-Wood Eliot
Did you mean Vivienne Haigh-Wood Eliot ?
Vivienne Haigh-Wood Eliot
['Clementine Churchill, Baroness Spencer-Churchill', 'residence', {'concept': 'administrative territorial entity'}] ['Katia Mann', 'residence', {'concept': 'administrative territorial entity'}] ['Vivienne Haigh-Wood Eliot', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Katia_Mann property:residence ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Katia Mann. Could you tell me the answer for that?
(Q214999,P551,c(Q56061))
Q214999
['Q214999', 'P551', {'concept': 'Q56061'}]
['Katia Mann', 'residence', {'concept': 'administrative territorial entity'}]
[]
Q1726
SYSTEM
Munich
Q1726
(Q214999,P551,c(Q56061))
action filter_type
action find
entity Q214999
relation P551
type Q56061
[ANSWER] was the place of residence of that person
['Q214999', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q214999 property:P551 ?r . ?r rdf:type ontology:Q56061 }
Munich
Munich was the place of residence of that person
Munich
action filter_type
action find
entity Katia Mann
relation residence
type administrative territorial entity
['Katia Mann', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Katia_Mann property:residence ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]