Simple Question (Direct)
Simple Question
Q2376226
P27
Q15617994
USER
Which administrative territory does Sergey Mikhaylovich Ignatyev belong to ?
(Q2376226,P27,c(Q15617994))
action filter_type
action find
entity Q2376226
relation P27
type Q15617994
['Q2376226', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2376226 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Sergey Mikhaylovich Ignatyev
action filter_type
action find
entity Sergey Mikhaylovich Ignatyev
relation country of citizenship
type designation for an administrative territorial entity
['Sergey Mikhaylovich Ignatyev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Sergey_Mikhaylovich_Ignatyev property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q2376226,P27,c(Q15617994))
action filter_type
action find
entity Q2376226
relation P27
type Q15617994
Sergey Mikhaylovich Ignatyev belongs to [ANSWER]
['Q2376226', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2376226 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Russia
Sergey Mikhaylovich Ignatyev belongs to Russia
Russia
action filter_type
action find
entity Sergey Mikhaylovich Ignatyev
relation country of citizenship
type designation for an administrative territorial entity
['Sergey Mikhaylovich Ignatyev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Sergey_Mikhaylovich_Ignatyev property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2376226
P106
Q12737077
USER
What do that person do for a living ?
(Q159,P106,c(Q12737077))
action filter_type
action find
entity Q2376226
relation P106
type Q12737077
['Q159', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q2376226 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Sergey Mikhaylovich Ignatyev
action filter_type
action find
entity Sergey Mikhaylovich Ignatyev
relation occupation
type occupation
['Russia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Sergey_Mikhaylovich_Ignatyev property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955 Q188094 Q806798
SYSTEM
politician, economist, banker
Q82955 Q188094 Q806798
(Q159,P106,c(Q12737077))
action filter_type
action find
entity Q2376226
relation P106
type Q12737077
[ANSWERS] that person do for a living
['Q159', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q2376226 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician economist banker
Politician, economist and banker that person do for a living
politician economist banker
action filter_type
action find
entity Sergey Mikhaylovich Ignatyev
relation occupation
type occupation
['Russia', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Sergey_Mikhaylovich_Ignatyev property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q82955 Q188094 Q806798
P39
Q502895
USER
Which people were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q82955) (c(Q502895),P39,Q188094) (c(Q502895),P39,Q806798)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q82955'] [{'concept': 'Q502895'}, 'P39', 'Q188094'] [{'concept': 'Q502895'}, 'P39', 'Q806798']
SELECT DISTINCT ?y WHERE { ?y property:P39 ?q . ?y rdf:type ontology:Q502895 . VALUES ( ?q ) { ( resource:Q82955 ) ( resource:Q188094 ) ( resource:Q806798 ) } }
politician economist banker
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician'] [{'concept': 'common name'}, 'position held', 'economist'] [{'concept': 'common name'}, 'position held', 'banker']
SELECT DISTINCT ?y WHERE { ?y property:position_held ?q . ?y rdf:type ontology:common_name . VALUES ( ?q ) { ( resource:politician ) ( resource:economist ) ( resource:banker ) } }
[]
common name
Q263725 Q450628 Q26215129
SYSTEM
Janet Yellen, Safra A. Catz, Morteza Azari
Q26215129 Q22008457 Q263725 Q3588320 Q450628
(c(Q502895),P39,Q82955) (c(Q502895),P39,Q188094) (c(Q502895),P39,Q806798)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of those occupations
[{'concept': 'Q502895'}, 'P39', 'Q82955'] [{'concept': 'Q502895'}, 'P39', 'Q188094'] [{'concept': 'Q502895'}, 'P39', 'Q806798']
SELECT DISTINCT ?y WHERE { ?y property:P39 ?q . ?y rdf:type ontology:Q502895 . VALUES ( ?q ) { ( resource:Q82955 ) ( resource:Q188094 ) ( resource:Q806798 ) } }
Morteza Azari Ricard Piqué Batlle Janet Yellen Émile Balisaux Safra A. Catz
Janet Yellen, Safra A. Catz and Morteza Azari were responsible for occupying the position of those occupations
Janet Yellen Safra A. Catz Morteza Azari
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician'] [{'concept': 'common name'}, 'position held', 'economist'] [{'concept': 'common name'}, 'position held', 'banker']
SELECT DISTINCT ?y WHERE { ?y property:position_held ?q . ?y rdf:type ontology:common_name . VALUES ( ?q ) { ( resource:politician ) ( resource:economist ) ( resource:banker ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q450628
P793
Q230658
USER
What is a significant event associated with that person ?
(Q450628,P793,c(Q230658))
action filter_type
action find
entity Q450628
relation P793
type Q230658
['Q450628', 'P793', {'concept': 'Q230658'}]
SELECT DISTINCT ?w WHERE { resource:Q450628 property:P793 ?w . ?w rdf:type ontology:Q230658 }
Safra A. Catz
action filter_type
action find
entity Safra A. Catz
relation significant event
type coexistence
['Safra A. Catz', 'significant event', {'concept': 'coexistence'}]
SELECT DISTINCT ?w WHERE { resource:Safra_A._Catz property:significant_event ?w . ?w rdf:type ontology:coexistence }
[]
coexistence
Clarification for simple ques.
Q26215129
SYSTEM
Did you mean Morteza Azari ?
Q263725 Q450628 Q26215129
(Q263725,P793,c(Q230658)) (Q450628,P793,c(Q230658)) (Q26215129,P793,c(Q230658))
[ANSWER]
['Q263725', 'P793', {'concept': 'Q230658'}] ['Q450628', 'P793', {'concept': 'Q230658'}] ['Q26215129', 'P793', {'concept': 'Q230658'}]
SELECT DISTINCT ?w WHERE { resource:Q450628 property:P793 ?w . ?w rdf:type ontology:Q230658 }
Janet Yellen Safra A. Catz Morteza Azari
Did you mean Morteza Azari ?
Morteza Azari
['Janet Yellen', 'significant event', {'concept': 'coexistence'}] ['Safra A. Catz', 'significant event', {'concept': 'coexistence'}] ['Morteza Azari', 'significant event', {'concept': 'coexistence'}]
SELECT DISTINCT ?w WHERE { resource:Safra_A._Catz property:significant_event ?w . ?w rdf:type ontology:coexistence }
[]
Simple Question (Coreferenced)
USER
No, I meant Safra A. Catz. Could you tell me the answer for that?
(Q450628,P793,c(Q230658))
Q450628
['Q450628', 'P793', {'concept': 'Q230658'}]
['Safra A. Catz', 'significant event', {'concept': 'coexistence'}]
[]
Q8445
SYSTEM
marriage
Q8445
(Q450628,P793,c(Q230658))
action filter_type
action find
entity Q450628
relation P793
type Q230658
A significant event associated with that person is in [ANSWER]
['Q450628', 'P793', {'concept': 'Q230658'}]
SELECT DISTINCT ?w WHERE { resource:Q450628 property:P793 ?w . ?w rdf:type ontology:Q230658 }
marriage
A significant event associated with that person is in marriage
marriage
action filter_type
action find
entity Safra A. Catz
relation significant event
type coexistence
['Safra A. Catz', 'significant event', {'concept': 'coexistence'}]
SELECT DISTINCT ?w WHERE { resource:Safra_A._Catz property:significant_event ?w . ?w rdf:type ontology:coexistence }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1160649
P725
Q502895 Q11424
USER
Which films did approximately the same number of people do the dubbing for as Mattie the Goose-boy ?
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1160649
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?j ) WHERE { ?x property:P725 ?i . ?i rdf:type ontology:Q502895 . ?x rdf:type ontology:Q11424 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Q1160649 property:P725 ?k . ?k rdf:type ontology:Q11424 } } . FILTER ( ?j = ?b ) }
Mattie the Goose-boy
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Mattie the Goose-boy
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?j ) WHERE { ?x property:voice_actor ?i . ?i rdf:type ontology:common_name . ?x rdf:type ontology:film } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Mattie_the_Goose-boy property:voice_actor ?k . ?k rdf:type ontology:film } } . FILTER ( ?j = ?b ) }
[]
common name film
Q19090 Q270470 Q39722
SYSTEM
Robin Hood, Peter Pan, The Rescuers
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q449917 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q853718 Q374431 Q12084660 Q578595 Q329316 Q44817 Q9019373 Q223359 Q213787 Q611739 Q980041 Q869741 Q3588859 Q371490 Q3836716 Q249967 Q19090 Q4189838 Q2059996 Q736731 Q318428 Q465275 Q218894 Q172284 Q202371 Q40302 Q336012 Q43051 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q3226633 Q240852
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q1160649
relation P725
type Q11424
Approximately the same number of people did the dubbing for as Mattie the Goose-boy in [ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?j ) WHERE { ?x property:P725 ?i . ?i rdf:type ontology:Q502895 . ?x rdf:type ontology:Q11424 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Q1160649 property:P725 ?k . ?k rdf:type ontology:Q11424 } } . FILTER ( ?j = ?b ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika The Black Cauldron The Little Fox The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Melody Time Emilie Jolie Son of the White Mare The Looney Looney Looney Bugs Bunny Movie Hotel Transylvania Robin Hood Starchaser: The Legend of Orin My Little Pony: The Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Lady and the Tramp The Rescuers Down Under The Fox and the Hound The Girl Who Leapt Through Time Bambi Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Renart the Fox FernGully: The Last Rainforest
Approximately the same number of people did the dubbing for as Mattie the Goose-boy in Robin Hood, Peter Pan and The Rescuers
Robin Hood Peter Pan The Rescuers
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Mattie the Goose-boy
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?j ) WHERE { ?x property:voice_actor ?i . ?i rdf:type ontology:common_name . ?x rdf:type ontology:film } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { resource:Mattie_the_Goose-boy property:voice_actor ?k . ?k rdf:type ontology:film } } . FILTER ( ?j = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q270470
P725
Q502895 Q11424
USER
And what about Peter Pan?
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q270470
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?u ) WHERE { ?n rdf:type ontology:Q11424 . ?a rdf:type ontology:Q502895 . ?n property:P725 ?a } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { resource:Q270470 property:P725 ?l . ?l rdf:type ontology:Q11424 } } . FILTER ( ?u = ?y ) }
Peter Pan
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Peter Pan
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?u ) WHERE { ?n rdf:type ontology:film . ?a rdf:type ontology:common_name . ?n property:voice_actor ?a } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { resource:Peter_Pan property:voice_actor ?l . ?l rdf:type ontology:film } } . FILTER ( ?u = ?y ) }
[]
common name film
Q19090 Q270470 Q39722
SYSTEM
Robin Hood, Peter Pan, The Rescuers
Q378913 Q191753 Q6929072 Q785294 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q215518 Q1160649 Q134430 Q215617 Q853718 Q12084660 Q578595 Q933887 Q329316 Q213787 Q611739 Q980041 Q3588859 Q249967 Q19090 Q184701 Q2059996 Q465275 Q218894 Q15270775 Q172284 Q202371 Q40302 Q189875 Q43051 Q917278 Q498434 Q199839 Q36479 Q39722 Q40895 Q3226633
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q270470
relation P725
type Q11424
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?u ) WHERE { ?n rdf:type ontology:Q11424 . ?a rdf:type ontology:Q502895 . ?n property:P725 ?a } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { resource:Q270470 property:P725 ?l . ?l rdf:type ontology:Q11424 } } . FILTER ( ?u = ?y ) }
The Lord of the Rings Cinderella Mr. Peabody & Sherman Captain of the Forest The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective Aladdin Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty Fun and Fancy Free The Princess and the Goblin Paprika Tintin and the Temple of the Sun The Black Cauldron The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Emilie Jolie Hotel Transylvania Robin Hood The Aristocats My Little Pony: The Movie Fantastic Mr. Fox Pocahontas Hotel Transylvania 2 Lady and the Tramp The Rescuers Down Under The Fox and the Hound Alice in Wonderland Bambi Tokyo Godfathers The Many Adventures of Winnie the Pooh The Jungle Book The Lion King The Rescuers Dumbo Renart the Fox
Robin Hood Peter Pan The Rescuers
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Peter Pan
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?a ) AS ?u ) WHERE { ?n rdf:type ontology:film . ?a rdf:type ontology:common_name . ?n property:voice_actor ?a } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { resource:Peter_Pan property:voice_actor ?l . ?l rdf:type ontology:film } } . FILTER ( ?u = ?y ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1441
Q11424 Q15707583
USER
Which films do more number of fictional taxons appear than that film ?
(c(Q15707583),P1441,c(Q11424))
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ?y WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ?y WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
film fictional taxon
Comparative|More/Less|Single entity type|Clarification
Q19090
SYSTEM
Did you mean Robin Hood ?
(c(Q15707583),P1441,c(Q11424))
[ANSWER]
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ?y WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
Did you mean Robin Hood ?
Robin Hood
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ?y WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q15707583),P1441,c(Q11424))
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
[]
Q40895 Q172284 Q498434
SYSTEM
Dumbo, Lady and the Tramp, The Many Adventures of Winnie the Pooh
Q250378 Q498434 Q40895 Q172284
(c(Q15707583),P1441,c(Q11424))
More number of fictional taxons appear than that film in [ANSWERS]
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ?y WHERE { ?z property:P1441 ?y . ?z rdf:type ontology:Q15707583 . ?y rdf:type ontology:Q11424 }
The Transformers: The Movie The Many Adventures of Winnie the Pooh Dumbo Lady and the Tramp
More number of fictional taxons appear than that film in Dumbo, Lady and the Tramp and The Many Adventures of Winnie the Pooh
Dumbo Lady and the Tramp The Many Adventures of Winnie the Pooh
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'film'}]
SELECT DISTINCT ?y WHERE { ?z property:present_in_work ?y . ?z rdf:type ontology:fictional_taxon . ?y rdf:type ontology:film }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q2342494 Q838948
USER
Which occupations were the main subjects in the work approximately 5 collectables and works of art ?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 5
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?q = 5 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?o WHERE { { ?j property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q2342494 } } GROUP BY ?o } }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 5
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?q = 5 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?o WHERE { { ?j property:main_subject ?o . ?o rdf:type ontology:occupation . ?j rdf:type ontology:work_of_art } UNION { ?j property:main_subject ?o . ?o rdf:type ontology:occupation . ?j rdf:type ontology:collectable } } GROUP BY ?o } }
[]
occupation collectable work of art
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 5
[ANSWERS] were the main subjects in the work approximately 5 collectables and works of art
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?q = 5 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?o WHERE { { ?j property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q838948 } UNION { ?j property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q2342494 } } GROUP BY ?o } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were the main subjects in the work approximately 5 collectables and works of art
Fletcher Christian farmer librarian
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 5
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?q = 5 ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?o WHERE { { ?j property:main_subject ?o . ?o rdf:type ontology:occupation . ?j rdf:type ontology:work_of_art } UNION { ?j property:main_subject ?o . ?o rdf:type ontology:occupation . ?j rdf:type ontology:collectable } } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40895
P793
Q1190554
USER
What is a significant event associated with Dumbo ?
(Q40895,P793,c(Q1190554))
action filter_type
action find
entity Q40895
relation P793
type Q1190554
['Q40895', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1190554 . resource:Q40895 property:P793 ?v }
Dumbo
action filter_type
action find
entity Dumbo
relation significant event
type event
['Dumbo', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:event . resource:Dumbo property:significant_event ?v }
[]
event
Q204854
SYSTEM
première
Q204854
(Q40895,P793,c(Q1190554))
action filter_type
action find
entity Q40895
relation P793
type Q1190554
A significant event associated with Dumbo is [ANSWER]
['Q40895', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q1190554 . resource:Q40895 property:P793 ?v }
première
A significant event associated with Dumbo is première
première
action filter_type
action find
entity Dumbo
relation significant event
type event
['Dumbo', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:event . resource:Dumbo property:significant_event ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40895
P1441
Q95074
USER
Which fictional characters appear in Dumbo ?
(c(Q95074),P1441,Q40895)
action filter_type
action find_reverse
entity Q40895
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q40895']
SELECT DISTINCT ?y WHERE { ?y property:P1441 resource:Q40895 . ?y rdf:type ontology:Q95074 }
Dumbo
action filter_type
action find_reverse
entity Dumbo
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Dumbo']
SELECT DISTINCT ?y WHERE { ?y property:present_in_work resource:Dumbo . ?y rdf:type ontology:fictional_character }
[]
fictional character
Q27074305 Q27688828 Q27149636
SYSTEM
Timothy Q. Mouse, Dumbo, Mrs. Jumbo
Q27149686 Q27149719 Q27149796 Q27149636 Q27149772 Q27149600 Q27688828 Q27149811 Q27149659 Q27074305 Q27688976
(c(Q95074),P1441,Q40895)
action filter_type
action find_reverse
entity Q40895
relation P1441
type Q95074
[ANSWERS] appear in Dumbo
[{'concept': 'Q95074'}, 'P1441', 'Q40895']
SELECT DISTINCT ?y WHERE { ?y property:P1441 resource:Q40895 . ?y rdf:type ontology:Q95074 }
Elephant Matriarch Mr. Stork Giddy Mrs. Jumbo Catty Jim Crow Dumbo Prissy The Ringmaster Timothy Q. Mouse Smitty
Timothy Q. Mouse, Dumbo and Mrs. Jumbo appear in Dumbo
Timothy Q. Mouse Dumbo Mrs. Jumbo
action filter_type
action find_reverse
entity Dumbo
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Dumbo']
SELECT DISTINCT ?y WHERE { ?y property:present_in_work resource:Dumbo . ?y rdf:type ontology:fictional_character }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27688828
P144
Q95074
USER
Where is that one adapted from ?
(Q27688828,P144,c(Q95074))
action filter_type
action find
entity Q27688828
relation P144
type Q95074
['Q27688828', 'P144', {'concept': 'Q95074'}]
SELECT DISTINCT ?i WHERE { resource:Q27688828 property:P144 ?i . ?i rdf:type ontology:Q95074 }
Dumbo
action filter_type
action find
entity Dumbo
relation based on
type fictional character
['Dumbo', 'based on', {'concept': 'fictional character'}]
SELECT DISTINCT ?i WHERE { resource:Dumbo property:based_on ?i . ?i rdf:type ontology:fictional_character }
[]
fictional character
Clarification for simple ques.
Q27149636
SYSTEM
Did you mean Mrs. Jumbo ?
Q27074305 Q27688828 Q27149636
(Q27074305,P144,c(Q95074)) (Q27688828,P144,c(Q95074)) (Q27149636,P144,c(Q95074))
[ANSWER]
['Q27074305', 'P144', {'concept': 'Q95074'}] ['Q27688828', 'P144', {'concept': 'Q95074'}] ['Q27149636', 'P144', {'concept': 'Q95074'}]
SELECT DISTINCT ?i WHERE { resource:Q27688828 property:P144 ?i . ?i rdf:type ontology:Q95074 }
Timothy Q. Mouse Dumbo Mrs. Jumbo
Did you mean Mrs. Jumbo ?
Mrs. Jumbo
['Timothy Q. Mouse', 'based on', {'concept': 'fictional character'}] ['Dumbo', 'based on', {'concept': 'fictional character'}] ['Mrs. Jumbo', 'based on', {'concept': 'fictional character'}]
SELECT DISTINCT ?i WHERE { resource:Dumbo property:based_on ?i . ?i rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
USER
No, I meant Dumbo. Could you tell me the answer for that?
(Q27688828,P144,c(Q95074))
Q27688828
['Q27688828', 'P144', {'concept': 'Q95074'}]
['Dumbo', 'based on', {'concept': 'fictional character'}]
[]
Q2750318
SYSTEM
Dumbo
Q2750318
(Q27688828,P144,c(Q95074))
action filter_type
action find
entity Q27688828
relation P144
type Q95074
That one is adapted from the [ANSWER]
['Q27688828', 'P144', {'concept': 'Q95074'}]
SELECT DISTINCT ?i WHERE { resource:Q27688828 property:P144 ?i . ?i rdf:type ontology:Q95074 }
Dumbo
That one is adapted from the Dumbo
Dumbo
action filter_type
action find
entity Dumbo
relation based on
type fictional character
['Dumbo', 'based on', {'concept': 'fictional character'}]
SELECT DISTINCT ?i WHERE { resource:Dumbo property:based_on ?i . ?i rdf:type ontology:fictional_character }
[]