Simple Question (Direct)
Simple Question
Q1609005
P106
Q12737077
USER
Which occupations are the professions of Herbert Schachtschneider ?
(Q1609005,P106,c(Q12737077))
action filter_type
action find
entity Q1609005
relation P106
type Q12737077
['Q1609005', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1609005 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Herbert Schachtschneider
action filter_type
action find
entity Herbert Schachtschneider
relation occupation
type occupation
['Herbert Schachtschneider', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Herbert_Schachtschneider property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q1622272 Q177220
SYSTEM
university teacher, singer
Q1622272 Q177220
(Q1609005,P106,c(Q12737077))
action filter_type
action find
entity Q1609005
relation P106
type Q12737077
The professions of Herbert Schachtschneider are a [ANSWERS]
['Q1609005', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1609005 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
university teacher singer
The professions of Herbert Schachtschneider are a university teacher and singer
university teacher singer
action filter_type
action find
entity Herbert Schachtschneider
relation occupation
type occupation
['Herbert Schachtschneider', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Herbert_Schachtschneider property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1609005
P27
Q1048835
USER
Which political territory is the country of citizenship of Herbert Schachtschneider ?
(Q1609005,P27,c(Q1048835))
action filter_type
action find
entity Q1609005
relation P27
type Q1048835
['Q1609005', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1609005 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Herbert Schachtschneider
action filter_type
action find
entity Herbert Schachtschneider
relation country of citizenship
type political territorial entity
['Herbert Schachtschneider', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Herbert_Schachtschneider property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1609005,P27,c(Q1048835))
action filter_type
action find
entity Q1609005
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Herbert Schachtschneider
['Q1609005', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1609005 property:P27 ?m . ?m rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of Herbert Schachtschneider
Germany
action filter_type
action find
entity Herbert Schachtschneider
relation country of citizenship
type political territorial entity
['Herbert Schachtschneider', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Herbert_Schachtschneider property:country_of_citizenship ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1609005
P19
Q486972
USER
Which human settlement was that person born at ?
(Q183,P19,c(Q486972))
action filter_type
action find
entity Q1609005
relation P19
type Q486972
['Q183', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q1609005 property:P19 ?a . ?a rdf:type ontology:Q486972 }
Herbert Schachtschneider
action filter_type
action find
entity Herbert Schachtschneider
relation place of birth
type human settlement
['Germany', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Herbert_Schachtschneider property:place_of_birth ?a . ?a rdf:type ontology:human_settlement }
[]
human settlement
Q82765
SYSTEM
Olsztyn
Q82765
(Q183,P19,c(Q486972))
action filter_type
action find
entity Q1609005
relation P19
type Q486972
That person was born in [ANSWER]
['Q183', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { resource:Q1609005 property:P19 ?a . ?a rdf:type ontology:Q486972 }
Olsztyn
That person was born in Olsztyn
Olsztyn
action filter_type
action find
entity Herbert Schachtschneider
relation place of birth
type human settlement
['Germany', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { resource:Herbert_Schachtschneider property:place_of_birth ?a . ?a rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q11451520 Q1609005
P19
Q486972
USER
Or Tetsurō Adachi?
OR((Q1609005,P19,c(Q486972)), (Q11451520,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1609005
relation P19
action find
entity Q11451520
relation P19
type Q486972
{'OR': [['Q1609005', 'P19', {'concept': 'Q486972'}], ['Q11451520', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q11451520 property:P19 ?t } UNION { resource:Q1609005 property:P19 ?t } } . ?t rdf:type ontology:Q486972 }
Tetsurō Adachi Herbert Schachtschneider
action filter_type
action union
action find
entity Herbert Schachtschneider
relation place of birth
action find
entity Tetsurō Adachi
relation place of birth
type human settlement
{'OR': [['Herbert Schachtschneider', 'place of birth', {'concept': 'human settlement'}], ['Tetsurō Adachi', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Tetsurō_Adachi property:place_of_birth ?t } UNION { resource:Herbert_Schachtschneider property:place_of_birth ?t } } . ?t rdf:type ontology:human_settlement }
[]
human settlement
Q232641 Q82765
SYSTEM
Taitō-ku, Olsztyn
Q232641 Q82765
OR((Q1609005,P19,c(Q486972)), (Q11451520,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1609005
relation P19
action find
entity Q11451520
relation P19
type Q486972
[ANSWERS]
{'OR': [['Q1609005', 'P19', {'concept': 'Q486972'}], ['Q11451520', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q11451520 property:P19 ?t } UNION { resource:Q1609005 property:P19 ?t } } . ?t rdf:type ontology:Q486972 }
Taitō-ku Olsztyn
Taitō-ku Olsztyn
action filter_type
action union
action find
entity Herbert Schachtschneider
relation place of birth
action find
entity Tetsurō Adachi
relation place of birth
type human settlement
{'OR': [['Herbert Schachtschneider', 'place of birth', {'concept': 'human settlement'}], ['Tetsurō Adachi', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Tetsurō_Adachi property:place_of_birth ?t } UNION { resource:Herbert_Schachtschneider property:place_of_birth ?t } } . ?t rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q8081561 Q183
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany or are Ōkawano Station located in ?
OR((Q183,P530,c(Q15617994)), (Q8081561,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q8081561
relation P17
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q8081561', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q183 property:P530 ?p } UNION { resource:Q8081561 property:P17 ?p } } }
Ōkawano Station Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Ōkawano Station
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ōkawano Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Germany property:diplomatic_relation ?p } UNION { resource:Ōkawano_Station property:country ?p } } }
[]
designation for an administrative territorial entity
Q668 Q1007 Q114 Q224 Q965 Q189 Q217 Q929 Q1033 Q958
SYSTEM
Some of them are India, Guinea-Bissau, Kenya, Croatia, Burkina Faso, Iceland, Republic of Moldova, Central African Republic, Nigeria, South Sudan
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q8081561,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q8081561
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Germany or are Ōkawano Station located in
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q8081561', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q183 property:P530 ?p } UNION { resource:Q8081561 property:P17 ?p } } }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
India, Guinea-Bissau, Kenya, Croatia, Burkina Faso, Iceland, Republic of Moldova, Central African Republic, Nigeria and South Sudan have diplomatic relationships with Germany or are Ōkawano Station located in
India Guinea-Bissau Kenya Croatia Burkina Faso Iceland Republic of Moldova Central African Republic Nigeria South Sudan
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Ōkawano Station
relation country
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ōkawano Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Germany property:diplomatic_relation ?p } UNION { resource:Ōkawano_Station property:country ?p } } }
[]
Clarification
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))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|More/Less|Single entity type|Clarification
Q114
SYSTEM
Did you mean Kenya ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Kenya ?
Kenya
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant India. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q668
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668
SYSTEM
India
Q668
(c(Q3895768),P941,c(Q15617994))
[ANSWER] inspired around the same number of fictional locations as that administrative territory
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
India
India inspired around the same number of fictional locations as that administrative territory
India
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P361
Q484652 Q2221906
USER
How many international organizations and geographic locations are that administrative territory a component of ?
(Q668,P361,c(Q484652)) (Q668,P361,c(Q2221906)) (Q668,P361,c(Q484652)) (Q668,P361,c(Q2221906))
action count
action union
action filter_type
action find
entity Q668
relation P361
type Q484652
action filter_type
action find
entity Q668
relation P361
type Q2221906
['Q668', 'P361', {'concept': 'Q484652'}] ['Q668', 'P361', {'concept': 'Q2221906'}] ['Q668', 'P361', {'concept': 'Q484652'}] ['Q668', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { resource:Q668 property:P361 ?s . ?s rdf:type ontology:Q2221906 } UNION { resource:Q668 property:P361 ?s . ?s rdf:type ontology:Q484652 } }
action count
action union
action filter_type
action find
entity India
relation part of
type international organization
action filter_type
action find
entity India
relation part of
type geographic location
['India', 'part of', {'concept': 'international organization'}] ['India', 'part of', {'concept': 'geographic location'}] ['India', 'part of', {'concept': 'international organization'}] ['India', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { resource:India property:part_of ?s . ?s rdf:type ontology:geographic_location } UNION { resource:India property:part_of ?s . ?s rdf:type ontology:international_organization } }
[]
international organization geographic location
SYSTEM
2 international organizations and 1 geographic locations
Q7768 Q7785 Q771405
(Q668,P361,c(Q484652)) (Q668,P361,c(Q2221906)) (Q668,P361,c(Q484652)) (Q668,P361,c(Q2221906))
action count
action union
action filter_type
action find
entity Q668
relation P361
type Q484652
action filter_type
action find
entity Q668
relation P361
type Q2221906
[ANSWER]
['Q668', 'P361', {'concept': 'Q484652'}] ['Q668', 'P361', {'concept': 'Q2221906'}] ['Q668', 'P361', {'concept': 'Q484652'}] ['Q668', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { resource:Q668 property:P361 ?s . ?s rdf:type ontology:Q2221906 } UNION { resource:Q668 property:P361 ?s . ?s rdf:type ontology:Q484652 } }
ASEAN Commonwealth of Nations South Asia
2 international organizations and 1 geographic locations
action count
action union
action filter_type
action find
entity India
relation part of
type international organization
action filter_type
action find
entity India
relation part of
type geographic location
['India', 'part of', {'concept': 'international organization'}] ['India', 'part of', {'concept': 'geographic location'}] ['India', 'part of', {'concept': 'international organization'}] ['India', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { resource:India property:part_of ?s . ?s rdf:type ontology:geographic_location } UNION { resource:India property:part_of ?s . ?s rdf:type ontology:international_organization } }
[]