Simple Question (Direct)
Simple Question
Q3367559
P21
Q290
USER
What is the sex of Pascal Perrier-David ?
(Q3367559,P21,c(Q290))
action filter_type
action find
entity Q3367559
relation P21
type Q290
['Q3367559', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q3367559 property:P21 ?r }
Pascal Perrier-David
action filter_type
action find
entity Pascal Perrier-David
relation gender
type sex
['Pascal Perrier-David', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Pascal_Perrier-David property:gender ?r }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3367559,P21,c(Q290))
action filter_type
action find
entity Q3367559
relation P21
type Q290
The sex of Pascal Perrier-David is the [ANSWER]
['Q3367559', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q3367559 property:P21 ?r }
male
The sex of Pascal Perrier-David is the male
male
action filter_type
action find
entity Pascal Perrier-David
relation gender
type sex
['Pascal Perrier-David', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Pascal_Perrier-David property:gender ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3367559
P19
Q20667921
USER
Which french administrative division was Pascal Perrier-David born at ?
(Q3367559,P19,c(Q20667921))
action filter_type
action find
entity Q3367559
relation P19
type Q20667921
['Q3367559', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q3367559 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
Pascal Perrier-David
action filter_type
action find
entity Pascal Perrier-David
relation place of birth
type type of french administrative division
['Pascal Perrier-David', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Pascal_Perrier-David property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q8358
SYSTEM
Oullins
Q8358
(Q3367559,P19,c(Q20667921))
action filter_type
action find
entity Q3367559
relation P19
type Q20667921
Pascal Perrier-David was born in [ANSWER]
['Q3367559', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q3367559 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
Oullins
Pascal Perrier-David was born in Oullins
Oullins
action filter_type
action find
entity Pascal Perrier-David
relation place of birth
type type of french administrative division
['Pascal Perrier-David', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Pascal_Perrier-David property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q326027 Q3367559
P47 P19
Q20667921
USER
Which french administrative divisions are the birthplace of Pascal Perrier-David or have a shared border with Volonne ?
OR((Q3367559,P19,c(Q20667921)), (Q326027,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q3367559
relation P19
action find
entity Q326027
relation P47
type Q20667921
{'OR': [['Q3367559', 'P19', {'concept': 'Q20667921'}], ['Q326027', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . { { resource:Q3367559 property:P19 ?v } UNION { resource:Q326027 property:P47 ?v } } }
Volonne Pascal Perrier-David
action filter_type
action union
action find
entity Pascal Perrier-David
relation place of birth
action find
entity Volonne
relation shares border with
type type of french administrative division
{'OR': [['Pascal Perrier-David', 'place of birth', {'concept': 'type of french administrative division'}], ['Volonne', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . { { resource:Pascal_Perrier-David property:place_of_birth ?v } UNION { resource:Volonne property:shares_border_with ?v } } }
[]
type of french administrative division
Q320205 Q279466 Q391103 Q1062143 Q1016821 Q8358 Q326003 Q609823
SYSTEM
Château-Arnoux-Saint-Auban, Salignac, L'Escale, Barras, Thoard, Oullins, Aubignosc, Sourribes
Q320205 Q279466 Q391103 Q1062143 Q1016821 Q8358 Q326003 Q609823
OR((Q3367559,P19,c(Q20667921)), (Q326027,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q3367559
relation P19
action find
entity Q326027
relation P47
type Q20667921
[ANSWERS] are the birthplace of Pascal Perrier-David or have a shared border with Volonne
{'OR': [['Q3367559', 'P19', {'concept': 'Q20667921'}], ['Q326027', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . { { resource:Q3367559 property:P19 ?v } UNION { resource:Q326027 property:P47 ?v } } }
Château-Arnoux-Saint-Auban Salignac L'Escale Barras Thoard Oullins Aubignosc Sourribes
Château-Arnoux-Saint-Auban, Salignac, L'Escale, Barras, Thoard, Oullins, Aubignosc and Sourribes are the birthplace of Pascal Perrier-David or have a shared border with Volonne
Château-Arnoux-Saint-Auban Salignac L'Escale Barras Thoard Oullins Aubignosc Sourribes
action filter_type
action union
action find
entity Pascal Perrier-David
relation place of birth
action find
entity Volonne
relation shares border with
type type of french administrative division
{'OR': [['Pascal Perrier-David', 'place of birth', {'concept': 'type of french administrative division'}], ['Volonne', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . { { resource:Pascal_Perrier-David property:place_of_birth ?v } UNION { resource:Volonne property:shares_border_with ?v } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories do that french administrative division belong to ?
(Q609823,P17,c(Q15617994))
['Q609823', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q609823 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Sourribes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sourribes property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q326003
SYSTEM
Did you mean Aubignosc ?
(Q320205,P17,c(Q15617994)) (Q279466,P17,c(Q15617994)) (Q391103,P17,c(Q15617994)) (Q1062143,P17,c(Q15617994)) (Q1016821,P17,c(Q15617994)) (Q8358,P17,c(Q15617994)) (Q326003,P17,c(Q15617994)) (Q609823,P17,c(Q15617994))
[ANSWER]
['Q320205', 'P17', {'concept': 'Q15617994'}] ['Q279466', 'P17', {'concept': 'Q15617994'}] ['Q391103', 'P17', {'concept': 'Q15617994'}] ['Q1062143', 'P17', {'concept': 'Q15617994'}] ['Q1016821', 'P17', {'concept': 'Q15617994'}] ['Q8358', 'P17', {'concept': 'Q15617994'}] ['Q326003', 'P17', {'concept': 'Q15617994'}] ['Q609823', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q609823 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Aubignosc ?
Aubignosc
['Château-Arnoux-Saint-Auban', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Salignac', 'country', {'concept': 'designation for an administrative territorial entity'}] ["L'Escale", 'country', {'concept': 'designation for an administrative territorial entity'}] ['Barras', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Thoard', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Oullins', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Aubignosc', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sourribes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sourribes property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Sourribes. Could you tell me the answer for that?
(Q609823,P17,c(Q15617994))
Q609823
['Q609823', 'P17', {'concept': 'Q15617994'}]
['Sourribes', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q142
(Q609823,P17,c(Q15617994))
[ANSWER]
['Q609823', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q609823 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
France
1
['Sourribes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sourribes property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3367559
P54
Q12973014
USER
What is Pascal Perrier-David a member of ?
(Q3367559,P54,c(Q12973014))
action filter_type
action find
entity Q3367559
relation P54
type Q12973014
['Q3367559', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { resource:Q3367559 property:P54 ?y . ?y rdf:type ontology:Q12973014 }
Pascal Perrier-David
action filter_type
action find
entity Pascal Perrier-David
relation member of sports team
type sports team
['Pascal Perrier-David', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { resource:Pascal_Perrier-David property:member_of_sports_team ?y . ?y rdf:type ontology:sports_team }
[]
sports team
Q1419876
SYSTEM
Limoges CSP
Q1419876
(Q3367559,P54,c(Q12973014))
action filter_type
action find
entity Q3367559
relation P54
type Q12973014
Pascal Perrier-David is a member of the [ANSWER]
['Q3367559', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { resource:Q3367559 property:P54 ?y . ?y rdf:type ontology:Q12973014 }
Limoges CSP
Pascal Perrier-David is a member of the Limoges CSP
Limoges CSP
action filter_type
action find
entity Pascal Perrier-David
relation member of sports team
type sports team
['Pascal Perrier-David', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { resource:Pascal_Perrier-David property:member_of_sports_team ?y . ?y rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3367559
P641
Q349
USER
Which sport was that person a part of ?
(Q1419876,P641,c(Q349))
action filter_type
action find
entity Q3367559
relation P641
type Q349
['Q1419876', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q3367559 property:P641 ?b . ?b rdf:type ontology:Q349 }
Pascal Perrier-David
action filter_type
action find
entity Pascal Perrier-David
relation sport
type sport
['Limoges CSP', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Pascal_Perrier-David property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q1419876,P641,c(Q349))
action filter_type
action find
entity Q3367559
relation P641
type Q349
The [ANSWER] was that person a part of
['Q1419876', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q3367559 property:P641 ?b . ?b rdf:type ontology:Q349 }
basketball
The basketball was that person a part of
basketball
action filter_type
action find
entity Pascal Perrier-David
relation sport
type sport
['Limoges CSP', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Pascal_Perrier-David property:sport ?b . ?b rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P2416
Q618123 Q502895
USER
How many geographical objects or people competed in that sport ?
(c(Q618123),P2416,Q5372) (c(Q502895),P2416,Q5372) (c(Q618123),P2416,Q5372) (c(Q502895),P2416,Q5372)
action count
action union
action filter_type
action find_reverse
entity Q5372
relation P2416
type Q618123
action filter_type
action find_reverse
entity Q5372
relation P2416
type Q502895
[{'concept': 'Q618123'}, 'P2416', 'Q5372'] [{'concept': 'Q502895'}, 'P2416', 'Q5372'] [{'concept': 'Q618123'}, 'P2416', 'Q5372'] [{'concept': 'Q502895'}, 'P2416', 'Q5372']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { ?e property:P2416 resource:Q5372 . ?e rdf:type ontology:Q618123 } UNION { ?e property:P2416 resource:Q5372 . ?e rdf:type ontology:Q502895 } }
action count
action union
action filter_type
action find_reverse
entity basketball
relation sports discipline competed in
type geographical object
action filter_type
action find_reverse
entity basketball
relation sports discipline competed in
type common name
[{'concept': 'geographical object'}, 'sports discipline competed in', 'basketball'] [{'concept': 'common name'}, 'sports discipline competed in', 'basketball'] [{'concept': 'geographical object'}, 'sports discipline competed in', 'basketball'] [{'concept': 'common name'}, 'sports discipline competed in', 'basketball']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { ?e property:sports_discipline_competed_in resource:basketball . ?e rdf:type ontology:geographical_object } UNION { ?e property:sports_discipline_competed_in resource:basketball . ?e rdf:type ontology:common_name } }
[]
geographical object common name
SYSTEM
3
Q12307889 Q12898550 Q5279077
(c(Q618123),P2416,Q5372) (c(Q502895),P2416,Q5372) (c(Q618123),P2416,Q5372) (c(Q502895),P2416,Q5372)
action count
action union
action filter_type
action find_reverse
entity Q5372
relation P2416
type Q618123
action filter_type
action find_reverse
entity Q5372
relation P2416
type Q502895
[ANSWER]
[{'concept': 'Q618123'}, 'P2416', 'Q5372'] [{'concept': 'Q502895'}, 'P2416', 'Q5372'] [{'concept': 'Q618123'}, 'P2416', 'Q5372'] [{'concept': 'Q502895'}, 'P2416', 'Q5372']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { ?e property:P2416 resource:Q5372 . ?e rdf:type ontology:Q618123 } UNION { ?e property:P2416 resource:Q5372 . ?e rdf:type ontology:Q502895 } }
De Studerendes Idræt Odense Cecilia Vázquez Kim Williams
3
action count
action union
action filter_type
action find_reverse
entity basketball
relation sports discipline competed in
type geographical object
action filter_type
action find_reverse
entity basketball
relation sports discipline competed in
type common name
[{'concept': 'geographical object'}, 'sports discipline competed in', 'basketball'] [{'concept': 'common name'}, 'sports discipline competed in', 'basketball'] [{'concept': 'geographical object'}, 'sports discipline competed in', 'basketball'] [{'concept': 'common name'}, 'sports discipline competed in', 'basketball']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { ?e property:sports_discipline_competed_in resource:basketball . ?e rdf:type ontology:geographical_object } UNION { ?e property:sports_discipline_competed_in resource:basketball . ?e rdf:type ontology:common_name } }
[]