Simple Question (Direct)
Simple Question
Q2382723
P272
Q43229
USER
Who produced Rudo y Cursi ?
(Q2382723,P272,c(Q43229))
action filter_type
action find
entity Q2382723
relation P272
type Q43229
['Q2382723', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { resource:Q2382723 property:P272 ?t . ?t rdf:type ontology:Q43229 }
Rudo y Cursi
action filter_type
action find
entity Rudo y Cursi
relation production company
type organization
['Rudo y Cursi', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { resource:Rudo_y_Cursi property:production_company ?t . ?t rdf:type ontology:organization }
[]
organization
Q5065928
SYSTEM
Cha Cha Cha Films
Q5065928
(Q2382723,P272,c(Q43229))
action filter_type
action find
entity Q2382723
relation P272
type Q43229
Cha Cha Films produced Rudo y Cursi
['Q2382723', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { resource:Q2382723 property:P272 ?t . ?t rdf:type ontology:Q43229 }
Cha Cha Cha Films
Cha Cha Films produced Rudo y Cursi
Cha Cha Cha Films
action filter_type
action find
entity Rudo y Cursi
relation production company
type organization
['Rudo y Cursi', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { resource:Rudo_y_Cursi property:production_company ?t . ?t rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2382723
P462
Q1075
USER
Which color is associated with that work of art ?
(Q5065928,P462,c(Q1075))
action filter_type
action find
entity Q2382723
relation P462
type Q1075
['Q5065928', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?j WHERE { resource:Q2382723 property:P462 ?j . ?j rdf:type ontology:Q1075 }
Rudo y Cursi
action filter_type
action find
entity Rudo y Cursi
relation color
type color
['Cha Cha Cha Films', 'color', {'concept': 'color'}]
SELECT DISTINCT ?j WHERE { resource:Rudo_y_Cursi property:color ?j . ?j rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q5065928,P462,c(Q1075))
action filter_type
action find
entity Q2382723
relation P462
type Q1075
The [ANSWER] is associated with that work of art
['Q5065928', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?j WHERE { resource:Q2382723 property:P462 ?j . ?j rdf:type ontology:Q1075 }
color
The color is associated with that work of art
color
action filter_type
action find
entity Rudo y Cursi
relation color
type color
['Cha Cha Cha Films', 'color', {'concept': 'color'}]
SELECT DISTINCT ?j WHERE { resource:Rudo_y_Cursi property:color ?j . ?j rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2382723
P57
Q502895
USER
Who was Rudo y Cursi directed by ?
(Q2382723,P57,c(Q502895))
action filter_type
action find
entity Q2382723
relation P57
type Q502895
['Q2382723', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2382723 property:P57 ?y . ?y rdf:type ontology:Q502895 }
Rudo y Cursi
action filter_type
action find
entity Rudo y Cursi
relation director
type common name
['Rudo y Cursi', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Rudo_y_Cursi property:director ?y . ?y rdf:type ontology:common_name }
[]
common name
Q2840325
SYSTEM
Carlos Cuarón
Q2840325
(Q2382723,P57,c(Q502895))
action filter_type
action find
entity Q2382723
relation P57
type Q502895
Rudo y Cursi was directed by Juan [ANSWER]
['Q2382723', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2382723 property:P57 ?y . ?y rdf:type ontology:Q502895 }
Carlos Cuarón
Rudo y Cursi was directed by Juan Carlos Cuarón
Carlos Cuarón
action filter_type
action find
entity Rudo y Cursi
relation director
type common name
['Rudo y Cursi', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Rudo_y_Cursi property:director ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22713756
Q502895
USER
And what about Strange Visitor from Another Planet?
(Q22713756,P57,c(Q502895))
action filter_type
action find
entity Q22713756
relation P57
type Q502895
['Q22713756', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q22713756 property:P57 ?i . ?i rdf:type ontology:Q502895 }
Strange Visitor from Another Planet
action filter_type
action find
entity Strange Visitor from Another Planet
relation director
type common name
['Strange Visitor from Another Planet', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Strange_Visitor_from_Another_Planet property:director ?i . ?i rdf:type ontology:common_name }
[]
common name
Q17581401
SYSTEM
Glen Winter
Q17581401
(Q22713756,P57,c(Q502895))
action filter_type
action find
entity Q22713756
relation P57
type Q502895
[ANSWER]
['Q22713756', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q22713756 property:P57 ?i . ?i rdf:type ontology:Q502895 }
Glen Winter
Glen Winter
action filter_type
action find
entity Strange Visitor from Another Planet
relation director
type common name
['Strange Visitor from Another Planet', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Strange_Visitor_from_Another_Planet property:director ?i . ?i rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5139461
P725
Q502895 Q15416
USER
Which television programs had more number of people as the dubbing artist than Engage Planet Kiss Dum ?
(c(Q15416),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q5139461
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?v ) WHERE { ?e property:P725 ?s . ?e rdf:type ontology:Q15416 . ?s rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Q5139461 property:P725 ?o . ?o rdf:type ontology:Q15416 } } . FILTER ( ?v > ?p ) }
Engage Planet Kiss Dum
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Engage Planet Kiss Dum
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?v ) WHERE { ?e property:voice_actor ?s . ?e rdf:type ontology:television_program . ?s rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Engage_Planet_Kiss_Dum property:voice_actor ?o . ?o rdf:type ontology:television_program } } . FILTER ( ?v > ?p ) }
[]
common name television program
Q23558 Q15863567 Q15863577
SYSTEM
House, K-On!, K-On!!
Q689114 Q467722 Q2042834 Q23558 Q15863567 Q951078 Q18571935 Q165515 Q10358973 Q3596105 Q757148 Q543203 Q2275664 Q962132 Q18579178 Q20669175 Q25000347 Q1050091 Q18553975 Q18577675 Q1002254 Q550555 Q20899576 Q18558839 Q428130 Q18559016 Q17183708 Q18575654 Q3492143 Q1143800 Q15863577 Q331031
(c(Q15416),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q5139461
relation P725
type Q15416
[ANSWERS] had more number of people as the dubbing artist than Engage Planet Kiss Dum
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?v ) WHERE { ?e property:P725 ?s . ?e rdf:type ontology:Q15416 . ?s rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Q5139461 property:P725 ?o . ?o rdf:type ontology:Q15416 } } . FILTER ( ?v > ?p ) }
Digimon Adventure The Puppy's Further Adventures The Proud Family Movie House K-On! Hellsing The Big O 101 Dalmatians: The Series Reynard the Fox Popeye the Sailor Rocko's Modern Life Chip 'n Dale Rescue Rangers Kim Possible: A Sitch in Time Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Pirate Express Dastardly and Muttley in Their Flying Machines Soul Eater Darker than Black Wacky Races Gravity Falls Shimmer and Shine Soul Eater Not! Sonic X Berserk The 7D Trigun Puss in Boots: The Three Diablos Postman Pat K-On!! Dora the Explorer
House, K-On! and K-On!! had more number of people as the dubbing artist than Engage Planet Kiss Dum
House K-On! K-On!!
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Engage Planet Kiss Dum
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?s ) AS ?v ) WHERE { ?e property:voice_actor ?s . ?e rdf:type ontology:television_program . ?s rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Engage_Planet_Kiss_Dum property:voice_actor ?o . ?o rdf:type ontology:television_program } } . FILTER ( ?v > ?p ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P725
Q502895
USER
How many people were that television program dubbed by ?
(Q15863567,P725,c(Q502895))
['Q15863567', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15863567 property:Q2405480 ?z . ?z rdf:type ontology:Q502895 }
['K-On!', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:K-On! property:voice_actor ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q23558
SYSTEM
Did you mean House ?
(Q23558,P725,c(Q502895)) (Q15863567,P725,c(Q502895)) (Q15863577,P725,c(Q502895))
[ANSWER]
['Q23558', 'P725', {'concept': 'Q502895'}] ['Q15863567', 'P725', {'concept': 'Q502895'}] ['Q15863577', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15863567 property:Q2405480 ?z . ?z rdf:type ontology:Q502895 }
Did you mean House ?
House
['House', 'voice actor', {'concept': 'common name'}] ['K-On!', 'voice actor', {'concept': 'common name'}] ['K-On!!', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:K-On! property:voice_actor ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant K-On!. Could you tell me the answer for that?
(Q15863567,P725,c(Q502895))
Q15863567
['Q15863567', 'P725', {'concept': 'Q502895'}]
['K-On!', 'voice actor', {'concept': 'common name'}]
[]
SYSTEM
8
Q2462192 Q50023 Q1359620 Q50029 Q1143101 Q1204576 Q242014 Q4457181
(Q15863567,P725,c(Q502895))
[ANSWER]
['Q15863567', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15863567 property:Q2405480 ?z . ?z rdf:type ontology:Q502895 }
Madoka Yonezawa Yōko Hikasa Satomi Satō Minako Kotobuki Asami Sanada Ayana Taketatsu Aki Toyosaki Chika Fuchiko
8
['K-On!', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:K-On! property:voice_actor ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q15416 Q386724
USER
Which works are set up by max number of television programs ?
(c(Q386724),P1445,c(Q15416))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q15416
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?c ) { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?g ) WHERE { ?u property:P1445 ?n . ?u rdf:type ontology:Q386724 . ?n rdf:type ontology:Q15416 } GROUP BY ?u } } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?q ) WHERE { ?t property:P1445 ?k . ?t rdf:type ontology:Q386724 . ?k rdf:type ontology:Q15416 } GROUP BY ?t } }
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?c ) { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?g ) WHERE { ?u property:fictional_universe_described_in ?n . ?u rdf:type ontology:work . ?n rdf:type ontology:television_program } GROUP BY ?u } } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?q ) WHERE { ?t property:fictional_universe_described_in ?k . ?t rdf:type ontology:work . ?k rdf:type ontology:television_program } GROUP BY ?t } }
[]
television program work
Q1203222
SYSTEM
Shrek
Q1203222
(c(Q386724),P1445,c(Q15416))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q15416
[ANSWER] is set up by max number of television programs
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?c ) { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?g ) WHERE { ?u property:P1445 ?n . ?u rdf:type ontology:Q386724 . ?n rdf:type ontology:Q15416 } GROUP BY ?u } } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?q ) WHERE { ?t property:P1445 ?k . ?t rdf:type ontology:Q386724 . ?k rdf:type ontology:Q15416 } GROUP BY ?t } }
Shrek
Shrek is set up by max number of television programs
Shrek
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?c ) { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?g ) WHERE { ?u property:fictional_universe_described_in ?n . ?u rdf:type ontology:work . ?n rdf:type ontology:television_program } GROUP BY ?u } } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?q ) WHERE { ?t property:fictional_universe_described_in ?k . ?t rdf:type ontology:work . ?k rdf:type ontology:television_program } GROUP BY ?t } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1203222 Q55533
P1445
Q166142
USER
Does Saboteur II: Avenging Angel outline Shrek ?
(Q1203222,P1445,Q55533)
action is_in
entity Q55533
action find
entity Q1203222
relation P1445
['Q1203222', 'P1445', 'Q55533']
ASK WHERE { resource:Q1203222 property:P1445 resource:Q55533 }
Shrek Saboteur II: Avenging Angel
action is_in
entity Saboteur II: Avenging Angel
action find
entity Shrek
relation fictional universe described in
['Shrek', 'fictional universe described in', 'Saboteur II: Avenging Angel']
ASK WHERE { resource:Shrek property:fictional_universe_described_in resource:Saboteur_II:_Avenging_Angel }
[]
application
SYSTEM
NO
(Q1203222,P1445,Q55533)
action is_in
entity Q55533
action find
entity Q1203222
relation P1445
[ANSWER]
['Q1203222', 'P1445', 'Q55533']
ASK WHERE { resource:Q1203222 property:P1445 resource:Q55533 }
No
action is_in
entity Saboteur II: Avenging Angel
action find
entity Shrek
relation fictional universe described in
['Shrek', 'fictional universe described in', 'Saboteur II: Avenging Angel']
ASK WHERE { resource:Shrek property:fictional_universe_described_in resource:Saboteur_II:_Avenging_Angel }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q15416 Q838948 Q2342494
USER
Which television programs are approximately 2 works of art and collectables based on ?
(c(Q838948)|c(Q2342494),P144,c(Q15416))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q838948
action find_reverse_tuple_counts
relation P144
type Q15416
type Q2342494
value 2
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?v . VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?e } . FILTER ( ?i = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation based on
type television program
type work of art
action find_reverse_tuple_counts
relation based on
type television program
type collectable
value 2
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?v . VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?e } . FILTER ( ?i = 2 ) }
[]
television program work of art collectable
Q2744 Q34316 Q369111
SYSTEM
The X-Files, Doctor Who, Mission: Impossible
Q201358 Q4427572 Q6682512 Q369111 Q1982608 Q617274 Q13979 Q2744 Q34316 Q192015 Q599309 Q1991960 Q137034
(c(Q838948)|c(Q2342494),P144,c(Q15416))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q838948
action find_reverse_tuple_counts
relation P144
type Q15416
type Q2342494
value 2
[ANSWERS] are approximately 2 works of art and collectables based on
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?v . VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } } GROUP BY ?e } . FILTER ( ?i = 2 ) }
The Flintstones Soldier Los Beverly de Peralvillo Mission: Impossible Kamen Rider Charlie's Angels Saturday Night Live The X-Files Doctor Who Yu-Gi-Oh! Tenchi Muyo! George of the Jungle The Fugitive
The X-Files, Doctor Who and Mission: Impossible are approximately 2 works of art and collectables based on
The X-Files Doctor Who Mission: Impossible
action approx
action union
action find_reverse_tuple_counts
relation based on
type television program
type work of art
action find_reverse_tuple_counts
relation based on
type television program
type collectable
value 2
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?v . VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:collectable ) } } GROUP BY ?e } . FILTER ( ?i = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1203222
P750
Q375336
USER
Who distributes Shrek ?
(Q1203222,P750,c(Q375336))
action filter_type
action find
entity Q1203222
relation P750
type Q375336
['Q1203222', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?x WHERE { resource:Q1203222 property:P750 ?x . ?x rdf:type ontology:Q375336 }
Shrek
action filter_type
action find
entity Shrek
relation distributor
type film studio
['Shrek', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?x WHERE { resource:Shrek property:distributor ?x . ?x rdf:type ontology:film_studio }
[]
film studio
Q192557
SYSTEM
DreamWorks
Q192557
(Q1203222,P750,c(Q375336))
action filter_type
action find
entity Q1203222
relation P750
type Q375336
[ANSWER] distributes Shrek
['Q1203222', 'P750', {'concept': 'Q375336'}]
SELECT DISTINCT ?x WHERE { resource:Q1203222 property:P750 ?x . ?x rdf:type ontology:Q375336 }
DreamWorks
DreamWorks distributes Shrek
DreamWorks
action filter_type
action find
entity Shrek
relation distributor
type film studio
['Shrek', 'distributor', {'concept': 'film studio'}]
SELECT DISTINCT ?x WHERE { resource:Shrek property:distributor ?x . ?x rdf:type ontology:film_studio }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1203222
P1080
Q95074
USER
Which fictional characters are featured in Shrek ?
(c(Q95074),P1080,Q1203222)
action filter_type
action find_reverse
entity Q1203222
relation P1080
type Q95074
[{'concept': 'Q95074'}, 'P1080', 'Q1203222']
SELECT DISTINCT ?p WHERE { ?p property:P1080 resource:Q1203222 . ?p rdf:type ontology:Q95074 }
Shrek
action filter_type
action find_reverse
entity Shrek
relation from fictional universe
type fictional character
[{'concept': 'fictional character'}, 'from fictional universe', 'Shrek']
SELECT DISTINCT ?p WHERE { ?p property:from_fictional_universe resource:Shrek . ?p rdf:type ontology:fictional_character }
[]
fictional character
Q52405 Q52401 Q18279909
SYSTEM
Princess Fiona, Shrek, Pinocchio
Q15286822 Q15286834 Q748427 Q18279909 Q52401 Q15286846 Q52405
(c(Q95074),P1080,Q1203222)
action filter_type
action find_reverse
entity Q1203222
relation P1080
type Q95074
The [ANSWERS] are featured in Shrek
[{'concept': 'Q95074'}, 'P1080', 'Q1203222']
SELECT DISTINCT ?p WHERE { ?p property:P1080 resource:Q1203222 . ?p rdf:type ontology:Q95074 }
Fergus Farkle Donkey Pinocchio Shrek Felicia Princess Fiona
The Princess Fiona, Shrek and Pinocchio are featured in Shrek
Princess Fiona Shrek Pinocchio
action filter_type
action find_reverse
entity Shrek
relation from fictional universe
type fictional character
[{'concept': 'fictional character'}, 'from fictional universe', 'Shrek']
SELECT DISTINCT ?p WHERE { ?p property:from_fictional_universe resource:Shrek . ?p rdf:type ontology:fictional_character }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q52405
P26
Q95074
USER
Who is married to Princess Fiona ?
(c(Q95074),P26,Q52405)
action filter_type
action find
entity Q52405
relation P26
type Q95074
[{'concept': 'Q95074'}, 'P26', 'Q52405']
SELECT DISTINCT ?l WHERE { resource:Q52405 property:P26 ?l . ?l rdf:type ontology:Q95074 }
Princess Fiona
action filter_type
action find
entity Princess Fiona
relation spouse
type fictional character
[{'concept': 'fictional character'}, 'spouse', 'Princess Fiona']
SELECT DISTINCT ?l WHERE { resource:Princess_Fiona property:spouse ?l . ?l rdf:type ontology:fictional_character }
[]
fictional character
Q52401
SYSTEM
Shrek
Q52401
(c(Q95074),P26,Q52405)
action filter_type
action find
entity Q52405
relation P26
type Q95074
[ANSWER] is married to Princess Fiona
[{'concept': 'Q95074'}, 'P26', 'Q52405']
SELECT DISTINCT ?l WHERE { resource:Q52405 property:P26 ?l . ?l rdf:type ontology:Q95074 }
Shrek
Shrek is married to Princess Fiona
Shrek
action filter_type
action find
entity Princess Fiona
relation spouse
type fictional character
[{'concept': 'fictional character'}, 'spouse', 'Princess Fiona']
SELECT DISTINCT ?l WHERE { resource:Princess_Fiona property:spouse ?l . ?l rdf:type ontology:fictional_character }
[]