Simple Question (Direct)
Simple Question
Q1506238
P21
Q290
USER
What is the sex of Georg Trexler ?
(Q1506238,P21,c(Q290))
action filter_type
action find
entity Q1506238
relation P21
type Q290
['Q1506238', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1506238 property:P21 ?i . ?i rdf:type ontology:Q290 }
Georg Trexler
action filter_type
action find
entity Georg Trexler
relation gender
type sex
['Georg Trexler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Georg_Trexler property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1506238,P21,c(Q290))
action filter_type
action find
entity Q1506238
relation P21
type Q290
The sex of Georg Trexler is the [ANSWER]
['Q1506238', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1506238 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Georg Trexler is the male
male
action filter_type
action find
entity Georg Trexler
relation gender
type sex
['Georg Trexler', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Georg_Trexler property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1506238
P166
Q618779
USER
What was won by Georg Trexler ?
(Q1506238,P166,c(Q618779))
action filter_type
action find
entity Q1506238
relation P166
type Q618779
['Q1506238', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q1506238 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Georg Trexler
action filter_type
action find
entity Georg Trexler
relation award received
type award
['Georg Trexler', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Georg_Trexler property:award_received ?e . ?e rdf:type ontology:award }
[]
award
Q1276342
SYSTEM
Order of St. Sylvester
Q1276342
(Q1506238,P166,c(Q618779))
action filter_type
action find
entity Q1506238
relation P166
type Q618779
The [ANSWER] was won by Georg Trexler
['Q1506238', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q1506238 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Order of St. Sylvester
The Order of St. Sylvester was won by Georg Trexler
Order of St. Sylvester
action filter_type
action find
entity Georg Trexler
relation award received
type award
['Georg Trexler', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Georg_Trexler property:award_received ?e . ?e rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1506238
P106
Q12737077
USER
What are the job of Georg Trexler ?
(Q1506238,P106,c(Q12737077))
action filter_type
action find
entity Q1506238
relation P106
type Q12737077
['Q1506238', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q1506238 property:P106 ?r }
Georg Trexler
action filter_type
action find
entity Georg Trexler
relation occupation
type occupation
['Georg Trexler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Georg_Trexler property:occupation ?r }
[]
occupation
Q36834 Q1622272 Q16145150
SYSTEM
composer, university teacher, music educator
Q1294133 Q16145150 Q36834 Q1622272
(Q1506238,P106,c(Q12737077))
action filter_type
action find
entity Q1506238
relation P106
type Q12737077
The job of Georg Trexler are a [ANSWERS]
['Q1506238', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q1506238 property:P106 ?r }
director of church music music educator composer university teacher
The job of Georg Trexler are a composer, university teacher and music educator
composer university teacher music educator
action filter_type
action find
entity Georg Trexler
relation occupation
type occupation
['Georg Trexler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Georg_Trexler property:occupation ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1849141
Q12737077
USER
And what about Arend Jan Boekestijn?
(Q1849141,P106,c(Q12737077))
action filter_type
action find
entity Q1849141
relation P106
type Q12737077
['Q1849141', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1849141 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Arend Jan Boekestijn
action filter_type
action find
entity Arend Jan Boekestijn
relation occupation
type occupation
['Arend Jan Boekestijn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Arend_Jan_Boekestijn property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q201788 Q1086863 Q82955
SYSTEM
historian, columnist, politician
Q201788 Q1086863 Q82955 Q36180
(Q1849141,P106,c(Q12737077))
action filter_type
action find
entity Q1849141
relation P106
type Q12737077
[ANSWERS]
['Q1849141', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1849141 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
historian columnist politician writer
historian columnist politician
action filter_type
action find
entity Arend Jan Boekestijn
relation occupation
type occupation
['Arend Jan Boekestijn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Arend_Jan_Boekestijn property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1849141 Q27691569
P27
Q15617994
USER
How many administrative territories are Arend Jan Boekestijn or Janine M. Otalora Malassis a civilian of ?
(Q1849141,P27,c(Q15617994)) (Q27691569,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1849141
relation P27
type Q15617994
action filter_type
action find
entity Q27691569
relation P27
type Q15617994
['Q1849141', 'P27', {'concept': 'Q15617994'}] ['Q27691569', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { ?g rdf:type ontology:Q15617994 . resource:Q1849141 property:P27 ?g } UNION { resource:Q27691569 property:P27 ?g . ?g rdf:type ontology:Q15617994 } }
Arend Jan Boekestijn Janine M. Otalora Malassis
action count
action union
action filter_type
action find
entity Arend Jan Boekestijn
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Janine M. Otalora Malassis
relation country of citizenship
type designation for an administrative territorial entity
['Arend Jan Boekestijn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Janine M. Otalora Malassis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arend_Jan_Boekestijn property:country_of_citizenship ?g } UNION { resource:Janine_M._Otalora_Malassis property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q96 Q29999
(Q1849141,P27,c(Q15617994)) (Q27691569,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1849141
relation P27
type Q15617994
action filter_type
action find
entity Q27691569
relation P27
type Q15617994
[ANSWER]
['Q1849141', 'P27', {'concept': 'Q15617994'}] ['Q27691569', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { ?g rdf:type ontology:Q15617994 . resource:Q1849141 property:P27 ?g } UNION { resource:Q27691569 property:P27 ?g . ?g rdf:type ontology:Q15617994 } }
Mexico Kingdom of the Netherlands
2
action count
action union
action filter_type
action find
entity Arend Jan Boekestijn
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Janine M. Otalora Malassis
relation country of citizenship
type designation for an administrative territorial entity
['Arend Jan Boekestijn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Janine M. Otalora Malassis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arend_Jan_Boekestijn property:country_of_citizenship ?g } UNION { resource:Janine_M._Otalora_Malassis property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
Which awards were exactly 22 works of art and people nominated for ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action equal
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 22
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r = 22 ) . { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:P1411 ?s . ?e rdf:type ontology:Q838948 . ?s rdf:type ontology:Q618779 } UNION { ?e property:P1411 ?s . ?s rdf:type ontology:Q618779 . ?e rdf:type ontology:Q502895 } } GROUP BY ?s } }
action equal
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 22
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r = 22 ) . { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:nominated_for ?s . ?e rdf:type ontology:work_of_art . ?s rdf:type ontology:award } UNION { ?e property:nominated_for ?s . ?s rdf:type ontology:award . ?e rdf:type ontology:common_name } } GROUP BY ?s } }
[]
award work of art common name
Q5305719 Q2925701 Q900447
SYSTEM
Drama Desk Award for Outstanding Musical, British Academy Television Award for Best Actor, César Award for Best Editing
Q2925701 Q5305719 Q989439 Q4896724 Q1659572 Q26079956 Q16985679 Q900447
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action equal
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 22
[ANSWERS] were exactly 22 works of art and people nominated for
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r = 22 ) . { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:P1411 ?s . ?e rdf:type ontology:Q838948 . ?s rdf:type ontology:Q618779 } UNION { ?e property:P1411 ?s . ?s rdf:type ontology:Q618779 . ?e rdf:type ontology:Q502895 } } GROUP BY ?s } }
British Academy Television Award for Best Actor Drama Desk Award for Outstanding Musical Primetime Emmy Award for Outstanding Lead Actor in a Drama Series Best Male Athlete ESPY Award NAACP Image Award for Outstanding Actress in a Motion Picture Tony Award for Best Sound Design of a Play Tony Award for Best Director César Award for Best Editing
Drama Desk Award for Outstanding Musical, British Academy Television Award for Best Actor and César Award for Best Editing were exactly 22 works of art and people nominated for
Drama Desk Award for Outstanding Musical British Academy Television Award for Best Actor César Award for Best Editing
action equal
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 22
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?r = 22 ) . { SELECT DISTINCT ?s ( COUNT ( ?e ) AS ?r ) WHERE { { ?e property:nominated_for ?s . ?e rdf:type ontology:work_of_art . ?s rdf:type ontology:award } UNION { ?e property:nominated_for ?s . ?s rdf:type ontology:award . ?e rdf:type ontology:common_name } } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18535730 Q1506238
P27
Q1048835
USER
Which political territories are Georg Trexler or David Watkin Jones a civilian of ?
OR((Q1506238,P27,c(Q1048835)), (Q18535730,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1506238
relation P27
action find
entity Q18535730
relation P27
type Q1048835
{'OR': [['Q1506238', 'P27', {'concept': 'Q1048835'}], ['Q18535730', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1506238 property:P27 ?n } UNION { resource:Q18535730 property:P27 ?n } } . ?n rdf:type ontology:Q1048835 }
David Watkin Jones Georg Trexler
action filter_type
action union
action find
entity Georg Trexler
relation country of citizenship
action find
entity David Watkin Jones
relation country of citizenship
type political territorial entity
{'OR': [['Georg Trexler', 'country of citizenship', {'concept': 'political territorial entity'}], ['David Watkin Jones', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Georg_Trexler property:country_of_citizenship ?n } UNION { resource:David_Watkin_Jones property:country_of_citizenship ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q3306663 Q183
SYSTEM
Merthyr Tydfil County Borough, Germany
Q3306663 Q183
OR((Q1506238,P27,c(Q1048835)), (Q18535730,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1506238
relation P27
action find
entity Q18535730
relation P27
type Q1048835
[ANSWERS] are Georg Trexler or David Watkin Jones a civilian of
{'OR': [['Q1506238', 'P27', {'concept': 'Q1048835'}], ['Q18535730', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1506238 property:P27 ?n } UNION { resource:Q18535730 property:P27 ?n } } . ?n rdf:type ontology:Q1048835 }
Merthyr Tydfil County Borough Germany
Merthyr Tydfil County Borough and Germany are Georg Trexler or David Watkin Jones a civilian of
Merthyr Tydfil County Borough Germany
action filter_type
action union
action find
entity Georg Trexler
relation country of citizenship
action find
entity David Watkin Jones
relation country of citizenship
type political territorial entity
{'OR': [['Georg Trexler', 'country of citizenship', {'concept': 'political territorial entity'}], ['David Watkin Jones', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Georg_Trexler property:country_of_citizenship ?n } UNION { resource:David_Watkin_Jones property:country_of_citizenship ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q184
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic associations with more number of political territories than Belarus ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q184
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?f ) WHERE { ?d rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 . ?d property:P530 ?t } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q184 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?f > ?j ) }
Belarus
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?f ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity . ?d property:diplomatic_relation ?t } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Belarus property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?f > ?j ) }
[]
political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q155 Q889 Q884 Q33 Q30 Q36 Q34 Q39 Q38 Q739 Q423 Q851 Q230 Q20 Q27 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q184
relation P530
type Q1048835
[ANSWERS] have diplomatic associations with more number of political territories than Belarus
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?f ) WHERE { ?d rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 . ?d property:P530 ?t } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q184 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?f > ?j ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey Brazil Afghanistan South Korea Finland United States of America Poland Sweden Switzerland Italy Colombia North Korea Saudi Arabia Georgia Norway Ireland Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
Italy, Brazil and United States of America have diplomatic associations with more number of political territories than Belarus
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?f ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity . ?d property:diplomatic_relation ?t } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Belarus property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?f > ?j ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with atmost 41 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 41
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?j property:P530 ?c } GROUP BY ?c } . FILTER ( ?l <= 41 ) }
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 41
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?c } GROUP BY ?c } . FILTER ( ?l <= 41 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q159
SYSTEM
United States of America, Georgia, Russia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 41
[ANSWERS] have diplomatic relationships with atmost 41 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?c rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?j property:P530 ?c } GROUP BY ?c } . FILTER ( ?l <= 41 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
United States of America, Georgia and Russia have diplomatic relationships with atmost 41 administrative territories
United States of America Georgia Russia
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 41
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?l ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?c } GROUP BY ?c } . FILTER ( ?l <= 41 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
Which awards were around 176 works of art or people a recipient of ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 176
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } } GROUP BY ?k } . FILTER ( ?y = 176 ) }
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 176
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:common_name ) ( ontology:work_of_art ) } } GROUP BY ?k } . FILTER ( ?y = 176 ) }
[]
award work of art common name
Q1043985 Q645595 Q24137
SYSTEM
Carnegie Medal, César Award for Best Film, César Award for Best Director
Q7821796 Q640374 Q1723064 Q1445521 Q645595 Q377293 Q1043985 Q1537996 Q627778 Q13449461 Q185299 Q1474410 Q24137 Q3993187
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 176
[ANSWERS] were around 176 works of art or people a recipient of
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q838948 ) } } GROUP BY ?k } . FILTER ( ?y = 176 ) }
Tony Award for Best Lighting Design Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical Tony Award for Best Actor in a Play César Award for Best Film Tony Award for Best Direction of a Musical Carnegie Medal Tony Award for Best Actress in a Musical Tony Award for Best Featured Actress in a Play Tony Award for Best Scenic Design Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play César Award for Best Director Tony Award for Best Costume Design
Carnegie Medal, César Award for Best Film and César Award for Best Director were around 176 works of art or people a recipient of
Carnegie Medal César Award for Best Film César Award for Best Director
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 176
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?y ) WHERE { ?s rdf:type ?t . VALUES ( ?t ) { ( ontology:common_name ) ( ontology:work_of_art ) } } GROUP BY ?k } . FILTER ( ?y = 176 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1411
Q502895
USER
How many people were nominated for that award ?
(c(Q502895),P1411,Q24137)
[{'concept': 'Q502895'}, 'P1411', 'Q24137']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1411 resource:Q24137 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'nominated for', 'César Award for Best Director']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:nominated_for resource:César_Award_for_Best_Director . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q24137
SYSTEM
Did you mean César Award for Best Director ?
(c(Q502895),P1411,Q1043985) (c(Q502895),P1411,Q645595) (c(Q502895),P1411,Q24137)
[ANSWER]
[{'concept': 'Q502895'}, 'P1411', 'Q1043985'] [{'concept': 'Q502895'}, 'P1411', 'Q645595'] [{'concept': 'Q502895'}, 'P1411', 'Q24137']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1411 resource:Q24137 . ?z rdf:type ontology:Q502895 }
Did you mean César Award for Best Director ?
César Award for Best Director
[{'concept': 'common name'}, 'nominated for', 'Carnegie Medal'] [{'concept': 'common name'}, 'nominated for', 'César Award for Best Film'] [{'concept': 'common name'}, 'nominated for', 'César Award for Best Director']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:nominated_for resource:César_Award_for_Best_Director . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P1411,Q24137)
[{'concept': 'Q502895'}, 'P1411', 'Q24137']
[{'concept': 'common name'}, 'nominated for', 'César Award for Best Director']
[]
SYSTEM
102
Q55375 Q55375 Q737693 Q1683035 Q1683035 Q355835 Q451637 Q167475 Q599556 Q599556 Q599556 Q599556 Q599556 Q296698 Q296698 Q440609 Q307996 Q307996 Q307996 Q229990 Q1873071 Q1873071 Q106709 Q106709 Q106709 Q106709 Q106709 Q117071 Q818119 Q3367671 Q53001 Q53001 Q53002 Q53002 Q53002 Q382389 Q382389 Q382389 Q382389 Q382389 Q106685 Q106669 Q106669 Q106669 Q106669 Q276186 Q312280 Q312280 Q312280 Q709973 Q709973 Q709973 Q709973 Q550717 Q53050 Q710650 Q710650 Q453371 Q453371 Q453371 Q453371 Q453371 Q453371 Q453371 Q337226 Q337226 Q337226 Q337226 Q337226 Q337226 Q337226 Q533866 Q366057 Q366057 Q366057 Q312258 Q50764 Q503898 Q503898 Q503898 Q218022 Q218022 Q218022 Q218022 Q218022 Q218022 Q218022 Q218022 Q1053096 Q718596 Q55392 Q523144 Q523144 Q523144 Q523144 Q523144 Q523144 Q523144 Q3340680 Q691335 Q691335 Q691335
(c(Q502895),P1411,Q24137)
[ANSWER]
[{'concept': 'Q502895'}, 'P1411', 'Q24137']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1411 resource:Q24137 . ?z rdf:type ontology:Q502895 }
Claude Chabrol Claude Chabrol Leos Carax Alain Cavalier Alain Cavalier Mathieu Amalric Christine Pascal Jacques Rivette Michel Deville Michel Deville Michel Deville Michel Deville Michel Deville Costa-Gavras Costa-Gavras Noémie Lvovsky Abdellatif Kechiche Abdellatif Kechiche Abdellatif Kechiche Agnès Varda Lucas Belvaux Lucas Belvaux Patrice Leconte Patrice Leconte Patrice Leconte Patrice Leconte Patrice Leconte Laurent Cantet Benoît Jacquot Pascale Ferran Jean-Luc Godard Jean-Luc Godard François Truffaut François Truffaut François Truffaut Jacques Audiard Jacques Audiard Jacques Audiard Jacques Audiard Jacques Audiard Andrzej Wajda Claude Sautet Claude Sautet Claude Sautet Claude Sautet Aki Kaurismäki Alain Corneau Alain Corneau Alain Corneau Jean-Paul Rappeneau Jean-Paul Rappeneau Jean-Paul Rappeneau Jean-Paul Rappeneau Olivier Assayas Francesco Rosi Jacques Doillon Jacques Doillon Claude Miller Claude Miller Claude Miller Claude Miller Claude Miller Claude Miller Claude Miller Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Bertrand Tavernier Pierre Granier-Deferre Patrice Chéreau Patrice Chéreau Patrice Chéreau Jacques Demy Éric Rohmer Maurice Pialat Maurice Pialat Maurice Pialat Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Alain Resnais Christian de Chalonge Robert Guédiguian Louis Malle André Téchiné André Téchiné André Téchiné André Téchiné André Téchiné André Téchiné André Téchiné Nicolas Philibert Arnaud Desplechin Arnaud Desplechin Arnaud Desplechin
102
[{'concept': 'common name'}, 'nominated for', 'César Award for Best Director']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:nominated_for resource:César_Award_for_Best_Director . ?z rdf:type ontology:common_name }
[]