Simple Question (Direct)
Simple Question
Q483090
P1412
Q34770
USER
Which language can Ana Wagener understand ?
(Q483090,P1412,c(Q34770))
action filter_type
action find
entity Q483090
relation P1412
type Q34770
['Q483090', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q483090 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Ana Wagener
action filter_type
action find
entity Ana Wagener
relation languages spoken, written or signed
type language
['Ana Wagener', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Ana_Wagener property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q483090,P1412,c(Q34770))
action filter_type
action find
entity Q483090
relation P1412
type Q34770
Ana Wagener can understand [ANSWER]
['Q483090', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q483090 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Spanish
Ana Wagener can understand Spanish
Spanish
action filter_type
action find
entity Ana Wagener
relation languages spoken, written or signed
type language
['Ana Wagener', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Ana_Wagener property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q483090
P21
Q290
USER
What is the sex of Ana Wagener ?
(Q483090,P21,c(Q290))
action filter_type
action find
entity Q483090
relation P21
type Q290
['Q483090', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q483090 property:P21 ?a . ?a rdf:type ontology:Q290 }
Ana Wagener
action filter_type
action find
entity Ana Wagener
relation gender
type sex
['Ana Wagener', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Ana_Wagener property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q483090,P21,c(Q290))
action filter_type
action find
entity Q483090
relation P21
type Q290
The sex of Ana Wagener is the [ANSWER]
['Q483090', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q483090 property:P21 ?a . ?a rdf:type ontology:Q290 }
female
The sex of Ana Wagener is the female
female
action filter_type
action find
entity Ana Wagener
relation gender
type sex
['Ana Wagener', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Ana_Wagener property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q483090
P161
Q838948
USER
What are the name of works of art staring Ana Wagener ?
(c(Q838948),P161,Q483090)
action filter_type
action find_reverse
entity Q483090
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q483090']
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q483090 . ?s rdf:type ontology:Q838948 }
Ana Wagener
action filter_type
action find_reverse
entity Ana Wagener
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Ana Wagener']
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Ana_Wagener . ?s rdf:type ontology:work_of_art }
[]
work of art
Q879174 Q1216829 Q310427
SYSTEM
Biutiful, Torremolinos 73, Azuloscurocasinegro
Q1216829 Q744562 Q2913283 Q3207193 Q879174 Q5968517 Q310427
(c(Q838948),P161,Q483090)
action filter_type
action find_reverse
entity Q483090
relation P161
type Q838948
The name of works of art staring Ana Wagener are in [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q483090']
SELECT DISTINCT ?s WHERE { ?s property:P161 resource:Q483090 . ?s rdf:type ontology:Q838948 }
Torremolinos 73 El Bola Secuestrados Sleeping Luck Biutiful The Sleeping Voice Azuloscurocasinegro
The name of works of art staring Ana Wagener are in Biutiful, Torremolinos 73 and Azuloscurocasinegro
Biutiful Torremolinos 73 Azuloscurocasinegro
action filter_type
action find_reverse
entity Ana Wagener
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Ana Wagener']
SELECT DISTINCT ?s WHERE { ?s property:cast_member resource:Ana_Wagener . ?s rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q879174
P1040
Q502895
USER
Who is the editor of that work of art ?
(Q879174,P1040,c(Q502895))
action filter_type
action find
entity Q879174
relation P1040
type Q502895
['Q879174', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q879174 property:P1040 ?d }
Biutiful
action filter_type
action find
entity Biutiful
relation film editor
type common name
['Biutiful', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Biutiful property:film_editor ?d }
[]
common name
Clarification for simple ques.
Q310427
SYSTEM
Did you mean Azuloscurocasinegro ?
Q879174 Q1216829 Q310427
(Q879174,P1040,c(Q502895)) (Q1216829,P1040,c(Q502895)) (Q310427,P1040,c(Q502895))
[ANSWER]
['Q879174', 'P1040', {'concept': 'Q502895'}] ['Q1216829', 'P1040', {'concept': 'Q502895'}] ['Q310427', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q879174 property:P1040 ?d }
Biutiful Torremolinos 73 Azuloscurocasinegro
Did you mean Azuloscurocasinegro ?
Azuloscurocasinegro
['Biutiful', 'film editor', {'concept': 'common name'}] ['Torremolinos 73', 'film editor', {'concept': 'common name'}] ['Azuloscurocasinegro', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Biutiful property:film_editor ?d }
[]
Simple Question (Coreferenced)
USER
No, I meant Biutiful. Could you tell me the answer for that?
(Q879174,P1040,c(Q502895))
Q879174
['Q879174', 'P1040', {'concept': 'Q502895'}]
['Biutiful', 'film editor', {'concept': 'common name'}]
[]
Q328379
SYSTEM
Stephen Mirrione
Q328379
(Q879174,P1040,c(Q502895))
action filter_type
action find
entity Q879174
relation P1040
type Q502895
The editor of that work of art is Sir [ANSWER]
['Q879174', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q879174 property:P1040 ?d }
Stephen Mirrione
The editor of that work of art is Sir Stephen Mirrione
Stephen Mirrione
action filter_type
action find
entity Biutiful
relation film editor
type common name
['Biutiful', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Biutiful property:film_editor ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q328379 Q7137654
P27
Q15617994
USER
Is Park Broom the native country of that person ?
(Q328379,P27,Q7137654)
action is_in
entity Q7137654
action find
entity Q328379
relation P27
['Q328379', 'P27', 'Q7137654']
ASK WHERE { resource:Q328379 property:P27 resource:Q7137654 }
Stephen Mirrione Park Broom
action is_in
entity Park Broom
action find
entity Stephen Mirrione
relation country of citizenship
['Stephen Mirrione', 'country of citizenship', 'Park Broom']
ASK WHERE { resource:Stephen_Mirrione property:country_of_citizenship resource:Park_Broom }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q328379,P27,Q7137654)
action is_in
entity Q7137654
action find
entity Q328379
relation P27
[ANSWER]
['Q328379', 'P27', 'Q7137654']
ASK WHERE { resource:Q328379 property:P27 resource:Q7137654 }
No
action is_in
entity Park Broom
action find
entity Stephen Mirrione
relation country of citizenship
['Stephen Mirrione', 'country of citizenship', 'Park Broom']
ASK WHERE { resource:Stephen_Mirrione property:country_of_citizenship resource:Park_Broom }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5227700
P725
Q502895 Q15416
USER
Which television programs had their voice dubbing done by more number of people than Tenchi in Tokyo ?
(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 Q5227700
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?r ) WHERE { ?w property:P725 ?i . ?w rdf:type ontology:Q15416 . ?i rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q5227700 property:P725 ?a . ?a rdf:type ontology:Q15416 } } . FILTER ( ?r > ?d ) }
Tenchi in Tokyo
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Tenchi in Tokyo
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?r ) WHERE { ?w property:voice_actor ?i . ?w rdf:type ontology:television_program . ?i rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Tenchi_in_Tokyo property:voice_actor ?a . ?a rdf:type ontology:television_program } } . FILTER ( ?r > ?d ) }
[]
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 Q5227700
relation P725
type Q15416
[ANSWERS] had their voice dubbing done by more number of people than Tenchi in Tokyo
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?r ) WHERE { ?w property:P725 ?i . ?w rdf:type ontology:Q15416 . ?i rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q5227700 property:P725 ?a . ?a rdf:type ontology:Q15416 } } . FILTER ( ?r > ?d ) }
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 their voice dubbing done by more number of people than Tenchi in Tokyo
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 Tenchi in Tokyo
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?r ) WHERE { ?w property:voice_actor ?i . ?w rdf:type ontology:television_program . ?i rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Tenchi_in_Tokyo property:voice_actor ?a . ?a rdf:type ontology:television_program } } . FILTER ( ?r > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1857269
P725
Q502895 Q15416
USER
And how about Rio: Rainbow Gate!?
(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 Q1857269
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?w ) WHERE { ?n property:P725 ?h . ?n rdf:type ontology:Q15416 . ?h rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:Q1857269 property:P725 ?p . ?p rdf:type ontology:Q15416 } } . FILTER ( ?w > ?f ) }
Rio: Rainbow Gate!
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Rio: Rainbow Gate!
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?w ) WHERE { ?n property:voice_actor ?h . ?n rdf:type ontology:television_program . ?h rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:Rio:_Rainbow_Gate! property:voice_actor ?p . ?p rdf:type ontology:television_program } } . FILTER ( ?w > ?f ) }
[]
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 Q1857269
relation P725
type Q15416
[ANSWERS]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?w ) WHERE { ?n property:P725 ?h . ?n rdf:type ontology:Q15416 . ?h rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:Q1857269 property:P725 ?p . ?p rdf:type ontology:Q15416 } } . FILTER ( ?w > ?f ) }
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! 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 Rio: Rainbow Gate!
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?w ) WHERE { ?n property:voice_actor ?h . ?n rdf:type ontology:television_program . ?h rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { resource:Rio:_Rainbow_Gate! property:voice_actor ?p . ?p rdf:type ontology:television_program } } . FILTER ( ?w > ?f ) }
[]