Simple Question (Direct)
Simple Question
Q18685008
P106
Q12737077
USER
What is the job of Anthony Briançon ?
(Q18685008,P106,c(Q12737077))
action filter_type
action find
entity Q18685008
relation P106
type Q12737077
['Q18685008', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q18685008 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Anthony Briançon
action filter_type
action find
entity Anthony Briançon
relation occupation
type occupation
['Anthony Briançon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Anthony_Briançon property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q18685008,P106,c(Q12737077))
action filter_type
action find
entity Q18685008
relation P106
type Q12737077
The job of Anthony Briançon is an [ANSWER]
['Q18685008', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q18685008 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
The job of Anthony Briançon is an association football player
association football player
action filter_type
action find
entity Anthony Briançon
relation occupation
type occupation
['Anthony Briançon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Anthony_Briançon property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18685008
P27
Q15617994
USER
Which administrative territory is Anthony Briançon an inhabitant of ?
(Q18685008,P27,c(Q15617994))
action filter_type
action find
entity Q18685008
relation P27
type Q15617994
['Q18685008', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q18685008 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Anthony Briançon
action filter_type
action find
entity Anthony Briançon
relation country of citizenship
type designation for an administrative territorial entity
['Anthony Briançon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Anthony_Briançon property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q18685008,P27,c(Q15617994))
action filter_type
action find
entity Q18685008
relation P27
type Q15617994
The [ANSWER] is Anthony Briançon an inhabitant of
['Q18685008', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q18685008 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
France
The France is Anthony Briançon an inhabitant of
France
action filter_type
action find
entity Anthony Briançon
relation country of citizenship
type designation for an administrative territorial entity
['Anthony Briançon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Anthony_Briançon property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11970358
Q15617994
USER
And how about Frode Sander Øien?
(Q11970358,P27,c(Q15617994))
action filter_type
action find
entity Q11970358
relation P27
type Q15617994
['Q11970358', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q11970358 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Frode Sander Øien
action filter_type
action find
entity Frode Sander Øien
relation country of citizenship
type designation for an administrative territorial entity
['Frode Sander Øien', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Frode_Sander_Øien property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q11970358,P27,c(Q15617994))
action filter_type
action find
entity Q11970358
relation P27
type Q15617994
[ANSWER]
['Q11970358', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q11970358 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Norway
Norway
action filter_type
action find
entity Frode Sander Øien
relation country of citizenship
type designation for an administrative territorial entity
['Frode Sander Øien', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Frode_Sander_Øien property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the origins of around the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q20
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P495 ?b . ?b rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2031291 } GROUP BY ?b } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q20 property:P495 ?t . ?t rdf:type ontology:Q15617994 } } }
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Norway
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:release } GROUP BY ?b } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Norway property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity release
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q20
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P495 ?b . ?b rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2031291 } GROUP BY ?b } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q20 property:P495 ?t . ?t rdf:type ontology:Q15617994 } } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Norway
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:country_of_origin ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:release } GROUP BY ?b } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Norway property:country_of_origin ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18685008 Q4720982
P27
Q15617994
USER
How many administrative territories are Anthony Briançon or Alexandria International Film Festival an inhabitant of ?
(Q18685008,P27,c(Q15617994)) (Q4720982,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q18685008
relation P27
type Q15617994
action filter_type
action find
entity Q4720982
relation P27
type Q15617994
['Q18685008', 'P27', {'concept': 'Q15617994'}] ['Q4720982', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { resource:Q18685008 property:P27 ?l . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . resource:Q4720982 property:P27 ?l } }
Anthony Briançon Alexandria International Film Festival
action count
action union
action filter_type
action find
entity Anthony Briançon
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Alexandria International Film Festival
relation country of citizenship
type designation for an administrative territorial entity
['Anthony Briançon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Alexandria International Film Festival', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { resource:Anthony_Briançon property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Alexandria_International_Film_Festival property:country_of_citizenship ?l } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q79
(Q18685008,P27,c(Q15617994)) (Q4720982,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q18685008
relation P27
type Q15617994
action filter_type
action find
entity Q4720982
relation P27
type Q15617994
[ANSWER]
['Q18685008', 'P27', {'concept': 'Q15617994'}] ['Q4720982', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { resource:Q18685008 property:P27 ?l . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . resource:Q4720982 property:P27 ?l } }
France Egypt
2
action count
action union
action filter_type
action find
entity Anthony Briançon
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Alexandria International Film Festival
relation country of citizenship
type designation for an administrative territorial entity
['Anthony Briançon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Alexandria International Film Festival', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { resource:Anthony_Briançon property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Alexandria_International_Film_Festival property:country_of_citizenship ?l } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q783
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with approximately the same number of administrative territories as Honduras ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q783
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?l ) WHERE { ?g property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q783 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?v ) }
Honduras
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Honduras
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?l ) WHERE { ?g property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Honduras property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?v ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 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 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q783
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?l ) WHERE { ?g property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q783 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?v ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Honduras
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?l ) WHERE { ?g property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Honduras property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q258
P530
Q15617994 Q15617994
USER
And how about South Africa?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q258
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?z property:P530 ?w . ?z rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q258 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?m ) }
South Africa
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity South Africa
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?z property:diplomatic_relation ?w . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:South_Africa property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 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 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q258
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?z property:P530 ?w . ?z rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q258 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?m ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity South Africa
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?a ) WHERE { ?z property:diplomatic_relation ?w . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:South_Africa property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2094335
P921
Q12737077 Q191067 Q838948
USER
How many occupations were the main subjects in the work more number of articles or works of art than United States Attorney ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2094335
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q191067 } UNION { ?t property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q838948 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P921 resource:Q2094335 . { { ?h rdf:type ontology:Q191067 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?k > ?n ) }
United States Attorney
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity United States Attorney
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:main_subject ?o . ?o rdf:type ontology:occupation . ?t rdf:type ontology:article } UNION { ?t property:main_subject ?o . ?o rdf:type ontology:occupation . ?t rdf:type ontology:work_of_art } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:main_subject resource:United_States_Attorney . { { ?h rdf:type ontology:article } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?k > ?n ) }
[]
occupation article work of art
SYSTEM
28
Q172907 Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q7358 Q1930187 Q9402 Q2961580 Q101539 Q316070 Q510373 Q205375 Q164236 Q152002 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q732358 Q2095549 Q182436 Q1674312 Q16003532
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q2094335
relation P921
type Q191067
type Q838948
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q191067 } UNION { ?t property:P921 ?o . ?o rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q838948 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P921 resource:Q2094335 . { { ?h rdf:type ontology:Q191067 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?k > ?n ) }
praetor industrialist business magnate physician lumberjack astronaut actor writer clown journalist ninja taxi driver flight attendant Fletcher Christian Lord High Steward inventor war correspondent pastor nanny high school student elementary school student comedian photographer Nomarch aviator librarian rag-and-bone man middle school student
28
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity United States Attorney
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?k ) WHERE { { ?t property:main_subject ?o . ?o rdf:type ontology:occupation . ?t rdf:type ontology:article } UNION { ?t property:main_subject ?o . ?o rdf:type ontology:occupation . ?t rdf:type ontology:work_of_art } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:main_subject resource:United_States_Attorney . { { ?h rdf:type ontology:article } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?k > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q618536
P921
Q12737077 Q191067 Q838948
USER
And what about candidate?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q618536
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:P921 resource:Q618536 . { { ?x rdf:type ontology:Q191067 } UNION { ?x rdf:type ontology:Q838948 } } } } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?j WHERE { { ?y property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q191067 } } GROUP BY ?j } }
candidate
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity candidate
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:main_subject resource:candidate . { { ?x rdf:type ontology:article } UNION { ?x rdf:type ontology:work_of_art } } } } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?j WHERE { { ?y property:main_subject ?j . ?j rdf:type ontology:occupation . ?y rdf:type ontology:work_of_art } UNION { ?y property:main_subject ?j . ?j rdf:type ontology:occupation . ?y rdf:type ontology:article } } GROUP BY ?j } }
[]
occupation article work of art
SYSTEM
28
Q172907 Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q7358 Q1930187 Q9402 Q2961580 Q101539 Q316070 Q510373 Q205375 Q164236 Q152002 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q732358 Q2095549 Q182436 Q1674312 Q16003532
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q618536
relation P921
type Q191067
type Q838948
[ANSWER]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:P921 resource:Q618536 . { { ?x rdf:type ontology:Q191067 } UNION { ?x rdf:type ontology:Q838948 } } } } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?j WHERE { { ?y property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q191067 } } GROUP BY ?j } }
praetor industrialist business magnate physician lumberjack astronaut actor writer clown journalist ninja taxi driver flight attendant Fletcher Christian Lord High Steward inventor war correspondent pastor nanny high school student elementary school student comedian photographer Nomarch aviator librarian rag-and-bone man middle school student
28
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity candidate
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { ?x property:main_subject resource:candidate . { { ?x rdf:type ontology:article } UNION { ?x rdf:type ontology:work_of_art } } } } . FILTER ( ?p > ?h ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) ?j WHERE { { ?y property:main_subject ?j . ?j rdf:type ontology:occupation . ?y rdf:type ontology:work_of_art } UNION { ?y property:main_subject ?j . ?j rdf:type ontology:occupation . ?y rdf:type ontology:article } } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q7521684
P361
Q1190554
USER
How many events are a portion of France or Sinai insurgency ?
(c(Q1190554),P361,Q142) (c(Q1190554),P361,Q7521684)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P361
type Q1190554
action filter_type
action find_reverse
entity Q7521684
relation P361
type Q1190554
[{'concept': 'Q1190554'}, 'P361', 'Q142'] [{'concept': 'Q1190554'}, 'P361', 'Q7521684']
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:P361 resource:Q7521684 . ?c rdf:type ontology:Q1190554 } UNION { ?c property:P361 resource:Q142 . ?c rdf:type ontology:Q1190554 } }
France Sinai insurgency
action count
action union
action filter_type
action find_reverse
entity France
relation part of
type event
action filter_type
action find_reverse
entity Sinai insurgency
relation part of
type event
[{'concept': 'event'}, 'part of', 'France'] [{'concept': 'event'}, 'part of', 'Sinai insurgency']
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:part_of resource:Sinai_insurgency . ?c rdf:type ontology:event } UNION { ?c property:part_of resource:France . ?c rdf:type ontology:event } }
[]
event
SYSTEM
3
Q7097556 Q2363420 Q18920408
(c(Q1190554),P361,Q142) (c(Q1190554),P361,Q7521684)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P361
type Q1190554
action filter_type
action find_reverse
entity Q7521684
relation P361
type Q1190554
[ANSWER]
[{'concept': 'Q1190554'}, 'P361', 'Q142'] [{'concept': 'Q1190554'}, 'P361', 'Q7521684']
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:P361 resource:Q7521684 . ?c rdf:type ontology:Q1190554 } UNION { ?c property:P361 resource:Q142 . ?c rdf:type ontology:Q1190554 } }
Operation Sinai 2011 southern Israel cross-border attacks January 2015 Sinai attacks
3
action count
action union
action filter_type
action find_reverse
entity France
relation part of
type event
action filter_type
action find_reverse
entity Sinai insurgency
relation part of
type event
[{'concept': 'event'}, 'part of', 'France'] [{'concept': 'event'}, 'part of', 'Sinai insurgency']
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { ?c property:part_of resource:Sinai_insurgency . ?c rdf:type ontology:event } UNION { ?c property:part_of resource:France . ?c rdf:type ontology:event } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P291
Q20087698
USER
Which comic genre was published in that administrative territory ?
action filter_type
action find_reverse
entity Q142
relation P291
type Q20087698
SELECT DISTINCT ?y WHERE { ?y property:P291 resource:Q142 . ?y rdf:type ontology:Q20087698 }
France
action filter_type
action find_reverse
entity France
relation place of publication
type comic genre
SELECT DISTINCT ?y WHERE { ?y property:place_of_publication resource:France . ?y rdf:type ontology:comic_genre }
[]
comic genre
Q16067393
SYSTEM
The Idea
Q16067393
action filter_type
action find_reverse
entity Q142
relation P291
type Q20087698
[ANSWER] was published in that administrative territory
SELECT DISTINCT ?y WHERE { ?y property:P291 resource:Q142 . ?y rdf:type ontology:Q20087698 }
The Idea
The Idea was published in that administrative territory
The Idea
action filter_type
action find_reverse
entity France
relation place of publication
type comic genre
SELECT DISTINCT ?y WHERE { ?y property:place_of_publication resource:France . ?y rdf:type ontology:comic_genre }
[]