Simple Question (Direct)
Simple Question
Q3188424
P20
Q56061
USER
Where did the demise of Jules Beaujoint occur ?
(Q3188424,P20,c(Q56061))
action filter_type
action find
entity Q3188424
relation P20
type Q56061
['Q3188424', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q3188424 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Jules Beaujoint
action filter_type
action find
entity Jules Beaujoint
relation place of death
type administrative territorial entity
['Jules Beaujoint', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jules_Beaujoint property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3188424,P20,c(Q56061))
action filter_type
action find
entity Q3188424
relation P20
type Q56061
The demise of Jules Beaujoint occurred in [ANSWER]
['Q3188424', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q3188424 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Paris
The demise of Jules Beaujoint occurred in Paris
Paris
action filter_type
action find
entity Jules Beaujoint
relation place of death
type administrative territorial entity
['Jules Beaujoint', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jules_Beaujoint property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3188424
P21
Q290
USER
What is the sex of Jules Beaujoint ?
(Q3188424,P21,c(Q290))
action filter_type
action find
entity Q3188424
relation P21
type Q290
['Q3188424', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3188424 property:P21 ?m . ?m rdf:type ontology:Q290 }
Jules Beaujoint
action filter_type
action find
entity Jules Beaujoint
relation gender
type sex
['Jules Beaujoint', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Jules_Beaujoint property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3188424,P21,c(Q290))
action filter_type
action find
entity Q3188424
relation P21
type Q290
The sex of Jules Beaujoint is a [ANSWER]
['Q3188424', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q3188424 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Jules Beaujoint is a male
male
action filter_type
action find
entity Jules Beaujoint
relation gender
type sex
['Jules Beaujoint', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Jules_Beaujoint property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3188424
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3188424
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3188424 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Jules Beaujoint
action filter_type
action find
entity Jules Beaujoint
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Jules_Beaujoint property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3188424
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3188424 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
France
That person belongs to the France
France
action filter_type
action find
entity Jules Beaujoint
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Jules_Beaujoint property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q9325527
P27
Q502895
USER
Is Róbert Kresťanko a citizen of that administrative territory ?
(Q9325527,P27,Q142)
action is_in
entity Q9325527
action find
entity Q142
relation P27
['Q9325527', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q9325527 }
France Róbert Kresťanko
action is_in
entity Róbert Kresťanko
action find
entity France
relation country of citizenship
['Róbert Kresťanko', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Róbert_Kresťanko }
[]
common name
SYSTEM
NO
(Q9325527,P27,Q142)
action is_in
entity Q9325527
action find
entity Q142
relation P27
[ANSWER]
['Q9325527', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q9325527 }
No
action is_in
entity Róbert Kresťanko
action find
entity France
relation country of citizenship
['Róbert Kresťanko', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Róbert_Kresťanko }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6767299 Q142
P138 P35
Q502895
USER
Which people have the highest formal authority in France or are Mark Davis Pro Bass Challenge named after ?
OR((Q142,P35,c(Q502895)), (Q6767299,P138,c(Q502895)))
action filter_type
action union
action find
entity Q142
relation P35
action find
entity Q6767299
relation P138
type Q502895
{'OR': [['Q142', 'P35', {'concept': 'Q502895'}], ['Q6767299', 'P138', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q6767299 property:P138 ?c } UNION { resource:Q142 property:P35 ?c } } . ?c rdf:type ontology:Q502895 }
Mark Davis Pro Bass Challenge France
action filter_type
action union
action find
entity France
relation head of state
action find
entity Mark Davis Pro Bass Challenge
relation named after
type common name
{'OR': [['France', 'head of state', {'concept': 'common name'}], ['Mark Davis Pro Bass Challenge', 'named after', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Mark_Davis_Pro_Bass_Challenge property:named_after ?c } UNION { resource:France property:head_of_state ?c } } . ?c rdf:type ontology:common_name }
[]
common name
Q2105 Q2038 Q6767292 Q157 Q329 Q2042 Q12950 Q2185 Q2124
SYSTEM
Jacques Chirac, François Mitterrand, Mark Davis, François Hollande, Nicolas Sarkozy, Charles de Gaulle, Alain Poher, Georges Pompidou, Valéry Giscard d'Estaing
Q2105 Q2038 Q6767292 Q157 Q329 Q2042 Q12950 Q2185 Q2124
OR((Q142,P35,c(Q502895)), (Q6767299,P138,c(Q502895)))
action filter_type
action union
action find
entity Q142
relation P35
action find
entity Q6767299
relation P138
type Q502895
[ANSWERS] have the highest formal authority in France or are Mark Davis Pro Bass Challenge named after
{'OR': [['Q142', 'P35', {'concept': 'Q502895'}], ['Q6767299', 'P138', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q6767299 property:P138 ?c } UNION { resource:Q142 property:P35 ?c } } . ?c rdf:type ontology:Q502895 }
Jacques Chirac François Mitterrand Mark Davis François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
Jacques Chirac, François Mitterrand, Mark Davis, François Hollande, Nicolas Sarkozy, Charles de Gaulle, Alain Poher, Georges Pompidou and Valéry Giscard d'Estaing have the highest formal authority in France or are Mark Davis Pro Bass Challenge named after
Jacques Chirac François Mitterrand Mark Davis François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
action filter_type
action union
action find
entity France
relation head of state
action find
entity Mark Davis Pro Bass Challenge
relation named after
type common name
{'OR': [['France', 'head of state', {'concept': 'common name'}], ['Mark Davis Pro Bass Challenge', 'named after', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Mark_Davis_Pro_Bass_Challenge property:named_after ?c } UNION { resource:France property:head_of_state ?c } } . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2042 Q21468760
P7
Q502895
USER
How many people are siblings of Charles de Gaulle or Phillip Klimek ?
(c(Q502895),P7,Q2042) (c(Q502895),P7,Q21468760)
action count
action union
action filter_type
action find_reverse
entity Q2042
relation P7
type Q502895
action filter_type
action find_reverse
entity Q21468760
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2042'] [{'concept': 'Q502895'}, 'P7', 'Q21468760']
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:P7 ?k . VALUES ( ?k ) { ( resource:Q21468760 ) ( resource:Q2042 ) } }
Charles de Gaulle Phillip Klimek
action count
action union
action filter_type
action find_reverse
entity Charles de Gaulle
relation brother
type common name
action filter_type
action find_reverse
entity Phillip Klimek
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Charles de Gaulle'] [{'concept': 'common name'}, 'brother', 'Phillip Klimek']
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:brother ?k . VALUES ( ?k ) { ( resource:Phillip_Klimek ) ( resource:Charles_de_Gaulle ) } }
[]
common name
SYSTEM
5
Q3291439 Q16354862 Q17591714 Q3570818 Q3387553
(c(Q502895),P7,Q2042) (c(Q502895),P7,Q21468760)
action count
action union
action filter_type
action find_reverse
entity Q2042
relation P7
type Q502895
action filter_type
action find_reverse
entity Q21468760
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q2042'] [{'concept': 'Q502895'}, 'P7', 'Q21468760']
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:P7 ?k . VALUES ( ?k ) { ( resource:Q21468760 ) ( resource:Q2042 ) } }
Marie-Agnès de Gaulle Jacques de Gaulle Scarlet Klimek Xavier de Gaulle Pierre de Gaulle
5
action count
action union
action filter_type
action find_reverse
entity Charles de Gaulle
relation brother
type common name
action filter_type
action find_reverse
entity Phillip Klimek
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Charles de Gaulle'] [{'concept': 'common name'}, 'brother', 'Phillip Klimek']
SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:brother ?k . VALUES ( ?k ) { ( resource:Phillip_Klimek ) ( resource:Charles_de_Gaulle ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2042
P140
Q874405
USER
What is the religion associated with Charles de Gaulle ?
(Q2042,P140,c(Q874405))
action filter_type
action find
entity Q2042
relation P140
type Q874405
['Q2042', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { resource:Q2042 property:P140 ?d . ?d rdf:type ontology:Q874405 }
Charles de Gaulle
action filter_type
action find
entity Charles de Gaulle
relation religion
type social group
['Charles de Gaulle', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { resource:Charles_de_Gaulle property:religion ?d . ?d rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q2042,P140,c(Q874405))
action filter_type
action find
entity Q2042
relation P140
type Q874405
The religion associated with Charles de Gaulle is [ANSWER]
['Q2042', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?d WHERE { resource:Q2042 property:P140 ?d . ?d rdf:type ontology:Q874405 }
Catholicism
The religion associated with Charles de Gaulle is Catholicism
Catholicism
action filter_type
action find
entity Charles de Gaulle
relation religion
type social group
['Charles de Gaulle', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?d WHERE { resource:Charles_de_Gaulle property:religion ?d . ?d rdf:type ontology:social_group }
[]