Simple Question (Direct)
Simple Question
Q6219812
P1038
Q502895
USER
Which person is a relative of John Axon ?
(Q6219812,P1038,c(Q502895))
action filter_type
action find
entity Q6219812
relation P1038
type Q502895
['Q6219812', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q6219812 property:P1038 ?v . ?v rdf:type ontology:Q502895 }
John Axon
action filter_type
action find
entity John Axon
relation relative
type common name
['John Axon', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:John_Axon property:relative ?v . ?v rdf:type ontology:common_name }
[]
common name
Q16018048
SYSTEM
John Axon
Q16018048
(Q6219812,P1038,c(Q502895))
action filter_type
action find
entity Q6219812
relation P1038
type Q502895
[ANSWER] is a relative of [ANSWER]
['Q6219812', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q6219812 property:P1038 ?v . ?v rdf:type ontology:Q502895 }
John Axon
John Axon is a relative of John Axon
John Axon
action filter_type
action find
entity John Axon
relation relative
type common name
['John Axon', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:John_Axon property:relative ?v . ?v rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16018048 Q18557871 Q12152
P509
Q2057971
USER
Did that person died from hilar lung carcinoma and myocardial infarction ?
(Q16018048,P509,Q18557871) (Q16018048,P509,Q12152)
action is_in
entity Q16018048
action intersection
action find_reverse
entity Q18557871
relation P509
action find_reverse
entity Q12152
relation P509
['Q16018048', 'P509', 'Q18557871'] ['Q16018048', 'P509', 'Q12152']
ASK WHERE { resource:Q16018048 property:P509 resource:Q18557871 . resource:Q16018048 property:P509 resource:Q12152 }
John Axon hilar lung carcinoma myocardial infarction
action is_in
entity John Axon
action intersection
action find_reverse
entity hilar lung carcinoma
relation cause of death
action find_reverse
entity myocardial infarction
relation cause of death
['John Axon', 'cause of death', 'hilar lung carcinoma'] ['John Axon', 'cause of death', 'myocardial infarction']
ASK WHERE { resource:John_Axon property:cause_of_death resource:hilar_lung_carcinoma . resource:John_Axon property:cause_of_death resource:myocardial_infarction }
[]
health problem
SYSTEM
NO and YES respectively
(Q16018048,P509,Q18557871) (Q16018048,P509,Q12152)
action is_in
entity Q16018048
action intersection
action find_reverse
entity Q18557871
relation P509
action find_reverse
entity Q12152
relation P509
[ANSWER]
['Q16018048', 'P509', 'Q18557871'] ['Q16018048', 'P509', 'Q12152']
ASK WHERE { resource:Q16018048 property:P509 resource:Q18557871 . resource:Q16018048 property:P509 resource:Q12152 }
NO and YES respectively
action is_in
entity John Axon
action intersection
action find_reverse
entity hilar lung carcinoma
relation cause of death
action find_reverse
entity myocardial infarction
relation cause of death
['John Axon', 'cause of death', 'hilar lung carcinoma'] ['John Axon', 'cause of death', 'myocardial infarction']
ASK WHERE { resource:John_Axon property:cause_of_death resource:hilar_lung_carcinoma . resource:John_Axon property:cause_of_death resource:myocardial_infarction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16018048
P1196
Q1931388
USER
What manner did John Axon die ?
(Q16018048,P1196,c(Q1931388))
action filter_type
action find
entity Q16018048
relation P1196
type Q1931388
['Q16018048', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?i WHERE { resource:Q16018048 property:P1196 ?i . ?i rdf:type ontology:Q1931388 }
John Axon
action filter_type
action find
entity John Axon
relation manner of death
type cause of death
['John Axon', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?i WHERE { resource:John_Axon property:manner_of_death ?i . ?i rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q16018048,P1196,c(Q1931388))
action filter_type
action find
entity Q16018048
relation P1196
type Q1931388
John Axon died of [ANSWER]
['Q16018048', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?i WHERE { resource:Q16018048 property:P1196 ?i . ?i rdf:type ontology:Q1931388 }
natural causes
John Axon died of natural causes
natural causes
action filter_type
action find
entity John Axon
relation manner of death
type cause of death
['John Axon', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?i WHERE { resource:John_Axon property:manner_of_death ?i . ?i rdf:type ontology:cause_of_death }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3739104 Q16300205
P1196
Q502895
USER
Did Vellu Halkosalmi die as that cause of death ?
(Q16300205,P1196,Q3739104)
action is_in
entity Q16300205
action find
entity Q3739104
relation P1196
['Q16300205', 'P1196', 'Q3739104']
ASK WHERE { resource:Q3739104 property:P1196 resource:Q16300205 }
natural causes Vellu Halkosalmi
action is_in
entity Vellu Halkosalmi
action find
entity natural causes
relation manner of death
['Vellu Halkosalmi', 'manner of death', 'natural causes']
ASK WHERE { resource:natural_causes property:manner_of_death resource:Vellu_Halkosalmi }
[]
common name
SYSTEM
NO
(Q16300205,P1196,Q3739104)
action is_in
entity Q16300205
action find
entity Q3739104
relation P1196
[ANSWER]
['Q16300205', 'P1196', 'Q3739104']
ASK WHERE { resource:Q3739104 property:P1196 resource:Q16300205 }
No
action is_in
entity Vellu Halkosalmi
action find
entity natural causes
relation manner of death
['Vellu Halkosalmi', 'manner of death', 'natural causes']
ASK WHERE { resource:natural_causes property:manner_of_death resource:Vellu_Halkosalmi }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16018048 Q12152 Q27674876
P509
Q2057971
USER
Did John Axon die from myocardial infarction and cataract 39 multiple types ?
(Q16018048,P509,Q12152) (Q16018048,P509,Q27674876)
action is_in
entity Q16018048
action intersection
action find_reverse
entity Q12152
relation P509
action find_reverse
entity Q27674876
relation P509
['Q16018048', 'P509', 'Q12152'] ['Q16018048', 'P509', 'Q27674876']
ASK WHERE { resource:Q16018048 property:P509 resource:Q12152 . resource:Q16018048 property:P509 resource:Q27674876 }
John Axon myocardial infarction cataract 39 multiple types
action is_in
entity John Axon
action intersection
action find_reverse
entity myocardial infarction
relation cause of death
action find_reverse
entity cataract 39 multiple types
relation cause of death
['John Axon', 'cause of death', 'myocardial infarction'] ['John Axon', 'cause of death', 'cataract 39 multiple types']
ASK WHERE { resource:John_Axon property:cause_of_death resource:myocardial_infarction . resource:John_Axon property:cause_of_death resource:cataract_39_multiple_types }
[]
health problem
SYSTEM
YES and NO respectively
(Q16018048,P509,Q12152) (Q16018048,P509,Q27674876)
action is_in
entity Q16018048
action intersection
action find_reverse
entity Q12152
relation P509
action find_reverse
entity Q27674876
relation P509
[ANSWER]
['Q16018048', 'P509', 'Q12152'] ['Q16018048', 'P509', 'Q27674876']
ASK WHERE { resource:Q16018048 property:P509 resource:Q12152 . resource:Q16018048 property:P509 resource:Q27674876 }
YES and NO respectively
action is_in
entity John Axon
action intersection
action find_reverse
entity myocardial infarction
relation cause of death
action find_reverse
entity cataract 39 multiple types
relation cause of death
['John Axon', 'cause of death', 'myocardial infarction'] ['John Axon', 'cause of death', 'cataract 39 multiple types']
ASK WHERE { resource:John_Axon property:cause_of_death resource:myocardial_infarction . resource:John_Axon property:cause_of_death resource:cataract_39_multiple_types }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16018048
P21
Q290
USER
Which sex does that person possess ?
action filter_type
action find
entity Q16018048
relation P21
type Q290
SELECT DISTINCT ?e WHERE { resource:Q16018048 property:P21 ?e . ?e rdf:type ontology:Q290 }
John Axon
action filter_type
action find
entity John Axon
relation gender
type sex
SELECT DISTINCT ?e WHERE { resource:John_Axon property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q16018048
relation P21
type Q290
That person possesses a [ANSWER]
SELECT DISTINCT ?e WHERE { resource:Q16018048 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity John Axon
relation gender
type sex
SELECT DISTINCT ?e WHERE { resource:John_Axon property:gender ?e . ?e rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16018048
P27
Q15617994
USER
How many administrative territories are John Axon an inhabitant of ?
(Q16018048,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16018048
relation P27
type Q15617994
['Q16018048', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { resource:Q16018048 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
John Axon
action count
action filter_type
action find
entity John Axon
relation country of citizenship
type designation for an administrative territorial entity
['John Axon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { resource:John_Axon property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q16018048,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16018048
relation P27
type Q15617994
[ANSWER]
['Q16018048', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { resource:Q16018048 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity John Axon
relation country of citizenship
type designation for an administrative territorial entity
['John Axon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?j ) WHERE { resource:John_Axon property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16018048
P27
Q15617994
USER
Which administrative territory does that person belong to ?
action filter_type
action find
entity Q16018048
relation P27
type Q15617994
SELECT DISTINCT ?a WHERE { resource:Q16018048 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
John Axon
action filter_type
action find
entity John Axon
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?a WHERE { resource:John_Axon property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
action filter_type
action find
entity Q16018048
relation P27
type Q15617994
That person belongs to the [ANSWER]
SELECT DISTINCT ?a WHERE { resource:Q16018048 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity John Axon
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?a WHERE { resource:John_Axon property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q15416
USER
How many administrative territories are the origins of approximately the same number of film genres or television programs as that administrative territory ?
(c(Q201658)|c(Q15416),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q145
relation P495
type Q201658
type Q15416
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { { ?a rdf:type ontology:Q15416 } UNION { ?a rdf:type ontology:Q201658 } } . ?a property:P495 resource:Q145 } } . FILTER ( ?h = ?s ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?h ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } } GROUP BY ?e } }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation country of origin
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { { ?a rdf:type ontology:television_program } UNION { ?a rdf:type ontology:film_genre } } . ?a property:country_of_origin resource:United_Kingdom } } . FILTER ( ?h = ?s ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?h ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:television_program ) ( ontology:film_genre ) } } GROUP BY ?e } }
[]
designation for an administrative territorial entity film genre television program
SYSTEM
1
Q145
(c(Q201658)|c(Q15416),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q145
relation P495
type Q201658
type Q15416
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { { ?a rdf:type ontology:Q15416 } UNION { ?a rdf:type ontology:Q201658 } } . ?a property:P495 resource:Q145 } } . FILTER ( ?h = ?s ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?h ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q15416 ) ( ontology:Q201658 ) } } GROUP BY ?e } }
United Kingdom
1
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation country of origin
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { { { ?a rdf:type ontology:television_program } UNION { ?a rdf:type ontology:film_genre } } . ?a property:country_of_origin resource:United_Kingdom } } . FILTER ( ?h = ?s ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?h ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:television_program ) ( ontology:film_genre ) } } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1041
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with lesser number of administrative territories than Senegal ?
(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 Q1041
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?z ) WHERE { ?u property:P530 ?c . ?u rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?z < ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q1041 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } }
Senegal
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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?z ) WHERE { ?u property:diplomatic_relation ?c . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?z < ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Senegal property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
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 less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1041
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with lesser number of administrative territories than Senegal
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?z ) WHERE { ?u property:P530 ?c . ?u rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?z < ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q1041 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } }
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 lesser number of administrative territories than Senegal
Kingdom of the Netherlands Dominican Republic Tanzania
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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?z ) WHERE { ?u property:diplomatic_relation ?c . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?z < ?n ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Senegal property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q155
P530
Q15617994 Q15617994
USER
And also tell me about Brazil?
(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 Q155
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?l < ?i ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q155 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?l ) WHERE { ?j property:P530 ?f . ?j rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?j } }
Brazil
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 Brazil
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 ?j WHERE { FILTER ( ?l < ?i ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Brazil property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?l ) WHERE { ?j property:diplomatic_relation ?f . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(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 Q155
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?l < ?i ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Q155 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?l ) WHERE { ?j property:P530 ?f . ?j rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?j } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
United States of America Russia Netherlands
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 Brazil
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 ?j WHERE { FILTER ( ?l < ?i ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { resource:Brazil property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?l ) WHERE { ?j property:diplomatic_relation ?f . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q355304 Q1267889 Q15617994
USER
Which administrative territories have their location as approximately 1 watercourses or waterways ?
(c(Q15617994),P706,c(Q355304)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
value 1
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?o rdf:type ?q } GROUP BY ?f } . FILTER ( ?h = 1 ) }
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?o rdf:type ?q } GROUP BY ?f } . FILTER ( ?h = 1 ) }
[]
watercourse waterway designation for an administrative territorial entity
Q104192 Q216422 Q565749
SYSTEM
Kleinmachnow, Samsø, Erden
Q216422 Q5000224 Q104192 Q565749 Q7561974
(c(Q15617994),P706,c(Q355304)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q1267889
value 1
[ANSWERS] have their location as approximately 1 watercourses or waterways
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?o rdf:type ?q } GROUP BY ?f } . FILTER ( ?h = 1 ) }
Samsø Burnt River, Ontario Kleinmachnow Erden Sonning Eye
Kleinmachnow, Samsø and Erden have their location as approximately 1 watercourses or waterways
Kleinmachnow Samsø Erden
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type waterway
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?h ) WHERE { VALUES ( ?q ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?o rdf:type ?q } GROUP BY ?f } . FILTER ( ?h = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q104192 Q216422 Q565749
P17
Q1048835
USER
Which political territories are those administrative territories a part of ?
(Q104192,P17,c(Q1048835)) (Q216422,P17,c(Q1048835)) (Q565749,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q104192', 'P17', {'concept': 'Q1048835'}] ['Q216422', 'P17', {'concept': 'Q1048835'}] ['Q565749', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?s ) { ( resource:Q216422 ) ( resource:Q5000224 ) ( resource:Q104192 ) } . ?p rdf:type ontology:Q1048835 . ?s property:P17 ?p }
Kleinmachnow Samsø Erden
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Kleinmachnow', 'country', {'concept': 'political territorial entity'}] ['Samsø', 'country', {'concept': 'political territorial entity'}] ['Erden', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?s ) { ( resource:Samsø ) ( resource:Burnt_River,_Ontario ) ( resource:Kleinmachnow ) } . ?p rdf:type ontology:political_territorial_entity . ?s property:country ?p }
[]
political territorial entity
Q183 Q35 Q183
SYSTEM
Germany for 1st, 3rd, Denmark for 2nd
Q183 Q35 Q183
(Q104192,P17,c(Q1048835)) (Q216422,P17,c(Q1048835)) (Q565749,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
[ANSWERS]
['Q104192', 'P17', {'concept': 'Q1048835'}] ['Q216422', 'P17', {'concept': 'Q1048835'}] ['Q565749', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?s ) { ( resource:Q216422 ) ( resource:Q5000224 ) ( resource:Q104192 ) } . ?p rdf:type ontology:Q1048835 . ?s property:P17 ?p }
Germany Denmark Germany
Germany, Denmark and Germany are those administrative territories a part of
Germany Denmark Germany
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Kleinmachnow', 'country', {'concept': 'political territorial entity'}] ['Samsø', 'country', {'concept': 'political territorial entity'}] ['Erden', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?s ) { ( resource:Samsø ) ( resource:Burnt_River,_Ontario ) ( resource:Kleinmachnow ) } . ?p rdf:type ontology:political_territorial_entity . ?s property:country ?p }
[]