Simple Question (Direct)
Simple Question
Q1282313
P937
Q15617994
USER
Where did Walter Stich work ?
(Q1282313,P937,c(Q15617994))
action filter_type
action find
entity Q1282313
relation P937
type Q15617994
['Q1282313', 'P937', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1282313 property:P937 ?r . ?r rdf:type ontology:Q15617994 }
Walter Stich
action filter_type
action find
entity Walter Stich
relation work location
type designation for an administrative territorial entity
['Walter Stich', 'work location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Walter_Stich property:work_location ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3922
SYSTEM
Detmold
Q3922
(Q1282313,P937,c(Q15617994))
action filter_type
action find
entity Q1282313
relation P937
type Q15617994
Walter Stich worked in [ANSWER]
['Q1282313', 'P937', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q1282313 property:P937 ?r . ?r rdf:type ontology:Q15617994 }
Detmold
Walter Stich worked in Detmold
Detmold
action filter_type
action find
entity Walter Stich
relation work location
type designation for an administrative territorial entity
['Walter Stich', 'work location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Walter_Stich property:work_location ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1282313
P102
Q7278
USER
Which political party is Walter Stich a member of ?
(Q1282313,P102,c(Q7278))
action filter_type
action find
entity Q1282313
relation P102
type Q7278
['Q1282313', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?t WHERE { resource:Q1282313 property:P102 ?t . ?t rdf:type ontology:Q7278 }
Walter Stich
action filter_type
action find
entity Walter Stich
relation member of political party
type political party
['Walter Stich', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?t WHERE { resource:Walter_Stich property:member_of_political_party ?t . ?t rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q1282313,P102,c(Q7278))
action filter_type
action find
entity Q1282313
relation P102
type Q7278
Union [ANSWER] is Walter Stich a member of
['Q1282313', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?t WHERE { resource:Q1282313 property:P102 ?t . ?t rdf:type ontology:Q7278 }
Christian Democratic Union
Union Christian Democratic Union is Walter Stich a member of
Christian Democratic Union
action filter_type
action find
entity Walter Stich
relation member of political party
type political party
['Walter Stich', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?t WHERE { resource:Walter_Stich property:member_of_political_party ?t . ?t rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1282313
P19
Q486972
USER
Which human settlement is the place of birth of Walter Stich ?
(Q1282313,P19,c(Q486972))
action filter_type
action find
entity Q1282313
relation P19
type Q486972
['Q1282313', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q1282313 property:P19 ?n . ?n rdf:type ontology:Q486972 }
Walter Stich
action filter_type
action find
entity Walter Stich
relation place of birth
type human settlement
['Walter Stich', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Walter_Stich property:place_of_birth ?n . ?n rdf:type ontology:human_settlement }
[]
human settlement
Q882647
SYSTEM
Volmarstein
Q882647
(Q1282313,P19,c(Q486972))
action filter_type
action find
entity Q1282313
relation P19
type Q486972
[ANSWER] is the place of birth of Walter Stich
['Q1282313', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q1282313 property:P19 ?n . ?n rdf:type ontology:Q486972 }
Volmarstein
Volmarstein is the place of birth of Walter Stich
Volmarstein
action filter_type
action find
entity Walter Stich
relation place of birth
type human settlement
['Walter Stich', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Walter_Stich property:place_of_birth ?n . ?n rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1282313
P27
Q1048835
USER
Which political territory is the country of citizenship of Walter Stich ?
(Q1282313,P27,c(Q1048835))
action filter_type
action find
entity Q1282313
relation P27
type Q1048835
['Q1282313', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q1282313 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Walter Stich
action filter_type
action find
entity Walter Stich
relation country of citizenship
type political territorial entity
['Walter Stich', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Walter_Stich property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1282313,P27,c(Q1048835))
action filter_type
action find
entity Q1282313
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Walter Stich
['Q1282313', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q1282313 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of Walter Stich
Germany
action filter_type
action find
entity Walter Stich
relation country of citizenship
type political territorial entity
['Walter Stich', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Walter_Stich property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q117
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with around the same number of political territories as Ghana ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q117
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q117 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?r ) WHERE { ?j property:P530 ?t . ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?j } }
Ghana
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ghana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Ghana property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?r ) WHERE { ?j property:diplomatic_relation ?t . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?j } }
[]
designation for an administrative territorial entity political territorial entity
Q55 Q148 Q17
SYSTEM
Netherlands, People's Republic of China, Japan
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q117
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of political territories as Ghana
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q117 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?r ) WHERE { ?j property:P530 ?t . ?j rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?j } }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
Netherlands, People's Republic of China and Japan have diplomatic relations with around the same number of political territories as Ghana
Netherlands People's Republic of China Japan
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ghana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Ghana property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?r ) WHERE { ?j property:diplomatic_relation ?t . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?j } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q53963
P530
Q15617994
USER
Do San Fili have ambassadorial relations with those ones ?
(Q53963,P530,Q55) (Q53963,P530,Q148) (Q53963,P530,Q17)
action is_in
entity prev_answer
action find
entity Q53963
relation P530
['Q53963', 'P530', 'Q55'] ['Q53963', 'P530', 'Q148'] ['Q53963', 'P530', 'Q17']
ASK WHERE { VALUES ( ?q ) { ( resource:Q804 ) ( resource:Q800 ) ( resource:Q419 ) } . resource:Q53963 property:P530 ?q }
San Fili
action is_in
entity prev_answer
action find
entity San Fili
relation diplomatic relation
['San Fili', 'diplomatic relation', 'Netherlands'] ['San Fili', 'diplomatic relation', "People's Republic of China"] ['San Fili', 'diplomatic relation', 'Japan']
ASK WHERE { VALUES ( ?q ) { ( resource:Panama ) ( resource:Costa_Rica ) ( resource:Peru ) } . resource:San_Fili property:diplomatic_relation ?q }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q53963,P530,Q55) (Q53963,P530,Q148) (Q53963,P530,Q17)
action is_in
entity prev_answer
action find
entity Q53963
relation P530
[ANSWER]
['Q53963', 'P530', 'Q55'] ['Q53963', 'P530', 'Q148'] ['Q53963', 'P530', 'Q17']
ASK WHERE { VALUES ( ?q ) { ( resource:Q804 ) ( resource:Q800 ) ( resource:Q419 ) } . resource:Q53963 property:P530 ?q }
No
action is_in
entity prev_answer
action find
entity San Fili
relation diplomatic relation
['San Fili', 'diplomatic relation', 'Netherlands'] ['San Fili', 'diplomatic relation', "People's Republic of China"] ['San Fili', 'diplomatic relation', 'Japan']
ASK WHERE { VALUES ( ?q ) { ( resource:Panama ) ( resource:Costa_Rica ) ( resource:Peru ) } . resource:San_Fili property:diplomatic_relation ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q148 Q881 Q566064
P47
Q15617994
USER
Is People's Republic of China next to the border of Vietnam and Elmstein ?
(Q148,P47,Q881) (Q148,P47,Q566064)
action is_in
entity Q148
action intersection
action find_reverse
entity Q881
relation P47
action find_reverse
entity Q566064
relation P47
['Q148', 'P47', 'Q881'] ['Q148', 'P47', 'Q566064']
ASK WHERE { resource:Q148 property:P47 resource:Q881 . resource:Q148 property:P47 resource:Q566064 }
People's Republic of China Vietnam Elmstein
action is_in
entity People's Republic of China
action intersection
action find_reverse
entity Vietnam
relation shares border with
action find_reverse
entity Elmstein
relation shares border with
["People's Republic of China", 'shares border with', 'Vietnam'] ["People's Republic of China", 'shares border with', 'Elmstein']
ASK WHERE { resource:People's_Republic_of_China property:shares_border_with resource:Vietnam . resource:People's_Republic_of_China property:shares_border_with resource:Elmstein }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q148,P47,Q881) (Q148,P47,Q566064)
action is_in
entity Q148
action intersection
action find_reverse
entity Q881
relation P47
action find_reverse
entity Q566064
relation P47
[ANSWER]
['Q148', 'P47', 'Q881'] ['Q148', 'P47', 'Q566064']
ASK WHERE { resource:Q148 property:P47 resource:Q881 . resource:Q148 property:P47 resource:Q566064 }
YES and NO respectively
action is_in
entity People's Republic of China
action intersection
action find_reverse
entity Vietnam
relation shares border with
action find_reverse
entity Elmstein
relation shares border with
["People's Republic of China", 'shares border with', 'Vietnam'] ["People's Republic of China", 'shares border with', 'Elmstein']
ASK WHERE { resource:People's_Republic_of_China property:shares_border_with resource:Vietnam . resource:People's_Republic_of_China property:shares_border_with resource:Elmstein }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q882647 Q183 Q923208
P17
Q1048835
USER
Is Volmarstein present in Germany and Xavantina ?
(Q882647,P17,Q183) (Q882647,P17,Q923208)
action is_in
entity Q882647
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q923208
relation P17
['Q882647', 'P17', 'Q183'] ['Q882647', 'P17', 'Q923208']
ASK WHERE { resource:Q882647 property:P17 resource:Q923208 . resource:Q882647 property:P17 resource:Q183 }
Volmarstein Germany Xavantina
action is_in
entity Volmarstein
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Xavantina
relation country
['Volmarstein', 'country', 'Germany'] ['Volmarstein', 'country', 'Xavantina']
ASK WHERE { resource:Volmarstein property:country resource:Xavantina . resource:Volmarstein property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q882647,P17,Q183) (Q882647,P17,Q923208)
action is_in
entity Q882647
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q923208
relation P17
[ANSWER]
['Q882647', 'P17', 'Q183'] ['Q882647', 'P17', 'Q923208']
ASK WHERE { resource:Q882647 property:P17 resource:Q923208 . resource:Q882647 property:P17 resource:Q183 }
YES and NO respectively
action is_in
entity Volmarstein
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Xavantina
relation country
['Volmarstein', 'country', 'Germany'] ['Volmarstein', 'country', 'Xavantina']
ASK WHERE { resource:Volmarstein property:country resource:Xavantina . resource:Volmarstein property:country resource:Germany }
[]