Simple Question (Direct)
Simple Question
Q2621366
P495
Q15617994
USER
Which administrative territory is the country of origin of The Mysterians ?
(Q2621366,P495,c(Q15617994))
action filter_type
action find
entity Q2621366
relation P495
type Q15617994
['Q2621366', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q2621366 property:P495 ?f }
The Mysterians
action filter_type
action find
entity The Mysterians
relation country of origin
type designation for an administrative territorial entity
['The Mysterians', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Mysterians property:country_of_origin ?f }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q2621366,P495,c(Q15617994))
action filter_type
action find
entity Q2621366
relation P495
type Q15617994
[ANSWER] is the country of origin of The Mysterians
['Q2621366', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q2621366 property:P495 ?f }
Japan
Japan is the country of origin of The Mysterians
Japan
action filter_type
action find
entity The Mysterians
relation country of origin
type designation for an administrative territorial entity
['The Mysterians', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Mysterians property:country_of_origin ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2621366
P162
Q502895
USER
Who is the producer of The Mysterians ?
(Q2621366,P162,c(Q502895))
action filter_type
action find
entity Q2621366
relation P162
type Q502895
['Q2621366', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q2621366 property:P162 ?s }
The Mysterians
action filter_type
action find
entity The Mysterians
relation producer
type common name
['The Mysterians', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Mysterians property:producer ?s }
[]
common name
Q652228
SYSTEM
Tomoyuki Tanaka
Q652228
(Q2621366,P162,c(Q502895))
action filter_type
action find
entity Q2621366
relation P162
type Q502895
The producer of The Mysterians is Prince [ANSWER]
['Q2621366', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q2621366 property:P162 ?s }
Tomoyuki Tanaka
The producer of The Mysterians is Prince Tomoyuki Tanaka
Tomoyuki Tanaka
action filter_type
action find
entity The Mysterians
relation producer
type common name
['The Mysterians', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Mysterians property:producer ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q652228
P58
Q838948
USER
Which work of art did that person do the screenwriting for ?
(c(Q838948),P58,Q652228)
action filter_type
action find_reverse
entity Q652228
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q652228']
SELECT DISTINCT ?w WHERE { ?w property:P58 resource:Q652228 . ?w rdf:type ontology:Q838948 }
Tomoyuki Tanaka
action filter_type
action find_reverse
entity Tomoyuki Tanaka
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Tomoyuki Tanaka']
SELECT DISTINCT ?w WHERE { ?w property:screenwriter resource:Tomoyuki_Tanaka . ?w rdf:type ontology:work_of_art }
[]
work of art
Q2630549
SYSTEM
Rebirth of Mothra II
Q2630549
(c(Q838948),P58,Q652228)
action filter_type
action find_reverse
entity Q652228
relation P58
type Q838948
That person did the screenwriting for The [ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q652228']
SELECT DISTINCT ?w WHERE { ?w property:P58 resource:Q652228 . ?w rdf:type ontology:Q838948 }
Rebirth of Mothra II
That person did the screenwriting for The Rebirth of Mothra II
Rebirth of Mothra II
action filter_type
action find_reverse
entity Tomoyuki Tanaka
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Tomoyuki Tanaka']
SELECT DISTINCT ?w WHERE { ?w property:screenwriter resource:Tomoyuki_Tanaka . ?w rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q652228
P27
Q15617994
USER
How many administrative territories are the native countriesof Tomoyuki Tanaka ?
(Q652228,P27,c(Q15617994))
action count
action filter_type
action find
entity Q652228
relation P27
type Q15617994
['Q652228', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q652228 property:P27 ?a }
Tomoyuki Tanaka
action count
action filter_type
action find
entity Tomoyuki Tanaka
relation country of citizenship
type designation for an administrative territorial entity
['Tomoyuki Tanaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tomoyuki_Tanaka property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
SYSTEM
1
Q17
(Q652228,P27,c(Q15617994))
action count
action filter_type
action find
entity Q652228
relation P27
type Q15617994
[ANSWER]
['Q652228', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q652228 property:P27 ?a }
Japan
1
action count
action filter_type
action find
entity Tomoyuki Tanaka
relation country of citizenship
type designation for an administrative territorial entity
['Tomoyuki Tanaka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tomoyuki_Tanaka property:country_of_citizenship ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2630549
P161
Q502895
USER
Who starred in Rebirth of Mothra II ?
(Q2630549,P161,c(Q502895))
action filter_type
action find
entity Q2630549
relation P161
type Q502895
['Q2630549', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2630549 property:P161 ?o . ?o rdf:type ontology:Q502895 }
Rebirth of Mothra II
action filter_type
action find
entity Rebirth of Mothra II
relation cast member
type common name
['Rebirth of Mothra II', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Rebirth_of_Mothra_II property:cast_member ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1022003 Q678217
SYSTEM
Megumi Kobayashi, Sayaka Yamaguchi
Q1022003 Q678217
(Q2630549,P161,c(Q502895))
action filter_type
action find
entity Q2630549
relation P161
type Q502895
[ANSWERS] starred in Rebirth of Mothra II
['Q2630549', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2630549 property:P161 ?o . ?o rdf:type ontology:Q502895 }
Megumi Kobayashi Sayaka Yamaguchi
Megumi Kobayashi and Sayaka Yamaguchi starred in Rebirth of Mothra II
Megumi Kobayashi Sayaka Yamaguchi
action filter_type
action find
entity Rebirth of Mothra II
relation cast member
type common name
['Rebirth of Mothra II', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Rebirth_of_Mothra_II property:cast_member ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3316874
Q502895
USER
And what about Mission in Tangier?
(Q3316874,P161,c(Q502895))
action filter_type
action find
entity Q3316874
relation P161
type Q502895
['Q3316874', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3316874 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Mission in Tangier
action filter_type
action find
entity Mission in Tangier
relation cast member
type common name
['Mission in Tangier', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Mission_in_Tangier property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
common name
Q2737 Q1354036 Q1360888
SYSTEM
Louis de Funès, Louis Williams, Jean Richard
Q3102585 Q3435697 Q3118452 Q531387 Q3313825 Q2965045 Q3159093 Q3275588 Q2898151 Q3157742 Q3265504 Q2848747 Q3094186 Q3341063 Q984506 Q2737 Q3124329 Q1354036 Q3554393 Q282588 Q3289222 Q3302304 Q1360888 Q3529698 Q351276 Q3160163 Q3167004 Q3564207 Q2848982 Q3384732
(Q3316874,P161,c(Q502895))
action filter_type
action find
entity Q3316874
relation P161
type Q502895
[ANSWERS]
['Q3316874', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3316874 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Georges Demas Robert Le Fort Grégoire Gromoff Nadine de Rothschild Mila Parély Christian Bertola Jacques Henley Madeleine Barbulée Bernard Lajarrige Jacqueline Huet Lucien Frégis André Valmy Gaby Sylvia Nicole Jonesco Gregori Chmara Louis de Funès Gérard Séty Louis Williams Van Doude Raymond Rouleau Marcel Melrac Max Révol Jean Richard Titys Henri Nassiet Jacques Vertan Jean-Louis Tristan Véra Norman Andrée Tainsy Pierre Destailles
Louis de Funès Louis Williams Jean Richard
action filter_type
action find
entity Mission in Tangier
relation cast member
type common name
['Mission in Tangier', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Mission_in_Tangier property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1087238
P161
Q838948
USER
Do those people star in Kagero-za ?
(Q1087238,P161,Q2737) (Q1087238,P161,Q1354036) (Q1087238,P161,Q1360888)
action is_in
entity prev_answer
action find
entity Q1087238
relation P161
['Q1087238', 'P161', 'Q2737'] ['Q1087238', 'P161', 'Q1354036'] ['Q1087238', 'P161', 'Q1360888']
ASK WHERE { resource:Q1087238 property:P161 ?y . VALUES ( ?y ) { ( resource:Q3102585 ) ( resource:Q3435697 ) ( resource:Q3118452 ) } }
Kagero-za
action is_in
entity prev_answer
action find
entity Kagero-za
relation cast member
['Kagero-za', 'cast member', 'Louis de Funès'] ['Kagero-za', 'cast member', 'Louis Williams'] ['Kagero-za', 'cast member', 'Jean Richard']
ASK WHERE { resource:Kagero-za property:cast_member ?y . VALUES ( ?y ) { ( resource:Georges_Demas ) ( resource:Robert_Le_Fort ) ( resource:Grégoire_Gromoff ) } }
[]
work of art
SYSTEM
NO
(Q1087238,P161,Q2737) (Q1087238,P161,Q1354036) (Q1087238,P161,Q1360888)
action is_in
entity prev_answer
action find
entity Q1087238
relation P161
[ANSWER]
['Q1087238', 'P161', 'Q2737'] ['Q1087238', 'P161', 'Q1354036'] ['Q1087238', 'P161', 'Q1360888']
ASK WHERE { resource:Q1087238 property:P161 ?y . VALUES ( ?y ) { ( resource:Q3102585 ) ( resource:Q3435697 ) ( resource:Q3118452 ) } }
No
action is_in
entity prev_answer
action find
entity Kagero-za
relation cast member
['Kagero-za', 'cast member', 'Louis de Funès'] ['Kagero-za', 'cast member', 'Louis Williams'] ['Kagero-za', 'cast member', 'Jean Richard']
ASK WHERE { resource:Kagero-za property:cast_member ?y . VALUES ( ?y ) { ( resource:Georges_Demas ) ( resource:Robert_Le_Fort ) ( resource:Grégoire_Gromoff ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q678217 Q682243
P161
Q838948
USER
How many works of art do Sayaka Yamaguchi or Mikoto Misaka star in ?
(c(Q838948),P161,Q678217) (c(Q838948),P161,Q682243)
action count
action union
action filter_type
action find_reverse
entity Q678217
relation P161
type Q838948
action filter_type
action find_reverse
entity Q682243
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q678217'] [{'concept': 'Q838948'}, 'P161', 'Q682243']
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:P161 resource:Q678217 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P161 resource:Q682243 . ?f rdf:type ontology:Q838948 } }
Sayaka Yamaguchi Mikoto Misaka
action count
action union
action filter_type
action find_reverse
entity Sayaka Yamaguchi
relation cast member
type work of art
action filter_type
action find_reverse
entity Mikoto Misaka
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sayaka Yamaguchi'] [{'concept': 'work of art'}, 'cast member', 'Mikoto Misaka']
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:cast_member resource:Sayaka_Yamaguchi . ?f rdf:type ontology:work_of_art } UNION { ?f property:cast_member resource:Mikoto_Misaka . ?f rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
3
Q3992658 Q2630549 Q1813350
(c(Q838948),P161,Q678217) (c(Q838948),P161,Q682243)
action count
action union
action filter_type
action find_reverse
entity Q678217
relation P161
type Q838948
action filter_type
action find_reverse
entity Q682243
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q678217'] [{'concept': 'Q838948'}, 'P161', 'Q682243']
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:P161 resource:Q678217 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P161 resource:Q682243 . ?f rdf:type ontology:Q838948 } }
Tomie: Replay Rebirth of Mothra II Rebirth of Mothra
3
action count
action union
action filter_type
action find_reverse
entity Sayaka Yamaguchi
relation cast member
type work of art
action filter_type
action find_reverse
entity Mikoto Misaka
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sayaka Yamaguchi'] [{'concept': 'work of art'}, 'cast member', 'Mikoto Misaka']
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { ?f property:cast_member resource:Sayaka_Yamaguchi . ?f rdf:type ontology:work_of_art } UNION { ?f property:cast_member resource:Mikoto_Misaka . ?f rdf:type ontology:work_of_art } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1708355 Q678217
P19
Q515
USER
Which cities are the places of birth of Sayaka Yamaguchi or Joseph von Pölnitz ?
OR((Q678217,P19,c(Q515)), (Q1708355,P19,c(Q515)))
action filter_type
action union
action find
entity Q678217
relation P19
action find
entity Q1708355
relation P19
type Q515
{'OR': [['Q678217', 'P19', {'concept': 'Q515'}], ['Q1708355', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?p WHERE { { ?v property:P19 ?p . VALUES ( ?v ) { ( resource:Q678217 ) ( resource:Q1708355 ) } } . ?p rdf:type ontology:Q515 }
Joseph von Pölnitz Sayaka Yamaguchi
action filter_type
action union
action find
entity Sayaka Yamaguchi
relation place of birth
action find
entity Joseph von Pölnitz
relation place of birth
type city
{'OR': [['Sayaka Yamaguchi', 'place of birth', {'concept': 'city'}], ['Joseph von Pölnitz', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?p WHERE { { ?v property:place_of_birth ?p . VALUES ( ?v ) { ( resource:Sayaka_Yamaguchi ) ( resource:Joseph_von_Pölnitz ) } } . ?p rdf:type ontology:city }
[]
city
Q2999 Q26600
SYSTEM
Würzburg, Fukuoka
Q2999 Q26600
OR((Q678217,P19,c(Q515)), (Q1708355,P19,c(Q515)))
action filter_type
action union
action find
entity Q678217
relation P19
action find
entity Q1708355
relation P19
type Q515
[ANSWERS] are the places of birth of Sayaka Yamaguchi or Joseph von Pölnitz
{'OR': [['Q678217', 'P19', {'concept': 'Q515'}], ['Q1708355', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?p WHERE { { ?v property:P19 ?p . VALUES ( ?v ) { ( resource:Q678217 ) ( resource:Q1708355 ) } } . ?p rdf:type ontology:Q515 }
Würzburg Fukuoka
Würzburg and Fukuoka are the places of birth of Sayaka Yamaguchi or Joseph von Pölnitz
Würzburg Fukuoka
action filter_type
action union
action find
entity Sayaka Yamaguchi
relation place of birth
action find
entity Joseph von Pölnitz
relation place of birth
type city
{'OR': [['Sayaka Yamaguchi', 'place of birth', {'concept': 'city'}], ['Joseph von Pölnitz', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?p WHERE { { ?v property:place_of_birth ?p . VALUES ( ?v ) { ( resource:Sayaka_Yamaguchi ) ( resource:Joseph_von_Pölnitz ) } } . ?p rdf:type ontology:city }
[]