Simple Question (Direct)
Simple Question
Q3172783
P20
Q20667921
USER
Where did the demise of Jean Jaffré occur ?
(Q3172783,P20,c(Q20667921))
action filter_type
action find
entity Q3172783
relation P20
type Q20667921
['Q3172783', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q3172783 property:P20 ?p . ?p rdf:type ontology:Q20667921 }
Jean Jaffré
action filter_type
action find
entity Jean Jaffré
relation place of death
type type of french administrative division
['Jean Jaffré', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Jean_Jaffré property:place_of_death ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q69284
SYSTEM
Guidel
Q69284
(Q3172783,P20,c(Q20667921))
action filter_type
action find
entity Q3172783
relation P20
type Q20667921
The demise of Jean Jaffré occurred with [ANSWER]
['Q3172783', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q3172783 property:P20 ?p . ?p rdf:type ontology:Q20667921 }
Guidel
The demise of Jean Jaffré occurred with Guidel
Guidel
action filter_type
action find
entity Jean Jaffré
relation place of death
type type of french administrative division
['Jean Jaffré', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Jean_Jaffré property:place_of_death ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3172783
P27
Q15617994
USER
Which administrative territory is Jean Jaffré a civilian of ?
(Q3172783,P27,c(Q15617994))
action filter_type
action find
entity Q3172783
relation P27
type Q15617994
['Q3172783', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q3172783 property:P27 ?u }
Jean Jaffré
action filter_type
action find
entity Jean Jaffré
relation country of citizenship
type designation for an administrative territorial entity
['Jean Jaffré', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean_Jaffré property:country_of_citizenship ?u }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3172783,P27,c(Q15617994))
action filter_type
action find
entity Q3172783
relation P27
type Q15617994
The [ANSWER] is Jean Jaffré a civilian of
['Q3172783', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q3172783 property:P27 ?u }
France
The France is Jean Jaffré a civilian of
France
action filter_type
action find
entity Jean Jaffré
relation country of citizenship
type designation for an administrative territorial entity
['Jean Jaffré', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean_Jaffré property:country_of_citizenship ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3172783
P140
Q874405
USER
What is the religion associated with that person ?
(Q142,P140,c(Q874405))
action filter_type
action find
entity Q3172783
relation P140
type Q874405
['Q142', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?n WHERE { resource:Q3172783 property:P140 ?n . ?n rdf:type ontology:Q874405 }
Jean Jaffré
action filter_type
action find
entity Jean Jaffré
relation religion
type social group
['France', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?n WHERE { resource:Jean_Jaffré property:religion ?n . ?n rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q142,P140,c(Q874405))
action filter_type
action find
entity Q3172783
relation P140
type Q874405
The religion associated with that person is a [ANSWER]
['Q142', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?n WHERE { resource:Q3172783 property:P140 ?n . ?n rdf:type ontology:Q874405 }
Catholicism
The religion associated with that person is a Catholicism
Catholicism
action filter_type
action find
entity Jean Jaffré
relation religion
type social group
['France', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?n WHERE { resource:Jean_Jaffré property:religion ?n . ?n rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P551
Q502895 Q6619679
USER
How many people or fictional humanoids have residence at France ?
(c(Q502895),P551,Q142) (c(Q6619679),P551,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P551
type Q502895
action filter_type
action find_reverse
entity Q142
relation P551
type Q6619679
[{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q6619679'}, 'P551', 'Q142']
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q6619679 ) } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation residence
type common name
action filter_type
action find_reverse
entity France
relation residence
type fictional humanoid
[{'concept': 'common name'}, 'residence', 'France'] [{'concept': 'fictional humanoid'}, 'residence', 'France']
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:common_name ) ( ontology:fictional_humanoid ) } }
[]
common name fictional humanoid
SYSTEM
67
Q17141465 Q34248 Q1287583 Q23726522 Q5612768 Q2907955 Q16663593 Q18278048 Q7915490 Q20721 Q7348968 Q19845625 Q2580510 Q22136999 Q17071396 Q18695634 Q557546 Q245363 Q4768865 Q23843063 Q23866372 Q20730830 Q102804 Q23888162 Q23888163 Q8006910 Q17486002 Q2866245 Q2877725 Q25865472 Q1399562 Q3553283 Q16734991 Q333563 Q3218950 Q3275875 Q3436933 Q729117 Q6072265 Q7925920 Q26741428 Q683660 Q42831 Q1010504 Q2895607 Q20872764 Q20203092 Q3131277 Q14943164 Q465681 Q15429884 Q18590538 Q2405968 Q2947608 Q93166 Q360312 Q2646836 Q19629253 Q5671358 Q26922710 Q12888221 Q326449 Q2848090 Q16533765 Q3186257 Q5398352 Q2254007
(c(Q502895),P551,Q142) (c(Q6619679),P551,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P551
type Q502895
action filter_type
action find_reverse
entity Q142
relation P551
type Q6619679
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q6619679'}, 'P551', 'Q142']
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q6619679 ) } }
Altantuya Shaaribuu Camila Giorgi Momčilo Đujić Philippe Burin des Roziers Grégoire Burquier Bobby Holcomb Marvin Jefferson Gabriel Spat Varaz Samuelian Luigi Cherubini Robert Pope Andra Waagmeester Paul Haviland Nabil Canaan Mathias Bourgue Étienne Cornevin Tran Anh Hung Zygmunt Mineyko Anne Villiers, Countess of Morton Leonardo D'Antoni Delphine Lehericey Marc Boudin Henri Moissan Kim Tran-Nhut Thanh-Van Tran-Nhut William Close HJ Lim As Thiam Baba de Faucigny-Lucinge Michaël Magne Emil Grunzweig Vahé Katcha Mark Rappaport Niccolò dell'Abbate Laurence Vidal Adeline Dudlay Roberto Maria Grassi Edmund White Pere Puig Subinyà Victor Garcia Prince Philip Johann Gaudenz von Salis-Seewis Ivan Turgenev Gillian Hills Ben Zimet Mark Moogalian Victoria Muntean Henri Hiro Alain Schneider Sophie, Countess of Ségur Mary Elizabeth Hawker Esteban Pérez Pérez Gianni Mina Chahla Chafiq-Beski Milan Kundera Antoine-Augustin Parmentier Alice Anderson Jacques Dessalines Carles Reig i Morell Aline Gohard-Radenkovic Bruno Saura Abram Petrovich Gannibal André Larivière Bruno Duthoit José Cuneo Eslanda Goode Robeson Avner W. Less
67
action count
action union
action filter_type
action find_reverse
entity France
relation residence
type common name
action filter_type
action find_reverse
entity France
relation residence
type fictional humanoid
[{'concept': 'common name'}, 'residence', 'France'] [{'concept': 'fictional humanoid'}, 'residence', 'France']
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:common_name ) ( ontology:fictional_humanoid ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P710
Q484652
USER
What event did that administrative territory particiate in ?
action filter_type
action find_reverse
entity Q142
relation P710
type Q484652
SELECT DISTINCT ?i WHERE { ?i property:P710 resource:Q142 . ?i rdf:type ontology:Q484652 }
France
action filter_type
action find_reverse
entity France
relation participant
type international organization
SELECT DISTINCT ?i WHERE { ?i property:participant resource:France . ?i rdf:type ontology:international_organization }
[]
international organization
Q10287157
SYSTEM
G6
Q10287157
action filter_type
action find_reverse
entity Q142
relation P710
type Q484652
That administrative territory particiated in [ANSWER]
SELECT DISTINCT ?i WHERE { ?i property:P710 resource:Q142 . ?i rdf:type ontology:Q484652 }
G6
That administrative territory particiated in G6
G6
action filter_type
action find_reverse
entity France
relation participant
type international organization
SELECT DISTINCT ?i WHERE { ?i property:participant resource:France . ?i rdf:type ontology:international_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2302200 Q142
P47
Q1048835
USER
Which political territories share the border with France or La Floresta ?
OR((Q142,P47,c(Q1048835)), (Q2302200,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q142
relation P47
action find
entity Q2302200
relation P47
type Q1048835
{'OR': [['Q142', 'P47', {'concept': 'Q1048835'}], ['Q2302200', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q142 property:P47 ?t } UNION { resource:Q2302200 property:P47 ?t } } . ?t rdf:type ontology:Q1048835 }
La Floresta France
action filter_type
action union
action find
entity France
relation shares border with
action find
entity La Floresta
relation shares border with
type political territorial entity
{'OR': [['France', 'shares border with', {'concept': 'political territorial entity'}], ['La Floresta', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:France property:shares_border_with ?t } UNION { resource:La_Floresta property:shares_border_with ?t } } . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q13116 Q928006 Q183 Q1767414 Q1900647 Q372836
SYSTEM
Benelux, Les Borges Blanques, Germany, Vinaixa, Els Omellons, Arbeca
Q13116 Q928006 Q183 Q1767414 Q1900647 Q372836
OR((Q142,P47,c(Q1048835)), (Q2302200,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q142
relation P47
action find
entity Q2302200
relation P47
type Q1048835
[ANSWERS] share the border with France or La Floresta
{'OR': [['Q142', 'P47', {'concept': 'Q1048835'}], ['Q2302200', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q142 property:P47 ?t } UNION { resource:Q2302200 property:P47 ?t } } . ?t rdf:type ontology:Q1048835 }
Benelux Les Borges Blanques Germany Vinaixa Els Omellons Arbeca
Benelux, Les Borges Blanques, Germany, Vinaixa, Els Omellons and Arbeca share the border with France or La Floresta
Benelux Les Borges Blanques Germany Vinaixa Els Omellons Arbeca
action filter_type
action union
action find
entity France
relation shares border with
action find
entity La Floresta
relation shares border with
type political territorial entity
{'OR': [['France', 'shares border with', {'concept': 'political territorial entity'}], ['La Floresta', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:France property:shares_border_with ?t } UNION { resource:La_Floresta property:shares_border_with ?t } } . ?t rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q29 Q1900647
P47 P17
Q1048835
USER
Which political territories have an adjacent border with Els Omellons and are located in Spain ?
AND((c(Q1048835),P47,Q1900647), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1900647
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q1900647'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . ?g property:P47 resource:Q1900647 . ?g property:P17 resource:Q29 }
Spain Els Omellons
action filter_type
action intersection
action find_reverse
entity Els Omellons
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Els Omellons'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . ?g property:shares_border_with resource:Els_Omellons . ?g property:country resource:Spain }
[]
political territorial entity
Q2302200 Q988836 Q1767414 Q1900728 Q372836
SYSTEM
La Floresta, L'Espluga Calba, Vinaixa, Maldà, Arbeca
Q2302200 Q988836 Q1767414 Q1900728 Q372836
AND((c(Q1048835),P47,Q1900647), (c(Q1048835),P17,Q29))
action filter_type
action intersection
action find_reverse
entity Q1900647
relation P47
action find_reverse
entity Q29
relation P17
type Q1048835
[ANSWERS] have an adjacent border with Els Omellons and are located in Spain
{'AND': [[{'concept': 'Q1048835'}, 'P47', 'Q1900647'], [{'concept': 'Q1048835'}, 'P17', 'Q29']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . ?g property:P47 resource:Q1900647 . ?g property:P17 resource:Q29 }
La Floresta L'Espluga Calba Vinaixa Maldà Arbeca
La Floresta, L'Espluga Calba, Vinaixa, Maldà and Arbeca have an adjacent border with Els Omellons and are located in Spain
La Floresta L'Espluga Calba Vinaixa Maldà Arbeca
action filter_type
action intersection
action find_reverse
entity Els Omellons
relation shares border with
action find_reverse
entity Spain
relation country
type political territorial entity
{'AND': [[{'concept': 'political territorial entity'}, 'shares border with', 'Els Omellons'], [{'concept': 'political territorial entity'}, 'country', 'Spain']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . ?g property:shares_border_with resource:Els_Omellons . ?g property:country resource:Spain }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2302200
P6
Q502895
USER
Which person is that political territory the head of goverment of ?
(Q2302200,P6,c(Q502895))
action filter_type
action find
entity Q2302200
relation P6
type Q502895
['Q2302200', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2302200 property:P6 ?r . ?r rdf:type ontology:Q502895 }
La Floresta
action filter_type
action find
entity La Floresta
relation head of government
type common name
['La Floresta', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:La_Floresta property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q372836
SYSTEM
Did you mean Arbeca ?
Q2302200 Q988836 Q1767414 Q1900728 Q372836
(Q2302200,P6,c(Q502895)) (Q988836,P6,c(Q502895)) (Q1767414,P6,c(Q502895)) (Q1900728,P6,c(Q502895)) (Q372836,P6,c(Q502895))
[ANSWER]
['Q2302200', 'P6', {'concept': 'Q502895'}] ['Q988836', 'P6', {'concept': 'Q502895'}] ['Q1767414', 'P6', {'concept': 'Q502895'}] ['Q1900728', 'P6', {'concept': 'Q502895'}] ['Q372836', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2302200 property:P6 ?r . ?r rdf:type ontology:Q502895 }
La Floresta L'Espluga Calba Vinaixa Maldà Arbeca
Did you mean Arbeca ?
Arbeca
['La Floresta', 'head of government', {'concept': 'common name'}] ["L'Espluga Calba", 'head of government', {'concept': 'common name'}] ['Vinaixa', 'head of government', {'concept': 'common name'}] ['Maldà', 'head of government', {'concept': 'common name'}] ['Arbeca', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:La_Floresta property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant La Floresta. Could you tell me the answer for that?
(Q2302200,P6,c(Q502895))
Q2302200
['Q2302200', 'P6', {'concept': 'Q502895'}]
['La Floresta', 'head of government', {'concept': 'common name'}]
[]
Q14087661
SYSTEM
Jaume Setó Cornadó
Q14087661
(Q2302200,P6,c(Q502895))
action filter_type
action find
entity Q2302200
relation P6
type Q502895
[ANSWER] is that political territory the head of goverment of
['Q2302200', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q2302200 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Jaume Setó Cornadó
Jaume Setó Cornadó is that political territory the head of goverment of
Jaume Setó Cornadó
action filter_type
action find
entity La Floresta
relation head of government
type common name
['La Floresta', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:La_Floresta property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]