Simple Question (Direct)
Simple Question
Q124674
P937
Q56061
USER
What is the work location of Eva Brunner ?
(Q124674,P937,c(Q56061))
action filter_type
action find
entity Q124674
relation P937
type Q56061
['Q124674', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q124674 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Eva Brunner
action filter_type
action find
entity Eva Brunner
relation work location
type administrative territorial entity
['Eva Brunner', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Eva_Brunner property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q124674,P937,c(Q56061))
action filter_type
action find
entity Q124674
relation P937
type Q56061
The work location of Eva Brunner is in [ANSWER]
['Q124674', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q124674 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Berlin
The work location of Eva Brunner is in Berlin
Berlin
action filter_type
action find
entity Eva Brunner
relation work location
type administrative territorial entity
['Eva Brunner', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Eva_Brunner property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q124674
P734
Q82799
USER
Who has the surname that person ?
(Q64,P734,c(Q82799))
action filter_type
action find
entity Q124674
relation P734
type Q82799
['Q64', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q82799 . resource:Q124674 property:P734 ?f }
Eva Brunner
action filter_type
action find
entity Eva Brunner
relation family name
type name
['Berlin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:name . resource:Eva_Brunner property:family_name ?f }
[]
name
Q2663861
SYSTEM
Brunner
Q2663861
(Q64,P734,c(Q82799))
action filter_type
action find
entity Q124674
relation P734
type Q82799
[ANSWER] has the surname that person
['Q64', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q82799 . resource:Q124674 property:P734 ?f }
Brunner
Brunner has the surname that person
Brunner
action filter_type
action find
entity Eva Brunner
relation family name
type name
['Berlin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:name . resource:Eva_Brunner property:family_name ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2663861 Q4724144
P734
Q502895
USER
Does Algernon Graves have that one as their family name ?
(Q4724144,P734,Q2663861)
action is_in
entity Q4724144
action find
entity Q2663861
relation P734
['Q4724144', 'P734', 'Q2663861']
ASK WHERE { resource:Q2663861 property:P734 resource:Q4724144 }
Brunner Algernon Graves
action is_in
entity Algernon Graves
action find
entity Brunner
relation family name
['Algernon Graves', 'family name', 'Brunner']
ASK WHERE { resource:Brunner property:family_name resource:Algernon_Graves }
[]
common name
SYSTEM
NO
(Q4724144,P734,Q2663861)
action is_in
entity Q4724144
action find
entity Q2663861
relation P734
[ANSWER]
['Q4724144', 'P734', 'Q2663861']
ASK WHERE { resource:Q2663861 property:P734 resource:Q4724144 }
No
action is_in
entity Algernon Graves
action find
entity Brunner
relation family name
['Algernon Graves', 'family name', 'Brunner']
ASK WHERE { resource:Brunner property:family_name resource:Algernon_Graves }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q124674 Q4191
P19
Q13220204
USER
Was Eva Brunner born at Lucerne ?
(Q124674,P19,Q4191)
action is_in
entity Q4191
action find
entity Q124674
relation P19
['Q124674', 'P19', 'Q4191']
ASK WHERE { resource:Q124674 property:P19 resource:Q4191 }
Eva Brunner Lucerne
action is_in
entity Lucerne
action find
entity Eva Brunner
relation place of birth
['Eva Brunner', 'place of birth', 'Lucerne']
ASK WHERE { resource:Eva_Brunner property:place_of_birth resource:Lucerne }
[]
second-level administrative country subdivision
SYSTEM
YES
(Q124674,P19,Q4191)
action is_in
entity Q4191
action find
entity Q124674
relation P19
[ANSWER]
['Q124674', 'P19', 'Q4191']
ASK WHERE { resource:Q124674 property:P19 resource:Q4191 }
Yes
action is_in
entity Lucerne
action find
entity Eva Brunner
relation place of birth
['Eva Brunner', 'place of birth', 'Lucerne']
ASK WHERE { resource:Eva_Brunner property:place_of_birth resource:Lucerne }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are atmost 404 names composed in ?
(c(Q82799),P407,c(Q34770))
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 404
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P407 ?h . ?h rdf:type ontology:Q34770 . ?n rdf:type ontology:Q82799 } GROUP BY ?h } . FILTER ( ?g <= 404 ) }
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 404
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:language_of_work_or_name ?h . ?h rdf:type ontology:language . ?n rdf:type ontology:name } GROUP BY ?h } . FILTER ( ?g <= 404 ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 404
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P407 ?h . ?h rdf:type ontology:Q34770 . ?n rdf:type ontology:Q82799 } GROUP BY ?h } . FILTER ( ?g <= 404 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian Old Church Slavonic Etruscan
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 404
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:language_of_work_or_name ?h . ?h rdf:type ontology:language . ?n rdf:type ontology:name } GROUP BY ?h } . FILTER ( ?g <= 404 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q971
P37
Q34770 Q15617994
USER
Which administrative territories are more number of languages the official language of than Republic of the Congo ?
(c(Q15617994),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q971
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?t ) WHERE { ?r property:P37 ?l . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q34770 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q971 property:P37 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?n ) }
Republic of the Congo
action greater
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Republic of the Congo
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?t ) WHERE { ?r property:official_language ?l . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:language } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Republic_of_the_Congo property:official_language ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?n ) }
[]
language designation for an administrative territorial entity
Q38 Q55 Q953
SYSTEM
Italy, Netherlands, Zambia
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q1044 Q1042 Q27 Q29 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q971
relation P37
type Q15617994
[ANSWERS] are more number of languages the official language of than Republic of the Congo
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?t ) WHERE { ?r property:P37 ?l . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q34770 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q971 property:P37 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?n ) }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Sierra Leone Seychelles Ireland Spain Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
Italy, Netherlands and Zambia are more number of languages the official language of than Republic of the Congo
Italy Netherlands Zambia
action greater
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Republic of the Congo
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?t ) WHERE { ?r property:official_language ?l . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:language } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Republic_of_the_Congo property:official_language ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?n ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q838948 Q15416
USER
Which administrative territories are the narrative locations of atmost 165 works of art and television programs ?
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 165
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:P840 ?j . ?j rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q838948 } UNION { ?m property:P840 ?j . ?j rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15416 } } GROUP BY ?j } . FILTER ( ?s <= 165 ) }
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 165
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:narrative_location ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:work_of_art } UNION { ?m property:narrative_location ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:television_program } } GROUP BY ?j } . FILTER ( ?s <= 165 ) }
[]
designation for an administrative territorial entity work of art television program
Q155 Q230 Q159
SYSTEM
Brazil, Georgia, Russia
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q55 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q159 Q41 Q155 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q96 Q17 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q838948)|c(Q15416),P840,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
value 165
[ANSWERS] are the narrative locations of atmost 165 works of art and television programs
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:P840 ?j . ?j rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q838948 } UNION { ?m property:P840 ?j . ?j rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15416 } } GROUP BY ?j } . FILTER ( ?s <= 165 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Netherlands Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Russia Greece Brazil Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Mexico Japan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
Brazil, Georgia and Russia are the narrative locations of atmost 165 works of art and television programs
Brazil Georgia Russia
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
value 165
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?s ) WHERE { { ?m property:narrative_location ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:work_of_art } UNION { ?m property:narrative_location ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:television_program } } GROUP BY ?j } . FILTER ( ?s <= 165 ) }
[]