Simple Question (Direct)
Simple Question
Q32263
P21
Q290
USER
Which sex does Isaac Berenblum possess ?
(Q32263,P21,c(Q290))
action filter_type
action find
entity Q32263
relation P21
type Q290
['Q32263', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q32263 property:P21 ?w . ?w rdf:type ontology:Q290 }
Isaac Berenblum
action filter_type
action find
entity Isaac Berenblum
relation gender
type sex
['Isaac Berenblum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Isaac_Berenblum property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q32263,P21,c(Q290))
action filter_type
action find
entity Q32263
relation P21
type Q290
Isaac Berenblum possesses un [ANSWER]
['Q32263', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q32263 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Isaac Berenblum possesses un male
male
action filter_type
action find
entity Isaac Berenblum
relation gender
type sex
['Isaac Berenblum', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Isaac_Berenblum property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32263
P19
Q56061
USER
Which administrative territory was Isaac Berenblum born at ?
(Q32263,P19,c(Q56061))
action filter_type
action find
entity Q32263
relation P19
type Q56061
['Q32263', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q32263 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Isaac Berenblum
action filter_type
action find
entity Isaac Berenblum
relation place of birth
type administrative territorial entity
['Isaac Berenblum', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Isaac_Berenblum property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q761
SYSTEM
Białystok
Q761
(Q32263,P19,c(Q56061))
action filter_type
action find
entity Q32263
relation P19
type Q56061
Isaac Berenblum was born in [ANSWER]
['Q32263', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q32263 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Białystok
Isaac Berenblum was born in Białystok
Białystok
action filter_type
action find
entity Isaac Berenblum
relation place of birth
type administrative territorial entity
['Isaac Berenblum', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Isaac_Berenblum property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3082745
Q56061
USER
And also tell me about Jean-Michel Baylet?
(Q3082745,P19,c(Q56061))
action filter_type
action find
entity Q3082745
relation P19
type Q56061
['Q3082745', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q3082745 property:P19 ?e }
Jean-Michel Baylet
action filter_type
action find
entity Jean-Michel Baylet
relation place of birth
type administrative territorial entity
['Jean-Michel Baylet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Jean-Michel_Baylet property:place_of_birth ?e }
[]
administrative territorial entity
Q7880
SYSTEM
Toulouse
Q7880
(Q3082745,P19,c(Q56061))
action filter_type
action find
entity Q3082745
relation P19
type Q56061
[ANSWER]
['Q3082745', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q3082745 property:P19 ?e }
Toulouse
Toulouse
action filter_type
action find
entity Jean-Michel Baylet
relation place of birth
type administrative territorial entity
['Jean-Michel Baylet', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Jean-Michel_Baylet property:place_of_birth ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3082745
P488
Q7210356
USER
How many political organizations are Jean-Michel Baylet a chairperson of ?
(c(Q7210356),P488,Q3082745)
action count
action filter_type
action find_reverse
entity Q3082745
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q3082745']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P488 resource:Q3082745 . ?i rdf:type ontology:Q7210356 }
Jean-Michel Baylet
action count
action filter_type
action find_reverse
entity Jean-Michel Baylet
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Jean-Michel Baylet']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:chairperson resource:Jean-Michel_Baylet . ?i rdf:type ontology:political_organization }
[]
political organization
SYSTEM
1
Q427965
(c(Q7210356),P488,Q3082745)
action count
action filter_type
action find_reverse
entity Q3082745
relation P488
type Q7210356
[ANSWER]
[{'concept': 'Q7210356'}, 'P488', 'Q3082745']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P488 resource:Q3082745 . ?i rdf:type ontology:Q7210356 }
Radical Party of the Left
1
action count
action filter_type
action find_reverse
entity Jean-Michel Baylet
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Jean-Michel Baylet']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:chairperson resource:Jean-Michel_Baylet . ?i rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3082745
P108
Q1002697
USER
Which periodical literature employs that person ?
action filter_type
action find
entity Q3082745
relation P108
type Q1002697
SELECT DISTINCT ?w WHERE { resource:Q3082745 property:P108 ?w . ?w rdf:type ontology:Q1002697 }
Jean-Michel Baylet
action filter_type
action find
entity Jean-Michel Baylet
relation employer
type periodical literature
SELECT DISTINCT ?w WHERE { resource:Jean-Michel_Baylet property:employer ?w . ?w rdf:type ontology:periodical_literature }
[]
periodical literature
Q742587
SYSTEM
La Dépêche du Midi
Q742587
action filter_type
action find
entity Q3082745
relation P108
type Q1002697
[ANSWER] employs that person
SELECT DISTINCT ?w WHERE { resource:Q3082745 property:P108 ?w . ?w rdf:type ontology:Q1002697 }
La Dépêche du Midi
La Dépêche du Midi employs that person
La Dépêche du Midi
action filter_type
action find
entity Jean-Michel Baylet
relation employer
type periodical literature
SELECT DISTINCT ?w WHERE { resource:Jean-Michel_Baylet property:employer ?w . ?w rdf:type ontology:periodical_literature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7880
P36
Q20667921
USER
Which french administrative divisions contain Toulouse as their capital ?
(c(Q20667921),P36,Q7880)
action filter_type
action find_reverse
entity Q7880
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q7880']
SELECT DISTINCT ?g WHERE { ?g property:P36 resource:Q7880 . ?g rdf:type ontology:Q20667921 }
Toulouse
action filter_type
action find_reverse
entity Toulouse
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Toulouse']
SELECT DISTINCT ?g WHERE { ?g property:capital resource:Toulouse . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q18678265 Q1727645 Q1727642
SYSTEM
Occitania, canton of Toulouse-6, canton of Toulouse-4
Q1727645 Q1727642 Q593866 Q1722054 Q949528 Q1426453 Q1408407 Q1727643 Q18678265 Q1727630 Q369217 Q1727635 Q1727652 Q1727633 Q1727634 Q1231504
(c(Q20667921),P36,Q7880)
action filter_type
action find_reverse
entity Q7880
relation P36
type Q20667921
[ANSWERS] contain Toulouse as their capital
[{'concept': 'Q20667921'}, 'P36', 'Q7880']
SELECT DISTINCT ?g WHERE { ?g property:P36 resource:Q7880 . ?g rdf:type ontology:Q20667921 }
canton of Toulouse-6 canton of Toulouse-4 canton of Toulouse-10 canton of Toulouse-11 canton of Toulouse-12 canton of Toulouse-3 canton of Toulouse-8 canton of Toulouse-5 Occitania canton of Toulouse-1 canton of Toulouse-15 canton of Toulouse-2 canton of Toulouse-9 canton of Toulouse-13 canton of Toulouse-14 canton of Toulouse-7
Occitania, canton of Toulouse-6 and canton of Toulouse-4 contain Toulouse as their capital
Occitania canton of Toulouse-6 canton of Toulouse-4
action filter_type
action find_reverse
entity Toulouse
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Toulouse']
SELECT DISTINCT ?g WHERE { ?g property:capital resource:Toulouse . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18678265
P47
Q20667921
USER
Which french administrative divisions are next to the border of that one ?
(c(Q20667921),P47,Q18678265)
action filter_type
action find_reverse
entity Q18678265
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q18678265']
SELECT DISTINCT ?k WHERE { ?k property:P47 resource:Q18678265 . ?k rdf:type ontology:Q20667921 }
Occitania
action filter_type
action find_reverse
entity Occitania
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Occitania']
SELECT DISTINCT ?k WHERE { ?k property:shares_border_with resource:Occitania . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q18678265
SYSTEM
Did you mean Occitania ?
Q18678265 Q1727645 Q1727642
(c(Q20667921),P47,Q18678265) (c(Q20667921),P47,Q1727645) (c(Q20667921),P47,Q1727642)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q18678265'] [{'concept': 'Q20667921'}, 'P47', 'Q1727645'] [{'concept': 'Q20667921'}, 'P47', 'Q1727642']
SELECT DISTINCT ?k WHERE { ?k property:P47 resource:Q18678265 . ?k rdf:type ontology:Q20667921 }
Occitania canton of Toulouse-6 canton of Toulouse-4
Did you mean Occitania ?
Occitania
[{'concept': 'type of french administrative division'}, 'shares border with', 'Occitania'] [{'concept': 'type of french administrative division'}, 'shares border with', 'canton of Toulouse-6'] [{'concept': 'type of french administrative division'}, 'shares border with', 'canton of Toulouse-4']
SELECT DISTINCT ?k WHERE { ?k property:shares_border_with resource:Occitania . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q20667921),P47,Q18678265)
[{'concept': 'Q20667921'}, 'P47', 'Q18678265']
[{'concept': 'type of french administrative division'}, 'shares border with', 'Occitania']
[]
Q18678082 Q18338206
SYSTEM
Nouvelle-Aquitaine, Auvergne-Rhône-Alpes
Q18678082 Q18338206
(c(Q20667921),P47,Q18678265)
action filter_type
action find_reverse
entity Q18678265
relation P47
type Q20667921
[ANSWERS] are next to the border of that one
[{'concept': 'Q20667921'}, 'P47', 'Q18678265']
SELECT DISTINCT ?k WHERE { ?k property:P47 resource:Q18678265 . ?k rdf:type ontology:Q20667921 }
Nouvelle-Aquitaine Auvergne-Rhône-Alpes
Nouvelle-Aquitaine and Auvergne-Rhône-Alpes are next to the border of that one
Nouvelle-Aquitaine Auvergne-Rhône-Alpes
action filter_type
action find_reverse
entity Occitania
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Occitania']
SELECT DISTINCT ?k WHERE { ?k property:shares_border_with resource:Occitania . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q20667921
USER
How many administrative territories or french administrative divisions are adjacent to that french administrative division ?
(Q18338206,P47,c(Q15617994)) (Q18338206,P47,c(Q20667921)) (Q18678082,P47,c(Q15617994)) (Q18678082,P47,c(Q20667921)) (Q18338206,P47,c(Q15617994)) (Q18338206,P47,c(Q20667921))
['Q18338206', 'P47', {'concept': 'Q15617994'}] ['Q18338206', 'P47', {'concept': 'Q20667921'}] ['Q18678082', 'P47', {'concept': 'Q15617994'}] ['Q18678082', 'P47', {'concept': 'Q20667921'}] ['Q18338206', 'P47', {'concept': 'Q15617994'}] ['Q18338206', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q18338206 property:P47 ?z } UNION { resource:Q18338206 property:P47 ?y } UNION { resource:Q18678082 property:P47 ?z } UNION { resource:Q18678082 property:P47 ?y } UNION { resource:Q18338206 property:P47 ?z } UNION { resource:Q18338206 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'type of french administrative division'}] ['Nouvelle-Aquitaine', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Nouvelle-Aquitaine', 'shares border with', {'concept': 'type of french administrative division'}] ['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Auvergne-Rhône-Alpes property:shares_border_with ?z } UNION { resource:Auvergne-Rhône-Alpes property:shares_border_with ?y } UNION { resource:Nouvelle-Aquitaine property:shares_border_with ?z } UNION { resource:Nouvelle-Aquitaine property:shares_border_with ?y } UNION { resource:Auvergne-Rhône-Alpes property:shares_border_with ?z } UNION { resource:Auvergne-Rhône-Alpes property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
designation for an administrative territorial entity type of french administrative division
Quantitative|Count|Mult. entity type|Clarification
Q18338206
SYSTEM
Did you mean Auvergne-Rhône-Alpes ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q18338206 property:P47 ?z } UNION { resource:Q18338206 property:P47 ?y } UNION { resource:Q18678082 property:P47 ?z } UNION { resource:Q18678082 property:P47 ?y } UNION { resource:Q18338206 property:P47 ?z } UNION { resource:Q18338206 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
Did you mean Auvergne-Rhône-Alpes ?
Auvergne-Rhône-Alpes
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Auvergne-Rhône-Alpes property:shares_border_with ?z } UNION { resource:Auvergne-Rhône-Alpes property:shares_border_with ?y } UNION { resource:Nouvelle-Aquitaine property:shares_border_with ?z } UNION { resource:Nouvelle-Aquitaine property:shares_border_with ?y } UNION { resource:Auvergne-Rhône-Alpes property:shares_border_with ?z } UNION { resource:Auvergne-Rhône-Alpes property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q18338206,P47,c(Q15617994)) (Q18338206,P47,c(Q20667921)) (Q18678082,P47,c(Q15617994)) (Q18678082,P47,c(Q20667921)) (Q18338206,P47,c(Q15617994)) (Q18338206,P47,c(Q20667921))
['Q18338206', 'P47', {'concept': 'Q15617994'}] ['Q18338206', 'P47', {'concept': 'Q20667921'}] ['Q18678082', 'P47', {'concept': 'Q15617994'}] ['Q18678082', 'P47', {'concept': 'Q20667921'}] ['Q18338206', 'P47', {'concept': 'Q15617994'}] ['Q18338206', 'P47', {'concept': 'Q20667921'}]
['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'type of french administrative division'}] ['Nouvelle-Aquitaine', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Nouvelle-Aquitaine', 'shares border with', {'concept': 'type of french administrative division'}] ['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'type of french administrative division'}]
[]
SYSTEM
7
Q13947 Q15104 Q18578267 Q18678265 Q18678082 Q39 Q38
(Q18338206,P47,c(Q15617994)) (Q18338206,P47,c(Q20667921)) (Q18678082,P47,c(Q15617994)) (Q18678082,P47,c(Q20667921)) (Q18338206,P47,c(Q15617994)) (Q18338206,P47,c(Q20667921))
[ANSWER]
['Q18338206', 'P47', {'concept': 'Q15617994'}] ['Q18338206', 'P47', {'concept': 'Q20667921'}] ['Q18678082', 'P47', {'concept': 'Q15617994'}] ['Q18678082', 'P47', {'concept': 'Q20667921'}] ['Q18338206', 'P47', {'concept': 'Q15617994'}] ['Q18338206', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q18338206 property:P47 ?z } UNION { resource:Q18338206 property:P47 ?y } UNION { resource:Q18678082 property:P47 ?z } UNION { resource:Q18678082 property:P47 ?y } UNION { resource:Q18338206 property:P47 ?z } UNION { resource:Q18338206 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q20667921 }
Centre-Val de Loire Provence-Alpes-Côte d'Azur Bourgogne-Franche-Comté Occitania Nouvelle-Aquitaine Switzerland Italy
7
['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'type of french administrative division'}] ['Nouvelle-Aquitaine', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Nouvelle-Aquitaine', 'shares border with', {'concept': 'type of french administrative division'}] ['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Auvergne-Rhône-Alpes', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Auvergne-Rhône-Alpes property:shares_border_with ?z } UNION { resource:Auvergne-Rhône-Alpes property:shares_border_with ?y } UNION { resource:Nouvelle-Aquitaine property:shares_border_with ?z } UNION { resource:Nouvelle-Aquitaine property:shares_border_with ?y } UNION { resource:Auvergne-Rhône-Alpes property:shares_border_with ?z } UNION { resource:Auvergne-Rhône-Alpes property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:type_of_french_administrative_division }
[]