Simple Question (Direct)
Simple Question
Q3186080
P734
Q82799
USER
Who has the surname Joslan F. Keller ?
(Q3186080,P734,c(Q82799))
action filter_type
action find
entity Q3186080
relation P734
type Q82799
['Q3186080', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q3186080 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Joslan F. Keller
action filter_type
action find
entity Joslan F. Keller
relation family name
type name
['Joslan F. Keller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Joslan_F._Keller property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q1738213
SYSTEM
Keller
Q1738213
(Q3186080,P734,c(Q82799))
action filter_type
action find
entity Q3186080
relation P734
type Q82799
[ANSWER] has the surname Joslan F. [ANSWER]
['Q3186080', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q3186080 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Keller
Keller has the surname Joslan F. Keller
Keller
action filter_type
action find
entity Joslan F. Keller
relation family name
type name
['Joslan F. Keller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Joslan_F._Keller property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3186080
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q1738213,P27,c(Q15617994))
action filter_type
action find
entity Q3186080
relation P27
type Q15617994
['Q1738213', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3186080 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Joslan F. Keller
action filter_type
action find
entity Joslan F. Keller
relation country of citizenship
type designation for an administrative territorial entity
['Keller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Joslan_F._Keller property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1738213,P27,c(Q15617994))
action filter_type
action find
entity Q3186080
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q1738213', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3186080 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
France
The France is that person an inhabitant of
France
action filter_type
action find
entity Joslan F. Keller
relation country of citizenship
type designation for an administrative territorial entity
['Keller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Joslan_F._Keller property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
Which administrative territories inspired around the same number of fictional locations as that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find
entity Q142
relation P941
type Q15617994
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?f ) WHERE { ?r rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q3895768 . ?t property:P941 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Q142 property:P941 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?f = ?q ) }
action approx
action find_reverse_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find
entity France
relation inspired by
type designation for an administrative territorial entity
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?f ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:fictional_location . ?t property:inspired_by ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:France property:inspired_by ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f = ?q ) }
[]
designation for an administrative territorial entity fictional location
Q159 Q55 Q142
SYSTEM
Russia, Netherlands, France
Q142 Q159 Q424 Q794 Q33 Q954 Q31 Q889 Q55
(c(Q3895768),P941,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P941
type Q15617994
type Q3895768
action count
action filter_type
action find
entity Q142
relation P941
type Q15617994
[ANSWERS] inspired around the same number of fictional locations as that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?f ) WHERE { ?r rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q3895768 . ?t property:P941 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:Q142 property:P941 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?f = ?q ) }
France Russia Cambodia Iran Finland Zimbabwe Belgium Afghanistan Netherlands
Russia, Netherlands and France inspired around the same number of fictional locations as that administrative territory
Russia Netherlands France
action approx
action find_reverse_tuple_counts
relation inspired by
type designation for an administrative territorial entity
type fictional location
action count
action filter_type
action find
entity France
relation inspired by
type designation for an administrative territorial entity
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?f ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:fictional_location . ?t property:inspired_by ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { resource:France property:inspired_by ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f = ?q ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with min number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?j ) { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?s ) WHERE { ?k property:P530 ?g . ?k rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?c ) WHERE { ?x rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?x property:P530 ?p } GROUP BY ?x } . FILTER ( ?c = ?j ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
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 ?x WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?j ) { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?s ) WHERE { ?k property:diplomatic_relation ?g . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?c ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?p } GROUP BY ?x } . FILTER ( ?c = ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] are known to have diplomatic connections with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?j ) { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?s ) WHERE { ?k property:P530 ?g . ?k rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?c ) WHERE { ?x rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?x property:P530 ?p } GROUP BY ?x } . FILTER ( ?c = ?j ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania are known to have diplomatic connections with min number of administrative territories
Kingdom of the Netherlands Dominican Republic Tanzania
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
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 ?x WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?j ) { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?s ) WHERE { ?k property:diplomatic_relation ?g . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } } . { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?c ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?p } GROUP BY ?x } . FILTER ( ?c = ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q917
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with lesser number of administrative territories than Bhutan ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?f property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?o < ?e ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q917 property:P530 ?k } } }
Bhutan
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 Bhutan
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?f property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?o < ?e ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bhutan property:diplomatic_relation ?k } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
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 less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with lesser number of administrative territories than Bhutan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?f property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?o < ?e ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q917 property:P530 ?k } } }
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
Central African Republic, Kingdom of the Netherlands and Kazakhstan have diplomatic relationships with lesser number of administrative territories than Bhutan
Central African Republic Kingdom of the Netherlands Kazakhstan
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 Bhutan
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?o ) WHERE { ?f property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?o < ?e ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bhutan property:diplomatic_relation ?k } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q55
P530
Q15617994 Q15617994
USER
And what about Netherlands?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q55
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P530 resource:Q55 . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?o ) }
Netherlands
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 Netherlands
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:diplomatic_relation resource:Netherlands . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q218 Q20 Q948
SYSTEM
Romania, Norway, Tunisia
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q55
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P530 resource:Q55 . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?o ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
Romania Norway Tunisia
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 Netherlands
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:diplomatic_relation resource:Netherlands . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2092297
P180
Q82799 Q18783400 Q17335294
USER
Which names are expressed in lesser number of genres of sculpture and coats of arms than eagle ?
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q2092297
relation P180
type Q18783400
type Q17335294
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?a < ?g ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P180 resource:Q2092297 . { { ?b rdf:type ontology:Q18783400 } UNION { ?b rdf:type ontology:Q17335294 } } } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?o WHERE { { ?o rdf:type ontology:Q82799 . ?v rdf:type ontology:Q18783400 . ?v property:P180 ?o } UNION { ?v property:P180 ?o . ?o rdf:type ontology:Q82799 . ?v rdf:type ontology:Q17335294 } } GROUP BY ?o } }
eagle
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity eagle
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?a < ?g ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:depicts resource:eagle . { { ?b rdf:type ontology:genre_of_sculpture } UNION { ?b rdf:type ontology:flag_or_coat_of_arms } } } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?o WHERE { { ?o rdf:type ontology:name . ?v rdf:type ontology:genre_of_sculpture . ?v property:depicts ?o } UNION { ?v property:depicts ?o . ?o rdf:type ontology:name . ?v rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?o } }
[]
name genre of sculpture flag or coat of arms
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q2092297
relation P180
type Q18783400
type Q17335294
[ANSWERS] are expressed in lesser number of genres of sculpture and coats of arms than eagle
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?a < ?g ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P180 resource:Q2092297 . { { ?b rdf:type ontology:Q18783400 } UNION { ?b rdf:type ontology:Q17335294 } } } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?o WHERE { { ?o rdf:type ontology:Q82799 . ?v rdf:type ontology:Q18783400 . ?v property:P180 ?o } UNION { ?v property:P180 ?o . ?o rdf:type ontology:Q82799 . ?v rdf:type ontology:Q17335294 } } GROUP BY ?o } }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Leek, magi and fish are expressed in lesser number of genres of sculpture and coats of arms than eagle
leek magi fish
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity eagle
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?a < ?g ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:depicts resource:eagle . { { ?b rdf:type ontology:genre_of_sculpture } UNION { ?b rdf:type ontology:flag_or_coat_of_arms } } } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) ?o WHERE { { ?o rdf:type ontology:name . ?v rdf:type ontology:genre_of_sculpture . ?v property:depicts ?o } UNION { ?v property:depicts ?o . ?o rdf:type ontology:name . ?v rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?o } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q726
P180
Q82799 Q18783400 Q17335294
USER
And also tell me about horse?
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q726
relation P180
type Q18783400
type Q17335294
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?p ) WHERE { { ?t property:P180 ?i . ?i rdf:type ontology:Q82799 . ?t rdf:type ontology:Q18783400 } UNION { ?t property:P180 ?i . ?i rdf:type ontology:Q82799 . ?t rdf:type ontology:Q17335294 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P180 resource:Q726 . { { ?a rdf:type ontology:Q18783400 } UNION { ?a rdf:type ontology:Q17335294 } } } } . FILTER ( ?p < ?j ) }
horse
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity horse
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?p ) WHERE { { ?t property:depicts ?i . ?i rdf:type ontology:name . ?t rdf:type ontology:genre_of_sculpture } UNION { ?t property:depicts ?i . ?i rdf:type ontology:name . ?t rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:depicts resource:horse . { { ?a rdf:type ontology:genre_of_sculpture } UNION { ?a rdf:type ontology:flag_or_coat_of_arms } } } } . FILTER ( ?p < ?j ) }
[]
name genre of sculpture flag or coat of arms
Q144 Q1807269 Q876933
SYSTEM
dog, leek, magi
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q18783400)|c(Q17335294),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q726
relation P180
type Q18783400
type Q17335294
[ANSWERS]
[[{'concept': 'Q18783400'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?p ) WHERE { { ?t property:P180 ?i . ?i rdf:type ontology:Q82799 . ?t rdf:type ontology:Q18783400 } UNION { ?t property:P180 ?i . ?i rdf:type ontology:Q82799 . ?t rdf:type ontology:Q17335294 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:P180 resource:Q726 . { { ?a rdf:type ontology:Q18783400 } UNION { ?a rdf:type ontology:Q17335294 } } } } . FILTER ( ?p < ?j ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
dog leek magi
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity horse
relation depicts
type genre of sculpture
type flag or coat of arms
[[{'concept': 'genre of sculpture'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?p ) WHERE { { ?t property:depicts ?i . ?i rdf:type ontology:name . ?t rdf:type ontology:genre_of_sculpture } UNION { ?t property:depicts ?i . ?i rdf:type ontology:name . ?t rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { ?a property:depicts resource:horse . { { ?a rdf:type ontology:genre_of_sculpture } UNION { ?a rdf:type ontology:flag_or_coat_of_arms } } } } . FILTER ( ?p < ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P47
Q56061
USER
Which administrative territory shares border with Norway ?
(Q20,P47,c(Q56061))
action filter_type
action find
entity Q20
relation P47
type Q56061
['Q20', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q20 property:P47 ?f . ?f rdf:type ontology:Q56061 }
Norway
action filter_type
action find
entity Norway
relation shares border with
type administrative territorial entity
['Norway', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Norway property:shares_border_with ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q20,P47,c(Q56061))
action filter_type
action find
entity Q20
relation P47
type Q56061
In [ANSWER] shares border with Norway
['Q20', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q20 property:P47 ?f . ?f rdf:type ontology:Q56061 }
European Union
In European Union shares border with Norway
European Union
action filter_type
action find
entity Norway
relation shares border with
type administrative territorial entity
['Norway', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Norway property:shares_border_with ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q554421
Q56061
USER
And how about Gmina Psary?
(Q554421,P47,c(Q56061))
action filter_type
action find
entity Q554421
relation P47
type Q56061
['Q554421', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q554421 property:P47 ?q . ?q rdf:type ontology:Q56061 }
Gmina Psary
action filter_type
action find
entity Gmina Psary
relation shares border with
type administrative territorial entity
['Gmina Psary', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gmina_Psary property:shares_border_with ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q985640
SYSTEM
Wojkowice
Q985640
(Q554421,P47,c(Q56061))
action filter_type
action find
entity Q554421
relation P47
type Q56061
[ANSWER]
['Q554421', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q554421 property:P47 ?q . ?q rdf:type ontology:Q56061 }
Wojkowice
Wojkowice
action filter_type
action find
entity Gmina Psary
relation shares border with
type administrative territorial entity
['Gmina Psary', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gmina_Psary property:shares_border_with ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q985640 Q11725473
P19
Q502895
USER
Does Jerzy Sulikowski have place of birth as that administrative territory ?
(Q11725473,P19,Q985640)
action is_in
entity Q985640
action find
entity Q11725473
relation P19
['Q11725473', 'P19', 'Q985640']
ASK WHERE { resource:Q11725473 property:P19 resource:Q985640 }
Wojkowice Jerzy Sulikowski
action is_in
entity Wojkowice
action find
entity Jerzy Sulikowski
relation place of birth
['Jerzy Sulikowski', 'place of birth', 'Wojkowice']
ASK WHERE { resource:Jerzy_Sulikowski property:place_of_birth resource:Wojkowice }
[]
common name
SYSTEM
YES
(Q11725473,P19,Q985640)
action is_in
entity Q985640
action find
entity Q11725473
relation P19
[ANSWER]
['Q11725473', 'P19', 'Q985640']
ASK WHERE { resource:Q11725473 property:P19 resource:Q985640 }
Yes
action is_in
entity Wojkowice
action find
entity Jerzy Sulikowski
relation place of birth
['Jerzy Sulikowski', 'place of birth', 'Wojkowice']
ASK WHERE { resource:Jerzy_Sulikowski property:place_of_birth resource:Wojkowice }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types are the registry port of approximately 2 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?h ) WHERE { ?r property:P532 ?o . ?r rdf:type ontology:Q2235308 . ?o rdf:type ontology:Q56061 } GROUP BY ?r } . FILTER ( ?h = 2 ) }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?h ) WHERE { ?r property:port_of_registry ?o . ?r rdf:type ontology:ship_type . ?o rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?h = 2 ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q33209
SYSTEM
MS Azura, SS Maxim Gorkiy, Mary Celeste
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWERS] are the registry port of approximately 2 administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?h ) WHERE { ?r property:P532 ?o . ?r rdf:type ontology:Q2235308 . ?o rdf:type ontology:Q56061 } GROUP BY ?r } . FILTER ( ?h = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura, SS Maxim Gorkiy and Mary Celeste are the registry port of approximately 2 administrative territories
MS Azura SS Maxim Gorkiy Mary Celeste
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?h ) WHERE { ?r property:port_of_registry ?o . ?r rdf:type ontology:ship_type . ?o rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?h = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have diplomatic relations with min number of administrative territories and political territories ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action argmin
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?u WHERE { ?w rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?j WHERE { { ?j property:P530 ?l . ?j rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } UNION { ?j property:P530 ?l . ?j rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } } GROUP BY ?j } . FILTER ( ?y = ?x ) }
action argmin
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?u WHERE { ?w rdf:type ?g . VALUES ( ?g ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?j WHERE { { ?j property:diplomatic_relation ?l . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j property:diplomatic_relation ?l . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . FILTER ( ?y = ?x ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q842 Q29999 Q262
SYSTEM
Oman, Kingdom of the Netherlands, Algeria
Q702 Q262 Q265 Q712 Q837 Q398 Q657 Q792 Q790 Q986 Q242 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q921 Q1027 Q1020 Q842 Q1037 Q974 Q1032 Q965 Q967 Q697 Q695 Q754 Q912 Q1007 Q1006 Q1005 Q1008 Q971 Q683 Q686 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action argmin
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWERS] have diplomatic relations with min number of administrative territories and political territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?u WHERE { ?w rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?j WHERE { { ?j property:P530 ?l . ?j rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } UNION { ?j property:P530 ?l . ?j rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1048835 } } GROUP BY ?j } . FILTER ( ?y = ?x ) }
Federated States of Micronesia Algeria Uzbekistan Fiji Nepal Bahrain Chad El Salvador Haiti Eritrea Belize Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan Brunei Mauritius Malawi Oman Rwanda Democratic Republic of the Congo Niger Burkina Faso Burundi Nauru Palau Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Oman, Kingdom of the Netherlands and Algeria have diplomatic relations with min number of administrative territories and political territories
Oman Kingdom of the Netherlands Algeria
action argmin
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?u WHERE { ?w rdf:type ?g . VALUES ( ?g ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?u } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?j WHERE { { ?j property:diplomatic_relation ?l . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j property:diplomatic_relation ?l . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:political_territorial_entity } } GROUP BY ?j } . FILTER ( ?y = ?x ) }
[]