Simple Question (Direct)
Simple Question
Q1035897
P102
Q7278
USER
Which political party is Caren Marks a member of ?
(Q1035897,P102,c(Q7278))
action filter_type
action find
entity Q1035897
relation P102
type Q7278
['Q1035897', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?t WHERE { resource:Q1035897 property:P102 ?t . ?t rdf:type ontology:Q7278 }
Caren Marks
action filter_type
action find
entity Caren Marks
relation member of political party
type political party
['Caren Marks', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?t WHERE { resource:Caren_Marks property:member_of_political_party ?t . ?t rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1035897,P102,c(Q7278))
action filter_type
action find
entity Q1035897
relation P102
type Q7278
Party [ANSWER] is Caren Marks a member of
['Q1035897', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?t WHERE { resource:Q1035897 property:P102 ?t . ?t rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Caren Marks a member of
Social Democratic Party of Germany
action filter_type
action find
entity Caren Marks
relation member of political party
type political party
['Caren Marks', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?t WHERE { resource:Caren_Marks property:member_of_political_party ?t . ?t rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1035897
P710
Q1499496
USER
What event were that person a participant of ?
(c(Q1499496),P710,Q49768)
action filter_type
action find_reverse
entity Q1035897
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q49768']
SELECT DISTINCT ?x WHERE { ?x property:P710 resource:Q1035897 . ?x rdf:type ontology:Q1499496 }
Caren Marks
action filter_type
action find_reverse
entity Caren Marks
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Social Democratic Party of Germany']
SELECT DISTINCT ?x WHERE { ?x property:participant resource:Caren_Marks . ?x rdf:type ontology:German_presidential_election }
[]
German presidential election
Q707063 Q670933 Q707051
SYSTEM
German presidential election, 2010, German presidential election, 2012, German presidential election, 2009
Q670933 Q707063 Q707051 Q314532
(c(Q1499496),P710,Q49768)
action filter_type
action find_reverse
entity Q1035897
relation P710
type Q1499496
[ANSWERS]
[{'concept': 'Q1499496'}, 'P710', 'Q49768']
SELECT DISTINCT ?x WHERE { ?x property:P710 resource:Q1035897 . ?x rdf:type ontology:Q1499496 }
German presidential election, 2012 German presidential election, 2010 German presidential election, 2009 German presidential election, 2004
That person were in German presidential election, 2010, German presidential election, 2012 and German presidential election, 2009
German presidential election, 2010 German presidential election, 2012 German presidential election, 2009
action filter_type
action find_reverse
entity Caren Marks
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Social Democratic Party of Germany']
SELECT DISTINCT ?x WHERE { ?x property:participant resource:Caren_Marks . ?x rdf:type ontology:German_presidential_election }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5993645
P1344
Q502895
USER
Did Igor Rotar competite in those German presidential elections ?
(Q5993645,P1344,Q707063) (Q5993645,P1344,Q670933) (Q5993645,P1344,Q707051)
action is_in
entity prev_answer
action find
entity Q5993645
relation P1344
['Q5993645', 'P1344', 'Q707063'] ['Q5993645', 'P1344', 'Q670933'] ['Q5993645', 'P1344', 'Q707051']
ASK WHERE { resource:Q5993645 property:P1344 ?e . VALUES ( ?e ) { ( resource:Q670933 ) ( resource:Q707063 ) ( resource:Q707051 ) } }
Igor Rotar
action is_in
entity prev_answer
action find
entity Igor Rotar
relation participant of
['Igor Rotar', 'participant of', 'German presidential election, 2010'] ['Igor Rotar', 'participant of', 'German presidential election, 2012'] ['Igor Rotar', 'participant of', 'German presidential election, 2009']
ASK WHERE { resource:Igor_Rotar property:participant_of ?e . VALUES ( ?e ) { ( resource:German_presidential_election,_2012 ) ( resource:German_presidential_election,_2010 ) ( resource:German_presidential_election,_2009 ) } }
[]
common name
SYSTEM
NO
(Q5993645,P1344,Q707063) (Q5993645,P1344,Q670933) (Q5993645,P1344,Q707051)
action is_in
entity prev_answer
action find
entity Q5993645
relation P1344
[ANSWER]
['Q5993645', 'P1344', 'Q707063'] ['Q5993645', 'P1344', 'Q670933'] ['Q5993645', 'P1344', 'Q707051']
ASK WHERE { resource:Q5993645 property:P1344 ?e . VALUES ( ?e ) { ( resource:Q670933 ) ( resource:Q707063 ) ( resource:Q707051 ) } }
No
action is_in
entity prev_answer
action find
entity Igor Rotar
relation participant of
['Igor Rotar', 'participant of', 'German presidential election, 2010'] ['Igor Rotar', 'participant of', 'German presidential election, 2012'] ['Igor Rotar', 'participant of', 'German presidential election, 2009']
ASK WHERE { resource:Igor_Rotar property:participant_of ?e . VALUES ( ?e ) { ( resource:German_presidential_election,_2012 ) ( resource:German_presidential_election,_2010 ) ( resource:German_presidential_election,_2009 ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1035897 Q183
P27
Q1048835
USER
Is Caren Marks a civilian of Germany ?
(Q1035897,P27,Q183)
action is_in
entity Q183
action find
entity Q1035897
relation P27
['Q1035897', 'P27', 'Q183']
ASK WHERE { resource:Q1035897 property:P27 resource:Q183 }
Caren Marks Germany
action is_in
entity Germany
action find
entity Caren Marks
relation country of citizenship
['Caren Marks', 'country of citizenship', 'Germany']
ASK WHERE { resource:Caren_Marks property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q1035897,P27,Q183)
action is_in
entity Q183
action find
entity Q1035897
relation P27
[ANSWER]
['Q1035897', 'P27', 'Q183']
ASK WHERE { resource:Q1035897 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Caren Marks
relation country of citizenship
['Caren Marks', 'country of citizenship', 'Germany']
ASK WHERE { resource:Caren_Marks property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49768 Q110719
P488
Q502895
USER
Did Oskar Lafontaine chair Social Democratic Party of Germany ?
(Q49768,P488,Q110719)
action is_in
entity Q110719
action find
entity Q49768
relation P488
['Q49768', 'P488', 'Q110719']
ASK WHERE { resource:Q49768 property:P488 resource:Q110719 }
Social Democratic Party of Germany Oskar Lafontaine
action is_in
entity Oskar Lafontaine
action find
entity Social Democratic Party of Germany
relation chairperson
['Social Democratic Party of Germany', 'chairperson', 'Oskar Lafontaine']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:chairperson resource:Oskar_Lafontaine }
[]
common name
SYSTEM
YES
(Q49768,P488,Q110719)
action is_in
entity Q110719
action find
entity Q49768
relation P488
[ANSWER]
['Q49768', 'P488', 'Q110719']
ASK WHERE { resource:Q49768 property:P488 resource:Q110719 }
Yes
action is_in
entity Oskar Lafontaine
action find
entity Social Democratic Party of Germany
relation chairperson
['Social Democratic Party of Germany', 'chairperson', 'Oskar Lafontaine']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:chairperson resource:Oskar_Lafontaine }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49768
P463
Q7210356
USER
Which political organization had Social Democratic Party of Germany as its member ?
(Q49768,P463,c(Q7210356))
action filter_type
action find
entity Q49768
relation P463
type Q7210356
['Q49768', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7210356 . resource:Q49768 property:P463 ?f }
Social Democratic Party of Germany
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type political organization
['Social Democratic Party of Germany', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_organization . resource:Social_Democratic_Party_of_Germany property:member_of ?f }
[]
political organization
Q7248622
SYSTEM
Progressive Alliance
Q7248622
(Q49768,P463,c(Q7210356))
action filter_type
action find
entity Q49768
relation P463
type Q7210356
Party [ANSWER] had Social Democratic Party of Germany as its member
['Q49768', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7210356 . resource:Q49768 property:P463 ?f }
Progressive Alliance
Party Progressive Alliance had Social Democratic Party of Germany as its member
Progressive Alliance
action filter_type
action find
entity Social Democratic Party of Germany
relation member of
type political organization
['Social Democratic Party of Germany', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_organization . resource:Social_Democratic_Party_of_Germany property:member_of ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2934978
Q7210356
USER
And what about Camille Langevin?
(Q2934978,P463,c(Q7210356))
action filter_type
action find
entity Q2934978
relation P463
type Q7210356
['Q2934978', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q2934978 property:P463 ?e . ?e rdf:type ontology:Q7210356 }
Camille Langevin
action filter_type
action find
entity Camille Langevin
relation member of
type political organization
['Camille Langevin', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Camille_Langevin property:member_of ?e . ?e rdf:type ontology:political_organization }
[]
political organization
Q183725
SYSTEM
International Workingmen's Association
Q183725
(Q2934978,P463,c(Q7210356))
action filter_type
action find
entity Q2934978
relation P463
type Q7210356
[ANSWER]
['Q2934978', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q2934978 property:P463 ?e . ?e rdf:type ontology:Q7210356 }
International Workingmen's Association
International Workingmen's Association
action filter_type
action find
entity Camille Langevin
relation member of
type political organization
['Camille Langevin', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Camille_Langevin property:member_of ?e . ?e rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2934978
P734
Q82799
USER
Which name is associated with that person ?
(Q183725,P734,c(Q82799))
action filter_type
action find
entity Q2934978
relation P734
type Q82799
['Q183725', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q2934978 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Camille Langevin
action filter_type
action find
entity Camille Langevin
relation family name
type name
["International Workingmen's Association", 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Camille_Langevin property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q243304
SYSTEM
Langevin
Q243304
(Q183725,P734,c(Q82799))
action filter_type
action find
entity Q2934978
relation P734
type Q82799
[ANSWER] is associated with that person
['Q183725', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q2934978 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Langevin
Langevin is associated with that person
Langevin
action filter_type
action find
entity Camille Langevin
relation family name
type name
["International Workingmen's Association", 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Camille_Langevin property:family_name ?m . ?m rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7324038 Q2934978
P734
Q82799
USER
Or Richard Bean?
OR((Q2934978,P734,c(Q82799)), (Q7324038,P734,c(Q82799)))
action filter_type
action union
action find
entity Q2934978
relation P734
action find
entity Q7324038
relation P734
type Q82799
{'OR': [['Q2934978', 'P734', {'concept': 'Q82799'}], ['Q7324038', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q2934978 property:P734 ?i } UNION { resource:Q7324038 property:P734 ?i } } . ?i rdf:type ontology:Q82799 }
Richard Bean Camille Langevin
action filter_type
action union
action find
entity Camille Langevin
relation family name
action find
entity Richard Bean
relation family name
type name
{'OR': [['Camille Langevin', 'family name', {'concept': 'name'}], ['Richard Bean', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Camille_Langevin property:family_name ?i } UNION { resource:Richard_Bean property:family_name ?i } } . ?i rdf:type ontology:name }
[]
name
Q16275014 Q243304
SYSTEM
Bean, Langevin
Q16275014 Q243304
OR((Q2934978,P734,c(Q82799)), (Q7324038,P734,c(Q82799)))
action filter_type
action union
action find
entity Q2934978
relation P734
action find
entity Q7324038
relation P734
type Q82799
[ANSWERS]
{'OR': [['Q2934978', 'P734', {'concept': 'Q82799'}], ['Q7324038', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q2934978 property:P734 ?i } UNION { resource:Q7324038 property:P734 ?i } } . ?i rdf:type ontology:Q82799 }
Bean Langevin
Bean Langevin
action filter_type
action union
action find
entity Camille Langevin
relation family name
action find
entity Richard Bean
relation family name
type name
{'OR': [['Camille Langevin', 'family name', {'concept': 'name'}], ['Richard Bean', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Camille_Langevin property:family_name ?i } UNION { resource:Richard_Bean property:family_name ?i } } . ?i rdf:type ontology:name }
[]