Simple Question (Direct)
Simple Question
Q1509873
P19
Q486972
USER
Which human settlement is the birthplace of Wilhelm von Hellermann ?
(Q1509873,P19,c(Q486972))
action filter_type
action find
entity Q1509873
relation P19
type Q486972
['Q1509873', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q486972 . resource:Q1509873 property:P19 ?d }
Wilhelm von Hellermann
action filter_type
action find
entity Wilhelm von Hellermann
relation place of birth
type human settlement
['Wilhelm von Hellermann', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:human_settlement . resource:Wilhelm_von_Hellermann property:place_of_birth ?d }
[]
human settlement
Q166145
SYSTEM
Karsina
Q166145
(Q1509873,P19,c(Q486972))
action filter_type
action find
entity Q1509873
relation P19
type Q486972
[ANSWER] is the birthplace of Wilhelm von Hellermann
['Q1509873', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q486972 . resource:Q1509873 property:P19 ?d }
Karsina
Karsina is the birthplace of Wilhelm von Hellermann
Karsina
action filter_type
action find
entity Wilhelm von Hellermann
relation place of birth
type human settlement
['Wilhelm von Hellermann', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:human_settlement . resource:Wilhelm_von_Hellermann property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q166145
P17
Q15617994
USER
Which administrative territory is that human settlement located in ?
(Q166145,P17,c(Q15617994))
action filter_type
action find
entity Q166145
relation P17
type Q15617994
['Q166145', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q166145 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Karsina
action filter_type
action find
entity Karsina
relation country
type designation for an administrative territorial entity
['Karsina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Karsina property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q166145,P17,c(Q15617994))
action filter_type
action find
entity Q166145
relation P17
type Q15617994
That human settlement is located in [ANSWER]
['Q166145', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q166145 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Poland
That human settlement is located in Poland
Poland
action filter_type
action find
entity Karsina
relation country
type designation for an administrative territorial entity
['Karsina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Karsina property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q36 Q479927
P530
Q1048835
USER
Does Schrevenborn hold diplomatic relationship with that administrative territory ?
(Q36,P530,Q479927)
action is_in
entity Q479927
action find
entity Q36
relation P530
['Q36', 'P530', 'Q479927']
ASK WHERE { resource:Q36 property:P530 resource:Q479927 }
Poland Schrevenborn
action is_in
entity Schrevenborn
action find
entity Poland
relation diplomatic relation
['Poland', 'diplomatic relation', 'Schrevenborn']
ASK WHERE { resource:Poland property:diplomatic_relation resource:Schrevenborn }
[]
political territorial entity
SYSTEM
NO
(Q36,P530,Q479927)
action is_in
entity Q479927
action find
entity Q36
relation P530
[ANSWER]
['Q36', 'P530', 'Q479927']
ASK WHERE { resource:Q36 property:P530 resource:Q479927 }
No
action is_in
entity Schrevenborn
action find
entity Poland
relation diplomatic relation
['Poland', 'diplomatic relation', 'Schrevenborn']
ASK WHERE { resource:Poland property:diplomatic_relation resource:Schrevenborn }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with approximately 11 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { FILTER ( ?r = 11 ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?r ) WHERE { ?v rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?v property:P530 ?y } GROUP BY ?v } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { FILTER ( ?r = 11 ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?r ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?y } GROUP BY ?v } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
38
Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q43 Q41 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q34 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { FILTER ( ?r = 11 ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?r ) WHERE { ?v rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?v property:P530 ?y } GROUP BY ?v } }
Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Turkey Greece Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium Sweden North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
38
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { FILTER ( ?r = 11 ) . { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?r ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?y } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q262
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with approximately the same number of administrative territories as Algeria ?
(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 Q262
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?y ) WHERE { ?b rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?d property:P530 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q262 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?v ) }
Algeria
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 Algeria
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 ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?y ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Algeria property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?v ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
156
Q702 Q804 Q800 Q419 Q668 Q414 Q55 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 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 Q262
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?y ) WHERE { ?b rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?d property:P530 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q262 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?v ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands 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 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
156
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 Algeria
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 ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?y ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Algeria property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?v ) }
[]