Simple Question (Direct)
Simple Question
Q2854092
P607
Q1190554
USER
Which battles did Antoine Jean Auguste Durosnel take part in ?
(Q2854092,P607,c(Q1190554))
action filter_type
action find
entity Q2854092
relation P607
type Q1190554
['Q2854092', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?p WHERE { resource:Q2854092 property:P607 ?p . ?p rdf:type ontology:Q1190554 }
Antoine Jean Auguste Durosnel
action filter_type
action find
entity Antoine Jean Auguste Durosnel
relation conflict
type event
['Antoine Jean Auguste Durosnel', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?p WHERE { resource:Antoine_Jean_Auguste_Durosnel property:conflict ?p . ?p rdf:type ontology:event }
[]
event
Q134114 Q154426 Q475544
SYSTEM
Battle of Austerlitz, Battle of Jena-Auerstedt, Battle of Messkirch
Q134114 Q154426 Q475544
(Q2854092,P607,c(Q1190554))
action filter_type
action find
entity Q2854092
relation P607
type Q1190554
Antoine Jean Auguste Durosnel took in part the [ANSWERS]
['Q2854092', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?p WHERE { resource:Q2854092 property:P607 ?p . ?p rdf:type ontology:Q1190554 }
Battle of Austerlitz Battle of Jena-Auerstedt Battle of Messkirch
Antoine Jean Auguste Durosnel took in part the Battle of Austerlitz, Battle of Jena-Auerstedt and Battle of Messkirch
Battle of Austerlitz Battle of Jena-Auerstedt Battle of Messkirch
action filter_type
action find
entity Antoine Jean Auguste Durosnel
relation conflict
type event
['Antoine Jean Auguste Durosnel', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?p WHERE { resource:Antoine_Jean_Auguste_Durosnel property:conflict ?p . ?p rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2854092
P410
Q4189293
USER
Which title has that person achieved ?
(Q134114,P410,c(Q4189293)) (Q154426,P410,c(Q4189293)) (Q475544,P410,c(Q4189293))
action filter_type
action find
entity Q2854092
relation P410
type Q4189293
['Q134114', 'P410', {'concept': 'Q4189293'}] ['Q154426', 'P410', {'concept': 'Q4189293'}] ['Q475544', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q4189293 . resource:Q2854092 property:P410 ?g }
Antoine Jean Auguste Durosnel
action filter_type
action find
entity Antoine Jean Auguste Durosnel
relation military rank
type title
['Battle of Austerlitz', 'military rank', {'concept': 'title'}] ['Battle of Jena-Auerstedt', 'military rank', {'concept': 'title'}] ['Battle of Messkirch', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:title . resource:Antoine_Jean_Auguste_Durosnel property:military_rank ?g }
[]
title
Q2487961
SYSTEM
divisional general
Q2487961
(Q134114,P410,c(Q4189293)) (Q154426,P410,c(Q4189293)) (Q475544,P410,c(Q4189293))
action filter_type
action find
entity Q2854092
relation P410
type Q4189293
That person has achieved a [ANSWER]
['Q134114', 'P410', {'concept': 'Q4189293'}] ['Q154426', 'P410', {'concept': 'Q4189293'}] ['Q475544', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q4189293 . resource:Q2854092 property:P410 ?g }
divisional general
That person has achieved a divisional general
divisional general
action filter_type
action find
entity Antoine Jean Auguste Durosnel
relation military rank
type title
['Battle of Austerlitz', 'military rank', {'concept': 'title'}] ['Battle of Jena-Auerstedt', 'military rank', {'concept': 'title'}] ['Battle of Messkirch', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:title . resource:Antoine_Jean_Auguste_Durosnel property:military_rank ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q134114
P361
Q1190554
USER
Which event is Battle of Austerlitz a component of ?
(Q134114,P361,c(Q1190554))
action filter_type
action find
entity Q134114
relation P361
type Q1190554
['Q134114', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?o WHERE { resource:Q134114 property:P361 ?o . ?o rdf:type ontology:Q1190554 }
Battle of Austerlitz
action filter_type
action find
entity Battle of Austerlitz
relation part of
type event
['Battle of Austerlitz', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?o WHERE { resource:Battle_of_Austerlitz property:part_of ?o . ?o rdf:type ontology:event }
[]
event
Q78994
SYSTEM
Napoleonic Wars
Q78994
(Q134114,P361,c(Q1190554))
action filter_type
action find
entity Q134114
relation P361
type Q1190554
Which event is Battle of Austerlitz a component of
['Q134114', 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?o WHERE { resource:Q134114 property:P361 ?o . ?o rdf:type ontology:Q1190554 }
Napoleonic Wars
Which event is Battle of Austerlitz a component of
Napoleonic Wars
action filter_type
action find
entity Battle of Austerlitz
relation part of
type event
['Battle of Austerlitz', 'part of', {'concept': 'event'}]
SELECT DISTINCT ?o WHERE { resource:Battle_of_Austerlitz property:part_of ?o . ?o rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q78994
P840
Q2342494
USER
Which collectable has a setting location of that event ?
(c(Q2342494),P840,Q78994)
action filter_type
action find_reverse
entity Q78994
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q78994']
SELECT DISTINCT ?a WHERE { ?a property:P840 resource:Q78994 . ?a rdf:type ontology:Q2342494 }
Napoleonic Wars
action filter_type
action find_reverse
entity Napoleonic Wars
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Napoleonic Wars']
SELECT DISTINCT ?a WHERE { ?a property:narrative_location resource:Napoleonic_Wars . ?a rdf:type ontology:collectable }
[]
collectable
Q3997228
SYSTEM
Trafalgar
Q3997228
(c(Q2342494),P840,Q78994)
action filter_type
action find_reverse
entity Q78994
relation P840
type Q2342494
[ANSWER] has a setting location of that event
[{'concept': 'Q2342494'}, 'P840', 'Q78994']
SELECT DISTINCT ?a WHERE { ?a property:P840 resource:Q78994 . ?a rdf:type ontology:Q2342494 }
Trafalgar
Trafalgar has a setting location of that event
Trafalgar
action filter_type
action find_reverse
entity Napoleonic Wars
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Napoleonic Wars']
SELECT DISTINCT ?a WHERE { ?a property:narrative_location resource:Napoleonic_Wars . ?a rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3997228
P50
Q502895
USER
Who penned that collectable ?
(Q3997228,P50,c(Q502895))
action filter_type
action find
entity Q3997228
relation P50
type Q502895
['Q3997228', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3997228 property:P50 ?u . ?u rdf:type ontology:Q502895 }
Trafalgar
action filter_type
action find
entity Trafalgar
relation author
type common name
['Trafalgar', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Trafalgar property:author ?u . ?u rdf:type ontology:common_name }
[]
common name
Q189869
SYSTEM
Benito Pérez Galdós
Q189869
(Q3997228,P50,c(Q502895))
action filter_type
action find
entity Q3997228
relation P50
type Q502895
[ANSWER] penned that collectable
['Q3997228', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3997228 property:P50 ?u . ?u rdf:type ontology:Q502895 }
Benito Pérez Galdós
Benito Pérez Galdós penned that collectable
Benito Pérez Galdós
action filter_type
action find
entity Trafalgar
relation author
type common name
['Trafalgar', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Trafalgar property:author ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3997228
P495
Q15617994
USER
Which administrative territory is the origin of Trafalgar ?
(Q3997228,P495,c(Q15617994))
action filter_type
action find
entity Q3997228
relation P495
type Q15617994
['Q3997228', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3997228 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
Trafalgar
action filter_type
action find
entity Trafalgar
relation country of origin
type designation for an administrative territorial entity
['Trafalgar', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Trafalgar property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q3997228,P495,c(Q15617994))
action filter_type
action find
entity Q3997228
relation P495
type Q15617994
[ANSWER] is the origin of Trafalgar
['Q3997228', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3997228 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
Spain
Spain is the origin of Trafalgar
Spain
action filter_type
action find
entity Trafalgar
relation country of origin
type designation for an administrative territorial entity
['Trafalgar', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Trafalgar property:country_of_origin ?u . ?u 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
Q29 Q408 Q4674452
P530
Q1048835
USER
Does that administrative territory have diplomatic associations with Australia and Acobambilla District ?
(Q29,P530,Q408) (Q29,P530,Q4674452)
action is_in
entity Q29
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q4674452
relation P530
['Q29', 'P530', 'Q408'] ['Q29', 'P530', 'Q4674452']
ASK WHERE { resource:Q29 property:P530 resource:Q408 . resource:Q29 property:P530 resource:Q4674452 }
Spain Australia Acobambilla District
action is_in
entity Spain
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Acobambilla District
relation diplomatic relation
['Spain', 'diplomatic relation', 'Australia'] ['Spain', 'diplomatic relation', 'Acobambilla District']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Australia . resource:Spain property:diplomatic_relation resource:Acobambilla_District }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q29,P530,Q408) (Q29,P530,Q4674452)
action is_in
entity Q29
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q4674452
relation P530
[ANSWER]
['Q29', 'P530', 'Q408'] ['Q29', 'P530', 'Q4674452']
ASK WHERE { resource:Q29 property:P530 resource:Q408 . resource:Q29 property:P530 resource:Q4674452 }
YES and NO respectively
action is_in
entity Spain
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Acobambilla District
relation diplomatic relation
['Spain', 'diplomatic relation', 'Australia'] ['Spain', 'diplomatic relation', 'Acobambilla District']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Australia . resource:Spain property:diplomatic_relation resource:Acobambilla_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29 Q691694
P551
Q502895
USER
How many people lives in Spain or Riehl ?
(c(Q502895),P551,Q29) (c(Q502895),P551,Q691694)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P551
type Q502895
action filter_type
action find_reverse
entity Q691694
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q29'] [{'concept': 'Q502895'}, 'P551', 'Q691694']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:P551 resource:Q691694 . ?s rdf:type ontology:Q502895 } UNION { ?s rdf:type ontology:Q502895 . ?s property:P551 resource:Q29 } }
Spain Riehl
action count
action union
action filter_type
action find_reverse
entity Spain
relation residence
type common name
action filter_type
action find_reverse
entity Riehl
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Spain'] [{'concept': 'common name'}, 'residence', 'Riehl']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:residence resource:Riehl . ?s rdf:type ontology:common_name } UNION { ?s rdf:type ontology:common_name . ?s property:residence resource:Spain } }
[]
common name
SYSTEM
31
Q5993001 Q5860309 Q41548 Q10914698 Q18720176 Q292658 Q9014784 Q1183434 Q17106365 Q20966475 Q16146051 Q19629253 Q5671358 Q5041960 Q2944541 Q23900519 Q4216907 Q5880797 Q4487 Q15706508 Q10982623 Q3754104 Q6141751 Q22344574 Q2066366 Q171363 Q18590538 Q3753437 Q20801601 Q5335826 Q11698858
(c(Q502895),P551,Q29) (c(Q502895),P551,Q691694)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P551
type Q502895
action filter_type
action find_reverse
entity Q691694
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q29'] [{'concept': 'Q502895'}, 'P551', 'Q691694']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:P551 resource:Q691694 . ?s rdf:type ontology:Q502895 } UNION { ?s rdf:type ontology:Q502895 . ?s property:P551 resource:Q29 } }
Manuel Fontdevila i Cruixent Hortensia Gelabert Antonio Banderas Eduardo Borrás Nuria Oliver La Argentina José Ruiz Santaella Nicolás Cabrera Ole Dalgaard Virgilio Garrán Rico Roberto Carballés Baena Jacques Dessalines Carles Reig i Morell Carlos Cruz González Arnau Brugués-Davi Fernando Sabio Dutoit Ramon Castroviejo Glenda Kapstein Lomboy Federico Gamboa Julio Espinosa Guerra Norma Bacaicoa Severo Moto Nsá Teodoro Aragón Foureaux Wilhelm Koch Óscar Jaenada Viggo Mortensen Esteban Pérez Pérez Joaquín Sanz Gadea Juana Bignozzi Eddie August Schneider Pere Comas i Calvet
31
action count
action union
action filter_type
action find_reverse
entity Spain
relation residence
type common name
action filter_type
action find_reverse
entity Riehl
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Spain'] [{'concept': 'common name'}, 'residence', 'Riehl']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:residence resource:Riehl . ?s rdf:type ontology:common_name } UNION { ?s rdf:type ontology:common_name . ?s property:residence resource:Spain } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
action filter_type
action find
entity Q29
relation P47
type Q15617994
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q29 property:P47 ?i }
Spain
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain property:shares_border_with ?i }
[]
designation for an administrative territorial entity
Q142 Q45 Q1028
SYSTEM
France, Portugal, Morocco
Q142 Q1025 Q45 Q1028 Q228
action filter_type
action find
entity Q29
relation P47
type Q15617994
[ANSWERS] are bordered by that one
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q29 property:P47 ?i }
France Mauritania Portugal Morocco Andorra
France, Portugal and Morocco are bordered by that one
France Portugal Morocco
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain property:shares_border_with ?i }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6007745 Q29
P47 P27
Q15617994
USER
Which administrative territories share border with Spain or are Mayra Fernández an inhabitant of ?
OR((Q29,P47,c(Q15617994)), (Q6007745,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q29
relation P47
action find
entity Q6007745
relation P27
type Q15617994
{'OR': [['Q29', 'P47', {'concept': 'Q15617994'}], ['Q6007745', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q29 property:P47 ?m } UNION { resource:Q6007745 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Mayra Fernández Spain
action filter_type
action union
action find
entity Spain
relation shares border with
action find
entity Mayra Fernández
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Mayra Fernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Spain property:shares_border_with ?m } UNION { resource:Mayra_Fernández property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q1025 Q45 Q1028 Q228 Q241
SYSTEM
France, Mauritania, Portugal, Morocco, Andorra, Cuba
Q142 Q1025 Q45 Q1028 Q228 Q241
OR((Q29,P47,c(Q15617994)), (Q6007745,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q29
relation P47
action find
entity Q6007745
relation P27
type Q15617994
[ANSWERS] share border with Spain or are Mayra Fernández an inhabitant of
{'OR': [['Q29', 'P47', {'concept': 'Q15617994'}], ['Q6007745', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q29 property:P47 ?m } UNION { resource:Q6007745 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
France Mauritania Portugal Morocco Andorra Cuba
France, Mauritania, Portugal, Morocco, Andorra and Cuba share border with Spain or are Mayra Fernández an inhabitant of
France Mauritania Portugal Morocco Andorra Cuba
action filter_type
action union
action find
entity Spain
relation shares border with
action find
entity Mayra Fernández
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Mayra Fernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Spain property:shares_border_with ?m } UNION { resource:Mayra_Fernández property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]