Simple Question (Direct)
Simple Question
Q1357554
P1038
Q502895
USER
Who is a kin of Svetozár Hurban-Vajanský ?
(Q1357554,P1038,c(Q502895))
action filter_type
action find
entity Q1357554
relation P1038
type Q502895
['Q1357554', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1357554 property:P1038 ?a . ?a rdf:type ontology:Q502895 }
Svetozár Hurban-Vajanský
action filter_type
action find
entity Svetozár Hurban-Vajanský
relation relative
type common name
['Svetozár Hurban-Vajanský', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Svetozár_Hurban-Vajanský property:relative ?a . ?a rdf:type ontology:common_name }
[]
common name
Q3563677
SYSTEM
Samuel Jurkovič
Q3563677
(Q1357554,P1038,c(Q502895))
action filter_type
action find
entity Q1357554
relation P1038
type Q502895
A kin of Svetozár Hurban-Vajanský is of [ANSWER]
['Q1357554', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1357554 property:P1038 ?a . ?a rdf:type ontology:Q502895 }
Samuel Jurkovič
A kin of Svetozár Hurban-Vajanský is of Samuel Jurkovič
Samuel Jurkovič
action filter_type
action find
entity Svetozár Hurban-Vajanský
relation relative
type common name
['Svetozár Hurban-Vajanský', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Svetozár_Hurban-Vajanský property:relative ?a . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q53093
P725
Q502895 Q15961987
USER
How many television genres had greater number of people as the dubbing artist than Adventure Time ?
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q53093
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q53093 property:P725 ?y . ?y rdf:type ontology:Q15961987 } } . FILTER ( ?q > ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?q ) WHERE { ?s rdf:type ontology:Q15961987 . ?c rdf:type ontology:Q502895 . ?s property:P725 ?c } GROUP BY ?s } }
Adventure Time
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Adventure Time
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Adventure_Time property:voice_actor ?y . ?y rdf:type ontology:television_genre } } . FILTER ( ?q > ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?q ) WHERE { ?s rdf:type ontology:television_genre . ?c rdf:type ontology:common_name . ?s property:voice_actor ?c } GROUP BY ?s } }
[]
common name television genre
SYSTEM
2
Q22773153 Q18790
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q53093
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Q53093 property:P725 ?y . ?y rdf:type ontology:Q15961987 } } . FILTER ( ?q > ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?q ) WHERE { ?s rdf:type ontology:Q15961987 . ?c rdf:type ontology:Q502895 . ?s property:P725 ?c } GROUP BY ?s } }
Milo Murphy's Law The Legend of Korra
2
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Adventure Time
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { resource:Adventure_Time property:voice_actor ?y . ?y rdf:type ontology:television_genre } } . FILTER ( ?q > ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?q ) WHERE { ?s rdf:type ontology:television_genre . ?c rdf:type ontology:common_name . ?s property:voice_actor ?c } GROUP BY ?s } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q847219
P725
Q502895 Q15961987
USER
And what about Pururun! Shizuku-chan?
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q847219
relation P725
type Q15961987
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?h ) WHERE { ?m rdf:type ontology:Q15961987 . ?j rdf:type ontology:Q502895 . ?m property:P725 ?j } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ontology:Q15961987 . resource:Q847219 property:P725 ?e } } . FILTER ( ?h > ?c ) }
Pururun! Shizuku-chan
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Pururun! Shizuku-chan
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?h ) WHERE { ?m rdf:type ontology:television_genre . ?j rdf:type ontology:common_name . ?m property:voice_actor ?j } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ontology:television_genre . resource:Pururun!_Shizuku-chan property:voice_actor ?e } } . FILTER ( ?h > ?c ) }
[]
common name television genre
SYSTEM
12
Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q22773153 Q18790 Q53093 Q753848 Q5415 Q886 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q847219
relation P725
type Q15961987
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?h ) WHERE { ?m rdf:type ontology:Q15961987 . ?j rdf:type ontology:Q502895 . ?m property:P725 ?j } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ontology:Q15961987 . resource:Q847219 property:P725 ?e } } . FILTER ( ?h > ?c ) }
Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Milo Murphy's Law The Legend of Korra Adventure Time TaleSpin My Little Pony: Friendship Is Magic The Simpsons Hellsing Ultimate
12
action count
action greater
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Pururun! Shizuku-chan
relation voice actor
type television genre
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?h ) WHERE { ?m rdf:type ontology:television_genre . ?j rdf:type ontology:common_name . ?m property:voice_actor ?j } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e rdf:type ontology:television_genre . resource:Pururun!_Shizuku-chan property:voice_actor ?e } } . FILTER ( ?h > ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q272068
P941
Q502895 Q2342494 Q6619679
USER
Which people were approximately the same number of collectables and fictional humanoids inspired by as Heather Angel ?
(c(Q2342494)|c(Q6619679),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q272068
relation P941
type Q2342494
type Q6619679
[[{'concept': 'Q2342494'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?h property:P941 ?g . ?g rdf:type ontology:Q502895 . ?h rdf:type ontology:Q6619679 } UNION { ?h property:P941 ?g . ?g rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:P941 resource:Q272068 . { VALUES ( ?y ) { ( ontology:Q2342494 ) ( ontology:Q6619679 ) } . ?t rdf:type ?y } } } . FILTER ( ?n = ?z ) }
Heather Angel
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Heather Angel
relation inspired by
type collectable
type fictional humanoid
[[{'concept': 'collectable'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?h property:inspired_by ?g . ?g rdf:type ontology:common_name . ?h rdf:type ontology:fictional_humanoid } UNION { ?h property:inspired_by ?g . ?g rdf:type ontology:common_name . ?h rdf:type ontology:collectable } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:inspired_by resource:Heather_Angel . { VALUES ( ?y ) { ( ontology:collectable ) ( ontology:fictional_humanoid ) } . ?t rdf:type ?y } } } . FILTER ( ?n = ?z ) }
[]
common name collectable fictional humanoid
Q8016 Q352 Q1744
SYSTEM
Winston Churchill, Adolf Hitler, Madonna
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q9061 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q1896700 Q156622 Q354832 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q2342494)|c(Q6619679),P941,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q272068
relation P941
type Q2342494
type Q6619679
[ANSWERS] were approximately the same number of collectables and fictional humanoids inspired by as Heather Angel
[[{'concept': 'Q2342494'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?h property:P941 ?g . ?g rdf:type ontology:Q502895 . ?h rdf:type ontology:Q6619679 } UNION { ?h property:P941 ?g . ?g rdf:type ontology:Q502895 . ?h rdf:type ontology:Q2342494 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:P941 resource:Q272068 . { VALUES ( ?y ) { ( ontology:Q2342494 ) ( ontology:Q6619679 ) } . ?t rdf:type ?y } } } . FILTER ( ?n = ?z ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Maya Angelou Conrad Veidt John of England Richard I of England Buddy Hackett Jean-Baptiste-Siméon Chardin Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Karl Marx Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Madonna Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Henri Matisse Claude Monet Cedric Hardwicke Carel Fabritius Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Charles Sheeler Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. Marian Wright Edelman Giorgio de Chirico Pieter Claesz T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Christiane Faure Pocahontas Pierre Guillaume Jack Carlson Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
Winston Churchill, Adolf Hitler and Madonna were approximately the same number of collectables and fictional humanoids inspired by as Heather Angel
Winston Churchill Adolf Hitler Madonna
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type collectable
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Heather Angel
relation inspired by
type collectable
type fictional humanoid
[[{'concept': 'collectable'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?h property:inspired_by ?g . ?g rdf:type ontology:common_name . ?h rdf:type ontology:fictional_humanoid } UNION { ?h property:inspired_by ?g . ?g rdf:type ontology:common_name . ?h rdf:type ontology:collectable } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t property:inspired_by resource:Heather_Angel . { VALUES ( ?y ) { ( ontology:collectable ) ( ontology:fictional_humanoid ) } . ?t rdf:type ?y } } } . FILTER ( ?n = ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q11424 Q15416
USER
How many people do approximately 1 films and television programs extend upon ?
(c(Q11424)|c(Q15416),P144,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15416
value 1
[[{'concept': 'Q11424'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?c WHERE { { ?l rdf:type ontology:Q11424 . ?c rdf:type ontology:Q502895 . ?l property:P144 ?c } UNION { ?c rdf:type ontology:Q502895 . ?l rdf:type ontology:Q15416 . ?l property:P144 ?c } } GROUP BY ?c } . FILTER ( ?w = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type television program
value 1
[[{'concept': 'film'}, {'concept': 'television program'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?c WHERE { { ?l rdf:type ontology:film . ?c rdf:type ontology:common_name . ?l property:based_on ?c } UNION { ?c rdf:type ontology:common_name . ?l rdf:type ontology:television_program . ?l property:based_on ?c } } GROUP BY ?c } . FILTER ( ?w = 1 ) }
[]
common name film television program
SYSTEM
8
Q467216 Q7151235 Q5213429 Q3079968 Q5516058 Q8011009 Q150471 Q4758379
(c(Q11424)|c(Q15416),P144,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15416
value 1
[ANSWER]
[[{'concept': 'Q11424'}, {'concept': 'Q15416'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?c WHERE { { ?l rdf:type ontology:Q11424 . ?c rdf:type ontology:Q502895 . ?l property:P144 ?c } UNION { ?c rdf:type ontology:Q502895 . ?l rdf:type ontology:Q15416 . ?l property:P144 ?c } } GROUP BY ?c } . FILTER ( ?w = 1 ) }
Amy Fisher Paul Hemphill Dan Dunn Ted Key Gabrielle Carey William Hatfield E. T. A. Hoffmann Andrew Revkin
8
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type television program
value 1
[[{'concept': 'film'}, {'concept': 'television program'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) ?c WHERE { { ?l rdf:type ontology:film . ?c rdf:type ontology:common_name . ?l property:based_on ?c } UNION { ?c rdf:type ontology:common_name . ?l rdf:type ontology:television_program . ?l property:based_on ?c } } GROUP BY ?c } . FILTER ( ?w = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q352
P138
Q502895
USER
Which person comes from Adolf Hitler ?
(c(Q502895),P138,Q352)
action filter_type
action find_reverse
entity Q352
relation P138
type Q502895
[{'concept': 'Q502895'}, 'P138', 'Q352']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P138 resource:Q352 }
Adolf Hitler
action filter_type
action find_reverse
entity Adolf Hitler
relation named after
type common name
[{'concept': 'common name'}, 'named after', 'Adolf Hitler']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:named_after resource:Adolf_Hitler }
[]
common name
Q363223
SYSTEM
Adolf Lu Hitler Marak
Q363223
(c(Q502895),P138,Q352)
action filter_type
action find_reverse
entity Q352
relation P138
type Q502895
[ANSWER] comes from Adolf Hitler
[{'concept': 'Q502895'}, 'P138', 'Q352']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P138 resource:Q352 }
Adolf Lu Hitler Marak
Adolf Lu Hitler Marak comes from Adolf Hitler
Adolf Lu Hitler Marak
action filter_type
action find_reverse
entity Adolf Hitler
relation named after
type common name
[{'concept': 'common name'}, 'named after', 'Adolf Hitler']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:named_after resource:Adolf_Hitler }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q363223
P102
Q7210356
USER
Which party does that person belong to ?
(Q363223,P102,c(Q7210356))
action filter_type
action find
entity Q363223
relation P102
type Q7210356
['Q363223', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q363223 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Adolf Lu Hitler Marak
action filter_type
action find
entity Adolf Lu Hitler Marak
relation member of political party
type political organization
['Adolf Lu Hitler Marak', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Adolf_Lu_Hitler_Marak property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q1561861
SYSTEM
Nationalist Congress Party
Q1561861
(Q363223,P102,c(Q7210356))
action filter_type
action find
entity Q363223
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q363223', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q363223 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Nationalist Congress Party
That person belongs to Nationalist Congress Party
Nationalist Congress Party
action filter_type
action find
entity Adolf Lu Hitler Marak
relation member of political party
type political organization
['Adolf Lu Hitler Marak', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Adolf_Lu_Hitler_Marak property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1561861 Q54594 Q6897718
P17
Q15617994
USER
Is Nationalist Congress Party present in Careri and Mona Shores Public Schools ?
(Q1561861,P17,Q54594) (Q1561861,P17,Q6897718)
action is_in
entity Q1561861
action intersection
action find_reverse
entity Q54594
relation P17
action find_reverse
entity Q6897718
relation P17
['Q1561861', 'P17', 'Q54594'] ['Q1561861', 'P17', 'Q6897718']
ASK WHERE { resource:Q1561861 property:P17 resource:Q54594 . resource:Q1561861 property:P17 resource:Q6897718 }
Nationalist Congress Party Careri Mona Shores Public Schools
action is_in
entity Nationalist Congress Party
action intersection
action find_reverse
entity Careri
relation country
action find_reverse
entity Mona Shores Public Schools
relation country
['Nationalist Congress Party', 'country', 'Careri'] ['Nationalist Congress Party', 'country', 'Mona Shores Public Schools']
ASK WHERE { resource:Nationalist_Congress_Party property:country resource:Careri . resource:Nationalist_Congress_Party property:country resource:Mona_Shores_Public_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1561861,P17,Q54594) (Q1561861,P17,Q6897718)
action is_in
entity Q1561861
action intersection
action find_reverse
entity Q54594
relation P17
action find_reverse
entity Q6897718
relation P17
[ANSWER]
['Q1561861', 'P17', 'Q54594'] ['Q1561861', 'P17', 'Q6897718']
ASK WHERE { resource:Q1561861 property:P17 resource:Q54594 . resource:Q1561861 property:P17 resource:Q6897718 }
No
action is_in
entity Nationalist Congress Party
action intersection
action find_reverse
entity Careri
relation country
action find_reverse
entity Mona Shores Public Schools
relation country
['Nationalist Congress Party', 'country', 'Careri'] ['Nationalist Congress Party', 'country', 'Mona Shores Public Schools']
ASK WHERE { resource:Nationalist_Congress_Party property:country resource:Careri . resource:Nationalist_Congress_Party property:country resource:Mona_Shores_Public_Schools }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3563677 Q214
P27
Q15617994
USER
Is Samuel Jurkovič a civilian of Slovakia ?
(Q3563677,P27,Q214)
action is_in
entity Q214
action find
entity Q3563677
relation P27
['Q3563677', 'P27', 'Q214']
ASK WHERE { resource:Q3563677 property:P27 resource:Q214 }
Samuel Jurkovič Slovakia
action is_in
entity Slovakia
action find
entity Samuel Jurkovič
relation country of citizenship
['Samuel Jurkovič', 'country of citizenship', 'Slovakia']
ASK WHERE { resource:Samuel_Jurkovič property:country_of_citizenship resource:Slovakia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3563677,P27,Q214)
action is_in
entity Q214
action find
entity Q3563677
relation P27
[ANSWER]
['Q3563677', 'P27', 'Q214']
ASK WHERE { resource:Q3563677 property:P27 resource:Q214 }
Yes
action is_in
entity Slovakia
action find
entity Samuel Jurkovič
relation country of citizenship
['Samuel Jurkovič', 'country of citizenship', 'Slovakia']
ASK WHERE { resource:Samuel_Jurkovič property:country_of_citizenship resource:Slovakia }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3277702 Q1561861
P17
Q15617994
USER
Which administrative territories are Nationalist Congress Party or Sarawak Stadium present in ?
OR((Q1561861,P17,c(Q15617994)), (Q3277702,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1561861
relation P17
action find
entity Q3277702
relation P17
type Q15617994
{'OR': [['Q1561861', 'P17', {'concept': 'Q15617994'}], ['Q3277702', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { ?y property:P17 ?w . VALUES ( ?y ) { ( resource:Q3277702 ) ( resource:Q1561861 ) } } . ?w rdf:type ontology:Q15617994 }
Sarawak Stadium Nationalist Congress Party
action filter_type
action union
action find
entity Nationalist Congress Party
relation country
action find
entity Sarawak Stadium
relation country
type designation for an administrative territorial entity
{'OR': [['Nationalist Congress Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sarawak Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { ?y property:country ?w . VALUES ( ?y ) { ( resource:Sarawak_Stadium ) ( resource:Nationalist_Congress_Party ) } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833 Q668
SYSTEM
Malaysia, India
Q833 Q668
OR((Q1561861,P17,c(Q15617994)), (Q3277702,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1561861
relation P17
action find
entity Q3277702
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q1561861', 'P17', {'concept': 'Q15617994'}], ['Q3277702', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { ?y property:P17 ?w . VALUES ( ?y ) { ( resource:Q3277702 ) ( resource:Q1561861 ) } } . ?w rdf:type ontology:Q15617994 }
Malaysia India
Which administrative territories are Nationalist Congress Party or Sarawak Stadium present in
Malaysia India
action filter_type
action union
action find
entity Nationalist Congress Party
relation country
action find
entity Sarawak Stadium
relation country
type designation for an administrative territorial entity
{'OR': [['Nationalist Congress Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sarawak Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { ?y property:country ?w . VALUES ( ?y ) { ( resource:Sarawak_Stadium ) ( resource:Nationalist_Congress_Party ) } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]