Simple Question (Direct)
Simple Question
Q1335927
P102
Q7278
USER
Which political party is Emil Böhme a member of ?
(Q1335927,P102,c(Q7278))
action filter_type
action find
entity Q1335927
relation P102
type Q7278
['Q1335927', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { resource:Q1335927 property:P102 ?s . ?s rdf:type ontology:Q7278 }
Emil Böhme
action filter_type
action find
entity Emil Böhme
relation member of political party
type political party
['Emil Böhme', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { resource:Emil_Böhme property:member_of_political_party ?s . ?s rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1335927,P102,c(Q7278))
action filter_type
action find
entity Q1335927
relation P102
type Q7278
Party [ANSWER] is Emil Böhme a member of
['Q1335927', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?s WHERE { resource:Q1335927 property:P102 ?s . ?s rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Emil Böhme a member of
Social Democratic Party of Germany
action filter_type
action find
entity Emil Böhme
relation member of political party
type political party
['Emil Böhme', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?s WHERE { resource:Emil_Böhme property:member_of_political_party ?s . ?s rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1335927
P39
Q12737077
USER
Which occupation was a position occupied by Emil Böhme ?
(Q1335927,P39,c(Q12737077))
action filter_type
action find
entity Q1335927
relation P39
type Q12737077
['Q1335927', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1335927 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Emil Böhme
action filter_type
action find
entity Emil Böhme
relation position held
type occupation
['Emil Böhme', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Emil_Böhme property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q514725
SYSTEM
Landrat
Q514725
(Q1335927,P39,c(Q12737077))
action filter_type
action find
entity Q1335927
relation P39
type Q12737077
[ANSWER] was a position occupied by Emil Böhme
['Q1335927', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1335927 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Landrat
Landrat was a position occupied by Emil Böhme
Landrat
action filter_type
action find
entity Emil Böhme
relation position held
type occupation
['Emil Böhme', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Emil_Böhme property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1335927
P21
Q290
USER
Which sex does Emil Böhme have ?
(Q1335927,P21,c(Q290))
action filter_type
action find
entity Q1335927
relation P21
type Q290
['Q1335927', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q1335927 property:P21 ?m }
Emil Böhme
action filter_type
action find
entity Emil Böhme
relation gender
type sex
['Emil Böhme', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Emil_Böhme property:gender ?m }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1335927,P21,c(Q290))
action filter_type
action find
entity Q1335927
relation P21
type Q290
Emil Böhme has a [ANSWER]
['Q1335927', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q1335927 property:P21 ?m }
male
Emil Böhme has a male
male
action filter_type
action find
entity Emil Böhme
relation gender
type sex
['Emil Böhme', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Emil_Böhme property:gender ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1335927
P27
Q1048835
USER
Which political territory is Emil Böhme a civilian of ?
(Q1335927,P27,c(Q1048835))
action filter_type
action find
entity Q1335927
relation P27
type Q1048835
['Q1335927', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q1335927 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Emil Böhme
action filter_type
action find
entity Emil Böhme
relation country of citizenship
type political territorial entity
['Emil Böhme', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Emil_Böhme property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1335927,P27,c(Q1048835))
action filter_type
action find
entity Q1335927
relation P27
type Q1048835
[ANSWER] is Emil Böhme a civilian of
['Q1335927', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q1335927 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Germany
Germany is Emil Böhme a civilian of
Germany
action filter_type
action find
entity Emil Böhme
relation country of citizenship
type political territorial entity
['Emil Böhme', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Emil_Böhme property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1335927
P19
Q15617994
USER
Which administrative territory is the place of birth of Emil Böhme ?
(Q1335927,P19,c(Q15617994))
action filter_type
action find
entity Q1335927
relation P19
type Q15617994
['Q1335927', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1335927 property:P19 ?r . ?r rdf:type ontology:Q15617994 }
Emil Böhme
action filter_type
action find
entity Emil Böhme
relation place of birth
type designation for an administrative territorial entity
['Emil Böhme', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Emil_Böhme property:place_of_birth ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q486568
SYSTEM
Eisenberg
Q486568
(Q1335927,P19,c(Q15617994))
action filter_type
action find
entity Q1335927
relation P19
type Q15617994
[ANSWER] is the place of birth of Emil Böhme
['Q1335927', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1335927 property:P19 ?r . ?r rdf:type ontology:Q15617994 }
Eisenberg
Eisenberg is the place of birth of Emil Böhme
Eisenberg
action filter_type
action find
entity Emil Böhme
relation place of birth
type designation for an administrative territorial entity
['Emil Böhme', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Emil_Böhme property:place_of_birth ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1335927
P20
Q15617994
USER
Which administrative territory is the place of death of Emil Böhme ?
(Q1335927,P20,c(Q15617994))
action filter_type
action find
entity Q1335927
relation P20
type Q15617994
['Q1335927', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1335927 property:P20 ?c . ?c rdf:type ontology:Q15617994 }
Emil Böhme
action filter_type
action find
entity Emil Böhme
relation place of death
type designation for an administrative territorial entity
['Emil Böhme', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Emil_Böhme property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15976
SYSTEM
Altenburg
Q15976
(Q1335927,P20,c(Q15617994))
action filter_type
action find
entity Q1335927
relation P20
type Q15617994
[ANSWER] is the place of death of Emil Böhme
['Q1335927', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1335927 property:P20 ?c . ?c rdf:type ontology:Q15617994 }
Altenburg
Altenburg is the place of death of Emil Böhme
Altenburg
action filter_type
action find
entity Emil Böhme
relation place of death
type designation for an administrative territorial entity
['Emil Böhme', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Emil_Böhme property:place_of_death ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3894041
Q15617994
USER
And also tell me about Paolo Ficalora?
(Q3894041,P20,c(Q15617994))
action filter_type
action find
entity Q3894041
relation P20
type Q15617994
['Q3894041', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q3894041 property:P20 ?x }
Paolo Ficalora
action filter_type
action find
entity Paolo Ficalora
relation place of death
type designation for an administrative territorial entity
['Paolo Ficalora', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Paolo_Ficalora property:place_of_death ?x }
[]
designation for an administrative territorial entity
Q481642
SYSTEM
Castellammare del Golfo
Q481642
(Q3894041,P20,c(Q15617994))
action filter_type
action find
entity Q3894041
relation P20
type Q15617994
[ANSWER]
['Q3894041', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q3894041 property:P20 ?x }
Castellammare del Golfo
Castellammare del Golfo
action filter_type
action find
entity Paolo Ficalora
relation place of death
type designation for an administrative territorial entity
['Paolo Ficalora', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Paolo_Ficalora property:place_of_death ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q96
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with around the same number of administrative territories as Mexico ?
(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 Q96
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?l ) WHERE { ?e rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q96 property:P530 ?z } } . FILTER ( ?l = ?a ) }
Mexico
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 Mexico
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 ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?l ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mexico property:diplomatic_relation ?z } } . FILTER ( ?l = ?a ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 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 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 Q96
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?l ) WHERE { ?e rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q96 property:P530 ?z } } . FILTER ( ?l = ?a ) }
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 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 Togo Tonga Spain New Caledonia Thailand Zambia
154
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 Mexico
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 ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?l ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mexico property:diplomatic_relation ?z } } . FILTER ( ?l = ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with approximately 13 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 13
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?f ) WHERE { ?r property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?f = 13 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?f ) WHERE { ?r property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?f = 13 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q142 Q953 Q148
SYSTEM
France, Zambia, People's Republic of China
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q403 Q43 Q796 Q794 Q347 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 13
[ANSWERS] have diplomatic relationships with approximately 13 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?f ) WHERE { ?r property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?f = 13 ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Serbia Turkey Iraq Iran Liechtenstein Japan Egypt Libya Cape Verde Zambia
France, Zambia and People's Republic of China have diplomatic relationships with approximately 13 administrative territories
France Zambia People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 13
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?f ) WHERE { ?r property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?f = 13 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q494305
P706
Q15324 Q82794 Q15617994
USER
Which administrative territories are located in around the same number of bodies of water or geographic regions as Kelheim ?
(c(Q15617994),P706,c(Q15324)|c(Q82794))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q494305
relation P706
type Q15324
type Q82794
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?z WHERE { { ?z property:P706 ?r . ?r rdf:type ontology:Q15324 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P706 ?r . ?z rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q82794 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q494305 property:P706 ?t . { { ?t rdf:type ontology:Q15324 } UNION { ?t rdf:type ontology:Q82794 } } } } . FILTER ( ?j = ?o ) }
Kelheim
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Kelheim
relation located on terrain feature
type body of water
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?z WHERE { { ?z property:located_on_terrain_feature ?r . ?r rdf:type ontology:body_of_water . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:located_on_terrain_feature ?r . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:geographic_region } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Kelheim property:located_on_terrain_feature ?t . { { ?t rdf:type ontology:body_of_water } UNION { ?t rdf:type ontology:geographic_region } } } } . FILTER ( ?j = ?o ) }
[]
body of water geographic region designation for an administrative territorial entity
Q252320 Q508054 Q104192
SYSTEM
Pleinfeld, Neu Wulmstorf, Kleinmachnow
Q24846 Q3172 Q25129 Q252320 Q15744129 Q508054 Q1721440 Q496389 Q128230 Q204529 Q3146 Q252772 Q104192 Q81306 Q1778088 Q494305 Q4770750 Q20836 Q20837 Q769680 Q192129 Q503693 Q3038 Q25130 Q25135 Q3218 Q25125 Q29931 Q507258 Q25082 Q15744111 Q23968 Q489865 Q72432 Q625747 Q2585085 Q20754 Q55416
(c(Q15617994),P706,c(Q15324)|c(Q82794))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q494305
relation P706
type Q15324
type Q82794
[ANSWERS] are located in around the same number of bodies of water or geographic regions as Kelheim
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?z WHERE { { ?z property:P706 ?r . ?r rdf:type ontology:Q15324 . ?z rdf:type ontology:Q15617994 } UNION { ?z property:P706 ?r . ?z rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q82794 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q494305 property:P706 ?t . { { ?t rdf:type ontology:Q15324 } UNION { ?t rdf:type ontology:Q82794 } } } } . FILTER ( ?j = ?o ) }
Juist Fehmarn Langeoog Pleinfeld Oberscheuren Neu Wulmstorf Kaimig Lipari Ventotene Zingst Pellworm Eichstätt Kleinmachnow Forbach Kochenbach Kelheim Ansons Bay Hallig Hooge Fanø Bornholm Ustica Riedenburg Helgoland Spiekeroog Wangerooge Insel Hiddensee Baltrum Langeneß Kipfenberg Borkum Niederscheuren Norderney Isola delle Femmine Procida Rangsdorf Wintersberg Gröde Chioggia
Pleinfeld, Neu Wulmstorf and Kleinmachnow are located in around the same number of bodies of water or geographic regions as Kelheim
Pleinfeld Neu Wulmstorf Kleinmachnow
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Kelheim
relation located on terrain feature
type body of water
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?z WHERE { { ?z property:located_on_terrain_feature ?r . ?r rdf:type ontology:body_of_water . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?z property:located_on_terrain_feature ?r . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:geographic_region } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Kelheim property:located_on_terrain_feature ?t . { { ?t rdf:type ontology:body_of_water } UNION { ?t rdf:type ontology:geographic_region } } } } . FILTER ( ?j = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q5000224
P706
Q15324 Q82794 Q15617994
USER
And how about Burnt River, Ontario?
(c(Q15617994),P706,c(Q15324)|c(Q82794))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q5000224
relation P706
type Q15324
type Q82794
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?m WHERE { { ?m property:P706 ?t . ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15324 } UNION { ?m property:P706 ?t . ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q82794 } } GROUP BY ?m } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15324 ) ( ontology:Q82794 ) } } . resource:Q5000224 property:P706 ?c } } }
Burnt River, Ontario
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Burnt River, Ontario
relation located on terrain feature
type body of water
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?m WHERE { { ?m property:located_on_terrain_feature ?t . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:body_of_water } UNION { ?m property:located_on_terrain_feature ?t . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:geographic_region } } GROUP BY ?m } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:body_of_water ) ( ontology:geographic_region ) } } . resource:Burnt_River,_Ontario property:located_on_terrain_feature ?c } } }
[]
body of water geographic region designation for an administrative territorial entity
Q148 Q145 Q805
SYSTEM
People's Republic of China, United Kingdom, Yemen
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q267993 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q7042 Q312335 Q21160 Q525945 Q5382040 Q3003231 Q505665 Q1462 Q4692611 Q521132 Q790 Q5517964 Q555609 Q267005 Q27332 Q1619957 Q1093572 Q6350324 Q244 Q4789577 Q501683 Q582690 Q216422 Q5000224 Q20789 Q16642582 Q33 Q921 Q633162 Q520347 Q851 Q845396 Q15213143 Q598754 Q21074475 Q771971 Q3942 Q145 Q333149 Q27 Q565749 Q5420482 Q19906291 Q502662 Q47821 Q20019215 Q4692647 Q3068 Q331886 Q15244035 Q6472577 Q588957 Q229 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q28091 Q754 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q522992 Q760 Q6835962 Q518171 Q2119591 Q46870 Q7561974 Q504134 Q8147649 Q153969 Q481758 Q8043694 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q15324)|c(Q82794))
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q15324
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q5000224
relation P706
type Q15324
type Q82794
[ANSWERS]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?m WHERE { { ?m property:P706 ?t . ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15324 } UNION { ?m property:P706 ?t . ?m rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q82794 } } GROUP BY ?m } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15324 ) ( ontology:Q82794 ) } } . resource:Q5000224 property:P706 ?c } } }
Yemen Leivathos Langen Zagori Oberhof Chionata Rankwitz Loucha Agioi Pantes Haundorf Muhr am See Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Croisset Bergen Sardinia Agios Dimitrios, Cephalonia Hilpoltstein Haiti Galaro Magdala Moneglia Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Barbados Arginia Rosengarten Neuenhagen bei Berlin Samsø Burnt River, Ontario Wenningstedt-Braderup Hydra Finland Brunei Drestedt Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Nenndorf Avlida Aschaffenburg United Kingdom Abstatt Ireland Erden Exo Chora Western New Guinea Bad Salzungen Malcesine Natal Agios Nikolaos, Cephalonia Loire-Atlantique Absberg Makryotika Lagopodo Allersberg Cyprus Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Wittdün auf Amrum Trinidad and Tobago Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Braunlage Saint Lucia Michata Ellhofen Pylaros Bardolino Sonning Eye Kirchlinteln Ba District Lindau Pantelleria Xenopoulo Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
People's Republic of China United Kingdom Yemen
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Burnt River, Ontario
relation located on terrain feature
type body of water
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?m WHERE { { ?m property:located_on_terrain_feature ?t . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:body_of_water } UNION { ?m property:located_on_terrain_feature ?t . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:geographic_region } } GROUP BY ?m } . FILTER ( ?j = ?p ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { ?c rdf:type ?a . VALUES ( ?a ) { ( ontology:body_of_water ) ( ontology:geographic_region ) } } . resource:Burnt_River,_Ontario property:located_on_terrain_feature ?c } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7122474
P530
Q15617994
USER
Do Pacific Grove Unified School District have diplomatic associations with those ones ?
(Q7122474,P530,Q148) (Q7122474,P530,Q145) (Q7122474,P530,Q805)
action is_in
entity prev_answer
action find
entity Q7122474
relation P530
['Q7122474', 'P530', 'Q148'] ['Q7122474', 'P530', 'Q145'] ['Q7122474', 'P530', 'Q805']
ASK WHERE { VALUES ( ?r ) { ( resource:Q805 ) ( resource:Q1070686 ) ( resource:Q695445 ) } . resource:Q7122474 property:P530 ?r }
Pacific Grove Unified School District
action is_in
entity prev_answer
action find
entity Pacific Grove Unified School District
relation diplomatic relation
['Pacific Grove Unified School District', 'diplomatic relation', "People's Republic of China"] ['Pacific Grove Unified School District', 'diplomatic relation', 'United Kingdom'] ['Pacific Grove Unified School District', 'diplomatic relation', 'Yemen']
ASK WHERE { VALUES ( ?r ) { ( resource:Yemen ) ( resource:Leivathos ) ( resource:Langen ) } . resource:Pacific_Grove_Unified_School_District property:diplomatic_relation ?r }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7122474,P530,Q148) (Q7122474,P530,Q145) (Q7122474,P530,Q805)
action is_in
entity prev_answer
action find
entity Q7122474
relation P530
[ANSWER]
['Q7122474', 'P530', 'Q148'] ['Q7122474', 'P530', 'Q145'] ['Q7122474', 'P530', 'Q805']
ASK WHERE { VALUES ( ?r ) { ( resource:Q805 ) ( resource:Q1070686 ) ( resource:Q695445 ) } . resource:Q7122474 property:P530 ?r }
No
action is_in
entity prev_answer
action find
entity Pacific Grove Unified School District
relation diplomatic relation
['Pacific Grove Unified School District', 'diplomatic relation', "People's Republic of China"] ['Pacific Grove Unified School District', 'diplomatic relation', 'United Kingdom'] ['Pacific Grove Unified School District', 'diplomatic relation', 'Yemen']
ASK WHERE { VALUES ( ?r ) { ( resource:Yemen ) ( resource:Leivathos ) ( resource:Langen ) } . resource:Pacific_Grove_Unified_School_District property:diplomatic_relation ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q2961868
P610
Q14524493
USER
How many terrains are the highest peak of France or Sir Winston Churchill Range ?
(Q142,P610,c(Q14524493)) (Q2961868,P610,c(Q14524493))
action count
action union
action filter_type
action find
entity Q142
relation P610
type Q14524493
action filter_type
action find
entity Q2961868
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}] ['Q2961868', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q2961868 ) } . ?k property:P610 ?y }
France Sir Winston Churchill Range
action count
action union
action filter_type
action find
entity France
relation highest point
type terrain
action filter_type
action find
entity Sir Winston Churchill Range
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}] ['Sir Winston Churchill Range', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?k ) { ( resource:France ) ( resource:Sir_Winston_Churchill_Range ) } . ?k property:highest_point ?y }
[]
terrain
SYSTEM
2
Q583 Q1858093
(Q142,P610,c(Q14524493)) (Q2961868,P610,c(Q14524493))
action count
action union
action filter_type
action find
entity Q142
relation P610
type Q14524493
action filter_type
action find
entity Q2961868
relation P610
type Q14524493
[ANSWER]
['Q142', 'P610', {'concept': 'Q14524493'}] ['Q2961868', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q2961868 ) } . ?k property:P610 ?y }
Mont Blanc Mount Columbia
2
action count
action union
action filter_type
action find
entity France
relation highest point
type terrain
action filter_type
action find
entity Sir Winston Churchill Range
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}] ['Sir Winston Churchill Range', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?k ) { ( resource:France ) ( resource:Sir_Winston_Churchill_Range ) } . ?k property:highest_point ?y }
[]