Simple Question (Direct)
Simple Question
Q3034967
P19
Q20667921
USER
Which french administrative division was Dominique Bailly born in ?
(Q3034967,P19,c(Q20667921))
action filter_type
action find
entity Q3034967
relation P19
type Q20667921
['Q3034967', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q3034967 property:P19 ?h . ?h rdf:type ontology:Q20667921 }
Dominique Bailly
action filter_type
action find
entity Dominique Bailly
relation place of birth
type type of french administrative division
['Dominique Bailly', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Dominique_Bailly property:place_of_birth ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q165271
SYSTEM
Lens
Q165271
(Q3034967,P19,c(Q20667921))
action filter_type
action find
entity Q3034967
relation P19
type Q20667921
Dominique Bailly was born [ANSWER]
['Q3034967', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q3034967 property:P19 ?h . ?h rdf:type ontology:Q20667921 }
Lens
Dominique Bailly was born Lens
Lens
action filter_type
action find
entity Dominique Bailly
relation place of birth
type type of french administrative division
['Dominique Bailly', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Dominique_Bailly property:place_of_birth ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3034967
P734
Q82799
USER
Which name is associated with Dominique Bailly ?
(Q3034967,P734,c(Q82799))
action filter_type
action find
entity Q3034967
relation P734
type Q82799
['Q3034967', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q3034967 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Dominique Bailly
action filter_type
action find
entity Dominique Bailly
relation family name
type name
['Dominique Bailly', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Dominique_Bailly property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q18534513
SYSTEM
Bailly
Q18534513
(Q3034967,P734,c(Q82799))
action filter_type
action find
entity Q3034967
relation P734
type Q82799
Guillaume [ANSWER] is associated with Dominique [ANSWER]
['Q3034967', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q3034967 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Bailly
Guillaume Bailly is associated with Dominique Bailly
Bailly
action filter_type
action find
entity Dominique Bailly
relation family name
type name
['Dominique Bailly', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Dominique_Bailly property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3034967
P102
Q7210356
USER
Which party does that person belong to ?
(Q18534513,P102,c(Q7210356))
action filter_type
action find
entity Q3034967
relation P102
type Q7210356
['Q18534513', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q3034967 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Dominique Bailly
action filter_type
action find
entity Dominique Bailly
relation member of political party
type political organization
['Bailly', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Dominique_Bailly property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q170972
SYSTEM
Socialist Party
Q170972
(Q18534513,P102,c(Q7210356))
action filter_type
action find
entity Q3034967
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q18534513', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q3034967 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Socialist Party
That person belongs to Socialist Party
Socialist Party
action filter_type
action find
entity Dominique Bailly
relation member of political party
type political organization
['Bailly', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Dominique_Bailly property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3034967
P27
Q15617994
USER
Which administrative territory is Dominique Bailly an inhabitant of ?
(Q3034967,P27,c(Q15617994))
action filter_type
action find
entity Q3034967
relation P27
type Q15617994
['Q3034967', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q3034967 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Dominique Bailly
action filter_type
action find
entity Dominique Bailly
relation country of citizenship
type designation for an administrative territorial entity
['Dominique Bailly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Dominique_Bailly property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3034967,P27,c(Q15617994))
action filter_type
action find
entity Q3034967
relation P27
type Q15617994
The [ANSWER] is Dominique Bailly an inhabitant of
['Q3034967', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q3034967 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
France
The France is Dominique Bailly an inhabitant of
France
action filter_type
action find
entity Dominique Bailly
relation country of citizenship
type designation for an administrative territorial entity
['Dominique Bailly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Dominique_Bailly property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q717 Q7163355
P47
Q15617994
USER
Does that administrative territory have an adjacent border with Venezuela and Penn Yan Central School District ?
(Q142,P47,Q717) (Q142,P47,Q7163355)
action is_in
entity Q142
action intersection
action find_reverse
entity Q717
relation P47
action find_reverse
entity Q7163355
relation P47
['Q142', 'P47', 'Q717'] ['Q142', 'P47', 'Q7163355']
ASK WHERE { resource:Q142 property:P47 resource:Q717 . resource:Q142 property:P47 resource:Q7163355 }
France Venezuela Penn Yan Central School District
action is_in
entity France
action intersection
action find_reverse
entity Venezuela
relation shares border with
action find_reverse
entity Penn Yan Central School District
relation shares border with
['France', 'shares border with', 'Venezuela'] ['France', 'shares border with', 'Penn Yan Central School District']
ASK WHERE { resource:France property:shares_border_with resource:Venezuela . resource:France property:shares_border_with resource:Penn_Yan_Central_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q142,P47,Q717) (Q142,P47,Q7163355)
action is_in
entity Q142
action intersection
action find_reverse
entity Q717
relation P47
action find_reverse
entity Q7163355
relation P47
[ANSWER]
['Q142', 'P47', 'Q717'] ['Q142', 'P47', 'Q7163355']
ASK WHERE { resource:Q142 property:P47 resource:Q717 . resource:Q142 property:P47 resource:Q7163355 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity Venezuela
relation shares border with
action find_reverse
entity Penn Yan Central School District
relation shares border with
['France', 'shares border with', 'Venezuela'] ['France', 'shares border with', 'Penn Yan Central School District']
ASK WHERE { resource:France property:shares_border_with resource:Venezuela . resource:France property:shares_border_with resource:Penn_Yan_Central_School_District }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26323182 Q170972
P17
Q15617994
USER
Which administrative territories are Socialist Party or 11, Farrier Street present in ?
OR((Q170972,P17,c(Q15617994)), (Q26323182,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q170972
relation P17
action find
entity Q26323182
relation P17
type Q15617994
{'OR': [['Q170972', 'P17', {'concept': 'Q15617994'}], ['Q26323182', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q170972 property:P17 ?y } UNION { resource:Q26323182 property:P17 ?y } } }
11, Farrier Street Socialist Party
action filter_type
action union
action find
entity Socialist Party
relation country
action find
entity 11, Farrier Street
relation country
type designation for an administrative territorial entity
{'OR': [['Socialist Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['11, Farrier Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Socialist_Party property:country ?y } UNION { resource:11,_Farrier_Street property:country ?y } } }
[]
designation for an administrative territorial entity
Q142 Q145
SYSTEM
France, United Kingdom
Q142 Q145
OR((Q170972,P17,c(Q15617994)), (Q26323182,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q170972
relation P17
action find
entity Q26323182
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q170972', 'P17', {'concept': 'Q15617994'}], ['Q26323182', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q170972 property:P17 ?y } UNION { resource:Q26323182 property:P17 ?y } } }
France United Kingdom
Which administrative territories are Socialist Party or 11, Farrier Street present in
France United Kingdom
action filter_type
action union
action find
entity Socialist Party
relation country
action find
entity 11, Farrier Street
relation country
type designation for an administrative territorial entity
{'OR': [['Socialist Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['11, Farrier Street', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Socialist_Party property:country ?y } UNION { resource:11,_Farrier_Street property:country ?y } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q289598
P495
Q838948
USER
Did Falling Down originate in those administrative territories ?
(Q289598,P495,Q142) (Q289598,P495,Q145)
action is_in
entity prev_answer
action find
entity Q289598
relation P495
['Q289598', 'P495', 'Q142'] ['Q289598', 'P495', 'Q145']
ASK WHERE { VALUES ( ?i ) { ( resource:Q142 ) ( resource:Q145 ) } . resource:Q289598 property:P495 ?i }
Falling Down
action is_in
entity prev_answer
action find
entity Falling Down
relation country of origin
['Falling Down', 'country of origin', 'France'] ['Falling Down', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?i ) { ( resource:France ) ( resource:United_Kingdom ) } . resource:Falling_Down property:country_of_origin ?i }
[]
work of art
SYSTEM
YES
(Q289598,P495,Q142) (Q289598,P495,Q145)
action is_in
entity prev_answer
action find
entity Q289598
relation P495
[ANSWER]
['Q289598', 'P495', 'Q142'] ['Q289598', 'P495', 'Q145']
ASK WHERE { VALUES ( ?i ) { ( resource:Q142 ) ( resource:Q145 ) } . resource:Q289598 property:P495 ?i }
Yes
action is_in
entity prev_answer
action find
entity Falling Down
relation country of origin
['Falling Down', 'country of origin', 'France'] ['Falling Down', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?i ) { ( resource:France ) ( resource:United_Kingdom ) } . resource:Falling_Down property:country_of_origin ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q170972 Q18198862
P488
Q502895
USER
How many people were the chairpersons of Socialist Party or Richard Commission ?
(Q170972,P488,c(Q502895)) (Q18198862,P488,c(Q502895))
action count
action union
action filter_type
action find
entity Q170972
relation P488
type Q502895
action filter_type
action find
entity Q18198862
relation P488
type Q502895
['Q170972', 'P488', {'concept': 'Q502895'}] ['Q18198862', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { resource:Q170972 property:P488 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q18198862 property:P488 ?q . ?q rdf:type ontology:Q502895 } }
Socialist Party Richard Commission
action count
action union
action filter_type
action find
entity Socialist Party
relation chairperson
type common name
action filter_type
action find
entity Richard Commission
relation chairperson
type common name
['Socialist Party', 'chairperson', {'concept': 'common name'}] ['Richard Commission', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { resource:Socialist_Party property:chairperson ?q . ?q rdf:type ontology:common_name } UNION { resource:Richard_Commission property:chairperson ?q . ?q rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q333309 Q1684726
(Q170972,P488,c(Q502895)) (Q18198862,P488,c(Q502895))
action count
action union
action filter_type
action find
entity Q170972
relation P488
type Q502895
action filter_type
action find
entity Q18198862
relation P488
type Q502895
[ANSWER]
['Q170972', 'P488', {'concept': 'Q502895'}] ['Q18198862', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { resource:Q170972 property:P488 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q18198862 property:P488 ?q . ?q rdf:type ontology:Q502895 } }
Ivor Richard, Baron Richard Jean-Christophe Cambadélis
2
action count
action union
action filter_type
action find
entity Socialist Party
relation chairperson
type common name
action filter_type
action find
entity Richard Commission
relation chairperson
type common name
['Socialist Party', 'chairperson', {'concept': 'common name'}] ['Richard Commission', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { resource:Socialist_Party property:chairperson ?q . ?q rdf:type ontology:common_name } UNION { resource:Richard_Commission property:chairperson ?q . ?q rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1452654 Q3034967
P937
Q56061
USER
Which administrative territories are the work locations of Dominique Bailly or Manfred Matusza ?
OR((Q3034967,P937,c(Q56061)), (Q1452654,P937,c(Q56061)))
action filter_type
action union
action find
entity Q3034967
relation P937
action find
entity Q1452654
relation P937
type Q56061
{'OR': [['Q3034967', 'P937', {'concept': 'Q56061'}], ['Q1452654', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?z ) { ( resource:Q3034967 ) ( resource:Q1452654 ) } . ?z property:P937 ?o } . ?o rdf:type ontology:Q56061 }
Manfred Matusza Dominique Bailly
action filter_type
action union
action find
entity Dominique Bailly
relation work location
action find
entity Manfred Matusza
relation work location
type administrative territorial entity
{'OR': [['Dominique Bailly', 'work location', {'concept': 'administrative territorial entity'}], ['Manfred Matusza', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?z ) { ( resource:Dominique_Bailly ) ( resource:Manfred_Matusza ) } . ?z property:work_location ?o } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3865 Q90
SYSTEM
Villingen-Schwenningen, Paris
Q3865 Q90
OR((Q3034967,P937,c(Q56061)), (Q1452654,P937,c(Q56061)))
action filter_type
action union
action find
entity Q3034967
relation P937
action find
entity Q1452654
relation P937
type Q56061
[ANSWERS] are the work locations of Dominique Bailly or Manfred Matusza
{'OR': [['Q3034967', 'P937', {'concept': 'Q56061'}], ['Q1452654', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?z ) { ( resource:Q3034967 ) ( resource:Q1452654 ) } . ?z property:P937 ?o } . ?o rdf:type ontology:Q56061 }
Villingen-Schwenningen Paris
Villingen-Schwenningen and Paris are the work locations of Dominique Bailly or Manfred Matusza
Villingen-Schwenningen Paris
action filter_type
action union
action find
entity Dominique Bailly
relation work location
action find
entity Manfred Matusza
relation work location
type administrative territorial entity
{'OR': [['Dominique Bailly', 'work location', {'concept': 'administrative territorial entity'}], ['Manfred Matusza', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?z ) { ( resource:Dominique_Bailly ) ( resource:Manfred_Matusza ) } . ?z property:work_location ?o } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1452654
P108
Q3918
USER
Which university is the workplace of Manfred Matusza ?
(Q3865,P108,c(Q3918)) (Q90,P108,c(Q3918))
action filter_type
action find
entity Q1452654
relation P108
type Q3918
['Q3865', 'P108', {'concept': 'Q3918'}] ['Q90', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?s WHERE { resource:Q1452654 property:P108 ?s . ?s rdf:type ontology:Q3918 }
Manfred Matusza
action filter_type
action find
entity Manfred Matusza
relation employer
type university
['Villingen-Schwenningen', 'employer', {'concept': 'university'}] ['Paris', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?s WHERE { resource:Manfred_Matusza property:employer ?s . ?s rdf:type ontology:university }
[]
university
Q153978
SYSTEM
University of Tübingen
Q153978
(Q3865,P108,c(Q3918)) (Q90,P108,c(Q3918))
action filter_type
action find
entity Q1452654
relation P108
type Q3918
[ANSWER] is the workplace of Manfred Matusza
['Q3865', 'P108', {'concept': 'Q3918'}] ['Q90', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?s WHERE { resource:Q1452654 property:P108 ?s . ?s rdf:type ontology:Q3918 }
University of Tübingen
University of Tübingen is the workplace of Manfred Matusza
University of Tübingen
action filter_type
action find
entity Manfred Matusza
relation employer
type university
['Villingen-Schwenningen', 'employer', {'concept': 'university'}] ['Paris', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?s WHERE { resource:Manfred_Matusza property:employer ?s . ?s rdf:type ontology:university }
[]