Simple Question (Direct)
Simple Question
Q16189681
P102
Q7278
USER
Which political party is Ramon Companys i Sanfeliu a member of ?
(Q16189681,P102,c(Q7278))
action filter_type
action find
entity Q16189681
relation P102
type Q7278
['Q16189681', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?h WHERE { resource:Q16189681 property:P102 ?h . ?h rdf:type ontology:Q7278 }
Ramon Companys i Sanfeliu
action filter_type
action find
entity Ramon Companys i Sanfeliu
relation member of political party
type political party
['Ramon Companys i Sanfeliu', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?h WHERE { resource:Ramon_Companys_i_Sanfeliu property:member_of_political_party ?h . ?h rdf:type ontology:political_party }
[]
political party
Q1129443
SYSTEM
Democratic Convergence of Catalonia
Q1129443
(Q16189681,P102,c(Q7278))
action filter_type
action find
entity Q16189681
relation P102
type Q7278
Party [ANSWER] is Ramon Companys i Sanfeliu a member of
['Q16189681', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?h WHERE { resource:Q16189681 property:P102 ?h . ?h rdf:type ontology:Q7278 }
Democratic Convergence of Catalonia
Party Democratic Convergence of Catalonia is Ramon Companys i Sanfeliu a member of
Democratic Convergence of Catalonia
action filter_type
action find
entity Ramon Companys i Sanfeliu
relation member of political party
type political party
['Ramon Companys i Sanfeliu', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?h WHERE { resource:Ramon_Companys_i_Sanfeliu property:member_of_political_party ?h . ?h rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1129443
P463
Q7278
USER
Which political party was that one a member of ?
(Q1129443,P463,c(Q7278))
action filter_type
action find
entity Q1129443
relation P463
type Q7278
['Q1129443', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?o WHERE { resource:Q1129443 property:P463 ?o . ?o rdf:type ontology:Q7278 }
Democratic Convergence of Catalonia
action filter_type
action find
entity Democratic Convergence of Catalonia
relation member of
type political party
['Democratic Convergence of Catalonia', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?o WHERE { resource:Democratic_Convergence_of_Catalonia property:member_of ?o . ?o rdf:type ontology:political_party }
[]
political party
Q25079
SYSTEM
Alliance of Liberals and Democrats for Europe Party
Q25079
(Q1129443,P463,c(Q7278))
action filter_type
action find
entity Q1129443
relation P463
type Q7278
The [ANSWER] was that one a member of
['Q1129443', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?o WHERE { resource:Q1129443 property:P463 ?o . ?o rdf:type ontology:Q7278 }
Alliance of Liberals and Democrats for Europe Party
The Alliance of Liberals and Democrats for Europe Party was that one a member of
Alliance of Liberals and Democrats for Europe Party
action filter_type
action find
entity Democratic Convergence of Catalonia
relation member of
type political party
['Democratic Convergence of Catalonia', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?o WHERE { resource:Democratic_Convergence_of_Catalonia property:member_of ?o . ?o rdf:type ontology:political_party }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q663461
Q7278
USER
And also tell me about Liberal Democratic Party of Moldova?
(Q663461,P463,c(Q7278))
action filter_type
action find
entity Q663461
relation P463
type Q7278
['Q663461', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { resource:Q663461 property:P463 ?s . ?s rdf:type ontology:Q7278 }
Liberal Democratic Party of Moldova
action filter_type
action find
entity Liberal Democratic Party of Moldova
relation member of
type political party
['Liberal Democratic Party of Moldova', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { resource:Liberal_Democratic_Party_of_Moldova property:member_of ?s . ?s rdf:type ontology:political_party }
[]
political party
Q208242
SYSTEM
European People's Party
Q208242
(Q663461,P463,c(Q7278))
action filter_type
action find
entity Q663461
relation P463
type Q7278
[ANSWER]
['Q663461', 'P463', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { resource:Q663461 property:P463 ?s . ?s rdf:type ontology:Q7278 }
European People's Party
European People's Party
action filter_type
action find
entity Liberal Democratic Party of Moldova
relation member of
type political party
['Liberal Democratic Party of Moldova', 'member of', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { resource:Liberal_Democratic_Party_of_Moldova property:member_of ?s . ?s rdf:type ontology:political_party }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P102
Q7278 Q502895
USER
Which political parties do lesser number of people belong to than that political party ?
(c(Q502895),P102,c(Q7278))
action less
action find_reverse_tuple_counts
relation P102
type Q7278
type Q502895
action count
action filter_type
action find_reverse
entity Q208242
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P102 resource:Q208242 . ?d rdf:type ontology:Q502895 } } . FILTER ( ?a < ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P102 ?r . ?s rdf:type ontology:Q502895 . ?r rdf:type ontology:Q7278 } GROUP BY ?r } }
action less
action find_reverse_tuple_counts
relation member of political party
type political party
type common name
action count
action filter_type
action find_reverse
entity European People's Party
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:member_of_political_party resource:European_People's_Party . ?d rdf:type ontology:common_name } } . FILTER ( ?a < ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:member_of_political_party ?r . ?s rdf:type ontology:common_name . ?r rdf:type ontology:political_party } GROUP BY ?r } }
[]
political party common name
Q950179 Q155820 Q208602
SYSTEM
European Green Party, Constitutional Democratic Party, Pirate Party
Q3395191 Q627213 Q3572851 Q3121556 Q950179 Q504000 Q3751152 Q1470891 Q3322477 Q1359816 Q4891011 Q847914 Q2576679 Q507226 Q438783 Q2575714 Q3122372 Q25079 Q3045391 Q426963 Q3322686 Q5603035 Q3392277 Q3366659 Q3133199 Q2395103 Q1351963 Q2366462 Q155820 Q5033985 Q1104327 Q2590329 Q1987660 Q173236 Q2386352 Q1574974 Q208602 Q3327928 Q586066 Q50572 Q9056182 Q4229909 Q1672366 Q3395162 Q2054444 Q429078 Q1437906 Q3306974 Q9056341 Q734792 Q325413 Q1069440 Q2165306 Q3326408 Q1252274 Q321633 Q1339294 Q305317 Q2257766 Q1796243 Q1120586 Q463318 Q1029761 Q2118395 Q1325836 Q9056254 Q2203833 Q2876738 Q1133908 Q1089640 Q3739119 Q617261 Q3813847 Q794247 Q453366 Q777074 Q487386 Q2096660 Q198403 Q209546 Q1957214 Q3326258 Q3366589 Q580690 Q3306652 Q2054574 Q581186 Q5291 Q506537 Q742912 Q3049400 Q1778910 Q3322771 Q1459085 Q3330925 Q611548 Q2099347 Q280901 Q3079953 Q3366598 Q5116193 Q965481 Q639383 Q1972750 Q625556 Q606955 Q1465376 Q3322584 Q452571 Q321673 Q18511333 Q3347945 Q3134856 Q3328040 Q3571603 Q3181825 Q499632 Q3567486 Q2597196 Q3175770 Q600703 Q8347650 Q3133165
(c(Q502895),P102,c(Q7278))
action less
action find_reverse_tuple_counts
relation P102
type Q7278
type Q502895
action count
action filter_type
action find_reverse
entity Q208242
relation P102
type Q502895
[ANSWERS] lesser number of people belong to than that political party
[{'concept': 'Q502895'}, 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P102 resource:Q208242 . ?d rdf:type ontology:Q502895 } } . FILTER ( ?a < ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:P102 ?r . ?s rdf:type ontology:Q502895 . ?r rdf:type ontology:Q7278 } GROUP BY ?r } }
Liberal Democratic Party (Spain) Workers' Party of Ethiopia Aragon's Socialists' Party Syndicalist Party European Green Party Communist Party of Brazil Democrats Convergence of Navarre Union of October 17 Party of the Communists of Catalonia Communist Party of Thailand Extremaduran Coalition Communist Party of Venezuela Communist Party of Greece (Marxist–Leninist) Riojan Party Democratic Alternative Green Party of Quebec Galician Socialist Party Alliance of Liberals and Democrats for Europe Party Ezker Batua – Berdeak Communist Party of Nepal Liberal Party Green Party of Prince Edward Island People's Party (Spain, 1976) Russian Party Revolutionary Communist League Pridnestrovie Communist Party Citizenship, Action, Participation for the 21st Century Regionalist Party of Cantabria Constitutional Democratic Party Cantonal Party Canarian Coalition Communist Party of Australia Green Confederation Convergence for the Isles Communist Party of the People of Spain Pirate Party UK Pirate Party Anova-Nationalist Brotherhood Tunisian Communist Party Pirate Party Christian Democratic Party Communist Party of the Russian Soviet Federative Socialist Republic Iraqi Communist Party Socialist Action Party (Spain) Communist Party of Réunion PSUC viu Asturias Forum Galician Nationalist Party-Galicianist Party Partido Socialista de los Trabajadores (Spain) European Democratic Party Communist Party of Belarus Pirate Party of Russia People's Alliance Communist Party of the Valencian Country Independent Democratic Party Communist Party of Germany (1990) Tudeh Party of Iran South African Communist Party Spanish Communist Workers' Party Tasmanian Greens Communist Party of Australia Movement of Unitarian Communists Euskal Herria Bildu Algerian Communist Party Communist Party of Slovakia People's Party of Cantabria Sudanese Communist Party Democratic Left Pirate Party of the Netherlands Chunta Aragonesista Communist Party Political Party of Radicals Proletarian Catalan Party Partíu Asturianista Family Party of Germany Communist Party of Burma Party of Bible-abiding Christians Pirate Party Saarland Pirate Party Iceland Batasuna Syrian Communist Party Communist Party of Galicia Pirate Party (Tunisia) Union of the Russian People Galician Coalition Aragonese Party Communist Party of Albania Pirate Party Unified Communist Party of Nepal Independent Workers' Party of Germany Carlist Party Popular Socialist Party Euskal Iraultzarako Alderdia Pirate Party United Extremadura Bildu Azerbaijan Communist Party People's Party of Aragon Pirate Party Luxembourg People's Party of Navarre Communist Party of the Karelo-Finnish Soviet Socialist Republic Communist Party European Free Alliance Peruvian Communist Party Aralar Party Communist Party of South Ossetia Communist Party of Lithuania Republican Left of the Valencian Country Amaiur Communist Party of Luxembourg VZDOR - strana práce Socialist Unity Centre of India Communist Party of Spain (Marxist–Leninist) National Front of Catalonia Socialist Party of Aragon Revolutionary Communist Party Marxist–Leninist Party of Germany Western Block Party Brazilian Communist Party Communist Party of Spain (Reconstituted) Communist Party of Sri Lanka Unitarian Candidacy of Workers Workers' Party of Spain – Communist Unity
European Green Party, Constitutional Democratic Party and Pirate Party lesser number of people belong to than that political party
European Green Party Constitutional Democratic Party Pirate Party
action less
action find_reverse_tuple_counts
relation member of political party
type political party
type common name
action count
action filter_type
action find_reverse
entity European People's Party
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:member_of_political_party resource:European_People's_Party . ?d rdf:type ontology:common_name } } . FILTER ( ?a < ?x ) . { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?a ) WHERE { ?s property:member_of_political_party ?r . ?s rdf:type ontology:common_name . ?r rdf:type ontology:political_party } GROUP BY ?r } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7331547
P110
Q502895 Q234460 Q26971562
USER
Which people illustrated greater number of texts or comic formats than Rick Leonardi ?
(c(Q234460)|c(Q26971562),P110,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action count
action filter_multi_types
action find_reverse
entity Q7331547
relation P110
type Q234460
type Q26971562
[[{'concept': 'Q234460'}, {'concept': 'Q26971562'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?o WHERE { { ?p property:P110 ?o . ?o rdf:type ontology:Q502895 . ?p rdf:type ontology:Q234460 } UNION { ?p property:P110 ?o . ?o rdf:type ontology:Q502895 . ?p rdf:type ontology:Q26971562 } } GROUP BY ?o } . FILTER ( ?b > ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P110 resource:Q7331547 . { { ?c rdf:type ontology:Q234460 } UNION { ?c rdf:type ontology:Q26971562 } } } } }
Rick Leonardi
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action count
action filter_multi_types
action find_reverse
entity Rick Leonardi
relation illustrator
type text
type comic format
[[{'concept': 'text'}, {'concept': 'comic format'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?o WHERE { { ?p property:illustrator ?o . ?o rdf:type ontology:common_name . ?p rdf:type ontology:text } UNION { ?p property:illustrator ?o . ?o rdf:type ontology:common_name . ?p rdf:type ontology:comic_format } } GROUP BY ?o } . FILTER ( ?b > ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:illustrator resource:Rick_Leonardi . { { ?c rdf:type ontology:text } UNION { ?c rdf:type ontology:comic_format } } } } }
[]
common name text comic format
Q1153256 Q551359 Q390904
SYSTEM
Robert Lawson, Go Nagai, Luc-Olivier Merson
Q390904 Q183245 Q11264875 Q7026779 Q27042725 Q7340147 Q118342 Q201157 Q378710 Q3509579 Q1441469 Q282121 Q374823 Q544975 Q313945 Q7182001 Q5721334 Q2535205 Q3272581 Q274909 Q272324 Q384225 Q8257263 Q729902 Q354371 Q3159789 Q6256932 Q57971 Q11462733 Q17284472 Q239144 Q5364832 Q311704 Q6224222 Q467427 Q6787709 Q5363905 Q27067551 Q551359 Q999229 Q610576 Q27031075 Q3018977 Q966547 Q313703 Q1153256 Q215724 Q11644966 Q5645581 Q3526691 Q8973188 Q7426424 Q6252938 Q7366035
(c(Q234460)|c(Q26971562),P110,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action count
action filter_multi_types
action find_reverse
entity Q7331547
relation P110
type Q234460
type Q26971562
[ANSWERS] illustrated greater number of texts or comic formats than Rick Leonardi
[[{'concept': 'Q234460'}, {'concept': 'Q26971562'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?o WHERE { { ?p property:P110 ?o . ?o rdf:type ontology:Q502895 . ?p rdf:type ontology:Q234460 } UNION { ?p property:P110 ?o . ?o rdf:type ontology:Q502895 . ?p rdf:type ontology:Q26971562 } } GROUP BY ?o } . FILTER ( ?b > ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:P110 resource:Q7331547 . { { ?c rdf:type ontology:Q234460 } UNION { ?c rdf:type ontology:Q26971562 } } } } }
Luc-Olivier Merson George Frederic Watts Akira Kiduki Nick Bertozzi Richard Forgues Rob G. Rotraut Susanne Berner George Roux Katsuhiro Otomo Jules Férat Francis Donkin Bedford Yoshiyuki Sadamoto Kōshi Rikudō Mike Mignola Gosho Aoyama Phil Hester Henry Flint Enrico Mazzanti Takao Aoki Émile Bayard Masami Tsuda Eduardo Risso Mikhail Filippovich David Lloyd Jean-Jacques Sempé Jacques Poirier John Schoenherr Cornelia Funke Masumi Ozawa Patric Reynolds Sidney Paget Ellen Forney Jeff Kinney John Byrne Utagawa Kunisada Mato Yoshiaki Sukeno Bill Maus Go Nagai Sakura Asagi Yūji Iwahara Agustin Alessio David Wenzel Léon Benett Takeshi Obata Robert Lawson Heinrich Hoffmann Takeshi Nogami Hammatt Billings Théophile Schuler Hiroo Isono Satoshi Yamamoto John Pine Ronnie del Carmen
Robert Lawson, Go Nagai and Luc-Olivier Merson illustrated greater number of texts or comic formats than Rick Leonardi
Robert Lawson Go Nagai Luc-Olivier Merson
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action count
action filter_multi_types
action find_reverse
entity Rick Leonardi
relation illustrator
type text
type comic format
[[{'concept': 'text'}, {'concept': 'comic format'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) ?o WHERE { { ?p property:illustrator ?o . ?o rdf:type ontology:common_name . ?p rdf:type ontology:text } UNION { ?p property:illustrator ?o . ?o rdf:type ontology:common_name . ?p rdf:type ontology:comic_format } } GROUP BY ?o } . FILTER ( ?b > ?w ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c property:illustrator resource:Rick_Leonardi . { { ?c rdf:type ontology:text } UNION { ?c rdf:type ontology:comic_format } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q314938
P110
Q502895 Q234460 Q26971562
USER
And how about Arthur Rackham?
(c(Q234460)|c(Q26971562),P110,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action count
action filter_multi_types
action find_reverse
entity Q314938
relation P110
type Q234460
type Q26971562
[[{'concept': 'Q234460'}, {'concept': 'Q26971562'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:P110 ?c . ?c rdf:type ontology:Q502895 . ?h rdf:type ontology:Q234460 } UNION { ?h property:P110 ?c . ?c rdf:type ontology:Q502895 . ?h rdf:type ontology:Q26971562 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P110 resource:Q314938 . { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:Q26971562 ) ( ontology:Q234460 ) } } } } . FILTER ( ?s > ?t ) }
Arthur Rackham
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action count
action filter_multi_types
action find_reverse
entity Arthur Rackham
relation illustrator
type text
type comic format
[[{'concept': 'text'}, {'concept': 'comic format'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:illustrator ?c . ?c rdf:type ontology:common_name . ?h rdf:type ontology:text } UNION { ?h property:illustrator ?c . ?c rdf:type ontology:common_name . ?h rdf:type ontology:comic_format } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:illustrator resource:Arthur_Rackham . { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:comic_format ) ( ontology:text ) } } } } . FILTER ( ?s > ?t ) }
[]
common name text comic format
Q1153256 Q551359 Q390904
SYSTEM
Robert Lawson, Go Nagai, Luc-Olivier Merson
Q390904 Q183245 Q11264875 Q7026779 Q27042725 Q7340147 Q118342 Q201157 Q378710 Q3509579 Q1441469 Q282121 Q374823 Q544975 Q313945 Q7182001 Q5721334 Q2535205 Q3272581 Q274909 Q272324 Q384225 Q8257263 Q729902 Q354371 Q3159789 Q6256932 Q57971 Q11462733 Q17284472 Q239144 Q5364832 Q311704 Q6224222 Q467427 Q6787709 Q5363905 Q27067551 Q551359 Q999229 Q610576 Q27031075 Q3018977 Q966547 Q313703 Q1153256 Q215724 Q11644966 Q5645581 Q3526691 Q8973188 Q7426424 Q6252938 Q7366035
(c(Q234460)|c(Q26971562),P110,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action count
action filter_multi_types
action find_reverse
entity Q314938
relation P110
type Q234460
type Q26971562
[ANSWERS]
[[{'concept': 'Q234460'}, {'concept': 'Q26971562'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:P110 ?c . ?c rdf:type ontology:Q502895 . ?h rdf:type ontology:Q234460 } UNION { ?h property:P110 ?c . ?c rdf:type ontology:Q502895 . ?h rdf:type ontology:Q26971562 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P110 resource:Q314938 . { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:Q26971562 ) ( ontology:Q234460 ) } } } } . FILTER ( ?s > ?t ) }
Luc-Olivier Merson George Frederic Watts Akira Kiduki Nick Bertozzi Richard Forgues Rob G. Rotraut Susanne Berner George Roux Katsuhiro Otomo Jules Férat Francis Donkin Bedford Yoshiyuki Sadamoto Kōshi Rikudō Mike Mignola Gosho Aoyama Phil Hester Henry Flint Enrico Mazzanti Takao Aoki Émile Bayard Masami Tsuda Eduardo Risso Mikhail Filippovich David Lloyd Jean-Jacques Sempé Jacques Poirier John Schoenherr Cornelia Funke Masumi Ozawa Patric Reynolds Sidney Paget Ellen Forney Jeff Kinney John Byrne Utagawa Kunisada Mato Yoshiaki Sukeno Bill Maus Go Nagai Sakura Asagi Yūji Iwahara Agustin Alessio David Wenzel Léon Benett Takeshi Obata Robert Lawson Heinrich Hoffmann Takeshi Nogami Hammatt Billings Théophile Schuler Hiroo Isono Satoshi Yamamoto John Pine Ronnie del Carmen
Robert Lawson Go Nagai Luc-Olivier Merson
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type text
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action count
action filter_multi_types
action find_reverse
entity Arthur Rackham
relation illustrator
type text
type comic format
[[{'concept': 'text'}, {'concept': 'comic format'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?s ) WHERE { { ?h property:illustrator ?c . ?c rdf:type ontology:common_name . ?h rdf:type ontology:text } UNION { ?h property:illustrator ?c . ?c rdf:type ontology:common_name . ?h rdf:type ontology:comic_format } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:illustrator resource:Arthur_Rackham . { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:comic_format ) ( ontology:text ) } } } } . FILTER ( ?s > ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1142
Q1047113 Q7257 Q7278
USER
Which political parties promote approximately 4 special fields or ideologies ?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
value 4
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?l WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } GROUP BY ?l } . FILTER ( ?d = 4 ) }
action approx
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
value 4
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?l WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:special_field ) ( ontology:ideology ) } } GROUP BY ?l } . FILTER ( ?d = 4 ) }
[]
special field ideology political party
Q653566 Q130761
SYSTEM
European National Front, Popular Unity Candidates
Q653566 Q130761
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
value 4
[ANSWERS] promote approximately 4 special fields or ideologies
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?l WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1047113 ) ( ontology:Q7257 ) } } GROUP BY ?l } . FILTER ( ?d = 4 ) }
European National Front Popular Unity Candidates
European National Front and Popular Unity Candidates promote approximately 4 special fields or ideologies
European National Front Popular Unity Candidates
action approx
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
value 4
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?l WHERE { ?u rdf:type ?c . VALUES ( ?c ) { ( ontology:special_field ) ( ontology:ideology ) } } GROUP BY ?l } . FILTER ( ?d = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q551359
P27
Q15617994
USER
Which administrative territory is Go Nagai a civilian of ?
(Q551359,P27,c(Q15617994))
action filter_type
action find
entity Q551359
relation P27
type Q15617994
['Q551359', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q551359 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Go Nagai
action filter_type
action find
entity Go Nagai
relation country of citizenship
type designation for an administrative territorial entity
['Go Nagai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Go_Nagai property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q551359,P27,c(Q15617994))
action filter_type
action find
entity Q551359
relation P27
type Q15617994
[ANSWER] is Go Nagai a civilian of
['Q551359', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q551359 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Japan
Japan is Go Nagai a civilian of
Japan
action filter_type
action find
entity Go Nagai
relation country of citizenship
type designation for an administrative territorial entity
['Go Nagai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Go_Nagai property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q551359
P50
Q26971562
USER
Which comic formats have that person as their author ?
(c(Q26971562),P50,Q17)
action filter_type
action find_reverse
entity Q551359
relation P50
type Q26971562
[{'concept': 'Q26971562'}, 'P50', 'Q17']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q551359 . ?n rdf:type ontology:Q26971562 }
Go Nagai
action filter_type
action find_reverse
entity Go Nagai
relation author
type comic format
[{'concept': 'comic format'}, 'author', 'Japan']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Go_Nagai . ?n rdf:type ontology:comic_format }
[]
comic format
Q3821572 Q2255268 Q933754
SYSTEM
Oira Sukeban, Violence Jack, The Abashiri Family
Q3699787 Q7425927 Q371737 Q3699791 Q3699792 Q4780141 Q4023565 Q3821572 Q5554542 Q933754 Q3614496 Q4858071 Q2075324 Q3853251 Q3853247 Q6072869 Q2255268 Q2616292 Q7505626 Q7489396 Q546412
(c(Q26971562),P50,Q17)
action filter_type
action find_reverse
entity Q551359
relation P50
type Q26971562
[ANSWERS] have that person as their author
[{'concept': 'Q26971562'}, 'P50', 'Q17']
SELECT DISTINCT ?n WHERE { ?n property:P50 resource:Q551359 . ?n rdf:type ontology:Q26971562 }
Cutie Honey Tennyo Densetsu Satanikus ENMA Kerberos Susano Oh Cutie Honey Seed Cutie Honey a Go Go! Apocrypha Getter Robot Dash Z Mazinger Oira Sukeban Getter Robo Hien: The Earth Suicide The Abashiri Family Amon: The Darkside of The Devilman Barabanba Kamasutra Mazinger Angels MazinSaga Iron Virgin Jun Violence Jack Demon Prince Enma Shutendoji Sharaku Dynamic Heroes
Oira Sukeban, Violence Jack and The Abashiri Family have that person as their author
Oira Sukeban Violence Jack The Abashiri Family
action filter_type
action find_reverse
entity Go Nagai
relation author
type comic format
[{'concept': 'comic format'}, 'author', 'Japan']
SELECT DISTINCT ?n WHERE { ?n property:author resource:Go_Nagai . ?n rdf:type ontology:comic_format }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P800
Q26971562 Q502895
USER
How many comic formats were done by approximately the same number of people as that comic format ?
(c(Q502895),P800,c(Q26971562))
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q26971562'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q26971562 }
[{'concept': 'common name'}, 'notable work', {'concept': 'comic format'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:comic_format }
[]
comic format common name
Comparative|Count over More/Less|Single entity type|Clarification
Q2255268
SYSTEM
Did you mean Violence Jack ?
(c(Q502895),P800,c(Q26971562))
[ANSWER]
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q26971562'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q26971562 }
Did you mean Violence Jack ?
Violence Jack
[{'concept': 'common name'}, 'notable work', {'concept': 'comic format'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:comic_format }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant The Abashiri Family. Could you tell me the answer for that?
(c(Q502895),P800,c(Q26971562))
Q933754
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q26971562'}]
[{'concept': 'common name'}, 'notable work', {'concept': 'comic format'}]
[]
SYSTEM
261
Q1075627 Q91495 Q7239801 Q467854 Q11287669 Q11673838 Q571579 Q3269889 Q2571991 Q11252563 Q586025 Q1072982 Q1399747 Q530189 Q2553829 Q684234 Q6141989 Q11265904 Q11666007 Q5348960 Q1005417 Q3792196 Q1192337 Q15726991 Q4184099 Q444346 Q2294784 Q91499 Q17225649 Q181357 Q953418 Q2526791 Q1249504 Q3005474 Q6305244 Q987853 Q1096677 Q5509559 Q7561936 Q91486 Q11612084 Q1238117 Q1185573 Q17228387 Q2662527 Q4040643 Q21208411 Q11378255 Q15707857 Q11419096 Q369744 Q1321751 Q2709355 Q2702432 Q11580762 Q663521 Q5069754 Q354253 Q11264576 Q3200563 Q3192534 Q5652561 Q4006788 Q710983 Q11272346 Q5520529 Q1170375 Q2526745 Q1643098 Q1300230 Q74431 Q11327171 Q7400123 Q584640 Q11525269 Q1005595 Q3275113 Q862952 Q11338975 Q649683 Q390279 Q4778612 Q1132540 Q11269741 Q3681225 Q1244799 Q2228186 Q1154421 Q1002695 Q5574520 Q4801225 Q2703745 Q488129 Q7072682 Q10942179 Q11458716 Q2058859 Q5228423 Q18338751 Q1816535 Q2745366 Q7966842 Q6739902 Q1960006 Q11589841 Q21002907 Q6886986 Q891232 Q1502300 Q18338746 Q7462976 Q11335035 Q2157697 Q11457842 Q3469456 Q1033694 Q11431512 Q1087568 Q845541 Q5131737 Q2255268 Q8047861 Q5501154 Q1208940 Q3992302 Q2017479 Q128444 Q669980 Q1314529 Q2671463 Q15059206 Q7499487 Q901608 Q2664035 Q16949586 Q6810745 Q27331726 Q2438487 Q7074643 Q4347 Q2599591 Q3665579 Q196874 Q3335669 Q3545148 Q16951082 Q2076869 Q11190870 Q1609057 Q933754 Q11260245 Q1067595 Q1041848 Q7246782 Q4049046 Q11677767 Q11611205 Q2034560 Q11332236 Q2983605 Q1966061 Q666974 Q11275285 Q11222600 Q4049269 Q2518504 Q483596 Q1418748 Q11298761 Q5944324 Q11673799 Q229817 Q3064039 Q11143918 Q7903287 Q903394 Q3544409 Q3016534 Q1314519 Q5016138 Q11327985 Q1283516 Q2671498 Q5237285 Q1403072 Q7763060 Q2424108 Q7813862 Q4006634 Q185311 Q6786550 Q3201029 Q3550841 Q1091891 Q5765162 Q1067962 Q3950722 Q27536445 Q3543637 Q836448 Q5121608 Q1524267 Q1484093 Q2632121 Q1059238 Q838754 Q4033131 Q1202742 Q3192929 Q1428028 Q3276142 Q551631 Q2704803 Q842292 Q5638842 Q3106614 Q618976 Q3335074 Q11625343 Q2619950 Q13395985 Q3211164 Q11344543 Q670780 Q1753837 Q11386281 Q2910245 Q1329708 Q673036 Q1402335 Q16364167 Q11613601 Q3422758 Q1338432 Q3544898 Q1392162 Q11327594 Q11321852 Q1193452 Q18417065 Q4184431 Q200579 Q11328095 Q15945046 Q2701621 Q1139002 Q1117884 Q2060618 Q3201866 Q1131397 Q5961883 Q3225353 Q7304758 Q597280 Q3545956 Q547895 Q164883 Q3800829 Q2526419 Q2859932 Q1471094
(c(Q502895),P800,c(Q26971562))
[ANSWER]
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q26971562'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q26971562 }
Chocolate Cosmos Battle Angel Alita: Last Order Prefectural Earth Defense Force Poe no Ichizoku Intron Depot Majū Sensen Please Save My Earth GodHand Teru Yuria 100 Shiki VERSION Attack on Titan A Bride's Story Uncanny X-Men Super Mario-kun Lost Girls MÄR Omega Nononono GU-PAN! Taberemasen Eight Clouds Rising Naisho no Tsubomi Ifrit: Danzai no Enjin Disappearance Diary Dragon Head Break Shot Chocolat Ai Kora Appleseed The Harsh Story of a Manga Artist High Score Girl Beyond the Beyond Ice Blade Megatokyo Crows Shiroi Senshi Yamato Love-Berrish! Miyori no Mori Furiten-kun Sonnanja neyo Akira In Clothes Called Fat Dominion: Tank Police Dream Saga Keijo!!!!!!!! Aki Sora Hi Izuru Tokoro no Tenshi Black Blizzard Daida kyōshi Akiba, Shinken desu! Ichiba Kurogane wa Kasegitai Kigeki Shin Sōdai Kei Nozoki Ana They Were Eleven Sakura Diaries Drifters Sarusuberi Arisa Chameleon Orion Gaki-Dēka Kurozakuro Kamunagara Happy Cafe Itsuwaribito The Silent Service Tsuppari Momotarō Ganbare!! Tabuchi-kun!! Domu: A Child's Dream Kitchen Princess Sailor Moon M×0 Tonda Couple Bāi akko desu Saikyō! Toritsu Aoizaka Kōkō Yakyūbu Black Magic Tōkyōtokitakuakabane My Balls Addicted to Curry I Am a Hero Ballroom e Yōkoso W Juliet Yotsuba&! Aoi-chan Panic! Tenshi Nanka Ja Nai Sukkara-kaasan Clover Vagabond Ryūrōden Elementalors Karakuri Circus Go!! Southern Ice Hockey Club Artist Acro Earthian Red River OL Shinkaron Animal Land Chiisana koi no monogatari Multiple Personality Detective Psycho Toritsu Mizusho! Ningen Karimenchū Pastel No. 5 Waltz in a White Dress Makoto-chan Kyō, Koi o Hajimemasu From Kobe Fantasia Mobile Suit Crossbone Gundam Boku wa Imōto ni Koi o Suru The Tale of Genji New Game! Shakotan Boogie Blade Sangokushi Love Junkies Terashimachō kitan Salad Days Cantarella Yume Miru Taiyō Oresama Teacher Rakudai Ninja Rantarō Cleopatra DC Violence Jack Yamamoto Zenjirou to Moushimasu Freesia Koe de Oshigoto! Tokyo Friends Kamen Rider Spirits Watchmen Shishunki Miman Okotowari Happy World! Pretty Face Dandarin 101 Shizukanaru Don – Yakuza Side Story Usagi Yojimbo Mr. Fullswing Shutter Island Mel Kano Glamorous Lip Rokudenashi Blues Obatarian Barefoot Gen Honō no Tenkōsei Cesare Zetsuai 1989 Naniwa Kin'yūdō Swan Me and the Devil Blues Yu-Gi-Oh! R BAR Lemon Heart Rockin' Heaven The Abashiri Family With Liz Nosatsu Junkie From Eroica with Love Pro Wrestling Superstar Retsuden March Comes in Like a Lion Tasogare Ryūseigun Koe no Katachi Azumi Fantasista Urotsukidōji Nasu Black Bird Nonki-kun High Score Seikimatsu Leader den Takeshi! Spriggan Lillia and Treize Yellow Kunimitsunomatsuri Kings of My Love Magic Woman M 3×3 Eyes Ten Kono Sekai no Katasumi ni Utsurun Desu. Wild Life Gimmick! Cirque du Freak Kanon Cactus's Secret Babaa zone Eden: It's an Endless World! Muhyo & Roji's Bureau of Supernatural Investigation Maps Mobile Suit Gundam: The Origin The Secret Notes of Lady Kanoko Bremen Tokyo Crazy Paradise Usogui Watashi wa Shingō Material Puzzle Kyūkyoku Chōjin R ''Musashi #9'' Top 10 Himawari: Kenichi Legend Crest of the Royal Family Sasuke Shinigami Lovers Abu-san Kachō Kōsaku Shima Circuit no Ōkami Venus Capriccio G-Taste Bio Booster Armor Guyver Boys on the Run Dragon Zakura A Drifting Life Jin Karakuri Odette F3 The Legend of Kamui Umizaru Harlem Beat Whisper of the Heart Haguregumo Happy Mania Inspector Gourmet Nagatachō Strawberry Kyomu Senki Übel Blatt The Arrival Shin Takarajima Mob Psycho 100 Homunculus Love Celeb Nobunaga no Shinobi Oyasumi Punpun Angel Densetsu Astro Boy Kyō Kara Ore Wa!! Kakukaku Shikajika Terpsichora Red Raven Kaze to Ki no Uta Hybrid Child Fūma no Kojirō Bakuman Transistor Tea Set Dorabase Chin'yūki: Tarō to yukaina nakama-tachi King Golf Kiyoku Yawaku Barairo no Ashita Ōmuro-ke Saint Young Men AKB49: Ren'ai Kinshi Jōrei Crying Freeman Shonan Junai Gumi Love Being High School Debut Mahō no Iroha! Town of Evening Calm, Country of Cherry Blossoms Red Prowling Devil Cat Street Children of the Sea Real Initial D Inumarudashi Dengeki Daisy Arcana King of Thorn
261
[{'concept': 'common name'}, 'notable work', {'concept': 'comic format'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:comic_format }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q26824935 Q7331547
P1412 P364
Q34770
USER
Which languages can Rick Leonardi read and are the original languages of creation of Updates on the COPD gene list ?
AND((Q7331547,P1412,c(Q34770)), (Q26824935,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q7331547
relation P1412
action find
entity Q26824935
relation P364
type Q34770
{'AND': [['Q7331547', 'P1412', {'concept': 'Q34770'}], ['Q26824935', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?a WHERE { resource:Q7331547 property:P1412 ?a . resource:Q26824935 property:P364 ?a . ?a rdf:type ontology:Q34770 }
Updates on the COPD gene list Rick Leonardi
action filter_type
action intersection
action find
entity Rick Leonardi
relation languages spoken, written or signed
action find
entity Updates on the COPD gene list
relation original language of work
type language
{'AND': [['Rick Leonardi', 'languages spoken, written or signed', {'concept': 'language'}], ['Updates on the COPD gene list', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?a WHERE { resource:Rick_Leonardi property:languages_spoken,_written_or_signed ?a . resource:Updates_on_the_COPD_gene_list property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q7331547,P1412,c(Q34770)), (Q26824935,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q7331547
relation P1412
action find
entity Q26824935
relation P364
type Q34770
Rick Leonardi can read in [ANSWER] and are the original languages of creation of Updates on the COPD gene list
{'AND': [['Q7331547', 'P1412', {'concept': 'Q34770'}], ['Q26824935', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?a WHERE { resource:Q7331547 property:P1412 ?a . resource:Q26824935 property:P364 ?a . ?a rdf:type ontology:Q34770 }
English
Rick Leonardi can read in English and are the original languages of creation of Updates on the COPD gene list
English
action filter_type
action intersection
action find
entity Rick Leonardi
relation languages spoken, written or signed
action find
entity Updates on the COPD gene list
relation original language of work
type language
{'AND': [['Rick Leonardi', 'languages spoken, written or signed', {'concept': 'language'}], ['Updates on the COPD gene list', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?a WHERE { resource:Rick_Leonardi property:languages_spoken,_written_or_signed ?a . resource:Updates_on_the_COPD_gene_list property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1644430
P37
Q34770 Q1048835
USER
How many political territories have their official language as around the same number of languages as Monreal del Campo ?
(c(Q1048835),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q1644430
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?a ) WHERE { ?x property:P37 ?k . ?x rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q34770 } GROUP BY ?x } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q1644430 property:P37 ?e . ?e rdf:type ontology:Q1048835 } } }
Monreal del Campo
action count
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Monreal del Campo
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?a ) WHERE { ?x property:official_language ?k . ?x rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:language } GROUP BY ?x } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Monreal_del_Campo property:official_language ?e . ?e rdf:type ontology:political_territorial_entity } } }
[]
language political territorial entity
SYSTEM
40
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q1644430
relation P37
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?a ) WHERE { ?x property:P37 ?k . ?x rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q34770 } GROUP BY ?x } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Q1644430 property:P37 ?e . ?e rdf:type ontology:Q1048835 } } }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
40
action count
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Monreal del Campo
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?a ) WHERE { ?x property:official_language ?k . ?x rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:language } GROUP BY ?x } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { resource:Monreal_del_Campo property:official_language ?e . ?e rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q23635
P37
Q34770 Q1048835
USER
And also tell me about Bermuda?
(c(Q1048835),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q23635
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q23635 property:P37 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?q ) WHERE { ?r property:P37 ?m . ?m rdf:type ontology:Q34770 . ?r rdf:type ontology:Q1048835 } GROUP BY ?r } }
Bermuda
action count
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Bermuda
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Bermuda property:official_language ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?q ) WHERE { ?r property:official_language ?m . ?m rdf:type ontology:language . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?r } }
[]
language political territorial entity
SYSTEM
40
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action count
action approx
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q23635
relation P37
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q23635 property:P37 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?q ) WHERE { ?r property:P37 ?m . ?m rdf:type ontology:Q34770 . ?r rdf:type ontology:Q1048835 } GROUP BY ?r } }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
40
action count
action approx
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Bermuda
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Bermuda property:official_language ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?q ) WHERE { ?r property:official_language ?m . ?m rdf:type ontology:language . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q208242
P102
Q502895
USER
How many people belong to the political party named European People's Party ?
(c(Q502895),P102,Q208242)
action count
action filter_type
action find_reverse
entity Q208242
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q208242']
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:P102 resource:Q208242 . ?a rdf:type ontology:Q502895 }
European People's Party
action count
action filter_type
action find_reverse
entity European People's Party
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', "European People's Party"]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:member_of_political_party resource:European_People's_Party . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
8
Q535922 Q11816030 Q929248 Q79057 Q318940 Q3524349 Q12983 Q4937934
(c(Q502895),P102,Q208242)
action count
action filter_type
action find_reverse
entity Q208242
relation P102
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P102', 'Q208242']
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:P102 resource:Q208242 . ?a rdf:type ontology:Q502895 }
László Tőkés Petru Constantin Luhan Dacian Cioloş Richard Seeber Andris Piebalgs Thierry Jean-Pierre Herman Van Rompuy Bogusław Sonik
8
action count
action filter_type
action find_reverse
entity European People's Party
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', "European People's Party"]
SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:member_of_political_party resource:European_People's_Party . ?a rdf:type ontology:common_name }
[]