Simple Question (Direct)
Simple Question
Q3747839
P479
Q1183543
USER
What was the means of input for Football Manager ?
(Q3747839,P479,c(Q1183543))
action filter_type
action find
entity Q3747839
relation P479
type Q1183543
['Q3747839', 'P479', {'concept': 'Q1183543'}]
SELECT DISTINCT ?k WHERE { resource:Q3747839 property:P479 ?k . ?k rdf:type ontology:Q1183543 }
Football Manager
action filter_type
action find
entity Football Manager
relation input device
type device
['Football Manager', 'input device', {'concept': 'device'}]
SELECT DISTINCT ?k WHERE { resource:Football_Manager property:input_device ?k . ?k rdf:type ontology:device }
[]
device
Q250
SYSTEM
computer keyboard
Q250
(Q3747839,P479,c(Q1183543))
action filter_type
action find
entity Q3747839
relation P479
type Q1183543
The means of input for Football Manager was a [ANSWER]
['Q3747839', 'P479', {'concept': 'Q1183543'}]
SELECT DISTINCT ?k WHERE { resource:Q3747839 property:P479 ?k . ?k rdf:type ontology:Q1183543 }
computer keyboard
The means of input for Football Manager was a computer keyboard
computer keyboard
action filter_type
action find
entity Football Manager
relation input device
type device
['Football Manager', 'input device', {'concept': 'device'}]
SELECT DISTINCT ?k WHERE { resource:Football_Manager property:input_device ?k . ?k rdf:type ontology:device }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3747839
P178
Q43229
USER
Who is credited with development of Football Manager ?
(Q3747839,P178,c(Q43229))
action filter_type
action find
entity Q3747839
relation P178
type Q43229
['Q3747839', 'P178', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q3747839 property:P178 ?l . ?l rdf:type ontology:Q43229 }
Football Manager
action filter_type
action find
entity Football Manager
relation developer
type organization
['Football Manager', 'developer', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:Football_Manager property:developer ?l . ?l rdf:type ontology:organization }
[]
organization
Q4681127
SYSTEM
Addictive Games
Q4681127
(Q3747839,P178,c(Q43229))
action filter_type
action find
entity Q3747839
relation P178
type Q43229
[ANSWER] is credited with development of Football Manager
['Q3747839', 'P178', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q3747839 property:P178 ?l . ?l rdf:type ontology:Q43229 }
Addictive Games
Addictive Games is credited with development of Football Manager
Addictive Games
action filter_type
action find
entity Football Manager
relation developer
type organization
['Football Manager', 'developer', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:Football_Manager property:developer ?l . ?l rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4681127
P17
Q15617994
USER
Which administrative territory does that organization belong to ?
(Q4681127,P17,c(Q15617994))
action filter_type
action find
entity Q4681127
relation P17
type Q15617994
['Q4681127', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4681127 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Addictive Games
action filter_type
action find
entity Addictive Games
relation country
type designation for an administrative territorial entity
['Addictive Games', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Addictive_Games property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4681127,P17,c(Q15617994))
action filter_type
action find
entity Q4681127
relation P17
type Q15617994
That organization belongs to the [ANSWER]
['Q4681127', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4681127 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
That organization belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Addictive Games
relation country
type designation for an administrative territorial entity
['Addictive Games', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Addictive_Games property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P750
Q838948
USER
Which work of art has that administrative territory as its distributor ?
(c(Q838948),P750,Q145)
action filter_type
action find_reverse
entity Q145
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q145']
SELECT DISTINCT ?r WHERE { ?r property:P750 resource:Q145 . ?r rdf:type ontology:Q838948 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United Kingdom']
SELECT DISTINCT ?r WHERE { ?r property:distributor resource:United_Kingdom . ?r rdf:type ontology:work_of_art }
[]
work of art
Q692821
SYSTEM
My Summer of Love
Q692821
(c(Q838948),P750,Q145)
action filter_type
action find_reverse
entity Q145
relation P750
type Q838948
[ANSWER] has that administrative territory as its distributor
[{'concept': 'Q838948'}, 'P750', 'Q145']
SELECT DISTINCT ?r WHERE { ?r property:P750 resource:Q145 . ?r rdf:type ontology:Q838948 }
My Summer of Love
My Summer of Love has that administrative territory as its distributor
My Summer of Love
action filter_type
action find_reverse
entity United Kingdom
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United Kingdom']
SELECT DISTINCT ?r WHERE { ?r property:distributor resource:United_Kingdom . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q692821
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q692821,P364,c(Q34770))
action filter_type
action find
entity Q692821
relation P364
type Q34770
['Q692821', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q692821 property:P364 ?q . ?q rdf:type ontology:Q34770 }
My Summer of Love
action filter_type
action find
entity My Summer of Love
relation original language of work
type language
['My Summer of Love', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:My_Summer_of_Love property:original_language_of_work ?q . ?q rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q692821,P364,c(Q34770))
action filter_type
action find
entity Q692821
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q692821', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q692821 property:P364 ?q . ?q rdf:type ontology:Q34770 }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity My Summer of Love
relation original language of work
type language
['My Summer of Love', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:My_Summer_of_Love property:original_language_of_work ?q . ?q rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15617994 Q1777515 Q337567
USER
Which administrative territories are namesakes of max number of junctions and still waterss ?
(c(Q1777515)|c(Q337567),P138,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q1777515
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
[[{'concept': 'Q1777515'}, {'concept': 'Q337567'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?d WHERE { { ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1777515 . ?w property:P138 ?d } UNION { ?w property:P138 ?d . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q337567 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?c WHERE { VALUES ( ?x ) { ( ontology:Q1777515 ) ( ontology:Q337567 ) } . ?t rdf:type ?x } GROUP BY ?c } . FILTER ( ?m = ?a ) }
action argmax
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type junction
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
[[{'concept': 'junction'}, {'concept': 'still waters'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?d WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:junction . ?w property:named_after ?d } UNION { ?w property:named_after ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:still_waters } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?c WHERE { VALUES ( ?x ) { ( ontology:junction ) ( ontology:still_waters ) } . ?t rdf:type ?x } GROUP BY ?c } . FILTER ( ?m = ?a ) }
[]
designation for an administrative territorial entity junction still waters
Q2871 Q3898 Q14870
SYSTEM
Hagen, Castrop-Rauxel, Siegburg
Q2871 Q3898 Q519157 Q681329 Q2596432 Q631654 Q14870
(c(Q1777515)|c(Q337567),P138,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q1777515
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q337567
[ANSWERS] are namesakes of max number of junctions and still waterss
[[{'concept': 'Q1777515'}, {'concept': 'Q337567'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?d WHERE { { ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1777515 . ?w property:P138 ?d } UNION { ?w property:P138 ?d . ?d rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q337567 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?c WHERE { VALUES ( ?x ) { ( ontology:Q1777515 ) ( ontology:Q337567 ) } . ?t rdf:type ?x } GROUP BY ?c } . FILTER ( ?m = ?a ) }
Hagen Castrop-Rauxel Templin Dümmer Euvelgunne Selent Siegburg
Hagen, Castrop-Rauxel and Siegburg are namesakes of max number of junctions and still waterss
Hagen Castrop-Rauxel Siegburg
action argmax
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type junction
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
[[{'concept': 'junction'}, {'concept': 'still waters'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) ?d WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:junction . ?w property:named_after ?d } UNION { ?w property:named_after ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:still_waters } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?c WHERE { VALUES ( ?x ) { ( ontology:junction ) ( ontology:still_waters ) } . ?t rdf:type ?x } GROUP BY ?c } . FILTER ( ?m = ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q9779 Q8192 Q34770
USER
Which languages use around 1 alphabets or writing systems as the writing system ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?s WHERE { { ?s property:P282 ?d . ?d rdf:type ontology:Q9779 . ?s rdf:type ontology:Q34770 } UNION { ?s rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 . ?s property:P282 ?d } } GROUP BY ?s } . FILTER ( ?y = 1 ) }
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?s WHERE { { ?s property:writing_system ?d . ?d rdf:type ontology:alphabet . ?s rdf:type ontology:language } UNION { ?s rdf:type ontology:language . ?d rdf:type ontology:writing_system . ?s property:writing_system ?d } } GROUP BY ?s } . FILTER ( ?y = 1 ) }
[]
alphabet writing system language
Q35499 Q1669994 Q33251
SYSTEM
Old Church Slavonic, Minoan language, Church Slavonic
Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[ANSWERS] use around 1 alphabets or writing systems as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?s WHERE { { ?s property:P282 ?d . ?d rdf:type ontology:Q9779 . ?s rdf:type ontology:Q34770 } UNION { ?s rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 . ?s property:P282 ?d } } GROUP BY ?s } . FILTER ( ?y = 1 ) }
Ruthenian Old Church Slavonic Minoan language Church Slavonic Serbian written in Cyrillic Slavoserbian Nivkh language Italian
Old Church Slavonic, Minoan language and Church Slavonic use around 1 alphabets or writing systems as the writing system
Old Church Slavonic Minoan language Church Slavonic
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?s WHERE { { ?s property:writing_system ?d . ?d rdf:type ontology:alphabet . ?s rdf:type ontology:language } UNION { ?s rdf:type ontology:language . ?d rdf:type ontology:writing_system . ?s property:writing_system ?d } } GROUP BY ?s } . FILTER ( ?y = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q35499
P1412 P21
Q502895
USER
Which people use Old Church Slavonic and have the gender as male ?
AND((c(Q502895),P1412,Q35499), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q35499
relation P1412
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q35499'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P1412 resource:Q35499 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
male Old Church Slavonic
action filter_type
action intersection
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:languages_spoken,_written_or_signed resource:Old_Church_Slavonic . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
common name
Q723304 Q1146725 Q650558
SYSTEM
Gregory Tsamblak, Constantine of Preslav, John Exarch
Q723304 Q1146725 Q650558
AND((c(Q502895),P1412,Q35499), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q35499
relation P1412
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] use Old Church Slavonic and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P1412', 'Q35499'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P1412 resource:Q35499 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
Gregory Tsamblak Constantine of Preslav John Exarch
Gregory Tsamblak, Constantine of Preslav and John Exarch use Old Church Slavonic and have the gender as male
Gregory Tsamblak Constantine of Preslav John Exarch
action filter_type
action intersection
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:languages_spoken,_written_or_signed resource:Old_Church_Slavonic . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q180098
P725
Q502895 Q838948
USER
How many works of art did lesser number of people dub for than Ben-Hur ?
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q180098
relation P725
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?y ) WHERE { ?k property:P725 ?p . ?k rdf:type ontology:Q838948 . ?p rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q180098 property:P725 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?y < ?j ) }
Ben-Hur
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Ben-Hur
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?y ) WHERE { ?k property:voice_actor ?p . ?k rdf:type ontology:work_of_art . ?p rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Ben-Hur property:voice_actor ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?y < ?j ) }
[]
common name work of art
SYSTEM
5
Q4346544 Q190145 Q4367569 Q4468674 Q4204793
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q180098
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?y ) WHERE { ?k property:P725 ?p . ?k rdf:type ontology:Q838948 . ?p rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q180098 property:P725 ?n . ?n rdf:type ontology:Q502895 } } . FILTER ( ?y < ?j ) }
Passport Spider-Man 2 The Witches Cave To Kill a Dragon History of the Arkanar Massacre
5
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Ben-Hur
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?y ) WHERE { ?k property:voice_actor ?p . ?k rdf:type ontology:work_of_art . ?p rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Ben-Hur property:voice_actor ?n . ?n rdf:type ontology:common_name } } . FILTER ( ?y < ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q4646903
P725
Q502895 Q838948
USER
And what about A-Haunting We Will Go?
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q4646903
relation P725
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?g ) WHERE { ?p property:P725 ?w . ?p rdf:type ontology:Q838948 . ?w rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q4646903 property:P725 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?g < ?v ) }
A-Haunting We Will Go
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity A-Haunting We Will Go
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?g ) WHERE { ?p property:voice_actor ?w . ?p rdf:type ontology:work_of_art . ?w rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:A-Haunting_We_Will_Go property:voice_actor ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?g < ?v ) }
[]
common name work of art
SYSTEM
50
Q4346544 Q13091172 Q3458494 Q8024145 Q15139235 Q890656 Q834799 Q82579 Q190145 Q909318 Q6675708 Q5901134 Q19948770 Q1325217 Q286868 Q1315185 Q1583966 Q25218391 Q4942936 Q1572709 Q640695 Q14540226 Q868048 Q615813 Q4367569 Q180098 Q1100231 Q1368693 Q19776571 Q176198 Q567884 Q1196712 Q15627005 Q5237953 Q1309592 Q890665 Q641315 Q888131 Q1702819 Q4468674 Q4204793 Q587921 Q1810461 Q5694508 Q18167809 Q7767682 Q18200409 Q18857408 Q16998034 Q179411
(c(Q838948),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q4646903
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?g ) WHERE { ?p property:P725 ?w . ?p rdf:type ontology:Q838948 . ?w rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q4646903 property:P725 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?g < ?v ) }
Passport Big Hero 6 A Tree of Palme Windfall Nobunaga the Fool Pokémon Heroes Pokémon: The First Movie: Mewtwo Strikes Back Pokémon 4Ever Spider-Man 2 Keroro Gunso the Super Movie 3: Keroro vs. Keroro Great Sky Duel Looney Tunes Super Stars' Foghorn Leghorn & Friends: Barnyard Bigmouth Ant-Man From Caligari to Hitler: German Cinema in the Age of the Masses Flubber Noah Steamboy Underdog Exile Book Girl Pretty Cure All Stars Metropolis Celestial Wives of the Meadow Mari Pokémon: The Movie 2000: The Power of One Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom The Witches Cave Ben-Hur Hayate the Combat Butler! Heaven Is a Place on Earth GeGeGe no Kitarō N - The Madness of Reason The Last Unicorn Another Detective Conan: The Phantom of Baker Street Fair Play Inazuma Eleven GO vs. Danbōru Senki W Doraemon: Nobita and the Wind Wizard Pokémon 3: The Movie: Spell of the Unown Spirit: Stallion of the Cimarron The Wind Rises Secret of the Wings To Kill a Dragon History of the Arkanar Massacre Garfield: A Tail of Two Kitties Springtime with Roo Heaven's Lost Property the Movie: The Angeloid of Clockwork The Prophet The Swing School A Monster Calls Thou-Vou falakros praktor Monkey Kingdom A Very Merry Pooh Year
50
action count
action less
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity A-Haunting We Will Go
relation voice actor
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?g ) WHERE { ?p property:voice_actor ?w . ?p rdf:type ontology:work_of_art . ?w rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:A-Haunting_We_Will_Go property:voice_actor ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?g < ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
How many television series have been dubbed by exactly 19 people ?
(c(Q5398426),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 19
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?x ) WHERE { ?m property:P725 ?e . ?m rdf:type ontology:Q5398426 . ?e rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?x = 19 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type television series
type common name
value 19
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?x ) WHERE { ?m property:voice_actor ?e . ?m rdf:type ontology:television_series . ?e rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?x = 19 ) }
[]
common name television series
SYSTEM
2
Q662 Q881797
(c(Q5398426),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 19
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?x ) WHERE { ?m property:P725 ?e . ?m rdf:type ontology:Q5398426 . ?e rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?x = 19 ) }
Neon Genesis Evangelion YuruYuri
2
action count
action equal
action find_tuple_counts
relation voice actor
type television series
type common name
value 19
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?x ) WHERE { ?m property:voice_actor ?e . ?m rdf:type ontology:television_series . ?e rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?x = 19 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P495
Q15617994 Q2088357 Q838948
USER
Which administrative territories are the countries of origin of max number of musical ensembles and works of art ?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?b ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?u rdf:type ?b } GROUP BY ?e } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?y ) WHERE { VALUES ( ?k ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?x rdf:type ?k } GROUP BY ?d } } }
action argmax
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?b ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?u rdf:type ?b } GROUP BY ?e } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?y ) WHERE { VALUES ( ?k ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?x rdf:type ?k } GROUP BY ?d } } }
[]
designation for an administrative territorial entity musical ensemble work of art
Q30
SYSTEM
United States of America
Q30
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
[ANSWER] is the countries of origin of max number of musical ensembles and works of art
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?b ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?u rdf:type ?b } GROUP BY ?e } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?y ) WHERE { VALUES ( ?k ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?x rdf:type ?k } GROUP BY ?d } } }
United States of America
United States of America is the countries of origin of max number of musical ensembles and works of art
United States of America
action argmax
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?b ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?u rdf:type ?b } GROUP BY ?e } . FILTER ( ?n = ?m ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?y ) WHERE { VALUES ( ?k ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?x rdf:type ?k } GROUP BY ?d } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q2088357
USER
How many administrative territories are the countries of origin of approximately the same number of literary works or musical ensembles as that administrative territory ?
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q7725634
type Q2088357
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?l ) WHERE { ?u rdf:type ?e . VALUES ( ?e ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { VALUES ( ?q ) { ( ontology:Q2088357 ) ( ontology:Q7725634 ) } . ?x rdf:type ?q } . ?x property:P495 resource:Q30 } } . FILTER ( ?l = ?v ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type literary work
type musical ensemble
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?l ) WHERE { ?u rdf:type ?e . VALUES ( ?e ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { VALUES ( ?q ) { ( ontology:musical_ensemble ) ( ontology:literary_work ) } . ?x rdf:type ?q } . ?x property:country_of_origin resource:United_States_of_America } } . FILTER ( ?l = ?v ) }
[]
designation for an administrative territorial entity literary work musical ensemble
SYSTEM
1
Q30
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q7725634
type Q2088357
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?l ) WHERE { ?u rdf:type ?e . VALUES ( ?e ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { VALUES ( ?q ) { ( ontology:Q2088357 ) ( ontology:Q7725634 ) } . ?x rdf:type ?q } . ?x property:P495 resource:Q30 } } . FILTER ( ?l = ?v ) }
United States of America
1
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type literary work
type musical ensemble
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?l ) WHERE { ?u rdf:type ?e . VALUES ( ?e ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { VALUES ( ?q ) { ( ontology:musical_ensemble ) ( ontology:literary_work ) } . ?x rdf:type ?q } . ?x property:country_of_origin resource:United_States_of_America } } . FILTER ( ?l = ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q16
P710
Q1190554
USER
How many events were United States of America and Canada a participant of ?
(c(Q1190554),P710,Q30) (c(Q1190554),P710,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q16
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q30'] [{'concept': 'Q1190554'}, 'P710', 'Q16']
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P710 resource:Q16 . ?y rdf:type ontology:Q1190554 . ?y property:P710 resource:Q30 . ?y rdf:type ontology:Q1190554 }
United States of America Canada
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation participant
type event
action filter_type
action find_reverse
entity Canada
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America'] [{'concept': 'event'}, 'participant', 'Canada']
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:participant resource:Canada . ?y rdf:type ontology:event . ?y property:participant resource:United_States_of_America . ?y rdf:type ontology:event }
[]
event
SYSTEM
2
Q218678 Q16470
(c(Q1190554),P710,Q30) (c(Q1190554),P710,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P710
type Q1190554
action filter_type
action find_reverse
entity Q16
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q30'] [{'concept': 'Q1190554'}, 'P710', 'Q16']
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P710 resource:Q16 . ?y rdf:type ontology:Q1190554 . ?y property:P710 resource:Q30 . ?y rdf:type ontology:Q1190554 }
North African Campaign Normandy landings
2
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation participant
type event
action filter_type
action find_reverse
entity Canada
relation participant
type event
[{'concept': 'event'}, 'participant', 'United States of America'] [{'concept': 'event'}, 'participant', 'Canada']
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:participant resource:Canada . ?y rdf:type ontology:event . ?y property:participant resource:United_States_of_America . ?y rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7810921 Q650558
P1412 P364
Q34770
USER
Which languages can John Exarch read or were used originally for the creation of To Every Man a Penny ?
OR((Q650558,P1412,c(Q34770)), (Q7810921,P364,c(Q34770)))
action filter_type
action union
action find
entity Q650558
relation P1412
action find
entity Q7810921
relation P364
type Q34770
{'OR': [['Q650558', 'P1412', {'concept': 'Q34770'}], ['Q7810921', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q650558 property:P1412 ?t } UNION { resource:Q7810921 property:P364 ?t } } . ?t rdf:type ontology:Q34770 }
To Every Man a Penny John Exarch
action filter_type
action union
action find
entity John Exarch
relation languages spoken, written or signed
action find
entity To Every Man a Penny
relation original language of work
type language
{'OR': [['John Exarch', 'languages spoken, written or signed', {'concept': 'language'}], ['To Every Man a Penny', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?t WHERE { { { resource:John_Exarch property:languages_spoken,_written_or_signed ?t } UNION { resource:To_Every_Man_a_Penny property:original_language_of_work ?t } } . ?t rdf:type ontology:language }
[]
language
Q1860 Q35499
SYSTEM
English, Old Church Slavonic
Q1860 Q35499
OR((Q650558,P1412,c(Q34770)), (Q7810921,P364,c(Q34770)))
action filter_type
action union
action find
entity Q650558
relation P1412
action find
entity Q7810921
relation P364
type Q34770
John Exarch can read used in [ANSWERS]
{'OR': [['Q650558', 'P1412', {'concept': 'Q34770'}], ['Q7810921', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q650558 property:P1412 ?t } UNION { resource:Q7810921 property:P364 ?t } } . ?t rdf:type ontology:Q34770 }
English Old Church Slavonic
John Exarch can read used in English and Old Church Slavonic
English Old Church Slavonic
action filter_type
action union
action find
entity John Exarch
relation languages spoken, written or signed
action find
entity To Every Man a Penny
relation original language of work
type language
{'OR': [['John Exarch', 'languages spoken, written or signed', {'concept': 'language'}], ['To Every Man a Penny', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?t WHERE { { { resource:John_Exarch property:languages_spoken,_written_or_signed ?t } UNION { resource:To_Every_Man_a_Penny property:original_language_of_work ?t } } . ?t rdf:type ontology:language }
[]