Simple Question (Direct)
Simple Question
Q19960087
P641
Q349
USER
What was the sport that Lars Kindgen was a part of ?
(Q19960087,P641,c(Q349))
action filter_type
action find
entity Q19960087
relation P641
type Q349
['Q19960087', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q19960087 property:P641 ?h . ?h rdf:type ontology:Q349 }
Lars Kindgen
action filter_type
action find
entity Lars Kindgen
relation sport
type sport
['Lars Kindgen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Lars_Kindgen property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q19960087,P641,c(Q349))
action filter_type
action find
entity Q19960087
relation P641
type Q349
The sport that Lars Kindgen was a part of was the [ANSWER]
['Q19960087', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q19960087 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
The sport that Lars Kindgen was a part of was the association football
association football
action filter_type
action find
entity Lars Kindgen
relation sport
type sport
['Lars Kindgen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Lars_Kindgen property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P2416
Q502895
USER
Which people participated in that sport ?
(c(Q502895),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[{'concept': 'Q502895'}, 'P2416', 'Q2736']
SELECT DISTINCT ?c WHERE { ?c property:P2416 resource:Q2736 . ?c rdf:type ontology:Q502895 }
association football
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?c WHERE { ?c property:sports_discipline_competed_in resource:association_football . ?c rdf:type ontology:common_name }
[]
common name
Q22998602 Q3939068 Q1975921
SYSTEM
Maximilian Mittelstädt, Roberto Policano, Agustín Gómez Pagóla
Q23902692 Q3939068 Q22687929 Q22998602 Q877207 Q1975921 Q23095388 Q24006307
(c(Q502895),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[ANSWERS] participated in that sport
[{'concept': 'Q502895'}, 'P2416', 'Q2736']
SELECT DISTINCT ?c WHERE { ?c property:P2416 resource:Q2736 . ?c rdf:type ontology:Q502895 }
Florian Kohls Roberto Policano Pedro Confesor Maximilian Mittelstädt Horst Bertram Agustín Gómez Pagóla Eberhard Dallagrazia Lion Schweers
Maximilian Mittelstädt, Roberto Policano and Agustín Gómez Pagóla participated in that sport
Maximilian Mittelstädt Roberto Policano Agustín Gómez Pagóla
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?c WHERE { ?c property:sports_discipline_competed_in resource:association_football . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
Which territory is the country of origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?w WHERE { resource:Q2736 property:P495 ?w . ?w rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:association_football property:country_of_origin ?w . ?w rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the country of origin of association football
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?w WHERE { resource:Q2736 property:P495 ?w . ?w rdf:type ontology:Q1496967 }
England
England is the country of origin of association football
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:association_football property:country_of_origin ?w . ?w rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P805
Q838948
USER
What is the subject of that sport ?
(c(Q838948),P805,Q21)
action filter_type
action find_reverse
entity Q2736
relation P805
type Q838948
[{'concept': 'Q838948'}, 'P805', 'Q21']
SELECT DISTINCT ?m WHERE { ?m property:P805 resource:Q2736 . ?m rdf:type ontology:Q838948 }
association football
action filter_type
action find_reverse
entity association football
relation subject of
type work of art
[{'concept': 'work of art'}, 'subject of', 'England']
SELECT DISTINCT ?m WHERE { ?m property:subject_of resource:association_football . ?m rdf:type ontology:work_of_art }
[]
work of art
Q869862
SYSTEM
Goal!
Q869862
(c(Q838948),P805,Q21)
action filter_type
action find_reverse
entity Q2736
relation P805
type Q838948
The subject of that sport is [ANSWER]
[{'concept': 'Q838948'}, 'P805', 'Q21']
SELECT DISTINCT ?m WHERE { ?m property:P805 resource:Q2736 . ?m rdf:type ontology:Q838948 }
Goal!
The subject of that sport is Goal!
Goal!
action filter_type
action find_reverse
entity association football
relation subject of
type work of art
[{'concept': 'work of art'}, 'subject of', 'England']
SELECT DISTINCT ?m WHERE { ?m property:subject_of resource:association_football . ?m rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q869862 Q3903304 Q4245100
P344
Q502895
USER
Is Goal! Piero Mentasti and Valentina Kuznetsova assigned to as the director of photography ?
(Q869862,P344,Q3903304) (Q869862,P344,Q4245100)
action is_in
entity Q869862
action intersection
action find_reverse
entity Q3903304
relation P344
action find_reverse
entity Q4245100
relation P344
['Q869862', 'P344', 'Q3903304'] ['Q869862', 'P344', 'Q4245100']
ASK WHERE { resource:Q869862 property:P344 resource:Q3903304 . resource:Q869862 property:P344 resource:Q4245100 }
Goal! Piero Mentasti Valentina Kuznetsova
action is_in
entity Goal!
action intersection
action find_reverse
entity Piero Mentasti
relation director of photography
action find_reverse
entity Valentina Kuznetsova
relation director of photography
['Goal!', 'director of photography', 'Piero Mentasti'] ['Goal!', 'director of photography', 'Valentina Kuznetsova']
ASK WHERE { resource:Goal! property:director_of_photography resource:Piero_Mentasti . resource:Goal! property:director_of_photography resource:Valentina_Kuznetsova }
[]
common name
SYSTEM
NO
(Q869862,P344,Q3903304) (Q869862,P344,Q4245100)
action is_in
entity Q869862
action intersection
action find_reverse
entity Q3903304
relation P344
action find_reverse
entity Q4245100
relation P344
[ANSWER]
['Q869862', 'P344', 'Q3903304'] ['Q869862', 'P344', 'Q4245100']
ASK WHERE { resource:Q869862 property:P344 resource:Q3903304 . resource:Q869862 property:P344 resource:Q4245100 }
No
action is_in
entity Goal!
action intersection
action find_reverse
entity Piero Mentasti
relation director of photography
action find_reverse
entity Valentina Kuznetsova
relation director of photography
['Goal!', 'director of photography', 'Piero Mentasti'] ['Goal!', 'director of photography', 'Valentina Kuznetsova']
ASK WHERE { resource:Goal! property:director_of_photography resource:Piero_Mentasti . resource:Goal! property:director_of_photography resource:Valentina_Kuznetsova }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6247094 Q869862
P161 P7
Q502895
USER
Which people were casted in Goal! or are the brothers of Herman Wrangel ?
OR((Q869862,P161,c(Q502895)), (Q6247094,P7,c(Q502895)))
action filter_type
action union
action find
entity Q869862
relation P161
action find
entity Q6247094
relation P7
type Q502895
{'OR': [['Q869862', 'P161', {'concept': 'Q502895'}], ['Q6247094', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q869862 property:P161 ?v } UNION { resource:Q6247094 property:P7 ?v } } . ?v rdf:type ontology:Q502895 }
Herman Wrangel Goal!
action filter_type
action union
action find
entity Goal!
relation cast member
action find
entity Herman Wrangel
relation brother
type common name
{'OR': [['Goal!', 'cast member', {'concept': 'common name'}], ['Herman Wrangel', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Goal! property:cast_member ?v } UNION { resource:Herman_Wrangel property:brother ?v } } . ?v rdf:type ontology:common_name }
[]
common name
Q6247077 Q454951 Q544692 Q606248 Q237594 Q374038 Q718193 Q1377608 Q350424 Q707538
SYSTEM
Fredrik Ulrik Wrangel, Míriam Colón, Tony Plana, Marcel Iureş, Anna Friel, Kuno Becker, Kieran O'Brien, Sean Pertwee, Alessandro Nivola, Stephen Dillane
Q6247077 Q454951 Q544692 Q606248 Q237594 Q374038 Q718193 Q1377608 Q350424 Q707538
OR((Q869862,P161,c(Q502895)), (Q6247094,P7,c(Q502895)))
action filter_type
action union
action find
entity Q869862
relation P161
action find
entity Q6247094
relation P7
type Q502895
[ANSWERS] were casted in Goal! or are the brothers of Herman Wrangel
{'OR': [['Q869862', 'P161', {'concept': 'Q502895'}], ['Q6247094', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q869862 property:P161 ?v } UNION { resource:Q6247094 property:P7 ?v } } . ?v rdf:type ontology:Q502895 }
Fredrik Ulrik Wrangel Míriam Colón Tony Plana Marcel Iureş Anna Friel Kuno Becker Kieran O'Brien Sean Pertwee Alessandro Nivola Stephen Dillane
Fredrik Ulrik Wrangel, Míriam Colón, Tony Plana, Marcel Iureş, Anna Friel, Kuno Becker, Kieran O'Brien, Sean Pertwee, Alessandro Nivola and Stephen Dillane were casted in Goal! or are the brothers of Herman Wrangel
Fredrik Ulrik Wrangel Míriam Colón Tony Plana Marcel Iureş Anna Friel Kuno Becker Kieran O'Brien Sean Pertwee Alessandro Nivola Stephen Dillane
action filter_type
action union
action find
entity Goal!
relation cast member
action find
entity Herman Wrangel
relation brother
type common name
{'OR': [['Goal!', 'cast member', {'concept': 'common name'}], ['Herman Wrangel', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Goal! property:cast_member ?v } UNION { resource:Herman_Wrangel property:brother ?v } } . ?v rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P161
Q15416 Q838948
USER
How many television programs or works of art do that person star in ?
(c(Q15416),P161,Q454951) (c(Q838948),P161,Q454951) (c(Q15416),P161,Q6247077) (c(Q838948),P161,Q6247077) (c(Q15416),P161,Q454951) (c(Q838948),P161,Q454951) (c(Q15416),P161,Q544692) (c(Q838948),P161,Q544692) (c(Q15416),P161,Q606248) (c(Q838948),P161,Q606248) (c(Q15416),P161,Q237594) (c(Q838948),P161,Q237594) (c(Q15416),P161,Q374038) (c(Q838948),P161,Q374038) (c(Q15416),P161,Q718193) (c(Q838948),P161,Q718193) (c(Q15416),P161,Q1377608) (c(Q838948),P161,Q1377608) (c(Q15416),P161,Q350424) (c(Q838948),P161,Q350424) (c(Q15416),P161,Q707538) (c(Q838948),P161,Q707538)
[{'concept': 'Q15416'}, 'P161', 'Q454951'] [{'concept': 'Q838948'}, 'P161', 'Q454951'] [{'concept': 'Q15416'}, 'P161', 'Q6247077'] [{'concept': 'Q838948'}, 'P161', 'Q6247077'] [{'concept': 'Q15416'}, 'P161', 'Q454951'] [{'concept': 'Q838948'}, 'P161', 'Q454951'] [{'concept': 'Q15416'}, 'P161', 'Q544692'] [{'concept': 'Q838948'}, 'P161', 'Q544692'] [{'concept': 'Q15416'}, 'P161', 'Q606248'] [{'concept': 'Q838948'}, 'P161', 'Q606248'] [{'concept': 'Q15416'}, 'P161', 'Q237594'] [{'concept': 'Q838948'}, 'P161', 'Q237594'] [{'concept': 'Q15416'}, 'P161', 'Q374038'] [{'concept': 'Q838948'}, 'P161', 'Q374038'] [{'concept': 'Q15416'}, 'P161', 'Q718193'] [{'concept': 'Q838948'}, 'P161', 'Q718193'] [{'concept': 'Q15416'}, 'P161', 'Q1377608'] [{'concept': 'Q838948'}, 'P161', 'Q1377608'] [{'concept': 'Q15416'}, 'P161', 'Q350424'] [{'concept': 'Q838948'}, 'P161', 'Q350424'] [{'concept': 'Q15416'}, 'P161', 'Q707538'] [{'concept': 'Q838948'}, 'P161', 'Q707538']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q454951 } UNION { ?y property:Q3297652 resource:Q454951 } UNION { ?z property:Q3297652 resource:Q6247082 } UNION { ?y property:Q3297652 resource:Q6247082 } UNION { ?z property:Q3297652 resource:Q454951 } UNION { ?y property:Q3297652 resource:Q454951 } UNION { ?z property:Q3297652 resource:Q544692 } UNION { ?y property:Q3297652 resource:Q544692 } UNION { ?z property:Q3297652 resource:Q606248 } UNION { ?y property:Q3297652 resource:Q606248 } UNION { ?z property:Q3297652 resource:Q237594 } UNION { ?y property:Q3297652 resource:Q237594 } UNION { ?z property:Q3297652 resource:Q374038 } UNION { ?y property:Q3297652 resource:Q374038 } UNION { ?z property:Q3297652 resource:Q718193 } UNION { ?y property:Q3297652 resource:Q718193 } UNION { ?z property:Q3297652 resource:Q1377608 } UNION { ?y property:Q3297652 resource:Q1377608 } UNION { ?z property:Q3297652 resource:Q350424 } UNION { ?y property:Q3297652 resource:Q350424 } UNION { ?z property:Q3297652 resource:Q707538 } UNION { ?y property:Q3297652 resource:Q707538 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q838948 }
[{'concept': 'television program'}, 'cast member', 'Míriam Colón'] [{'concept': 'work of art'}, 'cast member', 'Míriam Colón'] [{'concept': 'television program'}, 'cast member', 'Fredrik Ulrik Wrangel'] [{'concept': 'work of art'}, 'cast member', 'Fredrik Ulrik Wrangel'] [{'concept': 'television program'}, 'cast member', 'Míriam Colón'] [{'concept': 'work of art'}, 'cast member', 'Míriam Colón'] [{'concept': 'television program'}, 'cast member', 'Tony Plana'] [{'concept': 'work of art'}, 'cast member', 'Tony Plana'] [{'concept': 'television program'}, 'cast member', 'Marcel Iureş'] [{'concept': 'work of art'}, 'cast member', 'Marcel Iureş'] [{'concept': 'television program'}, 'cast member', 'Anna Friel'] [{'concept': 'work of art'}, 'cast member', 'Anna Friel'] [{'concept': 'television program'}, 'cast member', 'Kuno Becker'] [{'concept': 'work of art'}, 'cast member', 'Kuno Becker'] [{'concept': 'television program'}, 'cast member', "Kieran O'Brien"] [{'concept': 'work of art'}, 'cast member', "Kieran O'Brien"] [{'concept': 'television program'}, 'cast member', 'Sean Pertwee'] [{'concept': 'work of art'}, 'cast member', 'Sean Pertwee'] [{'concept': 'television program'}, 'cast member', 'Alessandro Nivola'] [{'concept': 'work of art'}, 'cast member', 'Alessandro Nivola'] [{'concept': 'television program'}, 'cast member', 'Stephen Dillane'] [{'concept': 'work of art'}, 'cast member', 'Stephen Dillane']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Míriam_Colón } UNION { ?y property:cast_member resource:Míriam_Colón } UNION { ?z property:cast_member resource:Fredrik_Ulrik_Wrangel } UNION { ?y property:cast_member resource:Fredrik_Ulrik_Wrangel } UNION { ?z property:cast_member resource:Míriam_Colón } UNION { ?y property:cast_member resource:Míriam_Colón } UNION { ?z property:cast_member resource:Tony_Plana } UNION { ?y property:cast_member resource:Tony_Plana } UNION { ?z property:cast_member resource:Marcel_Iureş } UNION { ?y property:cast_member resource:Marcel_Iureş } UNION { ?z property:cast_member resource:Anna_Friel } UNION { ?y property:cast_member resource:Anna_Friel } UNION { ?z property:cast_member resource:Kuno_Becker } UNION { ?y property:cast_member resource:Kuno_Becker } UNION { ?z property:cast_member resource:Kieran_O'Brien } UNION { ?y property:cast_member resource:Kieran_O'Brien } UNION { ?z property:cast_member resource:Sean_Pertwee } UNION { ?y property:cast_member resource:Sean_Pertwee } UNION { ?z property:cast_member resource:Alessandro_Nivola } UNION { ?y property:cast_member resource:Alessandro_Nivola } UNION { ?z property:cast_member resource:Stephen_Dillane } UNION { ?y property:cast_member resource:Stephen_Dillane } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:work_of_art }
[]
television program work of art
Quantitative|Count|Mult. entity type|Clarification
Q544692
SYSTEM
Did you mean Tony Plana ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q454951 } UNION { ?y property:Q3297652 resource:Q454951 } UNION { ?z property:Q3297652 resource:Q6247082 } UNION { ?y property:Q3297652 resource:Q6247082 } UNION { ?z property:Q3297652 resource:Q454951 } UNION { ?y property:Q3297652 resource:Q454951 } UNION { ?z property:Q3297652 resource:Q544692 } UNION { ?y property:Q3297652 resource:Q544692 } UNION { ?z property:Q3297652 resource:Q606248 } UNION { ?y property:Q3297652 resource:Q606248 } UNION { ?z property:Q3297652 resource:Q237594 } UNION { ?y property:Q3297652 resource:Q237594 } UNION { ?z property:Q3297652 resource:Q374038 } UNION { ?y property:Q3297652 resource:Q374038 } UNION { ?z property:Q3297652 resource:Q718193 } UNION { ?y property:Q3297652 resource:Q718193 } UNION { ?z property:Q3297652 resource:Q1377608 } UNION { ?y property:Q3297652 resource:Q1377608 } UNION { ?z property:Q3297652 resource:Q350424 } UNION { ?y property:Q3297652 resource:Q350424 } UNION { ?z property:Q3297652 resource:Q707538 } UNION { ?y property:Q3297652 resource:Q707538 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q838948 }
Did you mean Tony Plana ?
Tony Plana
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Míriam_Colón } UNION { ?y property:cast_member resource:Míriam_Colón } UNION { ?z property:cast_member resource:Fredrik_Ulrik_Wrangel } UNION { ?y property:cast_member resource:Fredrik_Ulrik_Wrangel } UNION { ?z property:cast_member resource:Míriam_Colón } UNION { ?y property:cast_member resource:Míriam_Colón } UNION { ?z property:cast_member resource:Tony_Plana } UNION { ?y property:cast_member resource:Tony_Plana } UNION { ?z property:cast_member resource:Marcel_Iureş } UNION { ?y property:cast_member resource:Marcel_Iureş } UNION { ?z property:cast_member resource:Anna_Friel } UNION { ?y property:cast_member resource:Anna_Friel } UNION { ?z property:cast_member resource:Kuno_Becker } UNION { ?y property:cast_member resource:Kuno_Becker } UNION { ?z property:cast_member resource:Kieran_O'Brien } UNION { ?y property:cast_member resource:Kieran_O'Brien } UNION { ?z property:cast_member resource:Sean_Pertwee } UNION { ?y property:cast_member resource:Sean_Pertwee } UNION { ?z property:cast_member resource:Alessandro_Nivola } UNION { ?y property:cast_member resource:Alessandro_Nivola } UNION { ?z property:cast_member resource:Stephen_Dillane } UNION { ?y property:cast_member resource:Stephen_Dillane } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Míriam Colón. Could you tell me the answer for that?
(c(Q15416),P161,Q454951) (c(Q838948),P161,Q454951) (c(Q15416),P161,Q6247077) (c(Q838948),P161,Q6247077) (c(Q15416),P161,Q454951) (c(Q838948),P161,Q454951) (c(Q15416),P161,Q544692) (c(Q838948),P161,Q544692) (c(Q15416),P161,Q606248) (c(Q838948),P161,Q606248) (c(Q15416),P161,Q237594) (c(Q838948),P161,Q237594) (c(Q15416),P161,Q374038) (c(Q838948),P161,Q374038) (c(Q15416),P161,Q718193) (c(Q838948),P161,Q718193) (c(Q15416),P161,Q1377608) (c(Q838948),P161,Q1377608) (c(Q15416),P161,Q350424) (c(Q838948),P161,Q350424) (c(Q15416),P161,Q707538) (c(Q838948),P161,Q707538)
Q454951
[{'concept': 'Q15416'}, 'P161', 'Q454951'] [{'concept': 'Q838948'}, 'P161', 'Q454951'] [{'concept': 'Q15416'}, 'P161', 'Q6247077'] [{'concept': 'Q838948'}, 'P161', 'Q6247077'] [{'concept': 'Q15416'}, 'P161', 'Q454951'] [{'concept': 'Q838948'}, 'P161', 'Q454951'] [{'concept': 'Q15416'}, 'P161', 'Q544692'] [{'concept': 'Q838948'}, 'P161', 'Q544692'] [{'concept': 'Q15416'}, 'P161', 'Q606248'] [{'concept': 'Q838948'}, 'P161', 'Q606248'] [{'concept': 'Q15416'}, 'P161', 'Q237594'] [{'concept': 'Q838948'}, 'P161', 'Q237594'] [{'concept': 'Q15416'}, 'P161', 'Q374038'] [{'concept': 'Q838948'}, 'P161', 'Q374038'] [{'concept': 'Q15416'}, 'P161', 'Q718193'] [{'concept': 'Q838948'}, 'P161', 'Q718193'] [{'concept': 'Q15416'}, 'P161', 'Q1377608'] [{'concept': 'Q838948'}, 'P161', 'Q1377608'] [{'concept': 'Q15416'}, 'P161', 'Q350424'] [{'concept': 'Q838948'}, 'P161', 'Q350424'] [{'concept': 'Q15416'}, 'P161', 'Q707538'] [{'concept': 'Q838948'}, 'P161', 'Q707538']
[{'concept': 'television program'}, 'cast member', 'Míriam Colón'] [{'concept': 'work of art'}, 'cast member', 'Míriam Colón'] [{'concept': 'television program'}, 'cast member', 'Fredrik Ulrik Wrangel'] [{'concept': 'work of art'}, 'cast member', 'Fredrik Ulrik Wrangel'] [{'concept': 'television program'}, 'cast member', 'Míriam Colón'] [{'concept': 'work of art'}, 'cast member', 'Míriam Colón'] [{'concept': 'television program'}, 'cast member', 'Tony Plana'] [{'concept': 'work of art'}, 'cast member', 'Tony Plana'] [{'concept': 'television program'}, 'cast member', 'Marcel Iureş'] [{'concept': 'work of art'}, 'cast member', 'Marcel Iureş'] [{'concept': 'television program'}, 'cast member', 'Anna Friel'] [{'concept': 'work of art'}, 'cast member', 'Anna Friel'] [{'concept': 'television program'}, 'cast member', 'Kuno Becker'] [{'concept': 'work of art'}, 'cast member', 'Kuno Becker'] [{'concept': 'television program'}, 'cast member', "Kieran O'Brien"] [{'concept': 'work of art'}, 'cast member', "Kieran O'Brien"] [{'concept': 'television program'}, 'cast member', 'Sean Pertwee'] [{'concept': 'work of art'}, 'cast member', 'Sean Pertwee'] [{'concept': 'television program'}, 'cast member', 'Alessandro Nivola'] [{'concept': 'work of art'}, 'cast member', 'Alessandro Nivola'] [{'concept': 'television program'}, 'cast member', 'Stephen Dillane'] [{'concept': 'work of art'}, 'cast member', 'Stephen Dillane']
[]
SYSTEM
15
Q132134 Q25136406 Q16993300 Q930332 Q174513 Q312394 Q2299188 Q1485385 Q47075 Q900708 Q4733993 Q869862 Q426930 Q1059164 Q7728298
(c(Q15416),P161,Q454951) (c(Q838948),P161,Q454951) (c(Q15416),P161,Q6247077) (c(Q838948),P161,Q6247077) (c(Q15416),P161,Q454951) (c(Q838948),P161,Q454951) (c(Q15416),P161,Q544692) (c(Q838948),P161,Q544692) (c(Q15416),P161,Q606248) (c(Q838948),P161,Q606248) (c(Q15416),P161,Q237594) (c(Q838948),P161,Q237594) (c(Q15416),P161,Q374038) (c(Q838948),P161,Q374038) (c(Q15416),P161,Q718193) (c(Q838948),P161,Q718193) (c(Q15416),P161,Q1377608) (c(Q838948),P161,Q1377608) (c(Q15416),P161,Q350424) (c(Q838948),P161,Q350424) (c(Q15416),P161,Q707538) (c(Q838948),P161,Q707538)
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q454951'] [{'concept': 'Q838948'}, 'P161', 'Q454951'] [{'concept': 'Q15416'}, 'P161', 'Q6247077'] [{'concept': 'Q838948'}, 'P161', 'Q6247077'] [{'concept': 'Q15416'}, 'P161', 'Q454951'] [{'concept': 'Q838948'}, 'P161', 'Q454951'] [{'concept': 'Q15416'}, 'P161', 'Q544692'] [{'concept': 'Q838948'}, 'P161', 'Q544692'] [{'concept': 'Q15416'}, 'P161', 'Q606248'] [{'concept': 'Q838948'}, 'P161', 'Q606248'] [{'concept': 'Q15416'}, 'P161', 'Q237594'] [{'concept': 'Q838948'}, 'P161', 'Q237594'] [{'concept': 'Q15416'}, 'P161', 'Q374038'] [{'concept': 'Q838948'}, 'P161', 'Q374038'] [{'concept': 'Q15416'}, 'P161', 'Q718193'] [{'concept': 'Q838948'}, 'P161', 'Q718193'] [{'concept': 'Q15416'}, 'P161', 'Q1377608'] [{'concept': 'Q838948'}, 'P161', 'Q1377608'] [{'concept': 'Q15416'}, 'P161', 'Q350424'] [{'concept': 'Q838948'}, 'P161', 'Q350424'] [{'concept': 'Q15416'}, 'P161', 'Q707538'] [{'concept': 'Q838948'}, 'P161', 'Q707538']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q3297652 resource:Q454951 } UNION { ?y property:Q3297652 resource:Q454951 } UNION { ?z property:Q3297652 resource:Q6247082 } UNION { ?y property:Q3297652 resource:Q6247082 } UNION { ?z property:Q3297652 resource:Q454951 } UNION { ?y property:Q3297652 resource:Q454951 } UNION { ?z property:Q3297652 resource:Q544692 } UNION { ?y property:Q3297652 resource:Q544692 } UNION { ?z property:Q3297652 resource:Q606248 } UNION { ?y property:Q3297652 resource:Q606248 } UNION { ?z property:Q3297652 resource:Q237594 } UNION { ?y property:Q3297652 resource:Q237594 } UNION { ?z property:Q3297652 resource:Q374038 } UNION { ?y property:Q3297652 resource:Q374038 } UNION { ?z property:Q3297652 resource:Q718193 } UNION { ?y property:Q3297652 resource:Q718193 } UNION { ?z property:Q3297652 resource:Q1377608 } UNION { ?y property:Q3297652 resource:Q1377608 } UNION { ?z property:Q3297652 resource:Q350424 } UNION { ?y property:Q3297652 resource:Q350424 } UNION { ?z property:Q3297652 resource:Q707538 } UNION { ?y property:Q3297652 resource:Q707538 } } . ?z rdf:type ontology:Q15416 . ?y rdf:type ontology:Q838948 }
Goal III: Taking on the World The Desperate Mission Top Five Lone Star One-Eyed Jacks The House of the Spirits All the Pretty Horses Gloria Scarface Sabrina Almost a Woman Goal! The Appaloosa Goal II: Living the Dream The Cry
15
[{'concept': 'television program'}, 'cast member', 'Míriam Colón'] [{'concept': 'work of art'}, 'cast member', 'Míriam Colón'] [{'concept': 'television program'}, 'cast member', 'Fredrik Ulrik Wrangel'] [{'concept': 'work of art'}, 'cast member', 'Fredrik Ulrik Wrangel'] [{'concept': 'television program'}, 'cast member', 'Míriam Colón'] [{'concept': 'work of art'}, 'cast member', 'Míriam Colón'] [{'concept': 'television program'}, 'cast member', 'Tony Plana'] [{'concept': 'work of art'}, 'cast member', 'Tony Plana'] [{'concept': 'television program'}, 'cast member', 'Marcel Iureş'] [{'concept': 'work of art'}, 'cast member', 'Marcel Iureş'] [{'concept': 'television program'}, 'cast member', 'Anna Friel'] [{'concept': 'work of art'}, 'cast member', 'Anna Friel'] [{'concept': 'television program'}, 'cast member', 'Kuno Becker'] [{'concept': 'work of art'}, 'cast member', 'Kuno Becker'] [{'concept': 'television program'}, 'cast member', "Kieran O'Brien"] [{'concept': 'work of art'}, 'cast member', "Kieran O'Brien"] [{'concept': 'television program'}, 'cast member', 'Sean Pertwee'] [{'concept': 'work of art'}, 'cast member', 'Sean Pertwee'] [{'concept': 'television program'}, 'cast member', 'Alessandro Nivola'] [{'concept': 'work of art'}, 'cast member', 'Alessandro Nivola'] [{'concept': 'television program'}, 'cast member', 'Stephen Dillane'] [{'concept': 'work of art'}, 'cast member', 'Stephen Dillane']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:cast_member resource:Míriam_Colón } UNION { ?y property:cast_member resource:Míriam_Colón } UNION { ?z property:cast_member resource:Fredrik_Ulrik_Wrangel } UNION { ?y property:cast_member resource:Fredrik_Ulrik_Wrangel } UNION { ?z property:cast_member resource:Míriam_Colón } UNION { ?y property:cast_member resource:Míriam_Colón } UNION { ?z property:cast_member resource:Tony_Plana } UNION { ?y property:cast_member resource:Tony_Plana } UNION { ?z property:cast_member resource:Marcel_Iureş } UNION { ?y property:cast_member resource:Marcel_Iureş } UNION { ?z property:cast_member resource:Anna_Friel } UNION { ?y property:cast_member resource:Anna_Friel } UNION { ?z property:cast_member resource:Kuno_Becker } UNION { ?y property:cast_member resource:Kuno_Becker } UNION { ?z property:cast_member resource:Kieran_O'Brien } UNION { ?y property:cast_member resource:Kieran_O'Brien } UNION { ?z property:cast_member resource:Sean_Pertwee } UNION { ?y property:cast_member resource:Sean_Pertwee } UNION { ?z property:cast_member resource:Alessandro_Nivola } UNION { ?y property:cast_member resource:Alessandro_Nivola } UNION { ?z property:cast_member resource:Stephen_Dillane } UNION { ?y property:cast_member resource:Stephen_Dillane } } . ?z rdf:type ontology:television_program . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1523630
P725
Q502895 Q5398426
USER
How many television series had their voice dubbing done by around the same number of people as Occult Academy ?
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q1523630
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?p ) WHERE { ?z property:P725 ?i . ?z rdf:type ontology:Q5398426 . ?i rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?p = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q1523630 property:P725 ?f . ?f rdf:type ontology:Q5398426 } } }
Occult Academy
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Occult Academy
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?p ) WHERE { ?z property:voice_actor ?i . ?z rdf:type ontology:television_series . ?i rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?p = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Occult_Academy property:voice_actor ?f . ?f rdf:type ontology:television_series } } }
[]
common name television series
SYSTEM
228
Q2564733 Q602721 Q15148562 Q1317227 Q2583218 Q1149942 Q1723828 Q184352 Q7445961 Q487695 Q2349865 Q3211469 Q483557 Q95063 Q2633652 Q483803 Q2791605 Q1314527 Q1107025 Q1107521 Q7480931 Q483724 Q494804 Q483547 Q1141789 Q844599 Q582630 Q1837327 Q24045770 Q199073 Q752495 Q15574647 Q539284 Q425550 Q182476 Q1060695 Q1191236 Q2318266 Q133532 Q482551 Q900553 Q602434 Q1132147 Q1202916 Q1816558 Q1055370 Q486623 Q492884 Q3271710 Q482796 Q1335290 Q488467 Q2030675 Q1135764 Q1834 Q182662 Q7094371 Q2855268 Q3565008 Q2539006 Q645307 Q5356268 Q2522289 Q11320196 Q2607852 Q1191938 Q1159317 Q736163 Q3980545 Q698229 Q696524 Q9385099 Q1523630 Q482802 Q642944 Q701372 Q1058984 Q865498 Q2539030 Q1580513 Q488438 Q854973 Q482872 Q484259 Q1143991 Q11255631 Q862850 Q696986 Q5158632 Q1052846 Q483375 Q431930 Q699819 Q170019 Q268512 Q1339165 Q1141838 Q1554117 Q1367069 Q1348627 Q494610 Q596883 Q2390297 Q385129 Q2756199 Q536416 Q987783 Q185012 Q6941258 Q8916464 Q137002 Q10890355 Q5653026 Q11519613 Q717382 Q11179499 Q810437 Q2088696 Q1087664 Q484518 Q11387159 Q482865 Q611650 Q1091743 Q1309696 Q944258 Q484515 Q1188003 Q11332238 Q493744 Q368608 Q709673 Q540497 Q830771 Q868899 Q2482070 Q199224 Q1778816 Q713975 Q116122 Q1013388 Q333687 Q1317129 Q482466 Q1186628 Q724155 Q1141816 Q632746 Q1514362 Q1194085 Q11621483 Q606180 Q2566529 Q708174 Q2626017 Q1073660 Q776574 Q483585 Q4251500 Q7447123 Q275676 Q196214 Q1750516 Q2663915 Q2584248 Q7820714 Q495919 Q143830 Q1350885 Q764135 Q1617849 Q485199 Q614495 Q838203 Q608660 Q703031 Q664845 Q2083163 Q1657773 Q1200040 Q700203 Q1202553 Q593049 Q618974 Q705053 Q11571242 Q308035 Q495450 Q931319 Q11275607 Q2498954 Q540997 Q1743797 Q11147846 Q491841 Q2619218 Q590129 Q2499784 Q485753 Q281062 Q735669 Q1790241 Q1477323 Q1091195 Q794345 Q91802 Q1186554 Q615650 Q2043633 Q2578383 Q1137447 Q1051427 Q4185849 Q2756865 Q2418770 Q3211549 Q2419200 Q527398 Q2634885 Q5680972 Q1742099 Q1257981 Q702014 Q1065178 Q1209267 Q385161 Q582788 Q14318175
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q1523630
relation P725
type Q5398426
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?p ) WHERE { ?z property:P725 ?i . ?z rdf:type ontology:Q5398426 . ?i rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?p = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q1523630 property:P725 ?f . ?f rdf:type ontology:Q5398426 } } }
Idaten Jump Shugo Chara! Hamatora I Don't Like You at All, Big Brother! Senyu Sket Dance انیمه Kannagi: Crazy Shrine Maidens Ore no Kanojo to Osananajimi ga Shuraba Sugiru Encouragement of Climb Un-Go Hiwou War Chronicles I Couldn’t Become a Hero, So I Reluctantly Decided to Get a Job. Level E Planetes Place to Place Daily Lives of High School Boys Valvrave the Liberator Sumomomo Momomo A Penguin's Troubles Natsuiro Kiseki Yuyushiki MM! Hanasaku Iroha Mitsudomoe Fate/Zero Sayonara Zetsubō Sensei Sgt. Frog Jinrui wa Suitaishimashita Beyblade Tokyo Ravens Asura Cryin' Tesagure! Bukatsu-mono Kaleido Star Steel Angel Kurumi Code:Breaker Ginga e Kickoff!! Infinite Ryvius Oniisama e... Btooom! Kämpfer Yurumates Idolmaster: Xenoglossia Lilpri Working!! Monochrome Factor Mushishi Nekogami Yaoyorozu The "Hentai" Prince and the Stony Cat. Senki Zesshō Symphogear The World God Only Knows Medaka Box Ben-To Witchblade Softenni Death Note The Flowers of Evil Onmyō Taisenki GJ-bu Mushibugyō Blue Seed Di Gi Charat No-Rin I My Me! Strawberry Eggs D-Frag! Sasameki Koto Kyō no Go no Ni Dance in the Vampire Bund Blue Drop Tamagotchi! Kenichi: The Mightiest Disciple MÄR Kyōkai no Kanata Occult Academy IS (Infinite Stratos) Negima! Magister Negi Magi Wedding Peach Kingdom Powerpuff Girls Z Gate Keepers Say 'I love you' Kokoro Connect Yoshinaga-san Chi no Gargoyle Wandering Son Kamisama Hajimemashita Night Wizard! Z/X Reborn! Beelzebub Kagihime Monogatari Eikyū Alice Rondo Last Exile The Sacred Blacksmith Noein El-Hazard D.Gray-man Sacred Seven Hyōka Maid Sama! Guin Saga Hyakka Ryōran Samurai Girls Nabari no Ou Guilty Crown Immortal Grand Prix Black Heaven Sankarea Ixion Saga DT First Love Limited Wan Wan Celeb Soreyuke! Tetsunoshin Mondai-Ji-tachi ga Isekai Kara Kuru Sō Desu yo? Mushi-Uta Servant x Service Recorder and Randsell Shining Hearts: Shiawase no Pan Happy Seven Mikakunin de Shinkōkei Madō King Granzort Black Bullet Basquash! Suzuka Chrome Shelled Regios The Legend of the Legendary Heroes Kenzen Robo Daimidaler Dog Days Karneval Double-J Living for the Day After Tomorrow Yumeiro Patissiere Dragon Crisis! Cardfight!! Vanguard Fantasista Doll Anyamaru Tantei Kiruminzuu Campione! Bakusō Kyōdai Let's & Go!! Kenkō Zenrakei Suieibu Umishō Highschool of the Dead Pandora Hearts Miss Machiko Cuticle Detective Inaba Koi Kaze Nintama Rantarō Hayate the Combat Butler Telepathy Shōjo Ran Jiken Note Chō Soku Henkei Gyrozetter Haré+Guu Maria-sama ga Miteru Moshidora Asobi ni iku yo! Fushigiboshi no Futagohime Bakugan Battle Brawlers Princess Resurrection Nura: Rise of the Yokai Clan Arpeggio of Blue Steel Maria Holic Himawari! Mashin Hero Wataru Aesthetica of a Rogue Hero Tamayura Persona : Trinity Soul Denpa Onna to Seishun Otoko Kocchi Muite! Miiko Wanna be the Strongest in the World Digimon Fusion Is This a Zombie? Kamen no Maid Guy Dazzle Akikan! Tona-Gura! Blue Exorcist Detective School Q Queen's Blade Rebellion Gin Tama High School DxD Someday's Dreamers Sekirei Gdgd Fairies Needless Baby and Me Pumpkin Scissors Teekyu Inu x Boku SS Nagasarete Airantou Mirmo! Suite PreCure Minami-ke Umi Monogatari: Anata ga Ite Kureta Koto Otome Yōkai Zakuro Inugami-san to Nekoyama-san XxxHolic Demon King Daimao Manyū Hiken-chō Happy Kappy The Ambition of Oda Nobuna Net Ghost PiPoPa Kissxsis Noragami Kono Naka ni Hitori, Imōto ga Iru! Yozakura Quartet Mobile Suit Victory Gundam Red Garden Mayoi Neko Overrun! The Qwaser of Stigmata Dragon Ball GT Rumic Theater Speed Grapher Chu-Bra!! Beyblade: Metal Fusion Aria And Yet The Town Moves Aoi Hana Majestic Prince Coppelion Emma Goshūshō-sama Ninomiya-kun Gokujyo NG Knight Lamune & 40 Fancy Lala Hakkenden: Eight Dogs of the East Tokimeki Memorial Only Love MegaMan NT Warrior Jewelpet The Devil Is a Part-Timer! Jing: King of Bandits Birdy the Mighty Little Women II: Jo's Boys Sketchbook Kaiketsu Zorori Ōkami-san Saki Riddle Story of Devil
228
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Occult Academy
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?p ) WHERE { ?z property:voice_actor ?i . ?z rdf:type ontology:television_series . ?i rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?p = ?n ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Occult_Academy property:voice_actor ?f . ?f rdf:type ontology:television_series } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q494610
P725
Q502895 Q5398426
USER
And also tell me about Guilty Crown?
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q494610
relation P725
type Q5398426
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { ?j property:P725 ?o . ?j rdf:type ontology:Q5398426 . ?o rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q494610 property:P725 ?r . ?r rdf:type ontology:Q5398426 } } }
Guilty Crown
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Guilty Crown
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { ?j property:voice_actor ?o . ?j rdf:type ontology:television_series . ?o rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Guilty_Crown property:voice_actor ?r . ?r rdf:type ontology:television_series } } }
[]
common name television series
SYSTEM
230
Q2564733 Q602721 Q15148562 Q1317227 Q2583218 Q1149942 Q1723828 Q184352 Q7445961 Q487695 Q2349865 Q3211469 Q483557 Q95063 Q2633652 Q483803 Q2791605 Q1314527 Q1107025 Q1107521 Q7480931 Q483724 Q494804 Q483547 Q1141789 Q844599 Q582630 Q1837327 Q24045770 Q199073 Q752495 Q15574647 Q539284 Q425550 Q182476 Q1060695 Q1191236 Q2318266 Q133532 Q482551 Q900553 Q602434 Q1132147 Q1202916 Q1816558 Q1055370 Q486623 Q492884 Q3271710 Q482796 Q1335290 Q488467 Q2030675 Q1135764 Q1834 Q182662 Q7094371 Q2855268 Q3565008 Q498079 Q2539006 Q645307 Q5356268 Q2522289 Q11320196 Q2607852 Q1191938 Q1159317 Q736163 Q3980545 Q698229 Q696524 Q9385099 Q1523630 Q482802 Q642944 Q701372 Q1058984 Q865498 Q2539030 Q1580513 Q488438 Q854973 Q482872 Q484259 Q1143991 Q11255631 Q862850 Q696986 Q5158632 Q1052846 Q483375 Q431930 Q699819 Q170019 Q268512 Q1339165 Q1141838 Q1554117 Q1367069 Q1348627 Q494610 Q5364072 Q596883 Q2390297 Q385129 Q2756199 Q536416 Q987783 Q185012 Q6941258 Q8916464 Q137002 Q10890355 Q5653026 Q11519613 Q717382 Q11179499 Q810437 Q2088696 Q1087664 Q484518 Q11387159 Q482865 Q611650 Q1091743 Q1309696 Q944258 Q484515 Q1188003 Q11332238 Q493744 Q368608 Q709673 Q540497 Q830771 Q868899 Q2482070 Q199224 Q1778816 Q713975 Q116122 Q1013388 Q333687 Q1317129 Q482466 Q1186628 Q724155 Q1141816 Q632746 Q1514362 Q1194085 Q11621483 Q606180 Q2566529 Q708174 Q2626017 Q1073660 Q776574 Q483585 Q4251500 Q7447123 Q275676 Q196214 Q1750516 Q2663915 Q2584248 Q7820714 Q495919 Q143830 Q1350885 Q764135 Q1617849 Q485199 Q614495 Q838203 Q608660 Q703031 Q664845 Q2083163 Q1657773 Q1200040 Q700203 Q1202553 Q593049 Q618974 Q705053 Q11571242 Q308035 Q495450 Q931319 Q11275607 Q2498954 Q540997 Q1743797 Q11147846 Q491841 Q2619218 Q590129 Q2499784 Q485753 Q281062 Q735669 Q1790241 Q1477323 Q1091195 Q794345 Q91802 Q1186554 Q615650 Q2043633 Q2578383 Q1137447 Q1051427 Q4185849 Q2756865 Q2418770 Q3211549 Q2419200 Q527398 Q2634885 Q5680972 Q1742099 Q1257981 Q702014 Q1065178 Q1209267 Q385161 Q582788 Q14318175
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
action count
action filter_type
action find
entity Q494610
relation P725
type Q5398426
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { ?j property:P725 ?o . ?j rdf:type ontology:Q5398426 . ?o rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q494610 property:P725 ?r . ?r rdf:type ontology:Q5398426 } } }
Idaten Jump Shugo Chara! Hamatora I Don't Like You at All, Big Brother! Senyu Sket Dance انیمه Kannagi: Crazy Shrine Maidens Ore no Kanojo to Osananajimi ga Shuraba Sugiru Encouragement of Climb Un-Go Hiwou War Chronicles I Couldn’t Become a Hero, So I Reluctantly Decided to Get a Job. Level E Planetes Place to Place Daily Lives of High School Boys Valvrave the Liberator Sumomomo Momomo A Penguin's Troubles Natsuiro Kiseki Yuyushiki MM! Hanasaku Iroha Mitsudomoe Fate/Zero Sayonara Zetsubō Sensei Sgt. Frog Jinrui wa Suitaishimashita Beyblade Tokyo Ravens Asura Cryin' Tesagure! Bukatsu-mono Kaleido Star Steel Angel Kurumi Code:Breaker Ginga e Kickoff!! Infinite Ryvius Oniisama e... Btooom! Kämpfer Yurumates Idolmaster: Xenoglossia Lilpri Working!! Monochrome Factor Mushishi Nekogami Yaoyorozu The "Hentai" Prince and the Stony Cat. Senki Zesshō Symphogear The World God Only Knows Medaka Box Ben-To Witchblade Softenni Death Note The Flowers of Evil Onmyō Taisenki GJ-bu Mushibugyō Pretty Rhythm Blue Seed Di Gi Charat No-Rin I My Me! Strawberry Eggs D-Frag! Sasameki Koto Kyō no Go no Ni Dance in the Vampire Bund Blue Drop Tamagotchi! Kenichi: The Mightiest Disciple MÄR Kyōkai no Kanata Occult Academy IS (Infinite Stratos) Negima! Magister Negi Magi Wedding Peach Kingdom Powerpuff Girls Z Gate Keepers Say 'I love you' Kokoro Connect Yoshinaga-san Chi no Gargoyle Wandering Son Kamisama Hajimemashita Night Wizard! Z/X Reborn! Beelzebub Kagihime Monogatari Eikyū Alice Rondo Last Exile The Sacred Blacksmith Noein El-Hazard D.Gray-man Sacred Seven Hyōka Maid Sama! Guin Saga Hyakka Ryōran Samurai Girls Nabari no Ou Guilty Crown Non Non Biyori Immortal Grand Prix Black Heaven Sankarea Ixion Saga DT First Love Limited Wan Wan Celeb Soreyuke! Tetsunoshin Mondai-Ji-tachi ga Isekai Kara Kuru Sō Desu yo? Mushi-Uta Servant x Service Recorder and Randsell Shining Hearts: Shiawase no Pan Happy Seven Mikakunin de Shinkōkei Madō King Granzort Black Bullet Basquash! Suzuka Chrome Shelled Regios The Legend of the Legendary Heroes Kenzen Robo Daimidaler Dog Days Karneval Double-J Living for the Day After Tomorrow Yumeiro Patissiere Dragon Crisis! Cardfight!! Vanguard Fantasista Doll Anyamaru Tantei Kiruminzuu Campione! Bakusō Kyōdai Let's & Go!! Kenkō Zenrakei Suieibu Umishō Highschool of the Dead Pandora Hearts Miss Machiko Cuticle Detective Inaba Koi Kaze Nintama Rantarō Hayate the Combat Butler Telepathy Shōjo Ran Jiken Note Chō Soku Henkei Gyrozetter Haré+Guu Maria-sama ga Miteru Moshidora Asobi ni iku yo! Fushigiboshi no Futagohime Bakugan Battle Brawlers Princess Resurrection Nura: Rise of the Yokai Clan Arpeggio of Blue Steel Maria Holic Himawari! Mashin Hero Wataru Aesthetica of a Rogue Hero Tamayura Persona : Trinity Soul Denpa Onna to Seishun Otoko Kocchi Muite! Miiko Wanna be the Strongest in the World Digimon Fusion Is This a Zombie? Kamen no Maid Guy Dazzle Akikan! Tona-Gura! Blue Exorcist Detective School Q Queen's Blade Rebellion Gin Tama High School DxD Someday's Dreamers Sekirei Gdgd Fairies Needless Baby and Me Pumpkin Scissors Teekyu Inu x Boku SS Nagasarete Airantou Mirmo! Suite PreCure Minami-ke Umi Monogatari: Anata ga Ite Kureta Koto Otome Yōkai Zakuro Inugami-san to Nekoyama-san XxxHolic Demon King Daimao Manyū Hiken-chō Happy Kappy The Ambition of Oda Nobuna Net Ghost PiPoPa Kissxsis Noragami Kono Naka ni Hitori, Imōto ga Iru! Yozakura Quartet Mobile Suit Victory Gundam Red Garden Mayoi Neko Overrun! The Qwaser of Stigmata Dragon Ball GT Rumic Theater Speed Grapher Chu-Bra!! Beyblade: Metal Fusion Aria And Yet The Town Moves Aoi Hana Majestic Prince Coppelion Emma Goshūshō-sama Ninomiya-kun Gokujyo NG Knight Lamune & 40 Fancy Lala Hakkenden: Eight Dogs of the East Tokimeki Memorial Only Love MegaMan NT Warrior Jewelpet The Devil Is a Part-Timer! Jing: King of Bandits Birdy the Mighty Little Women II: Jo's Boys Sketchbook Kaiketsu Zorori Ōkami-san Saki Riddle Story of Devil
230
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
action count
action filter_type
action find
entity Guilty Crown
relation voice actor
type television series
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?l ) WHERE { ?j property:voice_actor ?o . ?j rdf:type ontology:television_series . ?o rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Guilty_Crown property:voice_actor ?r . ?r rdf:type ontology:television_series } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q11424
USER
Which films have been dubbed by max number of people ?
(c(Q11424),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q11424
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?l ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?k ) WHERE { ?n rdf:type ontology:Q11424 . ?e rdf:type ontology:Q502895 . ?n property:P725 ?e } GROUP BY ?n } } . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?v ) WHERE { ?u property:P725 ?r . ?u rdf:type ontology:Q11424 . ?r rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?v = ?l ) }
action argmax
action find_tuple_counts
relation voice actor
type film
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?l ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?k ) WHERE { ?n rdf:type ontology:film . ?e rdf:type ontology:common_name . ?n property:voice_actor ?e } GROUP BY ?n } } . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?v ) WHERE { ?u property:voice_actor ?r . ?u rdf:type ontology:film . ?r rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?v = ?l ) }
[]
common name film
Q271189
SYSTEM
Hercules
Q271189
(c(Q11424),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q11424
type Q502895
[ANSWER] have been dubbed by max number of people
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?l ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?k ) WHERE { ?n rdf:type ontology:Q11424 . ?e rdf:type ontology:Q502895 . ?n property:P725 ?e } GROUP BY ?n } } . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?v ) WHERE { ?u property:P725 ?r . ?u rdf:type ontology:Q11424 . ?r rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?v = ?l ) }
Hercules
Hercules have been dubbed by max number of people
Hercules
action argmax
action find_tuple_counts
relation voice actor
type film
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?l ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?k ) WHERE { ?n rdf:type ontology:film . ?e rdf:type ontology:common_name . ?n property:voice_actor ?e } GROUP BY ?n } } . { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?v ) WHERE { ?u property:voice_actor ?r . ?u rdf:type ontology:film . ?r rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?v = ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P169
Q502895 Q19335303 Q7397
USER
Which people are the chief executives of max number of German business organizations and software ?
(c(Q19335303)|c(Q7397),P169,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q19335303
action find_reverse_tuple_counts
relation P169
type Q502895
type Q7397
[[{'concept': 'Q19335303'}, {'concept': 'Q7397'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:P169 ?e . ?h rdf:type ontology:Q7397 . ?e rdf:type ontology:Q502895 } UNION { ?h property:P169 ?e . ?e rdf:type ontology:Q502895 . ?h rdf:type ontology:Q19335303 } } GROUP BY ?e } } . { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { { ?s property:P169 ?v . ?v rdf:type ontology:Q502895 . ?s rdf:type ontology:Q7397 } UNION { ?s property:P169 ?v . ?v rdf:type ontology:Q502895 . ?s rdf:type ontology:Q19335303 } } GROUP BY ?v } . FILTER ( ?l = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type type of business entity in Germany
action find_reverse_tuple_counts
relation chief executive officer
type common name
type software
[[{'concept': 'type of business entity in Germany'}, {'concept': 'software'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:chief_executive_officer ?e . ?h rdf:type ontology:software . ?e rdf:type ontology:common_name } UNION { ?h property:chief_executive_officer ?e . ?e rdf:type ontology:common_name . ?h rdf:type ontology:type_of_business_entity_in_Germany } } GROUP BY ?e } } . { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { { ?s property:chief_executive_officer ?v . ?v rdf:type ontology:common_name . ?s rdf:type ontology:software } UNION { ?s property:chief_executive_officer ?v . ?v rdf:type ontology:common_name . ?s rdf:type ontology:type_of_business_entity_in_Germany } } GROUP BY ?v } . FILTER ( ?l = ?c ) }
[]
common name type of business entity in Germany software
Q1328888 Q1889898
SYSTEM
Ulrich Lehner, Manfred Schneider
Q1328888 Q1889898
(c(Q19335303)|c(Q7397),P169,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q19335303
action find_reverse_tuple_counts
relation P169
type Q502895
type Q7397
[ANSWERS] are the chief executives of max number of German business organizations and software
[[{'concept': 'Q19335303'}, {'concept': 'Q7397'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:P169 ?e . ?h rdf:type ontology:Q7397 . ?e rdf:type ontology:Q502895 } UNION { ?h property:P169 ?e . ?e rdf:type ontology:Q502895 . ?h rdf:type ontology:Q19335303 } } GROUP BY ?e } } . { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { { ?s property:P169 ?v . ?v rdf:type ontology:Q502895 . ?s rdf:type ontology:Q7397 } UNION { ?s property:P169 ?v . ?v rdf:type ontology:Q502895 . ?s rdf:type ontology:Q19335303 } } GROUP BY ?v } . FILTER ( ?l = ?c ) }
Ulrich Lehner Manfred Schneider
Ulrich Lehner and Manfred Schneider are the chief executives of max number of German business organizations and software
Ulrich Lehner Manfred Schneider
action argmax
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type type of business entity in Germany
action find_reverse_tuple_counts
relation chief executive officer
type common name
type software
[[{'concept': 'type of business entity in Germany'}, {'concept': 'software'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?r ) WHERE { { ?h property:chief_executive_officer ?e . ?h rdf:type ontology:software . ?e rdf:type ontology:common_name } UNION { ?h property:chief_executive_officer ?e . ?e rdf:type ontology:common_name . ?h rdf:type ontology:type_of_business_entity_in_Germany } } GROUP BY ?e } } . { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?l ) WHERE { { ?s property:chief_executive_officer ?v . ?v rdf:type ontology:common_name . ?s rdf:type ontology:software } UNION { ?s property:chief_executive_officer ?v . ?v rdf:type ontology:common_name . ?s rdf:type ontology:type_of_business_entity_in_Germany } } GROUP BY ?v } . FILTER ( ?l = ?c ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q7725634 Q44539
USER
Which people are atleast 4 literary works or temples dedicated to ?
(c(Q7725634)|c(Q44539),P825,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
value 4
[[{'concept': 'Q7725634'}, {'concept': 'Q44539'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?p >= 4 ) . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q44539 ) } . ?q rdf:type ?b } GROUP BY ?f } }
action atleast
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
value 4
[[{'concept': 'literary work'}, {'concept': 'temple'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?p >= 4 ) . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:temple ) } . ?q rdf:type ?b } GROUP BY ?f } }
[]
common name literary work temple
Q9200 Q33923 Q43399
SYSTEM
Paul, Peter, Andrew
Q152457 Q534049 Q770633 Q9200 Q2639031 Q44269 Q1889720 Q33923 Q43399 Q17590 Q133704 Q40662 Q331697
(c(Q7725634)|c(Q44539),P825,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q44539
value 4
[ANSWERS] are atleast 4 literary works or temples dedicated to
[[{'concept': 'Q7725634'}, {'concept': 'Q44539'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?p >= 4 ) . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:Q7725634 ) ( ontology:Q44539 ) } . ?q rdf:type ?b } GROUP BY ?f } }
Saint Roch Saint Petroc Padarn Paul Illtud Saint Nicholas Cadoc Peter Andrew Lawrence of Rome Martin of Tours John the Baptist Saint David
Paul, Peter and Andrew are atleast 4 literary works or temples dedicated to
Paul Peter Andrew
action atleast
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type temple
value 4
[[{'concept': 'literary work'}, {'concept': 'temple'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?p >= 4 ) . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:literary_work ) ( ontology:temple ) } . ?q rdf:type ?b } GROUP BY ?f } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q544692
P161
Q838948
USER
How many works of art stars Tony Plana as actor ?
(c(Q838948),P161,Q544692)
action count
action filter_type
action find_reverse
entity Q544692
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q544692']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P161 resource:Q544692 . ?d rdf:type ontology:Q838948 }
Tony Plana
action count
action filter_type
action find_reverse
entity Tony Plana
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Tony Plana']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:cast_member resource:Tony_Plana . ?d rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
29
Q1348423 Q2567294 Q844296 Q4147906 Q4024772 Q389925 Q5071818 Q1757905 Q495138 Q766427 Q1446886 Q697014 Q4293557 Q822057 Q203388 Q869862 Q249288 Q285020 Q6142015 Q1341058 Q2276261 Q741823 Q930332 Q5351652 Q1412077 Q3627697 Q1477542 Q375186 Q1132575
(c(Q838948),P161,Q544692)
action count
action filter_type
action find_reverse
entity Q544692
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q544692']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P161 resource:Q544692 . ?d rdf:type ontology:Q838948 }
Salvador Why Me? One Good Cop City Limits Zoot Suit Havana Change Your Life! Nightmares Romero Pain & Gain El Norte Half Past Dead A Million to Juan Primal Fear One Eight Seven Goal! Three Amigos The Lost City The Disappearance of Garcia Lorca First Family Shadow of Doubt JFK Lone Star El Muerto Live Wire The Man Who Shook the Hand of Vicente Fernandez The Best of Times The Rookie An Officer and a Gentleman
29
action count
action filter_type
action find_reverse
entity Tony Plana
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Tony Plana']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:cast_member resource:Tony_Plana . ?d rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6828814
P161
Q838948
USER
And how about Michael Bray?
(c(Q838948),P161,Q6828814)
action count
action filter_type
action find_reverse
entity Q6828814
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q6828814']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t property:P161 resource:Q6828814 . ?t rdf:type ontology:Q838948 }
Michael Bray
action count
action filter_type
action find_reverse
entity Michael Bray
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Michael Bray']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t property:cast_member resource:Michael_Bray . ?t rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
1
Q516904
(c(Q838948),P161,Q6828814)
action count
action filter_type
action find_reverse
entity Q6828814
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q6828814']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t property:P161 resource:Q6828814 . ?t rdf:type ontology:Q838948 }
For Queen and Country
1
action count
action filter_type
action find_reverse
entity Michael Bray
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Michael Bray']
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { ?t property:cast_member resource:Michael_Bray . ?t rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33923
P106
Q12737077
USER
Which occupation is the profession of Peter ?
(Q33923,P106,c(Q12737077))
action filter_type
action find
entity Q33923
relation P106
type Q12737077
['Q33923', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q33923 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Peter
action filter_type
action find
entity Peter
relation occupation
type occupation
['Peter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Peter property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q42603
SYSTEM
priest
Q42603
(Q33923,P106,c(Q12737077))
action filter_type
action find
entity Q33923
relation P106
type Q12737077
The [ANSWER] is the profession of Peter
['Q33923', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q33923 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
priest
The priest is the profession of Peter
priest
action filter_type
action find
entity Peter
relation occupation
type occupation
['Peter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Peter property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26678310
Q12737077
USER
And also tell me about Luarts Lame?
(Q26678310,P106,c(Q12737077))
action filter_type
action find
entity Q26678310
relation P106
type Q12737077
['Q26678310', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q26678310 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Luarts Lame
action filter_type
action find
entity Luarts Lame
relation occupation
type occupation
['Luarts Lame', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Luarts_Lame property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q26678310,P106,c(Q12737077))
action filter_type
action find
entity Q26678310
relation P106
type Q12737077
[ANSWER]
['Q26678310', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q26678310 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Luarts Lame
relation occupation
type occupation
['Luarts Lame', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Luarts_Lame property:occupation ?w . ?w rdf:type ontology:occupation }
[]