Simple Question (Direct)
Simple Question
Q1443182
P39
Q12737077
USER
Which occupation was a position occupied by Frank Ebel ?
(Q1443182,P39,c(Q12737077))
action filter_type
action find
entity Q1443182
relation P39
type Q12737077
['Q1443182', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q1443182 property:P39 ?g }
Frank Ebel
action filter_type
action find
entity Frank Ebel
relation position held
type occupation
['Frank Ebel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Frank_Ebel property:position_held ?g }
[]
occupation
Q18327335
SYSTEM
Member of the Abgeordnetenhaus of Berlin
Q18327335
(Q1443182,P39,c(Q12737077))
action filter_type
action find
entity Q1443182
relation P39
type Q12737077
[ANSWER] was a position occupied by Frank Ebel
['Q1443182', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q1443182 property:P39 ?g }
Member of the Abgeordnetenhaus of Berlin
Member of the Abgeordnetenhaus of Berlin was a position occupied by Frank Ebel
Member of the Abgeordnetenhaus of Berlin
action filter_type
action find
entity Frank Ebel
relation position held
type occupation
['Frank Ebel', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Frank_Ebel property:position_held ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1443182
P102
Q7278
USER
Which political party is that person a member of ?
(Q18327335,P102,c(Q7278))
action filter_type
action find
entity Q1443182
relation P102
type Q7278
['Q18327335', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?q WHERE { resource:Q1443182 property:P102 ?q . ?q rdf:type ontology:Q7278 }
Frank Ebel
action filter_type
action find
entity Frank Ebel
relation member of political party
type political party
['Member of the Abgeordnetenhaus of Berlin', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?q WHERE { resource:Frank_Ebel property:member_of_political_party ?q . ?q rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q18327335,P102,c(Q7278))
action filter_type
action find
entity Q1443182
relation P102
type Q7278
[ANSWER] is that person a member of
['Q18327335', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?q WHERE { resource:Q1443182 property:P102 ?q . ?q rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Social Democratic Party of Germany is that person a member of
Social Democratic Party of Germany
action filter_type
action find
entity Frank Ebel
relation member of political party
type political party
['Member of the Abgeordnetenhaus of Berlin', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?q WHERE { resource:Frank_Ebel property:member_of_political_party ?q . ?q rdf:type ontology:political_party }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q219477
P921
Q12737077 Q2342494 Q838948
USER
How many occupations were the main subjects of approximately the same number of collectables and works of art 's work as missionary ?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q219477
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?d rdf:type ?i } GROUP BY ?n } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P921 resource:Q219477 . { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } }
missionary
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity missionary
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?d rdf:type ?i } GROUP BY ?n } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:main_subject resource:missionary . { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } }
[]
occupation collectable work of art
SYSTEM
96
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q219477
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?d rdf:type ?i } GROUP BY ?n } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P921 resource:Q219477 . { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
96
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity missionary
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?d rdf:type ?i } GROUP BY ?n } . FILTER ( ?y = ?r ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:main_subject resource:missionary . { ?s rdf:type ?u . VALUES ( ?u ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q832188 Q1443182
P47 P27
Q1048835
USER
Which political territories are Frank Ebel an inhabitant of or share the border with Salduero ?
OR((Q1443182,P27,c(Q1048835)), (Q832188,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1443182
relation P27
action find
entity Q832188
relation P47
type Q1048835
{'OR': [['Q1443182', 'P27', {'concept': 'Q1048835'}], ['Q832188', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q1443182 property:P27 ?m } UNION { resource:Q832188 property:P47 ?m } } . ?m rdf:type ontology:Q1048835 }
Salduero Frank Ebel
action filter_type
action union
action find
entity Frank Ebel
relation country of citizenship
action find
entity Salduero
relation shares border with
type political territorial entity
{'OR': [['Frank Ebel', 'country of citizenship', {'concept': 'political territorial entity'}], ['Salduero', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Frank_Ebel property:country_of_citizenship ?m } UNION { resource:Salduero property:shares_border_with ?m } } . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q830571 Q985457 Q183 Q829758
SYSTEM
Vinuesa, Molinos de Duero, Germany, Covaleda
Q830571 Q985457 Q183 Q829758
OR((Q1443182,P27,c(Q1048835)), (Q832188,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1443182
relation P27
action find
entity Q832188
relation P47
type Q1048835
[ANSWERS] are Frank Ebel an inhabitant of or share the border with Salduero
{'OR': [['Q1443182', 'P27', {'concept': 'Q1048835'}], ['Q832188', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q1443182 property:P27 ?m } UNION { resource:Q832188 property:P47 ?m } } . ?m rdf:type ontology:Q1048835 }
Vinuesa Molinos de Duero Germany Covaleda
Vinuesa, Molinos de Duero, Germany and Covaleda are Frank Ebel an inhabitant of or share the border with Salduero
Vinuesa Molinos de Duero Germany Covaleda
action filter_type
action union
action find
entity Frank Ebel
relation country of citizenship
action find
entity Salduero
relation shares border with
type political territorial entity
{'OR': [['Frank Ebel', 'country of citizenship', {'concept': 'political territorial entity'}], ['Salduero', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Frank_Ebel property:country_of_citizenship ?m } UNION { resource:Salduero property:shares_border_with ?m } } . ?m rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P47
Q15617994 Q1048835
USER
How many administrative territories or political territories are next to the border of Germany ?
(c(Q15617994),P47,Q183) (c(Q1048835),P47,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P47
type Q1048835
[{'concept': 'Q15617994'}, 'P47', 'Q183'] [{'concept': 'Q1048835'}, 'P47', 'Q183']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?c ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?g rdf:type ?c }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation shares border with
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'political territorial entity'}, 'shares border with', 'Germany']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?c ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?g rdf:type ?c }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
12
Q142 Q213 Q55 Q40 Q13116 Q29999 Q32 Q31 Q36 Q35 Q191091 Q39
(c(Q15617994),P47,Q183) (c(Q1048835),P47,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q183
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q183'] [{'concept': 'Q1048835'}, 'P47', 'Q183']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?c ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?g rdf:type ?c }
France Czech Republic Netherlands Austria Benelux Kingdom of the Netherlands Luxembourg Belgium Poland Denmark Karlovy Vary Region Switzerland
12
action count
action union
action filter_type
action find_reverse
entity Germany
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Germany
relation shares border with
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Germany'] [{'concept': 'political territorial entity'}, 'shares border with', 'Germany']
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { VALUES ( ?c ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?g rdf:type ?c }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6142967 Q1443182
P27
Q1048835
USER
Which political territories are the native countriesof Frank Ebel or James Shanks ?
OR((Q1443182,P27,c(Q1048835)), (Q6142967,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1443182
relation P27
action find
entity Q6142967
relation P27
type Q1048835
{'OR': [['Q1443182', 'P27', {'concept': 'Q1048835'}], ['Q6142967', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1443182 property:P27 ?f } UNION { resource:Q6142967 property:P27 ?f } } . ?f rdf:type ontology:Q1048835 }
James Shanks Frank Ebel
action filter_type
action union
action find
entity Frank Ebel
relation country of citizenship
action find
entity James Shanks
relation country of citizenship
type political territorial entity
{'OR': [['Frank Ebel', 'country of citizenship', {'concept': 'political territorial entity'}], ['James Shanks', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Frank_Ebel property:country_of_citizenship ?f } UNION { resource:James_Shanks property:country_of_citizenship ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q1443182,P27,c(Q1048835)), (Q6142967,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1443182
relation P27
action find
entity Q6142967
relation P27
type Q1048835
[ANSWERS] are the native countriesof Frank Ebel or James Shanks
{'OR': [['Q1443182', 'P27', {'concept': 'Q1048835'}], ['Q6142967', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1443182 property:P27 ?f } UNION { resource:Q6142967 property:P27 ?f } } . ?f rdf:type ontology:Q1048835 }
New Zealand Germany
New Zealand and Germany are the native countriesof Frank Ebel or James Shanks
New Zealand Germany
action filter_type
action union
action find
entity Frank Ebel
relation country of citizenship
action find
entity James Shanks
relation country of citizenship
type political territorial entity
{'OR': [['Frank Ebel', 'country of citizenship', {'concept': 'political territorial entity'}], ['James Shanks', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Frank_Ebel property:country_of_citizenship ?f } UNION { resource:James_Shanks property:country_of_citizenship ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q36 Q183
P27
Q502895
USER
Which people are a native of Germany and Poland ?
AND((c(Q502895),P27,Q183), (c(Q502895),P27,Q36))
action filter_type
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q36
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q183'], [{'concept': 'Q502895'}, 'P27', 'Q36']]}
SELECT DISTINCT ?y WHERE { ?y property:P27 resource:Q36 . ?y property:P27 resource:Q183 . ?y rdf:type ontology:Q502895 }
Poland Germany
action filter_type
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Poland
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Germany'], [{'concept': 'common name'}, 'country of citizenship', 'Poland']]}
SELECT DISTINCT ?y WHERE { ?y property:country_of_citizenship resource:Poland . ?y property:country_of_citizenship resource:Germany . ?y rdf:type ontology:common_name }
[]
common name
Q118106 Q103074 Q95502 Q75862 Q102079 Q113711 Q2164799 Q89242 Q109918 Q97672
SYSTEM
Some of them are Julius Hermann Pinder, Reinhold Heidenstein, Carl Maria Splett, Claudia Ciesla, Rachel Dübendorfer, Thomas Cichon, Roman Komierowski, Sebastian von Rostock, Martin Kolsdorf, August Stapel
Q1328070 Q88791 Q68126 Q71161 Q68123 Q529451 Q106504 Q110789 Q95275 Q125078 Q155816 Q84829 Q103247 Q642432 Q102335 Q363513 Q92022 Q67196 Q73013 Q72544 Q120874 Q2522543 Q85351 Q13499737 Q100886 Q107540 Q1403111 Q121972 Q1633350 Q2587491 Q87252 Q63349 Q2331198 Q77692 Q77693 Q64804 Q1672599 Q1773473 Q22539 Q112134 Q112240 Q109344 Q1712077 Q104500 Q107243 Q104507 Q2218576 Q90517 Q101845 Q11765667 Q1639885 Q644323 Q91266 Q465759 Q1674596 Q214299 Q1894299 Q61710 Q4007657 Q113711 Q110266 Q1448854 Q213888 Q98577 Q154538 Q103796 Q891599 Q99161 Q529556 Q349446 Q213726 Q507433 Q101830 Q2331057 Q833041 Q436043 Q91507 Q163800 Q655728 Q70854 Q77425 Q319274 Q70859 Q826385 Q96862 Q62088 Q86472 Q373025 Q97688 Q120837 Q57920 Q96908 Q97682 Q1734189 Q596494 Q1932106 Q111560 Q88192 Q764347 Q96066 Q97666 Q2584327 Q67333 Q1929981 Q441929 Q384119 Q1781937 Q69756 Q61568 Q1465506 Q694909 Q57215 Q1730682 Q61962 Q696720 Q477242 Q97385 Q75197 Q1280690 Q62712 Q19960117 Q216274 Q104897 Q66406 Q99828 Q91948 Q77430 Q99826 Q833001 Q1614555 Q498268 Q77178 Q126948 Q1894640 Q820713 Q471642 Q686352 Q13411122 Q91930 Q110821 Q1617156 Q70810 Q110828 Q103008 Q1438183 Q891314 Q89737 Q1705758 Q57963 Q1434470 Q95267 Q84728 Q101439 Q114802 Q101431 Q71772 Q67034 Q809564 Q1906506 Q1539733 Q1672811 Q870804 Q100625 Q1986289 Q100931 Q547405 Q120746 Q21534011 Q87264 Q1330084 Q72207 Q4231635 Q85007 Q96117 Q98571 Q1676932 Q559779 Q70552 Q328497 Q1327901 Q1384302 Q64470 Q72683 Q109903 Q109901 Q108719 Q90111 Q531199 Q596532 Q72274 Q7847242 Q105453 Q29740 Q107236 Q65831 Q168085 Q1382929 Q706731 Q57245 Q326597 Q1701157 Q99204 Q91293 Q107911 Q91294 Q110255 Q1597333 Q553218 Q95884 Q106689 Q103769 Q78110 Q580102 Q62274 Q216516 Q103765 Q2338038 Q101827 Q101820 Q98203 Q329474 Q11729256 Q15709547 Q348840 Q547585 Q86864 Q2159941 Q121895 Q5117 Q76431 Q103814 Q95771 Q546988 Q33637 Q77410 Q103818 Q96877 Q107906 Q97672 Q87692 Q74345 Q1288368 Q99189 Q17313388 Q99186 Q552878 Q768865 Q875881 Q111551 Q878649 Q70346 Q710812 Q62796 Q60182 Q4124 Q63833 Q90158 Q88661 Q85237 Q495297 Q100201 Q73059 Q536454 Q76261 Q121913 Q121910 Q68968 Q121918 Q13422666 Q1321364 Q1712625 Q1358430 Q97090 Q107265 Q107261 Q540532 Q1441327 Q591693 Q879184 Q58811 Q91007 Q4308445 Q1370336 Q213933 Q74767 Q187839 Q109319 Q86122 Q62907 Q114703 Q315649 Q24946263 Q92493 Q1149654 Q1599494 Q2508281 Q2331037 Q1705067 Q91072 Q5792622 Q776600 Q125091 Q88765 Q872125 Q703757 Q317375 Q104505 Q63180 Q89612 Q107241 Q99494 Q84712 Q9255071 Q593480 Q114797 Q546535 Q114887 Q88233 Q1449570 Q64502 Q214949 Q72748 Q108746 Q57125 Q70236 Q14906214 Q119291 Q60946 Q1337077 Q875384 Q2417882 Q109918 Q134976 Q69770 Q677171 Q664590 Q118106 Q64778 Q315993 Q456138 Q109329 Q347513 Q71241 Q105445 Q109323 Q114844 Q186400 Q2058264 Q1704905 Q102079 Q66995 Q5086641 Q2691164 Q895740 Q110068 Q91288 Q9263021 Q108201 Q121884 Q61308 Q1608187 Q103771 Q103074 Q95775 Q448067 Q1531747 Q64046 Q66649 Q1705022 Q596168 Q98216 Q101814 Q95502 Q65963 Q53109 Q274373 Q1818810 Q102411 Q568282 Q102414 Q1617074 Q1539731 Q445345 Q596288 Q104889 Q1682128 Q110808 Q506997 Q67136 Q1449732 Q62006 Q1642970 Q103782 Q2344055 Q69223 Q69225 Q91629 Q956734 Q318270 Q101451 Q268484 Q111050 Q539916 Q95343 Q531386 Q237159 Q2064984 Q2408393 Q76713 Q1928784 Q89624 Q108742 Q174754 Q89622 Q108747 Q90148 Q120868 Q66451 Q1810393 Q98554 Q73098 Q1237838 Q1734890 Q3701280 Q216095 Q556074 Q96222 Q96639 Q96634 Q109885 Q105972 Q107253 Q76349 Q75094 Q98568 Q348811 Q105479 Q1656955 Q29193 Q105475 Q2619980 Q75917 Q216618 Q154303 Q105484 Q832051 Q214283 Q108552 Q214286 Q1705086 Q1433655 Q110271 Q125036 Q70935 Q78032 Q58834 Q96631 Q2331047 Q104907 Q99807 Q99806 Q313171 Q87717 Q75968 Q473356 Q63957 Q97211 Q11818035 Q97217 Q64106 Q72459 Q361768 Q97692 Q97693 Q73473 Q2627554 Q88227 Q73576 Q85802 Q84945 Q1607492 Q97673 Q1390246 Q75862 Q320666 Q15694594 Q62670 Q1326765 Q2164579 Q11835010 Q1601648 Q100544 Q63551 Q46238 Q7231 Q76938 Q1160478 Q2476671 Q99500 Q62701 Q2228389 Q70447 Q104883 Q104882 Q2164799 Q72639 Q72315 Q108217 Q99839 Q110231 Q99836 Q213618 Q126954 Q13099543 Q833014 Q810035 Q89242 Q104496 Q104491 Q44001 Q872802 Q809626 Q121984
AND((c(Q502895),P27,Q183), (c(Q502895),P27,Q36))
action filter_type
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q36
relation P27
type Q502895
[ANSWERS] are a native of Germany and Poland
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q183'], [{'concept': 'Q502895'}, 'P27', 'Q36']]}
SELECT DISTINCT ?y WHERE { ?y property:P27 resource:Q36 . ?y property:P27 resource:Q183 . ?y rdf:type ontology:Q502895 }
Eleonore Kalkowska Joachim Daniel von Jauch Felicia Langer Josef Klose Walter Bauer Michael Delura Frank Golczewski Dersław Schwenkfeld Aleksander Polaczek Johann Moritz von Strachwitz Sebastian Boenisch Karl-Heinz Hopp Ludwig Wolff Nikodem Caro Leni Alexander Judah Loew ben Bezalel Peter Sobotta Duke Adam of Württemberg Peter Crüger Bogusław Fryderyk Radziwiłł Georg Gottlieb Pusch Victor Ratka Heinrich Fritsch Brigitta Helbig-Mischewski Samuel Crellius Engelbert Miś Felicjan Niegolewski Otto Wagner Hubert Orłowski Wladislaus Wolszlegier Kasper Straube Adam Ledwoń Stanisław Nowicki Natalia Avelon Wilhelm Fürst von Radziwill Philipp Krementz Ireneusz Pacula Łukasz Augustyn Stanisław Motty Jan Fethke Wilhelm Henryk Minter Tilmann Wessel Louis Aronsohn Julian Stanisław Chełmicki Christoph von Rotenhan Joseph Christian zu Hohenlohe-Bartenstein Erwin Hasbach Samuel Luther Geret Antoni Stychel Jan Baczewski Maciej Szewczyk Sigismund Dziembowski-Pomian Dariusz Wosz Karl Godulla Jan Czochralski Israel Getzler Steffen Möller Marcus Piossek Burkhard Christoph von Münnich Valentinus Smalcius Thomas Cichon Andreas von Jerin Franz Sawicki John Maurice Hauke Antoni Janik Daniel Libeskind Arthur Pankratz Osyp Maszczak Mikołaj z Bolesławia Ulrich Borowka Adam Boguslaw Czartoryski Jankel Adler Matthias Ostrzolek Henryk Vogelsang Stanislaus Radkiewicz Rafael Kazior Natalie Augsburg Joseph Wulf Veit Stoss Dariusz Michalczewski Ferdinand von Roemer Johann Sigmund Deybel von Hammerau Stanislaw Kubicki Jacob Caro Bernhard von Wiecki Andreas Hakenberger Robert Remak Heinrich Koebner Adrian Grygiel Fryderyk Jerzy Tuve Paul Matting Joachim Frederick, Elector of Brandenburg Renate von Natzmer Karl Franz Neander von Petersheide Karola Bloch Anton von Taczanowski Mieczysław Kwilecki Ceslaus Gotthard von Schaffgotsch Gottfried Lengnich August Utta Karl Sapper Arnold Stapil Winfried Steffani Emil Hirschfeld Michael Kalkstein Halina Górecka Łukasz Szukała Konrad Blázek Henryk z Wierzbnej Tomasz Wałdoch Fritz Antek Berger Erich Juskowiak Alfred Flatow Karl Daczko Stanislaus Hosius Daniel Chodowiecki Aleksander Cichoń Gudrun Theuerkauff Alexander Famulla Teodor Jankowski Alexander Herr Peter Klimek Paul Grischok Felix von Barth Thomas Godoj Josef Deitmer Ludwik Adolf Neugebauer Johann Christoph Glaubitz Alfons Proske Karol Jablonski Michał Leon Sczaniecki Hans Tilkowski Angelique Kerber Bonawentura Hahn Marek Stebnicki Martin Kobylański Hans Ziglarski Sebastian Schindzielorz Adam Domogała Gottfried Ernst Groddeck Sigmund Nissenbaum Hiacynt von Jackowski Tiedemann Giese Franciszek Kuhschmalz Jarosław Lindner Walter Hoeft Boleslaw von Kossowski Władysław Denhoff Miecislaw von Moszcenski Johannes Hevelius Krzysztof Wilmanski Georg Gustav Fülleborn Benita von Falkenhayn Jerzy Maćków Władysław Mieczkowski Ferdinand Piontek Ernst Bogislaw von Croÿ Max Berg Bartosz Broniszewski Marceli Żółtowski Gotthold Starke Roman Teodor Stanisław Janta-Połczyński Robert Niestroj Franz Ursinus Lev Rebet Burchard Suhm Marcel Witeczek Carl Georg Friedrich von Flemming Hermann Grosser Julius Fromm Julian Franz Johann von Sass-Jaworski Henryka Beyer Jack Recknitz Monika Sozanska Johann von Sitsch Paul Mitzlaff Jacek Płachta Ernst Wilimowski Anni Friesinger-Postma Bogdan Wenta Magdalena Gryka Stephan Cäsar Zephirin Cegielski Tomasz Wylenzek Ernst Gaupp Karl Augustin Georg Scultetus Magdalena Parys Ludwig Lichtheim Erich Klossowski Anton Johannes Nepomucenus Wolszlegier Johannes Crellius Trude Guermonprez Julius Lippmann Karl Egon von Reitzenstein Walter Szołtysek Hans Hartwig von Beseler Zbigniew Tadeusz Kaczmarek Ewald Schulz Heinz Kwiatkowski Ernst Kummer Anton Möller Jędrzej Kasperczyk Henryk Bereska Florian Ungler Ahasver von Lehndorff Henryk Józef Nowacki Henning Iwen Ludwig Graeve Matthew of Kraków Bernard Chrzanowski Walenty Wojciech Fryderyk von Eickstedt Ferdynand Radziwiłł Bartlomiej Strobel Elisa Radziwill Joseph Klarwein Joseph Bitta Stefan Kéler Joseph Ambrosius Geritz Berthold Altaner Piotr II von Burgsdorff Hans Heinrich XV Juliusz Benda Paul Bokowski Adam Borzęcki Markus Brzenska Józef Kościelski Ben Shlomo Lipman-Heilprin Balthasar von Promnitz Eugen Polanski Johann Gottfried Galle Alfred Chłapowski Johannes Abezier Thomas Sobotzik Marcel Reich-Ranicki Reinbern Gerhard Scheffler Alfred Bielschowsky Franz Wosnitza August Stapel Jan Haller Daniel Gralath Leon von Czarlinski Rudolf Wiesner David Brembly Pieszko Waldemar Sorychta Augustinus Bludau Gregorius Thomas Ziegler Bernard z Wrocławia Janosch Dziwior Lucas David Arthur Nikutowski Tomasz Zdebel Johannes Zukertort Franciszek Smuda Melchior von Diepenbrock Christian Hefenbrock Johannes von Baysen Kasimir Graff Horst Szymaniak Anton Ferdinand von Rothkirch und Panten Karl Friedrich August Kahnis Olivia Spiker Albert Willimsky Emil Görlitz Leo Schubert Hermann Friedmann Hugo Althoff Ursula Fox Witold Skarżyński Julius Friedrich Roman Wójcicki Jan Mráz Georg Kleefeld Alexander Scultetus Frederick of Hesse-Darmstadt Franciszek Morawski Anton Maranski Joachim Philipkowski Gustav Freytag Hans Boner Klaus Bachmann Karl Kubicki Rudolf von Scheliha Cyprien Waldemar Słomiany Adam Weisskopf Szymon Bogumił Zug Carl Brockelmann Günther Trauer Adam Matuszczyk Melitta Sallai Bogdan Musial Czesław Stanjek Henryk Donimirski Valentin Faltin Stanislaus Wojtowski Józef Krzymiński John Herbinius Carl Hasse Adam Fiedler Arnold Hasse Ladislaus Pilars de Pilar Peter Peschel Martin Max Christian Kulik Cyrill von Korvin-Krasinski Kamil Glik Karol Wedel Ephraim Oloff Robert Spiske Gustaw Gizewiusz Estera Tenenbaum Lukas Sinkiewicz Maciej ze Środy Karina Krawczyk Georg Bender Leon Wegner Franz Xaver Biallas Ernst Barczewski Heinrich von Brühl Heinrich von Brandt Gustaw Adolf Sennewald Walther Hermann Nernst Joseph Hubert Reinkens Renata Al-Ghoul Celestyn Myślenta Martin Opitz Emil Czarliński Michał Bemben Theodor Kotulla Martin Kolsdorf Lukas Podolski Daniel Ernst Jablonski Stanislaus Kobierski Sebastian Tyrała Julius Hermann Pinder Zygmunt Chychła Paweł Thomik Olga Konon Herman z Pragi Wojciech Konstanty Breza Jan Muskata Adolf Kaschny Karol von Hohenzollern Anastasius Sedlag Harald Konopka Patryk Pysz Josef Jakubowicz Rachel Dübendorfer Adam Heinrich von Steinau Robert Kurnicki Edwin Henckel von Donnersmarck Michael Kutzop Matthias Plachta Alexander Moszkowski Franciszek Tim Wiktor Kulerski Dietrich von Bülow Adolf Bertram Herbert Doms Fryderyk II Sesselmann Reinhold Heidenstein Georg von Blumenthal Józef Szmidt Ignacy Łyskowski Andreas Deja Marcin Kromer Josef Kompalla Anton von Chlapowski Suzanna von Nathusius Joseph Kromolicki Carl Maria Splett Mietek Pemper Count Palatine Francis Louis of Neuburg Ewa Wiśnierska Leon Skórzewski Johann Thiel Paul Zielinski Paul Albert Ludwik Józef Walenty Jażdżewski Gotthold Rhode Bohdan Osadchuk Anton von Kalkstein Anton Ignaz Müntzer Jan Piecko Albrecht Block Richard Nowakowski Bartholomäus Keckermann Franz Xaver Seppelt Wojciech Korfanty Mariusz Strzałka Franz Dominik Almesloe Stefan Kwilecki Friedrich Scherfke Konrad Wysocki Lorenz Andrzej Buncol Waldemar Ksienzyk Christoph Emanuel von Schimonsky-Schimoni Helga Haase Kacper Przybyłko Darius Kampa André Hübner-Ochodlo Christoph Dabrowski Paul Freier Paweł Olszewski Thaddäus Zajaczkowski Albert Ludwig Sigesmund Neisser Michael Oscislawski John Stanislaw Kubary Adelbert Matthaei Michał Zieliński Władysław Niegolewski Paweł z Bancz Theofil Kupka Michael Gröll Paul Saladin Leonhardt Lea Grosse Edmund Radziwiłł Marcin Dunin Dominik Kruczek Alfred Kleindienst Maciej Mielżyński Philipp Gotthard von Schaffgotsch Kaspar Förster Paweł Pośpiech Carl Johann Christian Zimmermann Romuald Mainka Johann Balthasar Liesch von Hornau Ursula Katharina of Altenbockum Gerhard von Dönhoff Christian Gottfried Daniel Nees von Esenbeck Eugen Anton Theophil von Podbielski Marta Michna Adam Bodzek Adam Napieralski Titus Czartoryski Johann Peter Gustav Lejeune Dirichlet Karl Aulock Heinrich Emanuel Grabowski Rudolf Heidenhain Richard Holtze Piotr Trochowski Daniel Latussek Robert Wulnikowski Alois Friedrich von Brühl David Blacha Franz Leopold Lafontaine Josef Königsberg Alan Stulin Fritz Behrendt August Freyer Kevin Mirocha Efraim Szreger Eduard Strasburger Henryk Stroband Stanisław Chłapowski Bernd von Droste zu Hülshoff Jerzy Drewnowski Marian Blazinski Władysław Kozakiewicz Thomas Szczeponik Joseph Wittig Damian Halata Margareta Kozuch Christoph Hartknoch Piotr Sczypa Ludwik Mycielski Bogdan Musiol Georg Giese Adolf Froelich Joseph Wilhelm von Hohenzollern-Hechingen Henryk von Wacholz Karl Bogislaus Reichert Julius Dinder Jerzy Konikowski Laurentius Corvinus Hans Lukaschek Josef Jadassohn Henryk Nowara Natascha Niemczyk Holger Eckert Claudia Ciesla Jan Dołgowicz Lydia Benecke Heinrich Göppert Alexander von Gräve-Borek Roman Geszlecht Robert Tomaszek Hektor von Kwilecki Waldemar Podolski Henryk Grossman Filip Adamski Rosa Luxemburg August Heinrich Hoffmann von Fallersleben Daniel Dziwniel Ulrich Schrade Kaspar von Logau Bolesław Kominek Agnes of Babenberg Heinrich Förster Alfred von Scholtz Augustinus Rosentreter Roman Komierowski Herbert Czaja Ernst von Dobschütz Joseph Ferche Franz Adolf Namszanowski Grażyna Kania Joseph Knauer Duke Louis of Württemberg Norbert Rasch Katharina Nocun Jerzy Christ Basil Kerski Sebastian von Rostock Hanno Blaschke Rudolf Kühn Robert Felisiak Alfred Niepieklo Baruch Auerbach Josef Waida
Julius Hermann Pinder, Reinhold Heidenstein, Carl Maria Splett, Claudia Ciesla, Rachel Dübendorfer, Thomas Cichon, Roman Komierowski, Sebastian von Rostock, Martin Kolsdorf and August Stapel are a native of Germany and Poland
Julius Hermann Pinder Reinhold Heidenstein Carl Maria Splett Claudia Ciesla Rachel Dübendorfer Thomas Cichon Roman Komierowski Sebastian von Rostock Martin Kolsdorf August Stapel
action filter_type
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Poland
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Germany'], [{'concept': 'common name'}, 'country of citizenship', 'Poland']]}
SELECT DISTINCT ?y WHERE { ?y property:country_of_citizenship resource:Poland . ?y property:country_of_citizenship resource:Germany . ?y rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories do that person belong to ?
(Q103074,P27,c(Q15617994))
['Q103074', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q103074 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Reinhold Heidenstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Reinhold_Heidenstein property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q2164799
SYSTEM
Did you mean Roman Komierowski ?
(Q118106,P27,c(Q15617994)) (Q103074,P27,c(Q15617994)) (Q95502,P27,c(Q15617994)) (Q75862,P27,c(Q15617994)) (Q102079,P27,c(Q15617994)) (Q113711,P27,c(Q15617994)) (Q2164799,P27,c(Q15617994)) (Q89242,P27,c(Q15617994)) (Q109918,P27,c(Q15617994)) (Q97672,P27,c(Q15617994))
[ANSWER]
['Q118106', 'P27', {'concept': 'Q15617994'}] ['Q103074', 'P27', {'concept': 'Q15617994'}] ['Q95502', 'P27', {'concept': 'Q15617994'}] ['Q75862', 'P27', {'concept': 'Q15617994'}] ['Q102079', 'P27', {'concept': 'Q15617994'}] ['Q113711', 'P27', {'concept': 'Q15617994'}] ['Q2164799', 'P27', {'concept': 'Q15617994'}] ['Q89242', 'P27', {'concept': 'Q15617994'}] ['Q109918', 'P27', {'concept': 'Q15617994'}] ['Q97672', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q103074 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Roman Komierowski ?
Roman Komierowski
['Julius Hermann Pinder', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Reinhold Heidenstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Carl Maria Splett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Claudia Ciesla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Rachel Dübendorfer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thomas Cichon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Roman Komierowski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Sebastian von Rostock', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Martin Kolsdorf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['August Stapel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Reinhold_Heidenstein property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Reinhold Heidenstein. Could you tell me the answer for that?
(Q103074,P27,c(Q15617994))
Q103074
['Q103074', 'P27', {'concept': 'Q15617994'}]
['Reinhold Heidenstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q36
(Q103074,P27,c(Q15617994))
[ANSWER]
['Q103074', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q103074 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Poland
1
['Reinhold Heidenstein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Reinhold_Heidenstein property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q748455
P1303
Q34379 Q502895
USER
Which musical instruments are played by more number of people than cajón ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q748455
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Q748455 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?y } }
cajón
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cajón
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:cajón property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?y } }
[]
musical instrument common name
Q1178361 Q5994 Q81982
SYSTEM
davul, piano, harpsichord
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q5994 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q748455
relation P1303
type Q34379
[ANSWERS] are played by more number of people than cajón
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Q748455 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P1303 ?y . ?y rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?y } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki piano maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, piano and harpsichord are played by more number of people than cajón
davul piano harpsichord
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cajón
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:cajón property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . FILTER ( ?q > ?r ) . { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:instrument ?y . ?y rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q593995
P1303
Q34379 Q502895
USER
And what about player piano?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q593995
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?x ) WHERE { ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 . ?s property:P1303 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q593995 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?x > ?f ) }
player piano
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity player piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?x ) WHERE { ?s rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument . ?s property:instrument ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:player_piano property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?x > ?f ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q593995
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?x ) WHERE { ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 . ?s property:P1303 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q593995 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?x > ?f ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity player piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?x ) WHERE { ?s rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument . ?s property:instrument ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:player_piano property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?x > ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P47
Q15617994 Q7275
USER
How many administrative territories or states have a shared border with Germany ?
(Q183,P47,c(Q15617994)) (Q183,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q183
relation P47
type Q15617994
action filter_type
action find
entity Q183
relation P47
type Q7275
['Q183', 'P47', {'concept': 'Q15617994'}] ['Q183', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ontology:Q15617994 . resource:Q183 property:P47 ?n } UNION { ?n rdf:type ontology:Q7275 . resource:Q183 property:P47 ?n } }
Germany
action count
action union
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Germany
relation shares border with
type state
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:shares_border_with ?n } UNION { ?n rdf:type ontology:state . resource:Germany property:shares_border_with ?n } }
[]
designation for an administrative territorial entity state
SYSTEM
11
Q142 Q213 Q55 Q33946 Q29999 Q310293 Q32 Q31 Q36 Q39 Q16957
(Q183,P47,c(Q15617994)) (Q183,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q183
relation P47
type Q15617994
action filter_type
action find
entity Q183
relation P47
type Q7275
[ANSWER]
['Q183', 'P47', {'concept': 'Q15617994'}] ['Q183', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ontology:Q15617994 . resource:Q183 property:P47 ?n } UNION { ?n rdf:type ontology:Q7275 . resource:Q183 property:P47 ?n } }
France Czech Republic Netherlands Czechoslovakia Kingdom of the Netherlands Saar Protectorate Luxembourg Belgium Poland Switzerland East Germany
11
action count
action union
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Germany
relation shares border with
type state
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Germany', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:shares_border_with ?n } UNION { ?n rdf:type ontology:state . resource:Germany property:shares_border_with ?n } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6229859 Q2164799
P27
Q1048835
USER
Which political territories are Roman Komierowski or John Dougherty an inhabitant of ?
OR((Q2164799,P27,c(Q1048835)), (Q6229859,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2164799
relation P27
action find
entity Q6229859
relation P27
type Q1048835
{'OR': [['Q2164799', 'P27', {'concept': 'Q1048835'}], ['Q6229859', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q6229859 property:P27 ?p } UNION { resource:Q2164799 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
John Dougherty Roman Komierowski
action filter_type
action union
action find
entity Roman Komierowski
relation country of citizenship
action find
entity John Dougherty
relation country of citizenship
type political territorial entity
{'OR': [['Roman Komierowski', 'country of citizenship', {'concept': 'political territorial entity'}], ['John Dougherty', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:John_Dougherty property:country_of_citizenship ?p } UNION { resource:Roman_Komierowski property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q2164799,P27,c(Q1048835)), (Q6229859,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2164799
relation P27
action find
entity Q6229859
relation P27
type Q1048835
[ANSWERS] are Roman Komierowski or John Dougherty an inhabitant of
{'OR': [['Q2164799', 'P27', {'concept': 'Q1048835'}], ['Q6229859', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q6229859 property:P27 ?p } UNION { resource:Q2164799 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Australia Germany
Australia and Germany are Roman Komierowski or John Dougherty an inhabitant of
Australia Germany
action filter_type
action union
action find
entity Roman Komierowski
relation country of citizenship
action find
entity John Dougherty
relation country of citizenship
type political territorial entity
{'OR': [['Roman Komierowski', 'country of citizenship', {'concept': 'political territorial entity'}], ['John Dougherty', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:John_Dougherty property:country_of_citizenship ?p } UNION { resource:Roman_Komierowski property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12125310
P495
Q838948
USER
Do Just Like the Son have those political territories as their place of origin ?
(Q12125310,P495,Q408) (Q12125310,P495,Q183)
action is_in
entity prev_answer
action find
entity Q12125310
relation P495
['Q12125310', 'P495', 'Q408'] ['Q12125310', 'P495', 'Q183']
ASK WHERE { resource:Q12125310 property:P495 ?q . VALUES ( ?q ) { ( resource:Q408 ) ( resource:Q183 ) } }
Just Like the Son
action is_in
entity prev_answer
action find
entity Just Like the Son
relation country of origin
['Just Like the Son', 'country of origin', 'Australia'] ['Just Like the Son', 'country of origin', 'Germany']
ASK WHERE { resource:Just_Like_the_Son property:country_of_origin ?q . VALUES ( ?q ) { ( resource:Australia ) ( resource:Germany ) } }
[]
work of art
SYSTEM
NO
(Q12125310,P495,Q408) (Q12125310,P495,Q183)
action is_in
entity prev_answer
action find
entity Q12125310
relation P495
[ANSWER]
['Q12125310', 'P495', 'Q408'] ['Q12125310', 'P495', 'Q183']
ASK WHERE { resource:Q12125310 property:P495 ?q . VALUES ( ?q ) { ( resource:Q408 ) ( resource:Q183 ) } }
No
action is_in
entity prev_answer
action find
entity Just Like the Son
relation country of origin
['Just Like the Son', 'country of origin', 'Australia'] ['Just Like the Son', 'country of origin', 'Germany']
ASK WHERE { resource:Just_Like_the_Son property:country_of_origin ?q . VALUES ( ?q ) { ( resource:Australia ) ( resource:Germany ) } }
[]