Simple Question (Direct)
Simple Question
Q863118
P641
Q349
USER
What did Billy Harris participate in ?
(Q863118,P641,c(Q349))
action filter_type
action find
entity Q863118
relation P641
type Q349
['Q863118', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q863118 property:P641 ?z . ?z rdf:type ontology:Q349 }
Billy Harris
action filter_type
action find
entity Billy Harris
relation sport
type sport
['Billy Harris', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Billy_Harris property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q863118,P641,c(Q349))
action filter_type
action find
entity Q863118
relation P641
type Q349
Billy Harris participated in [ANSWER]
['Q863118', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q863118 property:P641 ?z . ?z rdf:type ontology:Q349 }
ice hockey
Billy Harris participated in ice hockey
ice hockey
action filter_type
action find
entity Billy Harris
relation sport
type sport
['Billy Harris', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Billy_Harris property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q863118
P19
Q56061
USER
Where was Billy Harris born ?
(Q863118,P19,c(Q56061))
action filter_type
action find
entity Q863118
relation P19
type Q56061
['Q863118', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q863118 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Billy Harris
action filter_type
action find
entity Billy Harris
relation place of birth
type administrative territorial entity
['Billy Harris', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Billy_Harris property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q172
SYSTEM
Toronto
Q172
(Q863118,P19,c(Q56061))
action filter_type
action find
entity Q863118
relation P19
type Q56061
Billy Harris was born in [ANSWER]
['Q863118', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q863118 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Toronto
Billy Harris was born in Toronto
Toronto
action filter_type
action find
entity Billy Harris
relation place of birth
type administrative territorial entity
['Billy Harris', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Billy_Harris property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q172 Q7080096
P20
Q502895
USER
Did Ogle Robert Gowan die in that administrative territory ?
(Q7080096,P20,Q172)
action is_in
entity Q172
action find
entity Q7080096
relation P20
['Q7080096', 'P20', 'Q172']
ASK WHERE { resource:Q7080096 property:P20 resource:Q172 }
Toronto Ogle Robert Gowan
action is_in
entity Toronto
action find
entity Ogle Robert Gowan
relation place of death
['Ogle Robert Gowan', 'place of death', 'Toronto']
ASK WHERE { resource:Ogle_Robert_Gowan property:place_of_death resource:Toronto }
[]
common name
SYSTEM
YES
(Q7080096,P20,Q172)
action is_in
entity Q172
action find
entity Q7080096
relation P20
[ANSWER]
['Q7080096', 'P20', 'Q172']
ASK WHERE { resource:Q7080096 property:P20 resource:Q172 }
Yes
action is_in
entity Toronto
action find
entity Ogle Robert Gowan
relation place of death
['Ogle Robert Gowan', 'place of death', 'Toronto']
ASK WHERE { resource:Ogle_Robert_Gowan property:place_of_death resource:Toronto }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172
P840
Q15416
USER
Which television program has its narrative set in Toronto ?
(c(Q15416),P840,Q172)
action filter_type
action find_reverse
entity Q172
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q172']
SELECT DISTINCT ?e WHERE { ?e property:P840 resource:Q172 . ?e rdf:type ontology:Q15416 }
Toronto
action filter_type
action find_reverse
entity Toronto
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Toronto']
SELECT DISTINCT ?e WHERE { ?e property:narrative_location resource:Toronto . ?e rdf:type ontology:television_program }
[]
television program
Q4943325
SYSTEM
Booky and the Secret Santa
Q4943325
(c(Q15416),P840,Q172)
action filter_type
action find_reverse
entity Q172
relation P840
type Q15416
And [ANSWER] has its narrative set in Toronto
[{'concept': 'Q15416'}, 'P840', 'Q172']
SELECT DISTINCT ?e WHERE { ?e property:P840 resource:Q172 . ?e rdf:type ontology:Q15416 }
Booky and the Secret Santa
And Booky and the Secret Santa has its narrative set in Toronto
Booky and the Secret Santa
action filter_type
action find_reverse
entity Toronto
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Toronto']
SELECT DISTINCT ?e WHERE { ?e property:narrative_location resource:Toronto . ?e rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172
P127
Q41176
USER
Which building belongs to that administrative territory ?
(c(Q41176),P127,Q4943325)
action filter_type
action find_reverse
entity Q172
relation P127
type Q41176
[{'concept': 'Q41176'}, 'P127', 'Q4943325']
SELECT DISTINCT ?v WHERE { ?v property:P127 resource:Q172 . ?v rdf:type ontology:Q41176 }
Toronto
action filter_type
action find_reverse
entity Toronto
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Booky and the Secret Santa']
SELECT DISTINCT ?v WHERE { ?v property:owned_by resource:Toronto . ?v rdf:type ontology:building }
[]
building
Q7589476
SYSTEM
St. Lawrence Centre for the Arts
Q7589476
(c(Q41176),P127,Q4943325)
action filter_type
action find_reverse
entity Q172
relation P127
type Q41176
[ANSWER] belongs to that administrative territory
[{'concept': 'Q41176'}, 'P127', 'Q4943325']
SELECT DISTINCT ?v WHERE { ?v property:P127 resource:Q172 . ?v rdf:type ontology:Q41176 }
St. Lawrence Centre for the Arts
St. Lawrence Centre for the Arts belongs to that administrative territory
St. Lawrence Centre for the Arts
action filter_type
action find_reverse
entity Toronto
relation owned by
type building
[{'concept': 'building'}, 'owned by', 'Booky and the Secret Santa']
SELECT DISTINCT ?v WHERE { ?v property:owned_by resource:Toronto . ?v rdf:type ontology:building }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q15416 Q15619164 Q15707583
USER
Which television programs feature around 50 abstract beings or fictional taxons ?
(c(Q15619164)|c(Q15707583),P1441,c(Q15416))
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15707583
value 50
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?o = 50 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?s WHERE { { ?b property:P1441 ?s . ?b rdf:type ontology:Q15619164 . ?s rdf:type ontology:Q15416 } UNION { ?b property:P1441 ?s . ?b rdf:type ontology:Q15707583 . ?s rdf:type ontology:Q15416 } } GROUP BY ?s } }
action approx
action union
action find_reverse_tuple_counts
relation present in work
type television program
type abstract being
action find_reverse_tuple_counts
relation present in work
type television program
type fictional taxon
value 50
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?o = 50 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?s WHERE { { ?b property:present_in_work ?s . ?b rdf:type ontology:abstract_being . ?s rdf:type ontology:television_program } UNION { ?b property:present_in_work ?s . ?b rdf:type ontology:fictional_taxon . ?s rdf:type ontology:television_program } } GROUP BY ?s } }
[]
television program abstract being fictional taxon
Q708661 Q577752
SYSTEM
Lindenstraße, Kamen Rider Series
Q708661 Q577752
(c(Q15619164)|c(Q15707583),P1441,c(Q15416))
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15707583
value 50
[ANSWERS] feature around 50 abstract beings or fictional taxons
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?o = 50 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?s WHERE { { ?b property:P1441 ?s . ?b rdf:type ontology:Q15619164 . ?s rdf:type ontology:Q15416 } UNION { ?b property:P1441 ?s . ?b rdf:type ontology:Q15707583 . ?s rdf:type ontology:Q15416 } } GROUP BY ?s } }
Lindenstraße Kamen Rider Series
Lindenstraße and Kamen Rider Series feature around 50 abstract beings or fictional taxons
Lindenstraße Kamen Rider Series
action approx
action union
action find_reverse_tuple_counts
relation present in work
type television program
type abstract being
action find_reverse_tuple_counts
relation present in work
type television program
type fictional taxon
value 50
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?o = 50 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) ?s WHERE { { ?b property:present_in_work ?s . ?b rdf:type ontology:abstract_being . ?s rdf:type ontology:television_program } UNION { ?b property:present_in_work ?s . ?b rdf:type ontology:fictional_taxon . ?s rdf:type ontology:television_program } } GROUP BY ?s } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1441
Q15619164 Q2088357
USER
How many abstract beings and musical ensembles appear in that television program ?
(c(Q15619164),P1441,Q577752) (c(Q2088357),P1441,Q577752) (c(Q15619164),P1441,Q708661) (c(Q2088357),P1441,Q708661) (c(Q15619164),P1441,Q577752) (c(Q2088357),P1441,Q577752)
[{'concept': 'Q15619164'}, 'P1441', 'Q577752'] [{'concept': 'Q2088357'}, 'P1441', 'Q577752'] [{'concept': 'Q15619164'}, 'P1441', 'Q708661'] [{'concept': 'Q2088357'}, 'P1441', 'Q708661'] [{'concept': 'Q15619164'}, 'P1441', 'Q577752'] [{'concept': 'Q2088357'}, 'P1441', 'Q577752']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1441 resource:Q577752 } UNION { ?y property:P1441 resource:Q577752 } UNION { ?z property:P1441 resource:Q15745327 } UNION { ?y property:P1441 resource:Q15745327 } UNION { ?z property:P1441 resource:Q577752 } UNION { ?y property:P1441 resource:Q577752 } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q2088357 }
[{'concept': 'abstract being'}, 'present in work', 'Kamen Rider Series'] [{'concept': 'musical ensemble'}, 'present in work', 'Kamen Rider Series'] [{'concept': 'abstract being'}, 'present in work', 'Lindenstraße'] [{'concept': 'musical ensemble'}, 'present in work', 'Lindenstraße'] [{'concept': 'abstract being'}, 'present in work', 'Kamen Rider Series'] [{'concept': 'musical ensemble'}, 'present in work', 'Kamen Rider Series']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:present_in_work resource:Kamen_Rider_Series } UNION { ?y property:present_in_work resource:Kamen_Rider_Series } UNION { ?z property:present_in_work resource:Lindenstraße } UNION { ?y property:present_in_work resource:Lindenstraße } UNION { ?z property:present_in_work resource:Kamen_Rider_Series } UNION { ?y property:present_in_work resource:Kamen_Rider_Series } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:musical_ensemble }
[]
abstract being musical ensemble
Quantitative|Count|Mult. entity type|Clarification
Q577752
SYSTEM
Did you mean Kamen Rider Series ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1441 resource:Q577752 } UNION { ?y property:P1441 resource:Q577752 } UNION { ?z property:P1441 resource:Q15745327 } UNION { ?y property:P1441 resource:Q15745327 } UNION { ?z property:P1441 resource:Q577752 } UNION { ?y property:P1441 resource:Q577752 } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q2088357 }
Did you mean Kamen Rider Series ?
Kamen Rider Series
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:present_in_work resource:Kamen_Rider_Series } UNION { ?y property:present_in_work resource:Kamen_Rider_Series } UNION { ?z property:present_in_work resource:Lindenstraße } UNION { ?y property:present_in_work resource:Lindenstraße } UNION { ?z property:present_in_work resource:Kamen_Rider_Series } UNION { ?y property:present_in_work resource:Kamen_Rider_Series } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q15619164),P1441,Q577752) (c(Q2088357),P1441,Q577752) (c(Q15619164),P1441,Q708661) (c(Q2088357),P1441,Q708661) (c(Q15619164),P1441,Q577752) (c(Q2088357),P1441,Q577752)
[{'concept': 'Q15619164'}, 'P1441', 'Q577752'] [{'concept': 'Q2088357'}, 'P1441', 'Q577752'] [{'concept': 'Q15619164'}, 'P1441', 'Q708661'] [{'concept': 'Q2088357'}, 'P1441', 'Q708661'] [{'concept': 'Q15619164'}, 'P1441', 'Q577752'] [{'concept': 'Q2088357'}, 'P1441', 'Q577752']
[{'concept': 'abstract being'}, 'present in work', 'Kamen Rider Series'] [{'concept': 'musical ensemble'}, 'present in work', 'Kamen Rider Series'] [{'concept': 'abstract being'}, 'present in work', 'Lindenstraße'] [{'concept': 'musical ensemble'}, 'present in work', 'Lindenstraße'] [{'concept': 'abstract being'}, 'present in work', 'Kamen Rider Series'] [{'concept': 'musical ensemble'}, 'present in work', 'Kamen Rider Series']
[]
SYSTEM
54 abstract beings and 1 musical ensembles
Q7537978 Q1984905 Q7180536 Q3958958 Q8036850 Q6738673 Q2478370 Q6356763 Q864788 Q747753 Q6356745 Q6356768 Q4919299 Q7678101 Q7104007 Q6356723 Q6356706 Q1988617 Q4921823 Q6356778 Q6672041 Q6356788 Q10854986 Q6874606 Q6678878 Q5297292 Q6356784 Q6356786 Q11259878 Q4542341 Q865460 Q17002145 Q1627403 Q1049233 Q5364780 Q865468 Q6356757 Q17749908 Q6356753 Q4260824 Q11682480 Q858763 Q6356711 Q6356783 Q14340413 Q6002398 Q16147047 Q1058812 Q5357903 Q867743 Q6356708 Q6356771 Q7862628 Q6356693 Q6356749
(c(Q15619164),P1441,Q577752) (c(Q2088357),P1441,Q577752) (c(Q15619164),P1441,Q708661) (c(Q2088357),P1441,Q708661) (c(Q15619164),P1441,Q577752) (c(Q2088357),P1441,Q577752)
[ANSWER]
[{'concept': 'Q15619164'}, 'P1441', 'Q577752'] [{'concept': 'Q2088357'}, 'P1441', 'Q577752'] [{'concept': 'Q15619164'}, 'P1441', 'Q708661'] [{'concept': 'Q2088357'}, 'P1441', 'Q708661'] [{'concept': 'Q15619164'}, 'P1441', 'Q577752'] [{'concept': 'Q2088357'}, 'P1441', 'Q577752']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1441 resource:Q577752 } UNION { ?y property:P1441 resource:Q577752 } UNION { ?z property:P1441 resource:Q15745327 } UNION { ?y property:P1441 resource:Q15745327 } UNION { ?z property:P1441 resource:Q577752 } UNION { ?y property:P1441 resource:Q577752 } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q2088357 }
Skyrider Kamen Rider 2 Phantom Shadow Moon Worm Makamou Riderman Kamen Rider Saga Kamen Rider Decade Kamen Rider Kabuto Kamen Rider KickHopper Kamen Rider Stronger Kamen Rider Den-O Takeshi Orphnoch Kamen Rider DiEnd Kamen Rider Black Kamen Rider 1 Kamen Rider Skull Kamen Rider V3 Zodiarts Kamen Rider Zeronos Kamen Rider Birth Mirror Monster Lord Dopant Kamen Rider X Kamen Rider Zanki Yummy Kamen Rider Beast Kamen Rider Kiva Kamen Rider Dark Kiva Kamen Rider Double Kamen Rider Kuuga Gurongi Kamen Rider Accel Kamen Rider OOO Kamen Rider Gatack Kamen Rider New Den-O Kamen Rider Ixa Kamen Rider Hibiki Kamen Rider ZX Kamen Rider Dark Kabuto Kamen Rider Wizard Kamen Rider Fourze (character) Imagin Kamen Riders Queen & Elizabeth Electro-Wave Human Tackle Kamen Rider Kuuga Kamen Rider Black RX Kamen Rider Super-1 Tōbei Tachibana Kamen Rider Amazon Kamen Rider Meteor
54 abstract beings and 1 musical ensembles
[{'concept': 'abstract being'}, 'present in work', 'Kamen Rider Series'] [{'concept': 'musical ensemble'}, 'present in work', 'Kamen Rider Series'] [{'concept': 'abstract being'}, 'present in work', 'Lindenstraße'] [{'concept': 'musical ensemble'}, 'present in work', 'Lindenstraße'] [{'concept': 'abstract being'}, 'present in work', 'Kamen Rider Series'] [{'concept': 'musical ensemble'}, 'present in work', 'Kamen Rider Series']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:present_in_work resource:Kamen_Rider_Series } UNION { ?y property:present_in_work resource:Kamen_Rider_Series } UNION { ?z property:present_in_work resource:Lindenstraße } UNION { ?y property:present_in_work resource:Lindenstraße } UNION { ?z property:present_in_work resource:Kamen_Rider_Series } UNION { ?y property:present_in_work resource:Kamen_Rider_Series } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:musical_ensemble }
[]