Simple Question (Direct)
Simple Question
Q11578093
P136
Q1792379
USER
What can be considered as category for Tora-san's Easy Advice ?
(Q11578093,P136,c(Q1792379))
action filter_type
action find
entity Q11578093
relation P136
type Q1792379
['Q11578093', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?i WHERE { resource:Q11578093 property:P136 ?i . ?i rdf:type ontology:Q1792379 }
Tora-san's Easy Advice
action filter_type
action find
entity Tora-san's Easy Advice
relation genre
type art genre
["Tora-san's Easy Advice", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?i WHERE { resource:Tora-san's_Easy_Advice property:genre ?i . ?i rdf:type ontology:art_genre }
[]
art genre
Q157443
SYSTEM
comedy film
Q157443
(Q11578093,P136,c(Q1792379))
action filter_type
action find
entity Q11578093
relation P136
type Q1792379
[ANSWER] can be considered as category for Tora-san's Easy Advice
['Q11578093', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?i WHERE { resource:Q11578093 property:P136 ?i . ?i rdf:type ontology:Q1792379 }
comedy film
Comedy film can be considered as category for Tora-san's Easy Advice
comedy film
action filter_type
action find
entity Tora-san's Easy Advice
relation genre
type art genre
["Tora-san's Easy Advice", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?i WHERE { resource:Tora-san's_Easy_Advice property:genre ?i . ?i rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11578093
P57
Q502895
USER
Which person directed Tora-san's Easy Advice ?
(Q11578093,P57,c(Q502895))
action filter_type
action find
entity Q11578093
relation P57
type Q502895
['Q11578093', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q11578093 property:P57 ?f }
Tora-san's Easy Advice
action filter_type
action find
entity Tora-san's Easy Advice
relation director
type common name
["Tora-san's Easy Advice", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Tora-san's_Easy_Advice property:director ?f }
[]
common name
Q1261335
SYSTEM
Yōji Yamada
Q1261335
(Q11578093,P57,c(Q502895))
action filter_type
action find
entity Q11578093
relation P57
type Q502895
[ANSWER] directed Tora-san's Easy Advice
['Q11578093', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q11578093 property:P57 ?f }
Yōji Yamada
Yōji Yamada directed Tora-san's Easy Advice
Yōji Yamada
action filter_type
action find
entity Tora-san's Easy Advice
relation director
type common name
["Tora-san's Easy Advice", 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Tora-san's_Easy_Advice property:director ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2499681 Q11578093
P57
Q502895
USER
Or Homer Alone?
OR((Q11578093,P57,c(Q502895)), (Q2499681,P57,c(Q502895)))
action filter_type
action union
action find
entity Q11578093
relation P57
action find
entity Q2499681
relation P57
type Q502895
{'OR': [['Q11578093', 'P57', {'concept': 'Q502895'}], ['Q2499681', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q11578093 property:P57 ?x } UNION { resource:Q2499681 property:P57 ?x } } . ?x rdf:type ontology:Q502895 }
Homer Alone Tora-san's Easy Advice
action filter_type
action union
action find
entity Tora-san's Easy Advice
relation director
action find
entity Homer Alone
relation director
type common name
{'OR': [["Tora-san's Easy Advice", 'director', {'concept': 'common name'}], ['Homer Alone', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Tora-san's_Easy_Advice property:director ?x } UNION { resource:Homer_Alone property:director ?x } } . ?x rdf:type ontology:common_name }
[]
common name
Q2748620 Q1261335
SYSTEM
Mark Kirkland, Yōji Yamada
Q2748620 Q1261335
OR((Q11578093,P57,c(Q502895)), (Q2499681,P57,c(Q502895)))
action filter_type
action union
action find
entity Q11578093
relation P57
action find
entity Q2499681
relation P57
type Q502895
[ANSWERS]
{'OR': [['Q11578093', 'P57', {'concept': 'Q502895'}], ['Q2499681', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q11578093 property:P57 ?x } UNION { resource:Q2499681 property:P57 ?x } } . ?x rdf:type ontology:Q502895 }
Mark Kirkland Yōji Yamada
Mark Kirkland Yōji Yamada
action filter_type
action union
action find
entity Tora-san's Easy Advice
relation director
action find
entity Homer Alone
relation director
type common name
{'OR': [["Tora-san's Easy Advice", 'director', {'concept': 'common name'}], ['Homer Alone', 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Tora-san's_Easy_Advice property:director ?x } UNION { resource:Homer_Alone property:director ?x } } . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1140254
P725
Q502895 Q15416
USER
Which television programs had greater number of people as the dubbing artist than Transformers: Animated ?
(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 Q1140254
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?n ) WHERE { ?u property:P725 ?g . ?u rdf:type ontology:Q15416 . ?g rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { resource:Q1140254 property:P725 ?k . ?k rdf:type ontology:Q15416 } } }
Transformers: Animated
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Transformers: Animated
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?n ) WHERE { ?u property:voice_actor ?g . ?u rdf:type ontology:television_program . ?g rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { resource:Transformers:_Animated property:voice_actor ?k . ?k rdf:type ontology:television_program } } }
[]
common name television program
Q23558 Q15863567 Q15863577
SYSTEM
House, K-On!, K-On!!
Q689114 Q467722 Q2042834 Q239937 Q23558 Q15863567 Q1857269 Q951078 Q15176855 Q18571935 Q165515 Q10358973 Q3596105 Q757148 Q543203 Q2275664 Q962132 Q18579178 Q20669175 Q25000347 Q1050091 Q18553975 Q18577675 Q1002254 Q550555 Q20899576 Q483106 Q633432 Q12019559 Q18558839 Q428130 Q5139461 Q18559016 Q17183708 Q18575654 Q15039539 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 Q1140254
relation P725
type Q15416
[ANSWERS] had greater number of people as the dubbing artist than Transformers: Animated
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?n ) WHERE { ?u property:P725 ?g . ?u rdf:type ontology:Q15416 . ?g rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { resource:Q1140254 property:P725 ?k . ?k rdf:type ontology:Q15416 } } }
Digimon Adventure The Puppy's Further Adventures The Proud Family Movie Pokémon House K-On! Rio: Rainbow Gate! Hellsing Wizard Barristers: Benmashi Cecil 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 Freezing The Emperor's New School Free! Soul Eater Not! Sonic X Engage Planet Kiss Dum Berserk The 7D Trigun The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos Postman Pat K-On!! Dora the Explorer
House, K-On! and K-On!! had greater number of people as the dubbing artist than Transformers: Animated
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 Transformers: Animated
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?n ) WHERE { ?u property:voice_actor ?g . ?u rdf:type ontology:television_program . ?g rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { resource:Transformers:_Animated property:voice_actor ?k . ?k rdf:type ontology:television_program } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q13034858 Q2499681
P495 P17
Q15617994
USER
Which administrative territories are the origin of Homer Alone or do Grootmis belong to ?
OR((Q2499681,P495,c(Q15617994)), (Q13034858,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2499681
relation P495
action find
entity Q13034858
relation P17
type Q15617994
{'OR': [['Q2499681', 'P495', {'concept': 'Q15617994'}], ['Q13034858', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2499681 property:P495 ?q } UNION { resource:Q13034858 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Grootmis Homer Alone
action filter_type
action union
action find
entity Homer Alone
relation country of origin
action find
entity Grootmis
relation country
type designation for an administrative territorial entity
{'OR': [['Homer Alone', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Grootmis', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Homer_Alone property:country_of_origin ?q } UNION { resource:Grootmis property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q258
SYSTEM
United States of America, South Africa
Q30 Q258
OR((Q2499681,P495,c(Q15617994)), (Q13034858,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2499681
relation P495
action find
entity Q13034858
relation P17
type Q15617994
[ANSWERS] are the origin of Homer Alone or do Grootmis belong to
{'OR': [['Q2499681', 'P495', {'concept': 'Q15617994'}], ['Q13034858', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2499681 property:P495 ?q } UNION { resource:Q13034858 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
United States of America South Africa
United States of America and South Africa are the origin of Homer Alone or do Grootmis belong to
United States of America South Africa
action filter_type
action union
action find
entity Homer Alone
relation country of origin
action find
entity Grootmis
relation country
type designation for an administrative territorial entity
{'OR': [['Homer Alone', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Grootmis', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Homer_Alone property:country_of_origin ?q } UNION { resource:Grootmis property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q258
P1001
Q4164871
USER
Which positions preside the jurisdiction over those administrative territories ?
(c(Q4164871),P1001,Q30) (c(Q4164871),P1001,Q258)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q30'] [{'concept': 'Q4164871'}, 'P1001', 'Q258']
SELECT DISTINCT ?j WHERE { ?j property:P1001 ?r . VALUES ( ?r ) { ( resource:Q30 ) ( resource:Q258 ) } . ?j rdf:type ontology:Q4164871 }
United States of America South Africa
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'position'}, 'applies to jurisdiction', 'South Africa']
SELECT DISTINCT ?j WHERE { ?j property:applies_to_jurisdiction ?r . VALUES ( ?r ) { ( resource:United_States_of_America ) ( resource:South_Africa ) } . ?j rdf:type ontology:position }
[]
position
Q533501 Q20981749 Q20981744
SYSTEM
Secretary of state, Minister of Trade and Industry, Minister of Social Development
Q533501 Q20981749 Q20981744
(c(Q4164871),P1001,Q30) (c(Q4164871),P1001,Q258)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q4164871
[ANSWERS] preside the jurisdiction over those administrative territories
[{'concept': 'Q4164871'}, 'P1001', 'Q30'] [{'concept': 'Q4164871'}, 'P1001', 'Q258']
SELECT DISTINCT ?j WHERE { ?j property:P1001 ?r . VALUES ( ?r ) { ( resource:Q30 ) ( resource:Q258 ) } . ?j rdf:type ontology:Q4164871 }
Secretary of state Minister of Trade and Industry Minister of Social Development
Secretary of state, Minister of Trade and Industry and Minister of Social Development preside the jurisdiction over those administrative territories
Secretary of state Minister of Trade and Industry Minister of Social Development
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'position'}, 'applies to jurisdiction', 'South Africa']
SELECT DISTINCT ?j WHERE { ?j property:applies_to_jurisdiction ?r . VALUES ( ?r ) { ( resource:United_States_of_America ) ( resource:South_Africa ) } . ?j rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q533501 Q20981749 Q20981744
P1001
Q15617994
USER
Which administrative territories come under the jurisdiction of Secretary of state, Minister of Trade and Industry and Minister of Social Development ?
(Q533501,P1001,c(Q15617994)) (Q20981749,P1001,c(Q15617994)) (Q20981744,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q533501
relation P1001
type Q15617994
action filter_type
action find
entity Q20981749
relation P1001
type Q15617994
action filter_type
action find
entity Q20981744
relation P1001
type Q15617994
['Q533501', 'P1001', {'concept': 'Q15617994'}] ['Q20981749', 'P1001', {'concept': 'Q15617994'}] ['Q20981744', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q15617994 . resource:Q533501 property:P1001 ?q } UNION { resource:Q20981749 property:P1001 ?q . ?q rdf:type ontology:Q15617994 } }
Secretary of state Minister of Trade and Industry Minister of Social Development
action union
action filter_type
action find
entity Secretary of state
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Minister of Trade and Industry
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Minister of Social Development
relation applies to jurisdiction
type designation for an administrative territorial entity
['Secretary of state', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Minister of Trade and Industry', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Minister of Social Development', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Secretary_of_state property:applies_to_jurisdiction ?q } UNION { resource:Minister_of_Trade_and_Industry property:applies_to_jurisdiction ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q258 Q258
SYSTEM
United States of America for 1st, South Africa for 2nd, 3rd
Q30 Q258 Q258
(Q533501,P1001,c(Q15617994)) (Q20981749,P1001,c(Q15617994)) (Q20981744,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q533501
relation P1001
type Q15617994
action filter_type
action find
entity Q20981749
relation P1001
type Q15617994
action filter_type
action find
entity Q20981744
relation P1001
type Q15617994
[ANSWERS]
['Q533501', 'P1001', {'concept': 'Q15617994'}] ['Q20981749', 'P1001', {'concept': 'Q15617994'}] ['Q20981744', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:Q15617994 . resource:Q533501 property:P1001 ?q } UNION { resource:Q20981749 property:P1001 ?q . ?q rdf:type ontology:Q15617994 } }
United States of America South Africa South Africa
United States of America, South Africa and South Africa come under the jurisdiction of Secretary of state, Minister of Trade and Industry and Minister of Social Development
United States of America South Africa South Africa
action union
action filter_type
action find
entity Secretary of state
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Minister of Trade and Industry
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Minister of Social Development
relation applies to jurisdiction
type designation for an administrative territorial entity
['Secretary of state', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Minister of Trade and Industry', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Minister of Social Development', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Secretary_of_state property:applies_to_jurisdiction ?q } UNION { resource:Minister_of_Trade_and_Industry property:applies_to_jurisdiction ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]