Simple Question (Direct)
Simple Question
Q3485215
P1441
Q838948
USER
Where is Sir Hilary Bray shown in ?
(Q3485215,P1441,c(Q838948))
action filter_type
action find
entity Q3485215
relation P1441
type Q838948
['Q3485215', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?u WHERE { resource:Q3485215 property:P1441 ?u . ?u rdf:type ontology:Q838948 }
Sir Hilary Bray
action filter_type
action find
entity Sir Hilary Bray
relation present in work
type work of art
['Sir Hilary Bray', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?u WHERE { resource:Sir_Hilary_Bray property:present_in_work ?u . ?u rdf:type ontology:work_of_art }
[]
work of art
Q107894
SYSTEM
On Her Majesty's Secret Service
Q107894
(Q3485215,P1441,c(Q838948))
action filter_type
action find
entity Q3485215
relation P1441
type Q838948
[ANSWER] Sir Hilary Bray is shown in
['Q3485215', 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?u WHERE { resource:Q3485215 property:P1441 ?u . ?u rdf:type ontology:Q838948 }
On Her Majesty's Secret Service
On Her Majesty's Secret Service Sir Hilary Bray is shown in
On Her Majesty's Secret Service
action filter_type
action find
entity Sir Hilary Bray
relation present in work
type work of art
['Sir Hilary Bray', 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?u WHERE { resource:Sir_Hilary_Bray property:present_in_work ?u . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q107894
P462
Q1075
USER
Which color is that work of art associated with ?
(Q107894,P462,c(Q1075))
action filter_type
action find
entity Q107894
relation P462
type Q1075
['Q107894', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?q WHERE { resource:Q107894 property:P462 ?q . ?q rdf:type ontology:Q1075 }
On Her Majesty's Secret Service
action filter_type
action find
entity On Her Majesty's Secret Service
relation color
type color
["On Her Majesty's Secret Service", 'color', {'concept': 'color'}]
SELECT DISTINCT ?q WHERE { resource:On_Her_Majesty's_Secret_Service property:color ?q . ?q rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q107894,P462,c(Q1075))
action filter_type
action find
entity Q107894
relation P462
type Q1075
That work of art is associated with [ANSWER]
['Q107894', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?q WHERE { resource:Q107894 property:P462 ?q . ?q rdf:type ontology:Q1075 }
color
That work of art is associated with color
color
action filter_type
action find
entity On Her Majesty's Secret Service
relation color
type color
["On Her Majesty's Secret Service", 'color', {'concept': 'color'}]
SELECT DISTINCT ?q WHERE { resource:On_Her_Majesty's_Secret_Service property:color ?q . ?q rdf:type ontology:color }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1080
Q36649 Q3275581 Q6619679
USER
Which fictional humanoids appear in around 1 visual artss or shared universes ?
(c(Q6619679),P1080,c(Q36649)|c(Q3275581))
action approx
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q36649
action find_tuple_counts
relation P1080
type Q6619679
type Q3275581
value 1
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q36649'}, {'concept': 'Q3275581'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?y ) WHERE { { ?j property:P1080 ?g . ?j rdf:type ontology:Q6619679 . ?g rdf:type ontology:Q36649 } UNION { ?j property:P1080 ?g . ?g rdf:type ontology:Q3275581 . ?j rdf:type ontology:Q6619679 } } GROUP BY ?j } }
action approx
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type visual arts
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type shared universe
value 1
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'visual arts'}, {'concept': 'shared universe'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?y ) WHERE { { ?j property:from_fictional_universe ?g . ?j rdf:type ontology:fictional_humanoid . ?g rdf:type ontology:visual_arts } UNION { ?j property:from_fictional_universe ?g . ?g rdf:type ontology:shared_universe . ?j rdf:type ontology:fictional_humanoid } } GROUP BY ?j } }
[]
visual arts shared universe fictional humanoid
Q23894967 Q23900446 Q23900377
SYSTEM
Tony Stark / Iron Man, Howard Stark, Nick Fury
Q24046150 Q23900407 Q23894967 Q24073696 Q1056953 Q24027982 Q26261996 Q24027859 Q24083294 Q27067863 Q24040935 Q24046118 Q24040742 Q23851951 Q23991694 Q24068405 Q24068402 Q24068383 Q24276092 Q3149148 Q24276097 Q24004885 Q24276119 Q7468126 Q23900470 Q27101792 Q27147335 Q24027955 Q24573094 Q24040949 Q6679806 Q23900377 Q24050065 Q23895063 Q6910820 Q27670271 Q24068355 Q27670356 Q23842323 Q23750571 Q23894605 Q23894608 Q15702161 Q23851900 Q24083312 Q24073681 Q24276100 Q5584641 Q27067914 Q1072331 Q27670318 Q27670314 Q27045831 Q27670381 Q27670387 Q27670389 Q24045752 Q27067866 Q24026703 Q26809707 Q27670364 Q26268850 Q26268859 Q24073665 Q24275986 Q24273019 Q24273017 Q23852090 Q24068218 Q24068211 Q24068213 Q24068214 Q24034679 Q24022542 Q24022098 Q24068397 Q23304703 Q24040958 Q27057308 Q23900437 Q27092482 Q24073725 Q27067859 Q24073715 Q23842775 Q24027376 Q24073719 Q24068252 Q24068241 Q23842703 Q24027972 Q24040968 Q24265423 Q24040913 Q24068391 Q23895076 Q27468455 Q24050117 Q23842900 Q24045741 Q24045748 Q27147410 Q27670370 Q27670374 Q23991271 Q27062173 Q24200251 Q24275991 Q23836625 Q24510074 Q2619064 Q23852015 Q27057203 Q2519237 Q20979384 Q27057298 Q21042559 Q24050133 Q23836618 Q24068411 Q24022345 Q24276086 Q24027486 Q24026688 Q1977902 Q24068387 Q24043637 Q26268873 Q24022457 Q24034722 Q23991129 Q23900446 Q26758863 Q24046106 Q24004905 Q23900364 Q23842987 Q23852160 Q27670335 Q27057247 Q27670340 Q7940668
(c(Q6619679),P1080,c(Q36649)|c(Q3275581))
action approx
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q36649
action find_tuple_counts
relation P1080
type Q6619679
type Q3275581
value 1
[ANSWERS] appear in around 1 visual artss or shared universes
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q36649'}, {'concept': 'Q3275581'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?y ) WHERE { { ?j property:P1080 ?g . ?j rdf:type ontology:Q6619679 . ?g rdf:type ontology:Q36649 } UNION { ?j property:P1080 ?g . ?g rdf:type ontology:Q3275581 . ?j rdf:type ontology:Q6619679 } } GROUP BY ?j } }
Heimdall Christine Everhart Tony Stark / Iron Man Strawberry Vendor Minsc Leo Fitz Phineas Mason Carol Danvers / Captain Marvel Jasper Sitwell Writer Maria Stark Loki Brock Rumlow / Crossbones Humvee Driver Bucky Barnes / Winter Soldier Expo Cop Rebecca General Meade Maggie Imoen Dave T'Challa / Black Panther Castillo Alustriel Silverhand Happy Hogan Pietro Maximoff / Quicksilver Zuri Melinda May Scott Calvin Miriam Nasher Alagondar Nick Fury Peter Quill / Star-Lord Natasha Romanoff / Black Widow Mordenkainen Tina Minoru French Photographer Dr. Weiss BOPE Officer Major Allen Michelle Flash Thompson Montolio Debrouchee Female Medical Assistant Isabela Alvarez Chess Roberts Kurt Gord the Rogue Janet van Dyne / Wasp Elminster Dr. Patel Daniel Drumm M'Baku / Man-Ape Mugger Kamar-Taj Librarian Bullet Patient's Wife Wong Bartender Scott Lang / Ant-Man Liz Allan Physical Therapist Erik Killmonger Nakia Bambi Arbogast Darren Cross Michael Banks Jane Banks Large Woman Security Force #2 U.S. Marshal Detective Lemieux Security Force #1 Peggy Carter Wanda Maximoff / Scarlet Witch Steve Rogers AV Operator Ángela Vidal FedEx Driver Dale Senator Stern Ulysses Klaue Jack Pym Tech Gate Guard Hammer Expo Tech Handsome Soldier Thaddeus Ross French Waiter Russian Newscaster Expo Fan Medic Soldier Skye Karpov Hank Pym Everett K. Ross Anton Vanko Justin Hammer Claire Template Bruce Banner / Hulk Command Van Soldier The Ancient One Dr. Nicodemus West W'Kabi Concerned Doctor Reluctant Surgeon May Parker Robbie Reyes / Ghost Rider Johann Schmidt Paxton Little Boy School principal Artemis Entreri Sterns Lab Soldier Cassie Lang Wulfgar Jemma Simmons Car Driver Darcy Lewis Hope van Dyne / Wasp Gunner Rebeka Sam Wilson / Falcon Luis Sharon Carter / Agent 13 Clint Barton / Hawkeye Khelben "Blackstaff" Arunsun 10 Rings Gangster Mordo Okoye Zemo Dr. Stephen Strange Peter Parker / Spider-Man Howard Stark Ayo Jane Foster T'Chaka Ivan Vanko Ross's Aide Hopscotch Girl Nurse Billy Mitchell Carson Dr. Garrison Volothamp Geddarm
Tony Stark / Iron Man, Howard Stark and Nick Fury appear in around 1 visual artss or shared universes
Tony Stark / Iron Man Howard Stark Nick Fury
action approx
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type visual arts
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type shared universe
value 1
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'visual arts'}, {'concept': 'shared universe'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?y ) WHERE { { ?j property:from_fictional_universe ?g . ?j rdf:type ontology:fictional_humanoid . ?g rdf:type ontology:visual_arts } UNION { ?j property:from_fictional_universe ?g . ?g rdf:type ontology:shared_universe . ?j rdf:type ontology:fictional_humanoid } } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3485215
P27
Q15617994
USER
How many administrative territories do Sir Hilary Bray belong to ?
(Q3485215,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3485215
relation P27
type Q15617994
['Q3485215', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q3485215 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Sir Hilary Bray
action count
action filter_type
action find
entity Sir Hilary Bray
relation country of citizenship
type designation for an administrative territorial entity
['Sir Hilary Bray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Sir_Hilary_Bray property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q3485215,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3485215
relation P27
type Q15617994
[ANSWER]
['Q3485215', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q3485215 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Sir Hilary Bray
relation country of citizenship
type designation for an administrative territorial entity
['Sir Hilary Bray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Sir_Hilary_Bray property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3485215
P175
Q502895
USER
What did that fictional humanoid perform ?
action filter_type
action find
entity Q3485215
relation P175
type Q502895
SELECT DISTINCT ?w WHERE { resource:Q3485215 property:P175 ?w . ?w rdf:type ontology:Q502895 }
Sir Hilary Bray
action filter_type
action find
entity Sir Hilary Bray
relation performer
type common name
SELECT DISTINCT ?w WHERE { resource:Sir_Hilary_Bray property:performer ?w . ?w rdf:type ontology:common_name }
[]
common name
Q1506941
SYSTEM
George Baker
Q1506941
action filter_type
action find
entity Q3485215
relation P175
type Q502895
That fictional humanoid performed by [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q3485215 property:P175 ?w . ?w rdf:type ontology:Q502895 }
George Baker
That fictional humanoid performed by George Baker
George Baker
action filter_type
action find
entity Sir Hilary Bray
relation performer
type common name
SELECT DISTINCT ?w WHERE { resource:Sir_Hilary_Bray property:performer ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P166
Q2003221
USER
How many chivalric orders were that person awarded with ?
(Q1506941,P166,c(Q2003221))
action count
action filter_type
action find
entity Q1506941
relation P166
type Q2003221
['Q1506941', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Q1506941 property:P166 ?u . ?u rdf:type ontology:Q2003221 }
action count
action filter_type
action find
entity George Baker
relation award received
type chivalric order
['George Baker', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:George_Baker property:award_received ?u . ?u rdf:type ontology:chivalric_order }
[]
chivalric order
SYSTEM
1
Q12201526
(Q1506941,P166,c(Q2003221))
action count
action filter_type
action find
entity Q1506941
relation P166
type Q2003221
[ANSWER]
['Q1506941', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:Q1506941 property:P166 ?u . ?u rdf:type ontology:Q2003221 }
Member of the Order of the British Empire
1
action count
action filter_type
action find
entity George Baker
relation award received
type chivalric order
['George Baker', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { resource:George_Baker property:award_received ?u . ?u rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3485215
P734
Q82799
USER
Who is associated with Sir Hilary Bray ?
(Q3485215,P734,c(Q82799))
action filter_type
action find
entity Q3485215
relation P734
type Q82799
['Q3485215', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q3485215 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Sir Hilary Bray
action filter_type
action find
entity Sir Hilary Bray
relation family name
type name
['Sir Hilary Bray', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Sir_Hilary_Bray property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q16860378
SYSTEM
Bray
Q16860378
(Q3485215,P734,c(Q82799))
action filter_type
action find
entity Q3485215
relation P734
type Q82799
[ANSWER] is associated with Sir Hilary [ANSWER]
['Q3485215', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q3485215 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Bray
Bray is associated with Sir Hilary Bray
Bray
action filter_type
action find
entity Sir Hilary Bray
relation family name
type name
['Sir Hilary Bray', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Sir_Hilary_Bray property:family_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5544653
Q82799
USER
And also tell me about George Smith?
(Q5544653,P734,c(Q82799))
action filter_type
action find
entity Q5544653
relation P734
type Q82799
['Q5544653', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q5544653 property:P734 ?n . ?n rdf:type ontology:Q82799 }
George Smith
action filter_type
action find
entity George Smith
relation family name
type name
['George Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:George_Smith property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q5544653,P734,c(Q82799))
action filter_type
action find
entity Q5544653
relation P734
type Q82799
[ANSWER]
['Q5544653', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q5544653 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Smith
Smith
action filter_type
action find
entity George Smith
relation family name
type name
['George Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:George_Smith property:family_name ?n . ?n rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q8436 Q14514600 Q6619679
USER
Which fictional humanoids are a part of max number of families and groups of fictional characters ?
(c(Q6619679),P361,c(Q8436)|c(Q14514600))
action argmax
action union
action find_tuple_counts
relation P361
type Q6619679
type Q8436
action find_tuple_counts
relation P361
type Q6619679
type Q14514600
[{'concept': 'Q6619679'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q14514600'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { VALUES ( ?b ) { ( ontology:Q8436 ) ( ontology:Q14514600 ) } . ?j rdf:type ?b } GROUP BY ?o } } . FILTER ( ?s = ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?i WHERE { { ?i property:P361 ?g . ?g rdf:type ontology:Q8436 . ?i rdf:type ontology:Q6619679 } UNION { ?i property:P361 ?g . ?i rdf:type ontology:Q6619679 . ?g rdf:type ontology:Q14514600 } } GROUP BY ?i } }
action argmax
action union
action find_tuple_counts
relation part of
type fictional humanoid
type family
action find_tuple_counts
relation part of
type fictional humanoid
type group of fictional characters
[{'concept': 'fictional humanoid'}, 'part of', [{'concept': 'family'}, {'concept': 'group of fictional characters'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { VALUES ( ?b ) { ( ontology:family ) ( ontology:group_of_fictional_characters ) } . ?j rdf:type ?b } GROUP BY ?o } } . FILTER ( ?s = ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?i WHERE { { ?i property:part_of ?g . ?g rdf:type ontology:family . ?i rdf:type ontology:fictional_humanoid } UNION { ?i property:part_of ?g . ?i rdf:type ontology:fictional_humanoid . ?g rdf:type ontology:group_of_fictional_characters } } GROUP BY ?i } }
[]
family group of fictional characters fictional humanoid
Q17379228 Q1458168 Q3109703
SYSTEM
Lucy, Ralph Wiggum, Donna Pinciotti
Q3109703 Q3502068 Q2907796 Q3950809 Q16664463 Q21191787 Q13583916 Q2997858 Q21191807 Q20085277 Q1504586 Q1408697 Q17379502 Q1503352 Q1458168 Q524177 Q17379228 Q15769697 Q15241723
(c(Q6619679),P361,c(Q8436)|c(Q14514600))
action argmax
action union
action find_tuple_counts
relation P361
type Q6619679
type Q8436
action find_tuple_counts
relation P361
type Q6619679
type Q14514600
[ANSWERS] are a part of max number of families and groups of fictional characters
[{'concept': 'Q6619679'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q14514600'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { VALUES ( ?b ) { ( ontology:Q8436 ) ( ontology:Q14514600 ) } . ?j rdf:type ?b } GROUP BY ?o } } . FILTER ( ?s = ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?i WHERE { { ?i property:P361 ?g . ?g rdf:type ontology:Q8436 . ?i rdf:type ontology:Q6619679 } UNION { ?i property:P361 ?g . ?i rdf:type ontology:Q6619679 . ?g rdf:type ontology:Q14514600 } } GROUP BY ?i } }
Donna Pinciotti Jessica Lovejoy Bob Pinciotti Mr. Satterthwaite Midge Pinciotti Bambi mister Thénardier Helen Lovejoy Thumper Frank Dr. Hibbert Apu Nahasapeemapetilon Ricky Ricardo Chief Wiggum Ralph Wiggum Reverend Lovejoy Lucy mrs Thénardier Sarah Wiggum
Lucy, Ralph Wiggum and Donna Pinciotti are a part of max number of families and groups of fictional characters
Lucy Ralph Wiggum Donna Pinciotti
action argmax
action union
action find_tuple_counts
relation part of
type fictional humanoid
type family
action find_tuple_counts
relation part of
type fictional humanoid
type group of fictional characters
[{'concept': 'fictional humanoid'}, 'part of', [{'concept': 'family'}, {'concept': 'group of fictional characters'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?o WHERE { VALUES ( ?b ) { ( ontology:family ) ( ontology:group_of_fictional_characters ) } . ?j rdf:type ?b } GROUP BY ?o } } . FILTER ( ?s = ?d ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?i WHERE { { ?i property:part_of ?g . ?g rdf:type ontology:family . ?i rdf:type ontology:fictional_humanoid } UNION { ?i property:part_of ?g . ?i rdf:type ontology:fictional_humanoid . ?g rdf:type ontology:group_of_fictional_characters } } GROUP BY ?i } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17379228 Q1458168 Q3109703
P361
Q14514600
USER
Which groups of fictional characters are those fictional humanoids a component of ?
(Q17379228,P361,c(Q14514600)) (Q1458168,P361,c(Q14514600)) (Q3109703,P361,c(Q14514600))
action filter_type
action find
entity prev_answer
relation P361
type Q14514600
['Q17379228', 'P361', {'concept': 'Q14514600'}] ['Q1458168', 'P361', {'concept': 'Q14514600'}] ['Q3109703', 'P361', {'concept': 'Q14514600'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?h ) { ( resource:Q3109703 ) ( resource:Q3502068 ) ( resource:Q2907796 ) } . ?l rdf:type ontology:Q14514600 . ?h property:P361 ?l }
Lucy Ralph Wiggum Donna Pinciotti
action filter_type
action find
entity prev_answer
relation part of
type group of fictional characters
['Lucy', 'part of', {'concept': 'group of fictional characters'}] ['Ralph Wiggum', 'part of', {'concept': 'group of fictional characters'}] ['Donna Pinciotti', 'part of', {'concept': 'group of fictional characters'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?h ) { ( resource:Donna_Pinciotti ) ( resource:Jessica_Lovejoy ) ( resource:Bob_Pinciotti ) } . ?l rdf:type ontology:group_of_fictional_characters . ?h property:part_of ?l }
[]
group of fictional characters
Q6698594 Q15241437 Q2109997
SYSTEM
Lucy and Ricky Ricardo, Wiggum family, Pinciotti family
Q6698594 Q15241437 Q2109997
(Q17379228,P361,c(Q14514600)) (Q1458168,P361,c(Q14514600)) (Q3109703,P361,c(Q14514600))
action filter_type
action find
entity prev_answer
relation P361
type Q14514600
[ANSWERS] are those fictional humanoids a component of
['Q17379228', 'P361', {'concept': 'Q14514600'}] ['Q1458168', 'P361', {'concept': 'Q14514600'}] ['Q3109703', 'P361', {'concept': 'Q14514600'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?h ) { ( resource:Q3109703 ) ( resource:Q3502068 ) ( resource:Q2907796 ) } . ?l rdf:type ontology:Q14514600 . ?h property:P361 ?l }
Lucy and Ricky Ricardo Wiggum family Pinciotti family
Lucy and Ricky Ricardo, Wiggum family and Pinciotti family are those fictional humanoids a component of
Lucy and Ricky Ricardo Wiggum family Pinciotti family
action filter_type
action find
entity prev_answer
relation part of
type group of fictional characters
['Lucy', 'part of', {'concept': 'group of fictional characters'}] ['Ralph Wiggum', 'part of', {'concept': 'group of fictional characters'}] ['Donna Pinciotti', 'part of', {'concept': 'group of fictional characters'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?h ) { ( resource:Donna_Pinciotti ) ( resource:Jessica_Lovejoy ) ( resource:Bob_Pinciotti ) } . ?l rdf:type ontology:group_of_fictional_characters . ?h property:part_of ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23900446
P157
Q6619679
USER
Who assasinated Howard Stark ?
(Q23900446,P157,c(Q6619679))
action filter_type
action find
entity Q23900446
relation P157
type Q6619679
['Q23900446', 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ?m WHERE { resource:Q23900446 property:P157 ?m . ?m rdf:type ontology:Q6619679 }
Howard Stark
action filter_type
action find
entity Howard Stark
relation killed by
type fictional humanoid
['Howard Stark', 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?m WHERE { resource:Howard_Stark property:killed_by ?m . ?m rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q23991694
SYSTEM
Bucky Barnes / Winter Soldier
Q23991694
(Q23900446,P157,c(Q6619679))
action filter_type
action find
entity Q23900446
relation P157
type Q6619679
[ANSWER] assasinated Howard Stark
['Q23900446', 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ?m WHERE { resource:Q23900446 property:P157 ?m . ?m rdf:type ontology:Q6619679 }
Bucky Barnes / Winter Soldier
Bucky Barnes / Winter Soldier assasinated Howard Stark
Bucky Barnes / Winter Soldier
action filter_type
action find
entity Howard Stark
relation killed by
type fictional humanoid
['Howard Stark', 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?m WHERE { resource:Howard_Stark property:killed_by ?m . ?m rdf:type ontology:fictional_humanoid }
[]