Simple Question (Direct)
Simple Question
Q16538576
P20
Q20667921
USER
Where did the expiration of Charles Malouin occur ?
(Q16538576,P20,c(Q20667921))
action filter_type
action find
entity Q16538576
relation P20
type Q20667921
['Q16538576', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q16538576 property:P20 ?c . ?c rdf:type ontology:Q20667921 }
Charles Malouin
action filter_type
action find
entity Charles Malouin
relation place of death
type type of french administrative division
['Charles Malouin', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Malouin property:place_of_death ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q478263
SYSTEM
Lassy
Q478263
(Q16538576,P20,c(Q20667921))
action filter_type
action find
entity Q16538576
relation P20
type Q20667921
The expiration of Charles Malouin occurred in [ANSWER]
['Q16538576', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q16538576 property:P20 ?c . ?c rdf:type ontology:Q20667921 }
Lassy
The expiration of Charles Malouin occurred in Lassy
Lassy
action filter_type
action find
entity Charles Malouin
relation place of death
type type of french administrative division
['Charles Malouin', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Malouin property:place_of_death ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16538576
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Charles Malouin ?
(Q16538576,P27,c(Q15617994))
action filter_type
action find
entity Q16538576
relation P27
type Q15617994
['Q16538576', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q16538576 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Charles Malouin
action filter_type
action find
entity Charles Malouin
relation country of citizenship
type designation for an administrative territorial entity
['Charles Malouin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Malouin property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q16538576,P27,c(Q15617994))
action filter_type
action find
entity Q16538576
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Charles Malouin
['Q16538576', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q16538576 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
France
France is the country of citizenship of Charles Malouin
France
action filter_type
action find
entity Charles Malouin
relation country of citizenship
type designation for an administrative territorial entity
['Charles Malouin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Charles_Malouin property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16538576
P21
Q290
USER
What is the sex of that person ?
(Q142,P21,c(Q290))
action filter_type
action find
entity Q16538576
relation P21
type Q290
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q16538576 property:P21 ?f . ?f rdf:type ontology:Q290 }
Charles Malouin
action filter_type
action find
entity Charles Malouin
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Charles_Malouin property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q142,P21,c(Q290))
action filter_type
action find
entity Q16538576
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q16538576 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Charles Malouin
relation gender
type sex
['France', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Charles_Malouin property:gender ?f . ?f rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes do lesser number of people possess than that sex ?
(c(Q502895),P21,c(Q290))
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P21 ?g . ?g rdf:type ontology:Q290 . ?b rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 } } . FILTER ( ?h < ?l ) }
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:gender ?g . ?g rdf:type ontology:sex . ?b rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:gender resource:male . ?s rdf:type ontology:common_name } } . FILTER ( ?h < ?l ) }
[]
sex common name
Q6581072
SYSTEM
female
Q6581072
(c(Q502895),P21,c(Q290))
action less
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] lesser number of people possess than that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P21 ?g . ?g rdf:type ontology:Q290 . ?b rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 } } . FILTER ( ?h < ?l ) }
female
Female lesser number of people possess than that sex
female
action less
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find_reverse
entity male
relation gender
type common name
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:gender ?g . ?g rdf:type ontology:sex . ?b rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:gender resource:male . ?s rdf:type ontology:common_name } } . FILTER ( ?h < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q38
P194
Q35749 Q701632 Q15617994
USER
Which administrative territories have more number of parliaments and municipal councils as their representative body than Italy ?
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q38
relation P194
type Q35749
type Q701632
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?a WHERE { { ?a property:P194 ?u . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q35749 } UNION { ?a property:P194 ?u . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q701632 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q38 property:P194 ?c . { { ?c rdf:type ontology:Q35749 } UNION { ?c rdf:type ontology:Q701632 } } } } . FILTER ( ?f > ?h ) }
Italy
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Italy
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?a WHERE { { ?a property:legislative_body ?u . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:parliament } UNION { ?a property:legislative_body ?u . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:municipal_council } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Italy property:legislative_body ?c . { { ?c rdf:type ontology:parliament } UNION { ?c rdf:type ontology:municipal_council } } } } . FILTER ( ?f > ?h ) }
[]
parliament municipal council designation for an administrative territorial entity
Q212 Q2007 Q1904
SYSTEM
Ukraine, Northwest Territories, Ontario
Q2806757 Q1948 Q1979 Q1974 Q2009 Q2007 Q2003 Q1904 Q1989 Q212 Q1951 Q2023
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q38
relation P194
type Q35749
type Q701632
[ANSWERS] have more number of parliaments and municipal councils as their representative body than Italy
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?a WHERE { { ?a property:P194 ?u . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q35749 } UNION { ?a property:P194 ?u . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q701632 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q38 property:P194 ?c . { { ?c rdf:type ontology:Q35749 } UNION { ?c rdf:type ontology:Q701632 } } } } . FILTER ( ?f > ?h ) }
105 Mile Post Indian Reserve No. 2 Manitoba Prince Edward Island British Columbia Yukon Northwest Territories Newfoundland and Labrador Ontario Saskatchewan Ukraine Alberta Nunavut
Ukraine, Northwest Territories and Ontario have more number of parliaments and municipal councils as their representative body than Italy
Ukraine Northwest Territories Ontario
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Italy
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) ?a WHERE { { ?a property:legislative_body ?u . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:parliament } UNION { ?a property:legislative_body ?u . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:municipal_council } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Italy property:legislative_body ?c . { { ?c rdf:type ontology:parliament } UNION { ?c rdf:type ontology:municipal_council } } } } . FILTER ( ?f > ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q258
P194
Q35749 Q701632 Q15617994
USER
And how about South Africa?
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q258
relation P194
type Q35749
type Q701632
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?s WHERE { VALUES ( ?t ) { ( ontology:Q35749 ) ( ontology:Q701632 ) } . ?l rdf:type ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:Q35749 ) ( ontology:Q701632 ) } } . resource:Q258 property:P194 ?a } } . FILTER ( ?n > ?h ) }
South Africa
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity South Africa
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?s WHERE { VALUES ( ?t ) { ( ontology:parliament ) ( ontology:municipal_council ) } . ?l rdf:type ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:parliament ) ( ontology:municipal_council ) } } . resource:South_Africa property:legislative_body ?a } } . FILTER ( ?n > ?h ) }
[]
parliament municipal council designation for an administrative territorial entity
Q212 Q2007 Q1904
SYSTEM
Ukraine, Northwest Territories, Ontario
Q2806757 Q1948 Q1979 Q1974 Q2009 Q2007 Q2003 Q1904 Q1989 Q212 Q1951 Q2023
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q258
relation P194
type Q35749
type Q701632
[ANSWERS]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?s WHERE { VALUES ( ?t ) { ( ontology:Q35749 ) ( ontology:Q701632 ) } . ?l rdf:type ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:Q35749 ) ( ontology:Q701632 ) } } . resource:Q258 property:P194 ?a } } . FILTER ( ?n > ?h ) }
105 Mile Post Indian Reserve No. 2 Manitoba Prince Edward Island British Columbia Yukon Northwest Territories Newfoundland and Labrador Ontario Saskatchewan Ukraine Alberta Nunavut
Ukraine Northwest Territories Ontario
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity South Africa
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?s WHERE { VALUES ( ?t ) { ( ontology:parliament ) ( ontology:municipal_council ) } . ?l rdf:type ?t } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { ?a rdf:type ?r . VALUES ( ?r ) { ( ontology:parliament ) ( ontology:municipal_council ) } } . resource:South_Africa property:legislative_body ?a } } . FILTER ( ?n > ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q986
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with lesser number of administrative territories than Eritrea ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q986
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?d ) WHERE { ?m property:P530 ?s . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q986 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?d < ?z ) }
Eritrea
action count
action less
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 Eritrea
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 ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?d ) WHERE { ?m property:diplomatic_relation ?s . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Eritrea property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d < ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q986
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?d ) WHERE { ?m property:P530 ?s . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q986 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?d < ?z ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
action less
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 Eritrea
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 ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?d ) WHERE { ?m property:diplomatic_relation ?s . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Eritrea property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d < ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q37
P530
Q15617994 Q15617994
USER
And also tell me about Lithuania?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q37
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P530 resource:Q37 . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?f < ?r ) }
Lithuania
action count
action less
action find_reverse_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_reverse
entity Lithuania
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 ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:diplomatic_relation resource:Lithuania . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f < ?r ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
132
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q45 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q32 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 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q37
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P530 resource:Q37 . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?f < ?r ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad Portugal El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Luxembourg 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 Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus 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 Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
132
action count
action less
action find_reverse_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_reverse
entity Lithuania
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 ( ?s ) AS ?d ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?f ) WHERE { ?u property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:diplomatic_relation resource:Lithuania . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f < ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212
P740
Q2088357
USER
Which musical ensembles originated at Ukraine ?
(c(Q2088357),P740,Q212)
action filter_type
action find_reverse
entity Q212
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q212']
SELECT DISTINCT ?e WHERE { ?e property:P740 resource:Q212 . ?e rdf:type ontology:Q2088357 }
Ukraine
action filter_type
action find_reverse
entity Ukraine
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Ukraine']
SELECT DISTINCT ?e WHERE { ?e property:location_of_formation resource:Ukraine . ?e rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q4315474 Q35356 Q6116745
SYSTEM
NeAngely, NikitA, Sad Alice Said
Q4315474 Q6116745 Q20066368 Q35356 Q1972083
(c(Q2088357),P740,Q212)
action filter_type
action find_reverse
entity Q212
relation P740
type Q2088357
[ANSWERS] originated at Ukraine
[{'concept': 'Q2088357'}, 'P740', 'Q212']
SELECT DISTINCT ?e WHERE { ?e property:P740 resource:Q212 . ?e rdf:type ontology:Q2088357 }
NeAngely Sad Alice Said Vremya i Steklo NikitA Undervud
NeAngely, NikitA and Sad Alice Said originated at Ukraine
NeAngely NikitA Sad Alice Said
action filter_type
action find_reverse
entity Ukraine
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Ukraine']
SELECT DISTINCT ?e WHERE { ?e property:location_of_formation resource:Ukraine . ?e rdf:type ontology:musical_ensemble }
[]
Clarification
Simple Question|Single Entity|Indirect
Q35356
P264
Q334453
USER
What is the record label of that musical ensemble ?
(Q35356,P264,c(Q334453))
action filter_type
action find
entity Q35356
relation P264
type Q334453
['Q35356', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { resource:Q35356 property:P264 ?f . ?f rdf:type ontology:Q334453 }
NikitA
action filter_type
action find
entity NikitA
relation record label
type division
['NikitA', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { resource:NikitA property:record_label ?f . ?f rdf:type ontology:division }
[]
division
Clarification for simple ques.
Q6116745
SYSTEM
Did you mean Sad Alice Said ?
Q4315474 Q35356 Q6116745
(Q4315474,P264,c(Q334453)) (Q35356,P264,c(Q334453)) (Q6116745,P264,c(Q334453))
[ANSWER]
['Q4315474', 'P264', {'concept': 'Q334453'}] ['Q35356', 'P264', {'concept': 'Q334453'}] ['Q6116745', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { resource:Q35356 property:P264 ?f . ?f rdf:type ontology:Q334453 }
NeAngely NikitA Sad Alice Said
Did you mean Sad Alice Said ?
Sad Alice Said
['NeAngely', 'record label', {'concept': 'division'}] ['NikitA', 'record label', {'concept': 'division'}] ['Sad Alice Said', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { resource:NikitA property:record_label ?f . ?f rdf:type ontology:division }
[]
Simple Question (Coreferenced)
USER
No, I meant NikitA. Could you tell me the answer for that?
(Q35356,P264,c(Q334453))
Q35356
['Q35356', 'P264', {'concept': 'Q334453'}]
['NikitA', 'record label', {'concept': 'division'}]
[]
Q6745414
SYSTEM
Mamamusic
Q6745414
(Q35356,P264,c(Q334453))
action filter_type
action find
entity Q35356
relation P264
type Q334453
The record label of that musical ensemble is the [ANSWER]
['Q35356', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { resource:Q35356 property:P264 ?f . ?f rdf:type ontology:Q334453 }
Mamamusic
The record label of that musical ensemble is the Mamamusic
Mamamusic
action filter_type
action find
entity NikitA
relation record label
type division
['NikitA', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { resource:NikitA property:record_label ?f . ?f rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P1313
Q12737077
USER
Which occupation is fulfilled by France ?
(Q142,P1313,c(Q12737077))
action filter_type
action find
entity Q142
relation P1313
type Q12737077
['Q142', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q142 property:P1313 ?j . ?j rdf:type ontology:Q12737077 }
France
action filter_type
action find
entity France
relation office held by head of government
type occupation
['France', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:France property:office_held_by_head_of_government ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q1587677
SYSTEM
Prime Minister of France
Q1587677
(Q142,P1313,c(Q12737077))
action filter_type
action find
entity Q142
relation P1313
type Q12737077
France [ANSWER] is fulfilled by France
['Q142', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q142 property:P1313 ?j . ?j rdf:type ontology:Q12737077 }
Prime Minister of France
France Prime Minister of France is fulfilled by France
Prime Minister of France
action filter_type
action find
entity France
relation office held by head of government
type occupation
['France', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:France property:office_held_by_head_of_government ?j . ?j rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1587677 Q2105
P39
Q502895
USER
Was Jacques Chirac responsible for occupying the position of that occupation ?
(Q2105,P39,Q1587677)
action is_in
entity Q1587677
action find
entity Q2105
relation P39
['Q2105', 'P39', 'Q1587677']
ASK WHERE { resource:Q2105 property:P39 resource:Q1587677 }
Prime Minister of France Jacques Chirac
action is_in
entity Prime Minister of France
action find
entity Jacques Chirac
relation position held
['Jacques Chirac', 'position held', 'Prime Minister of France']
ASK WHERE { resource:Jacques_Chirac property:position_held resource:Prime_Minister_of_France }
[]
common name
SYSTEM
YES
(Q2105,P39,Q1587677)
action is_in
entity Q1587677
action find
entity Q2105
relation P39
[ANSWER]
['Q2105', 'P39', 'Q1587677']
ASK WHERE { resource:Q2105 property:P39 resource:Q1587677 }
Yes
action is_in
entity Prime Minister of France
action find
entity Jacques Chirac
relation position held
['Jacques Chirac', 'position held', 'Prime Minister of France']
ASK WHERE { resource:Jacques_Chirac property:position_held resource:Prime_Minister_of_France }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1904 Q176 Q2023
P47
Q15617994
USER
Does Ontario have an adjacent border with Quebec and Nunavut ?
(Q1904,P47,Q176) (Q1904,P47,Q2023)
action is_in
entity Q1904
action intersection
action find_reverse
entity Q176
relation P47
action find_reverse
entity Q2023
relation P47
['Q1904', 'P47', 'Q176'] ['Q1904', 'P47', 'Q2023']
ASK WHERE { resource:Q1904 property:P47 resource:Q176 . resource:Q1904 property:P47 resource:Q2023 }
Ontario Quebec Nunavut
action is_in
entity Ontario
action intersection
action find_reverse
entity Quebec
relation shares border with
action find_reverse
entity Nunavut
relation shares border with
['Ontario', 'shares border with', 'Quebec'] ['Ontario', 'shares border with', 'Nunavut']
ASK WHERE { resource:Ontario property:shares_border_with resource:Quebec . resource:Ontario property:shares_border_with resource:Nunavut }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1904,P47,Q176) (Q1904,P47,Q2023)
action is_in
entity Q1904
action intersection
action find_reverse
entity Q176
relation P47
action find_reverse
entity Q2023
relation P47
[ANSWER]
['Q1904', 'P47', 'Q176'] ['Q1904', 'P47', 'Q2023']
ASK WHERE { resource:Q1904 property:P47 resource:Q176 . resource:Q1904 property:P47 resource:Q2023 }
Yes
action is_in
entity Ontario
action intersection
action find_reverse
entity Quebec
relation shares border with
action find_reverse
entity Nunavut
relation shares border with
['Ontario', 'shares border with', 'Quebec'] ['Ontario', 'shares border with', 'Nunavut']
ASK WHERE { resource:Ontario property:shares_border_with resource:Quebec . resource:Ontario property:shares_border_with resource:Nunavut }
[]