Simple Question (Direct)
Simple Question
Q571469
P800
Q838948
USER
Which works of art are the notable works of Heinz Mack ?
(Q571469,P800,c(Q838948))
action filter_type
action find
entity Q571469
relation P800
type Q838948
['Q571469', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?l WHERE { resource:Q571469 property:P800 ?l . ?l rdf:type ontology:Q838948 }
Heinz Mack
action filter_type
action find
entity Heinz Mack
relation notable work
type work of art
['Heinz Mack', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?l WHERE { resource:Heinz_Mack property:notable_work ?l . ?l rdf:type ontology:work_of_art }
[]
work of art
Q7797504 Q6422128
SYSTEM
Three Graces, Knife Tree
Q7797504 Q6422128
(Q571469,P800,c(Q838948))
action filter_type
action find
entity Q571469
relation P800
type Q838948
[ANSWERS] are the notable works of Heinz Mack
['Q571469', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?l WHERE { resource:Q571469 property:P800 ?l . ?l rdf:type ontology:Q838948 }
Three Graces Knife Tree
Three Graces and Knife Tree are the notable works of Heinz Mack
Three Graces Knife Tree
action filter_type
action find
entity Heinz Mack
relation notable work
type work of art
['Heinz Mack', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?l WHERE { resource:Heinz_Mack property:notable_work ?l . ?l rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7797504
P170
Q502895
USER
Who created Three Graces ?
(Q7797504,P170,c(Q502895))
action filter_type
action find
entity Q7797504
relation P170
type Q502895
['Q7797504', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7797504 property:P170 ?m . ?m rdf:type ontology:Q502895 }
Three Graces
action filter_type
action find
entity Three Graces
relation creator
type common name
['Three Graces', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Three_Graces property:creator ?m . ?m rdf:type ontology:common_name }
[]
common name
Q571469
SYSTEM
Heinz Mack
Q571469
(Q7797504,P170,c(Q502895))
action filter_type
action find
entity Q7797504
relation P170
type Q502895
The [ANSWER] created Three Graces
['Q7797504', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q7797504 property:P170 ?m . ?m rdf:type ontology:Q502895 }
Heinz Mack
The Heinz Mack created Three Graces
Heinz Mack
action filter_type
action find
entity Three Graces
relation creator
type common name
['Three Graces', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Three_Graces property:creator ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7797504
P136
Q483394
USER
What can be considered as category for that work of art ?
(Q571469,P136,c(Q483394))
action filter_type
action find
entity Q7797504
relation P136
type Q483394
['Q571469', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q483394 . resource:Q7797504 property:P136 ?j }
Three Graces
action filter_type
action find
entity Three Graces
relation genre
type genre
['Heinz Mack', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:genre . resource:Three_Graces property:genre ?j }
[]
genre
Q557141
SYSTEM
public art
Q557141
(Q571469,P136,c(Q483394))
action filter_type
action find
entity Q7797504
relation P136
type Q483394
[ANSWER] can be considered as category for that work of art
['Q571469', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q483394 . resource:Q7797504 property:P136 ?j }
public art
Public art can be considered as category for that work of art
public art
action filter_type
action find
entity Three Graces
relation genre
type genre
['Heinz Mack', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:genre . resource:Three_Graces property:genre ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7797504
P276
Q22698
USER
Where can Three Graces be found ?
(Q7797504,P276,c(Q22698))
action filter_type
action find
entity Q7797504
relation P276
type Q22698
['Q7797504', 'P276', {'concept': 'Q22698'}]
SELECT DISTINCT ?i WHERE { resource:Q7797504 property:P276 ?i . ?i rdf:type ontology:Q22698 }
Three Graces
action filter_type
action find
entity Three Graces
relation location
type park
['Three Graces', 'location', {'concept': 'park'}]
SELECT DISTINCT ?i WHERE { resource:Three_Graces property:location ?i . ?i rdf:type ontology:park }
[]
park
Q6708645
SYSTEM
Lynden Sculpture Garden
Q6708645
(Q7797504,P276,c(Q22698))
action filter_type
action find
entity Q7797504
relation P276
type Q22698
Three Graces can be found in [ANSWER]
['Q7797504', 'P276', {'concept': 'Q22698'}]
SELECT DISTINCT ?i WHERE { resource:Q7797504 property:P276 ?i . ?i rdf:type ontology:Q22698 }
Lynden Sculpture Garden
Three Graces can be found in Lynden Sculpture Garden
Lynden Sculpture Garden
action filter_type
action find
entity Three Graces
relation location
type park
['Three Graces', 'location', {'concept': 'park'}]
SELECT DISTINCT ?i WHERE { resource:Three_Graces property:location ?i . ?i rdf:type ontology:park }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6708645
P17
Q15617994
USER
Which administrative territory is that park situated in ?
(Q6708645,P17,c(Q15617994))
action filter_type
action find
entity Q6708645
relation P17
type Q15617994
['Q6708645', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q6708645 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Lynden Sculpture Garden
action filter_type
action find
entity Lynden Sculpture Garden
relation country
type designation for an administrative territorial entity
['Lynden Sculpture Garden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Lynden_Sculpture_Garden property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6708645,P17,c(Q15617994))
action filter_type
action find
entity Q6708645
relation P17
type Q15617994
That park is situated in [ANSWER]
['Q6708645', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q6708645 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
That park is situated in United States of America
United States of America
action filter_type
action find
entity Lynden Sculpture Garden
relation country
type designation for an administrative territorial entity
['Lynden Sculpture Garden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Lynden_Sculpture_Garden property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q37
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with approximately the same number of administrative territories as Lithuania ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q37
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:P530 ?k . ?a rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q37 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?j ) }
Lithuania
action count
action approx
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
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 ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:diplomatic_relation ?k . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Lithuania property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 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 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 count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q37
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:P530 ?k . ?a rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q37 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?j ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati 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 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
158
action count
action approx
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
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 ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?a ) AS ?e ) WHERE { ?a property:diplomatic_relation ?k . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Lithuania property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q967
P530
Q15617994 Q15617994
USER
And also tell me about Burundi?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q967
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q967 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?p ) WHERE { ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?d property:P530 ?k } GROUP BY ?k } }
Burundi
action count
action approx
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
entity Burundi
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 ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Burundi property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?p ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?k } GROUP BY ?k } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 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 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 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q967
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q967 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?p ) WHERE { ?k rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?d property:P530 ?k } GROUP BY ?k } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 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 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 Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
152
action count
action approx
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
entity Burundi
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 ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Burundi property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?d ) AS ?p ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?k } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1041
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with less number of administrative territories than Senegal ?
(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 Q1041
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?b ) WHERE { ?a property:P530 ?v . ?a rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q1041 property:P530 ?e } } . FILTER ( ?b < ?p ) }
Senegal
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 Senegal
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 ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?b ) WHERE { ?a property:diplomatic_relation ?v . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Senegal property:diplomatic_relation ?e } } . FILTER ( ?b < ?p ) }
[]
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 Q1041
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?b ) WHERE { ?a property:P530 ?v . ?a rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q1041 property:P530 ?e } } . FILTER ( ?b < ?p ) }
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 Senegal
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 ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?b ) WHERE { ?a property:diplomatic_relation ?v . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Senegal property:diplomatic_relation ?e } } . FILTER ( ?b < ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1049
P530
Q15617994 Q15617994
USER
And what about Sudan?
(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 Q1049
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ontology:Q15617994 . ?j property:P530 resource:Q1049 } } . FILTER ( ?z < ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?m } }
Sudan
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 Sudan
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 ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation resource:Sudan } } . FILTER ( ?z < ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
103
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 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 Q1019 Q945 Q678 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 Q1049
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ontology:Q15617994 . ?j property:P530 resource:Q1049 } } . FILTER ( ?z < ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?m } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia 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 Madagascar Togo Tonga New Caledonia Thailand
103
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 Sudan
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 ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation resource:Sudan } } . FILTER ( ?z < ?e ) . { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q571469
P112
Q2198855
USER
Which cultural movement was started by Heinz Mack ?
(c(Q2198855),P112,Q571469)
action filter_type
action find_reverse
entity Q571469
relation P112
type Q2198855
[{'concept': 'Q2198855'}, 'P112', 'Q571469']
SELECT DISTINCT ?u WHERE { ?u property:P112 resource:Q571469 . ?u rdf:type ontology:Q2198855 }
Heinz Mack
action filter_type
action find_reverse
entity Heinz Mack
relation founder
type cultural movement
[{'concept': 'cultural movement'}, 'founder', 'Heinz Mack']
SELECT DISTINCT ?u WHERE { ?u property:founder resource:Heinz_Mack . ?u rdf:type ontology:cultural_movement }
[]
cultural movement
Q136046
SYSTEM
Zero
Q136046
(c(Q2198855),P112,Q571469)
action filter_type
action find_reverse
entity Q571469
relation P112
type Q2198855
The [ANSWER] was started by Heinz Mack
[{'concept': 'Q2198855'}, 'P112', 'Q571469']
SELECT DISTINCT ?u WHERE { ?u property:P112 resource:Q571469 . ?u rdf:type ontology:Q2198855 }
Zero
The Zero was started by Heinz Mack
Zero
action filter_type
action find_reverse
entity Heinz Mack
relation founder
type cultural movement
[{'concept': 'cultural movement'}, 'founder', 'Heinz Mack']
SELECT DISTINCT ?u WHERE { ?u property:founder resource:Heinz_Mack . ?u rdf:type ontology:cultural_movement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q571469
P463
Q2198855
USER
Which cultural movement had that person as its member ?
(Q136046,P463,c(Q2198855))
action filter_type
action find
entity Q571469
relation P463
type Q2198855
['Q136046', 'P463', {'concept': 'Q2198855'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2198855 . resource:Q571469 property:P463 ?k }
Heinz Mack
action filter_type
action find
entity Heinz Mack
relation member of
type cultural movement
['Zero', 'member of', {'concept': 'cultural movement'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:cultural_movement . resource:Heinz_Mack property:member_of ?k }
[]
cultural movement
Q136046
SYSTEM
Zero
Q136046
(Q136046,P463,c(Q2198855))
action filter_type
action find
entity Q571469
relation P463
type Q2198855
[ANSWER] had that person as its member
['Q136046', 'P463', {'concept': 'Q2198855'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2198855 . resource:Q571469 property:P463 ?k }
Zero
Zero had that person as its member
Zero
action filter_type
action find
entity Heinz Mack
relation member of
type cultural movement
['Zero', 'member of', {'concept': 'cultural movement'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:cultural_movement . resource:Heinz_Mack property:member_of ?k }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P737
Q2198855 Q502895
USER
How many cultural movements acted as an inflence on more number of people than that cultural movement ?
(c(Q502895),P737,c(Q2198855))
action count
action greater
action find_reverse_tuple_counts
relation P737
type Q2198855
type Q502895
action count
action filter_type
action find
entity Q136046
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P737 ?w . ?w rdf:type ontology:Q2198855 . ?y rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q136046 property:P737 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?u > ?k ) }
action count
action greater
action find_reverse_tuple_counts
relation influenced by
type cultural movement
type common name
action count
action filter_type
action find
entity Zero
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:influenced_by ?w . ?w rdf:type ontology:cultural_movement . ?y rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Zero property:influenced_by ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?u > ?k ) }
[]
cultural movement common name
SYSTEM
9
Q576913 Q212611 Q207445 Q166593 Q39427 Q200034 Q80113 Q2907232 Q42934
(c(Q502895),P737,c(Q2198855))
action count
action greater
action find_reverse_tuple_counts
relation P737
type Q2198855
type Q502895
action count
action filter_type
action find
entity Q136046
relation P737
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P737', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P737 ?w . ?w rdf:type ontology:Q2198855 . ?y rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Q136046 property:P737 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?u > ?k ) }
Arte Povera COBRA De Stijl fauvism surrealism Pointillism expressionism Antropophagia cubism
9
action count
action greater
action find_reverse_tuple_counts
relation influenced by
type cultural movement
type common name
action count
action filter_type
action find
entity Zero
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:influenced_by ?w . ?w rdf:type ontology:cultural_movement . ?y rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { resource:Zero property:influenced_by ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?u > ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q20027951 Q40218
USER
Which people were crew members of approximately 2 aircraft power classes and spacecrafts ?
(c(Q20027951)|c(Q40218),P1029,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
value 2
[[{'concept': 'Q20027951'}, {'concept': 'Q40218'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?d WHERE { VALUES ( ?b ) { ( ontology:Q20027951 ) ( ontology:Q40218 ) } . ?j rdf:type ?b } GROUP BY ?d } . FILTER ( ?x = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
value 2
[[{'concept': 'aircraft power class'}, {'concept': 'spacecraft'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?d WHERE { VALUES ( ?b ) { ( ontology:aircraft_power_class ) ( ontology:spacecraft ) } . ?j rdf:type ?b } GROUP BY ?d } . FILTER ( ?x = 2 ) }
[]
common name aircraft power class spacecraft
Q461840 Q472683
SYSTEM
Jing Haipeng, Nie Haisheng
Q461840 Q472683
(c(Q20027951)|c(Q40218),P1029,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q20027951
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
value 2
[ANSWERS] were crew members of approximately 2 aircraft power classes and spacecrafts
[[{'concept': 'Q20027951'}, {'concept': 'Q40218'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?d WHERE { VALUES ( ?b ) { ( ontology:Q20027951 ) ( ontology:Q40218 ) } . ?j rdf:type ?b } GROUP BY ?d } . FILTER ( ?x = 2 ) }
Jing Haipeng Nie Haisheng
Jing Haipeng and Nie Haisheng were crew members of approximately 2 aircraft power classes and spacecrafts
Jing Haipeng Nie Haisheng
action approx
action union
action find_reverse_tuple_counts
relation crew member
type common name
type aircraft power class
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
value 2
[[{'concept': 'aircraft power class'}, {'concept': 'spacecraft'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) ?d WHERE { VALUES ( ?b ) { ( ontology:aircraft_power_class ) ( ontology:spacecraft ) } . ?j rdf:type ?b } GROUP BY ?d } . FILTER ( ?x = 2 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1508865 Q571469
P27
Q1048835
USER
Which political territories are Heinz Mack and Hermann Pohle an inhabitant of ?
AND((Q571469,P27,c(Q1048835)), (Q1508865,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q571469
relation P27
action find
entity Q1508865
relation P27
type Q1048835
{'AND': [['Q571469', 'P27', {'concept': 'Q1048835'}], ['Q1508865', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { resource:Q1508865 property:P27 ?m . resource:Q571469 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Hermann Pohle Heinz Mack
action filter_type
action intersection
action find
entity Heinz Mack
relation country of citizenship
action find
entity Hermann Pohle
relation country of citizenship
type political territorial entity
{'AND': [['Heinz Mack', 'country of citizenship', {'concept': 'political territorial entity'}], ['Hermann Pohle', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Hermann_Pohle property:country_of_citizenship ?m . resource:Heinz_Mack property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q571469,P27,c(Q1048835)), (Q1508865,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q571469
relation P27
action find
entity Q1508865
relation P27
type Q1048835
[ANSWER] is Heinz Mack and Hermann Pohle an inhabitant of
{'AND': [['Q571469', 'P27', {'concept': 'Q1048835'}], ['Q1508865', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { resource:Q1508865 property:P27 ?m . resource:Q571469 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Germany
Germany is Heinz Mack and Hermann Pohle an inhabitant of
Germany
action filter_type
action intersection
action find
entity Heinz Mack
relation country of citizenship
action find
entity Hermann Pohle
relation country of citizenship
type political territorial entity
{'AND': [['Heinz Mack', 'country of citizenship', {'concept': 'political territorial entity'}], ['Hermann Pohle', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { resource:Hermann_Pohle property:country_of_citizenship ?m . resource:Heinz_Mack property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]