Simple Question (Direct)
Simple Question
Q1423041
P937
Q56061
USER
Where did Richard Eickhoff work ?
(Q1423041,P937,c(Q56061))
action filter_type
action find
entity Q1423041
relation P937
type Q56061
['Q1423041', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q1423041 property:P937 ?u }
Richard Eickhoff
action filter_type
action find
entity Richard Eickhoff
relation work location
type administrative territorial entity
['Richard Eickhoff', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Richard_Eickhoff property:work_location ?u }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1423041,P937,c(Q56061))
action filter_type
action find
entity Q1423041
relation P937
type Q56061
Richard Eickhoff worked in [ANSWER]
['Q1423041', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q1423041 property:P937 ?u }
Berlin
Richard Eickhoff worked in Berlin
Berlin
action filter_type
action find
entity Richard Eickhoff
relation work location
type administrative territorial entity
['Richard Eickhoff', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Richard_Eickhoff property:work_location ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1423041
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q64,P102,c(Q7210356))
action filter_type
action find
entity Q1423041
relation P102
type Q7210356
['Q64', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q1423041 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Richard Eickhoff
action filter_type
action find
entity Richard Eickhoff
relation member of political party
type political organization
['Berlin', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Richard_Eickhoff property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q319457
SYSTEM
Free-minded People's Party
Q319457
(Q64,P102,c(Q7210356))
action filter_type
action find
entity Q1423041
relation P102
type Q7210356
[ANSWER] is that person a member of
['Q64', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q1423041 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Free-minded People's Party
Free-minded People's Party is that person a member of
Free-minded People's Party
action filter_type
action find
entity Richard Eickhoff
relation member of political party
type political organization
['Berlin', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Richard_Eickhoff property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1423041
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q319457,P27,c(Q1048835))
action filter_type
action find
entity Q1423041
relation P27
type Q1048835
['Q319457', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q1423041 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Richard Eickhoff
action filter_type
action find
entity Richard Eickhoff
relation country of citizenship
type political territorial entity
["Free-minded People's Party", 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Richard_Eickhoff property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q319457,P27,c(Q1048835))
action filter_type
action find
entity Q1423041
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q319457', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q1423041 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Germany
Germany is that person an inhabitant of
Germany
action filter_type
action find
entity Richard Eickhoff
relation country of citizenship
type political territorial entity
["Free-minded People's Party", 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Richard_Eickhoff property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q2228613
P27
Q502895
USER
Is Saër Sène a native of that political territory ?
(Q2228613,P27,Q183)
action is_in
entity Q2228613
action find
entity Q183
relation P27
['Q2228613', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q2228613 }
Germany Saër Sène
action is_in
entity Saër Sène
action find
entity Germany
relation country of citizenship
['Saër Sène', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:Saër_Sène }
[]
common name
SYSTEM
NO
(Q2228613,P27,Q183)
action is_in
entity Q2228613
action find
entity Q183
relation P27
[ANSWER]
['Q2228613', 'P27', 'Q183']
ASK WHERE { resource:Q183 property:P27 resource:Q2228613 }
No
action is_in
entity Saër Sène
action find
entity Germany
relation country of citizenship
['Saër Sène', 'country of citizenship', 'Germany']
ASK WHERE { resource:Germany property:country_of_citizenship resource:Saër_Sène }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1423041 Q3132
P19
Q56061
USER
Is Moers the birthplace of Richard Eickhoff ?
(Q1423041,P19,Q3132)
action is_in
entity Q3132
action find
entity Q1423041
relation P19
['Q1423041', 'P19', 'Q3132']
ASK WHERE { resource:Q1423041 property:P19 resource:Q3132 }
Richard Eickhoff Moers
action is_in
entity Moers
action find
entity Richard Eickhoff
relation place of birth
['Richard Eickhoff', 'place of birth', 'Moers']
ASK WHERE { resource:Richard_Eickhoff property:place_of_birth resource:Moers }
[]
administrative territorial entity
SYSTEM
YES
(Q1423041,P19,Q3132)
action is_in
entity Q3132
action find
entity Q1423041
relation P19
[ANSWER]
['Q1423041', 'P19', 'Q3132']
ASK WHERE { resource:Q1423041 property:P19 resource:Q3132 }
Yes
action is_in
entity Moers
action find
entity Richard Eickhoff
relation place of birth
['Richard Eickhoff', 'place of birth', 'Moers']
ASK WHERE { resource:Richard_Eickhoff property:place_of_birth resource:Moers }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q1027397
P530
Q15617994
USER
Does Daowai District have diplomatic relations with Germany ?
(Q183,P530,Q1027397)
action is_in
entity Q1027397
action find
entity Q183
relation P530
['Q183', 'P530', 'Q1027397']
ASK WHERE { resource:Q183 property:P530 resource:Q1027397 }
Germany Daowai District
action is_in
entity Daowai District
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Daowai District']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Daowai_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P530,Q1027397)
action is_in
entity Q1027397
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q1027397']
ASK WHERE { resource:Q183 property:P530 resource:Q1027397 }
No
action is_in
entity Daowai District
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Daowai District']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Daowai_District }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1576541 Q1423041
P20
Q15617994
USER
Which administrative territories are the places of death of Richard Eickhoff or Hanns Schloß ?
OR((Q1423041,P20,c(Q15617994)), (Q1576541,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q1423041
relation P20
action find
entity Q1576541
relation P20
type Q15617994
{'OR': [['Q1423041', 'P20', {'concept': 'Q15617994'}], ['Q1576541', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q1423041 property:P20 ?m } UNION { resource:Q1576541 property:P20 ?m } } . ?m rdf:type ontology:Q15617994 }
Hanns Schloß Richard Eickhoff
action filter_type
action union
action find
entity Richard Eickhoff
relation place of death
action find
entity Hanns Schloß
relation place of death
type designation for an administrative territorial entity
{'OR': [['Richard Eickhoff', 'place of death', {'concept': 'designation for an administrative territorial entity'}], ['Hanns Schloß', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Richard_Eickhoff property:place_of_death ?m } UNION { resource:Hanns_Schloß property:place_of_death ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3097 Q61936
SYSTEM
Remscheid, Starnberg
Q3097 Q61936
OR((Q1423041,P20,c(Q15617994)), (Q1576541,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q1423041
relation P20
action find
entity Q1576541
relation P20
type Q15617994
[ANSWERS] are the places of death of Richard Eickhoff or Hanns Schloß
{'OR': [['Q1423041', 'P20', {'concept': 'Q15617994'}], ['Q1576541', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q1423041 property:P20 ?m } UNION { resource:Q1576541 property:P20 ?m } } . ?m rdf:type ontology:Q15617994 }
Remscheid Starnberg
Remscheid and Starnberg are the places of death of Richard Eickhoff or Hanns Schloß
Remscheid Starnberg
action filter_type
action union
action find
entity Richard Eickhoff
relation place of death
action find
entity Hanns Schloß
relation place of death
type designation for an administrative territorial entity
{'OR': [['Richard Eickhoff', 'place of death', {'concept': 'designation for an administrative territorial entity'}], ['Hanns Schloß', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Richard_Eickhoff property:place_of_death ?m } UNION { resource:Hanns_Schloß property:place_of_death ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q781064 Q1423041
P19 P20
Q15617994
USER
Which administrative territories are the places of death of Richard Eickhoff or are the birthplace of Livio Melina ?
OR((Q1423041,P20,c(Q15617994)), (Q781064,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q1423041
relation P20
action find
entity Q781064
relation P19
type Q15617994
{'OR': [['Q1423041', 'P20', {'concept': 'Q15617994'}], ['Q781064', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1423041 property:P20 ?l } UNION { resource:Q781064 property:P19 ?l } } . ?l rdf:type ontology:Q15617994 }
Livio Melina Richard Eickhoff
action filter_type
action union
action find
entity Richard Eickhoff
relation place of death
action find
entity Livio Melina
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Richard Eickhoff', 'place of death', {'concept': 'designation for an administrative territorial entity'}], ['Livio Melina', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Richard_Eickhoff property:place_of_death ?l } UNION { resource:Livio_Melina property:place_of_birth ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3097 Q34615
SYSTEM
Remscheid, Adria
Q3097 Q34615
OR((Q1423041,P20,c(Q15617994)), (Q781064,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q1423041
relation P20
action find
entity Q781064
relation P19
type Q15617994
[ANSWERS] are the places of death of Richard Eickhoff or are the birthplace of Livio Melina
{'OR': [['Q1423041', 'P20', {'concept': 'Q15617994'}], ['Q781064', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1423041 property:P20 ?l } UNION { resource:Q781064 property:P19 ?l } } . ?l rdf:type ontology:Q15617994 }
Remscheid Adria
Remscheid and Adria are the places of death of Richard Eickhoff or are the birthplace of Livio Melina
Remscheid Adria
action filter_type
action union
action find
entity Richard Eickhoff
relation place of death
action find
entity Livio Melina
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Richard Eickhoff', 'place of death', {'concept': 'designation for an administrative territorial entity'}], ['Livio Melina', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Richard_Eickhoff property:place_of_death ?l } UNION { resource:Livio_Melina property:place_of_birth ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
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 relations with atleast 39 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 39
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?x ) WHERE { ?y property:P530 ?q . ?y rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?x >= 39 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 39
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?x ) WHERE { ?y property:diplomatic_relation ?q . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?x >= 39 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
3
Q155 Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 39
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?x ) WHERE { ?y property:P530 ?q . ?y rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?x >= 39 ) }
Brazil Italy Georgia
3
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 39
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?x ) WHERE { ?y property:diplomatic_relation ?q . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?x >= 39 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3097
P47
Q15617994
USER
Which administrative territories are next to the border of Remscheid ?
(c(Q15617994),P47,Q3097)
action filter_type
action find
entity Q3097
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q3097']
SELECT DISTINCT ?o WHERE { resource:Q3097 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
Remscheid
action filter_type
action find
entity Remscheid
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Remscheid']
SELECT DISTINCT ?o WHERE { resource:Remscheid property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2107 Q11038
SYSTEM
Wuppertal, Hückeswagen
Q2107 Q11038
(c(Q15617994),P47,Q3097)
action filter_type
action find
entity Q3097
relation P47
type Q15617994
[ANSWERS] are next to the border of Remscheid
[{'concept': 'Q15617994'}, 'P47', 'Q3097']
SELECT DISTINCT ?o WHERE { resource:Q3097 property:P47 ?o . ?o rdf:type ontology:Q15617994 }
Wuppertal Hückeswagen
Wuppertal and Hückeswagen are next to the border of Remscheid
Wuppertal Hückeswagen
action filter_type
action find
entity Remscheid
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Remscheid']
SELECT DISTINCT ?o WHERE { resource:Remscheid property:shares_border_with ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11038
P190
Q56061
USER
Which administrative territory is twin town of that administrative territory ?
(Q11038,P190,c(Q56061))
action filter_type
action find
entity Q11038
relation P190
type Q56061
['Q11038', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q11038 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Hückeswagen
action filter_type
action find
entity Hückeswagen
relation sister city
type administrative territorial entity
['Hückeswagen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hückeswagen property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q2107
SYSTEM
Did you mean Wuppertal ?
Q2107 Q11038
(Q2107,P190,c(Q56061)) (Q11038,P190,c(Q56061))
[ANSWER]
['Q2107', 'P190', {'concept': 'Q56061'}] ['Q11038', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q11038 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Wuppertal Hückeswagen
Did you mean Wuppertal ?
Wuppertal
['Wuppertal', 'sister city', {'concept': 'administrative territorial entity'}] ['Hückeswagen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hückeswagen property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Hückeswagen. Could you tell me the answer for that?
(Q11038,P190,c(Q56061))
Q11038
['Q11038', 'P190', {'concept': 'Q56061'}]
['Hückeswagen', 'sister city', {'concept': 'administrative territorial entity'}]
[]
Q16013
SYSTEM
Königs Wusterhausen
Q16013
(Q11038,P190,c(Q56061))
action filter_type
action find
entity Q11038
relation P190
type Q56061
[ANSWER] is twin town of that administrative territory
['Q11038', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q11038 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Königs Wusterhausen
Königs Wusterhausen is twin town of that administrative territory
Königs Wusterhausen
action filter_type
action find
entity Hückeswagen
relation sister city
type administrative territorial entity
['Hückeswagen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hückeswagen property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q16013 Q505594 Q5637703
P190
Q15617994
USER
Is Königs Wusterhausen a sister city of Schiffdorf and Haddon Township School District ?
(Q16013,P190,Q505594) (Q16013,P190,Q5637703)
action is_in
entity Q16013
action intersection
action find_reverse
entity Q505594
relation P190
action find_reverse
entity Q5637703
relation P190
['Q16013', 'P190', 'Q505594'] ['Q16013', 'P190', 'Q5637703']
ASK WHERE { resource:Q16013 property:P190 resource:Q505594 . resource:Q16013 property:P190 resource:Q5637703 }
Königs Wusterhausen Schiffdorf Haddon Township School District
action is_in
entity Königs Wusterhausen
action intersection
action find_reverse
entity Schiffdorf
relation sister city
action find_reverse
entity Haddon Township School District
relation sister city
['Königs Wusterhausen', 'sister city', 'Schiffdorf'] ['Königs Wusterhausen', 'sister city', 'Haddon Township School District']
ASK WHERE { resource:Königs_Wusterhausen property:sister_city resource:Schiffdorf . resource:Königs_Wusterhausen property:sister_city resource:Haddon_Township_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q16013,P190,Q505594) (Q16013,P190,Q5637703)
action is_in
entity Q16013
action intersection
action find_reverse
entity Q505594
relation P190
action find_reverse
entity Q5637703
relation P190
[ANSWER]
['Q16013', 'P190', 'Q505594'] ['Q16013', 'P190', 'Q5637703']
ASK WHERE { resource:Q16013 property:P190 resource:Q505594 . resource:Q16013 property:P190 resource:Q5637703 }
YES and NO respectively
action is_in
entity Königs Wusterhausen
action intersection
action find_reverse
entity Schiffdorf
relation sister city
action find_reverse
entity Haddon Township School District
relation sister city
['Königs Wusterhausen', 'sister city', 'Schiffdorf'] ['Königs Wusterhausen', 'sister city', 'Haddon Township School District']
ASK WHERE { resource:Königs_Wusterhausen property:sister_city resource:Schiffdorf . resource:Königs_Wusterhausen property:sister_city resource:Haddon_Township_School_District }
[]