Simple Question (Direct)
Simple Question
Q2333710
P462
Q1075
USER
Which color is associated with Jumping the Broom ?
(Q2333710,P462,c(Q1075))
action filter_type
action find
entity Q2333710
relation P462
type Q1075
['Q2333710', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?l WHERE { resource:Q2333710 property:P462 ?l . ?l rdf:type ontology:Q1075 }
Jumping the Broom
action filter_type
action find
entity Jumping the Broom
relation color
type color
['Jumping the Broom', 'color', {'concept': 'color'}]
SELECT DISTINCT ?l WHERE { resource:Jumping_the_Broom property:color ?l . ?l rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q2333710,P462,c(Q1075))
action filter_type
action find
entity Q2333710
relation P462
type Q1075
[ANSWER] is associated with Jumping the Broom
['Q2333710', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?l WHERE { resource:Q2333710 property:P462 ?l . ?l rdf:type ontology:Q1075 }
color
Color is associated with Jumping the Broom
color
action filter_type
action find
entity Jumping the Broom
relation color
type color
['Jumping the Broom', 'color', {'concept': 'color'}]
SELECT DISTINCT ?l WHERE { resource:Jumping_the_Broom property:color ?l . ?l rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2333710
P162
Q502895
USER
Who produced Jumping the Broom ?
(Q2333710,P162,c(Q502895))
action filter_type
action find
entity Q2333710
relation P162
type Q502895
['Q2333710', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q2333710 property:P162 ?k . ?k rdf:type ontology:Q502895 }
Jumping the Broom
action filter_type
action find
entity Jumping the Broom
relation producer
type common name
['Jumping the Broom', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Jumping_the_Broom property:producer ?k . ?k rdf:type ontology:common_name }
[]
common name
Q7831218 Q845288
SYSTEM
Tracey Edmonds, T. D. Jakes
Q7831218 Q845288
(Q2333710,P162,c(Q502895))
action filter_type
action find
entity Q2333710
relation P162
type Q502895
[ANSWERS] produced Jumping the Broom
['Q2333710', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q2333710 property:P162 ?k . ?k rdf:type ontology:Q502895 }
Tracey Edmonds T. D. Jakes
Tracey Edmonds and T. D. Jakes produced Jumping the Broom
Tracey Edmonds T. D. Jakes
action filter_type
action find
entity Jumping the Broom
relation producer
type common name
['Jumping the Broom', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Jumping_the_Broom property:producer ?k . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q845288
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q845288,P27,c(Q15617994))
action filter_type
action find
entity Q845288
relation P27
type Q15617994
['Q845288', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q845288 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
T. D. Jakes
action filter_type
action find
entity T. D. Jakes
relation country of citizenship
type designation for an administrative territorial entity
['T. D. Jakes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:T._D._Jakes property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q7831218
SYSTEM
Did you mean Tracey Edmonds ?
Q7831218 Q845288
(Q7831218,P27,c(Q15617994)) (Q845288,P27,c(Q15617994))
[ANSWER]
['Q7831218', 'P27', {'concept': 'Q15617994'}] ['Q845288', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q845288 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Tracey Edmonds T. D. Jakes
Did you mean Tracey Edmonds ?
Tracey Edmonds
['Tracey Edmonds', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['T. D. Jakes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:T._D._Jakes property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant T. D. Jakes. Could you tell me the answer for that?
(Q845288,P27,c(Q15617994))
Q845288
['Q845288', 'P27', {'concept': 'Q15617994'}]
['T. D. Jakes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q845288,P27,c(Q15617994))
action filter_type
action find
entity Q845288
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q845288', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q845288 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
That person belongs to the United States of America
United States of America
action filter_type
action find
entity T. D. Jakes
relation country of citizenship
type designation for an administrative territorial entity
['T. D. Jakes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:T._D._Jakes property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q6369931
P27
Q502895
USER
Is Karen Ordahl Kupperman a civilian of that administrative territory ?
(Q6369931,P27,Q30)
action is_in
entity Q30
action find
entity Q6369931
relation P27
['Q6369931', 'P27', 'Q30']
ASK WHERE { resource:Q6369931 property:P27 resource:Q30 }
United States of America Karen Ordahl Kupperman
action is_in
entity United States of America
action find
entity Karen Ordahl Kupperman
relation country of citizenship
['Karen Ordahl Kupperman', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Karen_Ordahl_Kupperman property:country_of_citizenship resource:United_States_of_America }
[]
common name
SYSTEM
YES
(Q6369931,P27,Q30)
action is_in
entity Q30
action find
entity Q6369931
relation P27
[ANSWER]
['Q6369931', 'P27', 'Q30']
ASK WHERE { resource:Q6369931 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Karen Ordahl Kupperman
relation country of citizenship
['Karen Ordahl Kupperman', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Karen_Ordahl_Kupperman property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P38
Q8142
USER
What is accepted as the currency of that administrative territory ?
action filter_type
action find
entity Q30
relation P38
type Q8142
SELECT DISTINCT ?l WHERE { resource:Q30 property:P38 ?l . ?l rdf:type ontology:Q8142 }
United States of America
action filter_type
action find
entity United States of America
relation currency
type currency
SELECT DISTINCT ?l WHERE { resource:United_States_of_America property:currency ?l . ?l rdf:type ontology:currency }
[]
currency
Q4917
SYSTEM
United States dollar
Q4917
action filter_type
action find
entity Q30
relation P38
type Q8142
[ANSWER] is accepted as the currency of that administrative territory
SELECT DISTINCT ?l WHERE { resource:Q30 property:P38 ?l . ?l rdf:type ontology:Q8142 }
United States dollar
United States dollar is accepted as the currency of that administrative territory
United States dollar
action filter_type
action find
entity United States of America
relation currency
type currency
SELECT DISTINCT ?l WHERE { resource:United_States_of_America property:currency ?l . ?l rdf:type ontology:currency }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q21815597 Q30
P38
Q8142
USER
Or The Crown Colony of the Bahama Islands?
OR((Q30,P38,c(Q8142)), (Q21815597,P38,c(Q8142)))
action filter_type
action union
action find
entity Q30
relation P38
action find
entity Q21815597
relation P38
type Q8142
{'OR': [['Q30', 'P38', {'concept': 'Q8142'}], ['Q21815597', 'P38', {'concept': 'Q8142'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?m ) { ( resource:Q30 ) ( resource:Q21815597 ) } . ?m property:P38 ?o } . ?o rdf:type ontology:Q8142 }
The Crown Colony of the Bahama Islands United States of America
action filter_type
action union
action find
entity United States of America
relation currency
action find
entity The Crown Colony of the Bahama Islands
relation currency
type currency
{'OR': [['United States of America', 'currency', {'concept': 'currency'}], ['The Crown Colony of the Bahama Islands', 'currency', {'concept': 'currency'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?m ) { ( resource:United_States_of_America ) ( resource:The_Crown_Colony_of_the_Bahama_Islands ) } . ?m property:currency ?o } . ?o rdf:type ontology:currency }
[]
currency
Q25224 Q4917
SYSTEM
pound sterling, United States dollar
Q25224 Q4917
OR((Q30,P38,c(Q8142)), (Q21815597,P38,c(Q8142)))
action filter_type
action union
action find
entity Q30
relation P38
action find
entity Q21815597
relation P38
type Q8142
[ANSWERS]
{'OR': [['Q30', 'P38', {'concept': 'Q8142'}], ['Q21815597', 'P38', {'concept': 'Q8142'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?m ) { ( resource:Q30 ) ( resource:Q21815597 ) } . ?m property:P38 ?o } . ?o rdf:type ontology:Q8142 }
pound sterling United States dollar
pound sterling United States dollar
action filter_type
action union
action find
entity United States of America
relation currency
action find
entity The Crown Colony of the Bahama Islands
relation currency
type currency
{'OR': [['United States of America', 'currency', {'concept': 'currency'}], ['The Crown Colony of the Bahama Islands', 'currency', {'concept': 'currency'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?m ) { ( resource:United_States_of_America ) ( resource:The_Crown_Colony_of_the_Bahama_Islands ) } . ?m property:currency ?o } . ?o rdf:type ontology:currency }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q25224 Q4917
P17
Q15617994
USER
Which administrative territories are those currencies located in ?
(Q25224,P17,c(Q15617994)) (Q4917,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q25224', 'P17', {'concept': 'Q15617994'}] ['Q4917', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?t property:P17 ?r . VALUES ( ?t ) { ( resource:Q25224 ) ( resource:Q4917 ) } }
pound sterling United States dollar
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['pound sterling', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States dollar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:country ?r . VALUES ( ?t ) { ( resource:pound_sterling ) ( resource:United_States_dollar ) } }
[]
designation for an administrative territorial entity
Q145 Q30
SYSTEM
United Kingdom, United States of America
Q145 Q30
(Q25224,P17,c(Q15617994)) (Q4917,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those currencies are located in [ANSWERS]
['Q25224', 'P17', {'concept': 'Q15617994'}] ['Q4917', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?t property:P17 ?r . VALUES ( ?t ) { ( resource:Q25224 ) ( resource:Q4917 ) } }
United Kingdom United States of America
Those currencies are located in United Kingdom and United States of America
United Kingdom United States of America
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['pound sterling', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United States dollar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:country ?r . VALUES ( ?t ) { ( resource:pound_sterling ) ( resource:United_States_dollar ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P194
Q1752346
USER
Which assembly is the legislative body for United Kingdom ?
(Q145,P194,c(Q1752346))
action filter_type
action find
entity Q145
relation P194
type Q1752346
['Q145', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q145 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
['United Kingdom', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:United_Kingdom property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
assembly
Q11010
SYSTEM
Parliament of the United Kingdom
Q11010
(Q145,P194,c(Q1752346))
action filter_type
action find
entity Q145
relation P194
type Q1752346
The [ANSWER] is the legislative body for United Kingdom
['Q145', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q145 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
Parliament of the United Kingdom
The Parliament of the United Kingdom is the legislative body for United Kingdom
Parliament of the United Kingdom
action filter_type
action find
entity United Kingdom
relation legislative body
type assembly
['United Kingdom', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:United_Kingdom property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3819762 Q2333710
P161
Q502895
USER
Which people starred in Jumping the Broom or The Last Wagon ?
OR((Q2333710,P161,c(Q502895)), (Q3819762,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2333710
relation P161
action find
entity Q3819762
relation P161
type Q502895
{'OR': [['Q2333710', 'P161', {'concept': 'Q502895'}], ['Q3819762', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2333710 property:P161 ?p } UNION { resource:Q3819762 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
The Last Wagon Jumping the Broom
action filter_type
action union
action find
entity Jumping the Broom
relation cast member
action find
entity The Last Wagon
relation cast member
type common name
{'OR': [['Jumping the Broom', 'cast member', {'concept': 'common name'}], ['The Last Wagon', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jumping_the_Broom property:cast_member ?p } UNION { resource:The_Last_Wagon property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
common name
Q56011 Q302335 Q3694302 Q3779936 Q233213 Q355038 Q3659496 Q3894030 Q2394970 Q3830721
SYSTEM
Some of them are Anna Magnani, Laz Alonso, Corrado Racca, Gustavo Cacini, Paula Patton, Gary Dourdan, Carlo Iantaffi, Paolo Ferrara, Tasha Smith, Leopoldo Valentini
Q3870113 Q3849064 Q3894030 Q452307 Q3622672 Q3694302 Q3830721 Q233213 Q302335 Q56011 Q1337406 Q524850 Q355038 Q3881635 Q3885548 Q675949 Q257271 Q3617585 Q3779936 Q55450 Q3659496 Q40248 Q2394970 Q3940874 Q257286 Q232120 Q3991612 Q311962 Q3827966
OR((Q2333710,P161,c(Q502895)), (Q3819762,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2333710
relation P161
action find
entity Q3819762
relation P161
type Q502895
[ANSWERS] starred in Jumping the Broom or The Last Wagon
{'OR': [['Q2333710', 'P161', {'concept': 'Q502895'}], ['Q3819762', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2333710 property:P161 ?p } UNION { resource:Q3819762 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
Nando Bruno Mario Ruccione Paolo Ferrara Romeo Miller Aristide Garbini Corrado Racca Leopoldo Valentini Paula Patton Laz Alonso Anna Magnani Emilio Baldanello Enzo Fiermonte Gary Dourdan Olga Solbelli Oreste Fares Alberto Sorrentino Loretta Devine Anita Durante Gustavo Cacini Aldo Fabrizi Carlo Iantaffi Julie Bowen Tasha Smith Romolo Balzani Meagan Good Angela Bassett Tino Scotti Mike Epps Lauro Gazzolo
Anna Magnani, Laz Alonso, Corrado Racca, Gustavo Cacini, Paula Patton, Gary Dourdan, Carlo Iantaffi, Paolo Ferrara, Tasha Smith and Leopoldo Valentini starred in Jumping the Broom or The Last Wagon
Anna Magnani Laz Alonso Corrado Racca Gustavo Cacini Paula Patton Gary Dourdan Carlo Iantaffi Paolo Ferrara Tasha Smith Leopoldo Valentini
action filter_type
action union
action find
entity Jumping the Broom
relation cast member
action find
entity The Last Wagon
relation cast member
type common name
{'OR': [['Jumping the Broom', 'cast member', {'concept': 'common name'}], ['The Last Wagon', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Jumping_the_Broom property:cast_member ?p } UNION { resource:The_Last_Wagon property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q5901134
P725
Q502895 Q838948
USER
How many works of art did greater number of people dub for than Ant-Man ?
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q5901134
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q838948 . resource:Q5901134 property:P725 ?e } } . FILTER ( ?x > ?k ) . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?x ) WHERE { ?u rdf:type ontology:Q838948 . ?f rdf:type ontology:Q502895 . ?u property:P725 ?f } GROUP BY ?u } }
Ant-Man
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Ant-Man
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:work_of_art . resource:Ant-Man property:voice_actor ?e } } . FILTER ( ?x > ?k ) . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?x ) WHERE { ?u rdf:type ontology:work_of_art . ?f rdf:type ontology:common_name . ?u property:voice_actor ?f } GROUP BY ?u } }
[]
common name work of art
SYSTEM
43
Q13393950 Q127367 Q16207076 Q23838455 Q21428001 Q568928 Q3139297 Q212792 Q17485699 Q390341 Q7737199 Q477965 Q5640689 Q777739 Q3282491 Q477365 Q16782 Q18407657 Q4158396 Q4503243 Q1185099 Q4646903 Q18786473 Q16857406 Q4305149 Q25167044 Q622742 Q1058469 Q19776435 Q204416 Q207659 Q1519753 Q729809 Q23034444 Q318975 Q2165639 Q1201022 Q387674 Q741883 Q1193324 Q19263748 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q5901134
relation P725
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q838948 . resource:Q5901134 property:P725 ?e } } . FILTER ( ?x > ?k ) . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?x ) WHERE { ?u rdf:type ontology:Q838948 . ?f rdf:type ontology:Q502895 . ?u property:P725 ?f } GROUP BY ?u } }
My Little Pony: Equestria Girls The Lord of the Rings: The Fellowship of the Ring Battle Beyond the Sun Planetarian: Hoshi no Hito Riley's First Date? Garfield: The Movie Hold the Lion, Please Bolt Alice Through the Looking Glass Beverly Hills Chihuahua The Good Dinosaur Persepolis Hal Ivan Vasilievich: Back to the Future Trigun: Badlands Rumble 101 Dalmatians II: Patch's London Adventure Buried Captain America: Civil War Radio Day The Tsar's Bride Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon The Jungle Book Mozart and Salieri Wreck-It Ralph 2 Where the Wild Things Are Ghost in the Shell 2: Innocence Szenario Felidae Space Jam Mimino Bodacious Space Pirates Ghost in the Shell 2.0 Atlantis: The Lost Empire Watership Down Tiger & Bunny Final Fantasy VII: Advent Children Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Anthem of the Heart Gulliver's Travels The Book of Life
43
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Ant-Man
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:work_of_art . resource:Ant-Man property:voice_actor ?e } } . FILTER ( ?x > ?k ) . { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?x ) WHERE { ?u rdf:type ontology:work_of_art . ?f rdf:type ontology:common_name . ?u property:voice_actor ?f } GROUP BY ?u } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q82579
P725
Q502895 Q838948
USER
And how about Pokémon 4Ever?
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q82579
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?f ) WHERE { ?v property:P725 ?i . ?i rdf:type ontology:Q502895 . ?v rdf:type ontology:Q838948 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q82579 property:P725 ?s . ?s rdf:type ontology:Q838948 } } . FILTER ( ?f > ?t ) }
Pokémon 4Ever
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Pokémon 4Ever
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?f ) WHERE { ?v property:voice_actor ?i . ?i rdf:type ontology:common_name . ?v rdf:type ontology:work_of_art } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Pokémon_4Ever property:voice_actor ?s . ?s rdf:type ontology:work_of_art } } . FILTER ( ?f > ?t ) }
[]
common name work of art
SYSTEM
43
Q13393950 Q127367 Q16207076 Q23838455 Q21428001 Q568928 Q3139297 Q212792 Q17485699 Q390341 Q7737199 Q477965 Q5640689 Q777739 Q3282491 Q477365 Q16782 Q18407657 Q4158396 Q4503243 Q1185099 Q4646903 Q18786473 Q16857406 Q4305149 Q25167044 Q622742 Q1058469 Q19776435 Q204416 Q207659 Q1519753 Q729809 Q23034444 Q318975 Q2165639 Q1201022 Q387674 Q741883 Q1193324 Q19263748 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q82579
relation P725
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?f ) WHERE { ?v property:P725 ?i . ?i rdf:type ontology:Q502895 . ?v rdf:type ontology:Q838948 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q82579 property:P725 ?s . ?s rdf:type ontology:Q838948 } } . FILTER ( ?f > ?t ) }
My Little Pony: Equestria Girls The Lord of the Rings: The Fellowship of the Ring Battle Beyond the Sun Planetarian: Hoshi no Hito Riley's First Date? Garfield: The Movie Hold the Lion, Please Bolt Alice Through the Looking Glass Beverly Hills Chihuahua The Good Dinosaur Persepolis Hal Ivan Vasilievich: Back to the Future Trigun: Badlands Rumble 101 Dalmatians II: Patch's London Adventure Buried Captain America: Civil War Radio Day The Tsar's Bride Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon The Jungle Book Mozart and Salieri Wreck-It Ralph 2 Where the Wild Things Are Ghost in the Shell 2: Innocence Szenario Felidae Space Jam Mimino Bodacious Space Pirates Ghost in the Shell 2.0 Atlantis: The Lost Empire Watership Down Tiger & Bunny Final Fantasy VII: Advent Children Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Anthem of the Heart Gulliver's Travels The Book of Life
43
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Pokémon 4Ever
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?f ) WHERE { ?v property:voice_actor ?i . ?i rdf:type ontology:common_name . ?v rdf:type ontology:work_of_art } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Pokémon_4Ever property:voice_actor ?s . ?s rdf:type ontology:work_of_art } } . FILTER ( ?f > ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P88
Q502895 Q811979 Q12280
USER
Which people did the commissioning of max number of architectural structures or bridges ?
(c(Q811979)|c(Q12280),P88,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P88
type Q502895
type Q12280
[[{'concept': 'Q811979'}, {'concept': 'Q12280'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?f WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:Q811979 ) ( ontology:Q12280 ) } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?m WHERE { VALUES ( ?q ) { ( ontology:Q811979 ) ( ontology:Q12280 ) } . ?j rdf:type ?q } GROUP BY ?m } . FILTER ( ?y = ?n ) }
action argmax
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type architectural structure
action find_reverse_tuple_counts
relation commissioned by
type common name
type bridge
[[{'concept': 'architectural structure'}, {'concept': 'bridge'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?f WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:architectural_structure ) ( ontology:bridge ) } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?m WHERE { VALUES ( ?q ) { ( ontology:architectural_structure ) ( ontology:bridge ) } . ?j rdf:type ?q } GROUP BY ?m } . FILTER ( ?y = ?n ) }
[]
common name architectural structure bridge
Q167782
SYSTEM
Charles V of France
Q167782
(c(Q811979)|c(Q12280),P88,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P88
type Q502895
type Q12280
[ANSWER] did the commissioning of max number of architectural structures or bridges
[[{'concept': 'Q811979'}, {'concept': 'Q12280'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?f WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:Q811979 ) ( ontology:Q12280 ) } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?m WHERE { VALUES ( ?q ) { ( ontology:Q811979 ) ( ontology:Q12280 ) } . ?j rdf:type ?q } GROUP BY ?m } . FILTER ( ?y = ?n ) }
Charles V of France
Charles V of France did the commissioning of max number of architectural structures or bridges
Charles V of France
action argmax
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type architectural structure
action find_reverse_tuple_counts
relation commissioned by
type common name
type bridge
[[{'concept': 'architectural structure'}, {'concept': 'bridge'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?f WHERE { ?t rdf:type ?w . VALUES ( ?w ) { ( ontology:architectural_structure ) ( ontology:bridge ) } } GROUP BY ?f } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?m WHERE { VALUES ( ?q ) { ( ontology:architectural_structure ) ( ontology:bridge ) } . ?j rdf:type ?q } GROUP BY ?m } . FILTER ( ?y = ?n ) }
[]