Simple Question (Direct)
Simple Question
Q5429291
P1412
Q34770
USER
Which language is Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza capable of writing ?
(Q5429291,P1412,c(Q34770))
action filter_type
action find
entity Q5429291
relation P1412
type Q34770
['Q5429291', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q5429291 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza
action filter_type
action find
entity Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza
relation languages spoken, written or signed
type language
['Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Fadrique_Álvarez_de_Toledo,_1st_Marquis_of_Villanueva_de_Valdueza property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5429291,P1412,c(Q34770))
action filter_type
action find
entity Q5429291
relation P1412
type Q34770
[ANSWER] is Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza capable of writing
['Q5429291', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q5429291 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Spanish
Spanish is Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza capable of writing
Spanish
action filter_type
action find
entity Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza
relation languages spoken, written or signed
type language
['Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Fadrique_Álvarez_de_Toledo,_1st_Marquis_of_Villanueva_de_Valdueza property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5429291
P710
Q350604
USER
What event did Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza particiate in ?
(c(Q350604),P710,Q5429291)
action filter_type
action find_reverse
entity Q5429291
relation P710
type Q350604
[{'concept': 'Q350604'}, 'P710', 'Q5429291']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q350604 . ?a property:P710 resource:Q5429291 }
Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza
action filter_type
action find_reverse
entity Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:armed_conflict . ?a property:participant resource:Fadrique_Álvarez_de_Toledo,_1st_Marquis_of_Villanueva_de_Valdueza }
[]
armed conflict
Q168442
SYSTEM
Anglo-Spanish War (1625–1630)
Q168442
(c(Q350604),P710,Q5429291)
action filter_type
action find_reverse
entity Q5429291
relation P710
type Q350604
Fadrique Álvarez de Toledo 1st Marquis of Villanueva de Valdueza particiated , the [ANSWER]
[{'concept': 'Q350604'}, 'P710', 'Q5429291']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q350604 . ?a property:P710 resource:Q5429291 }
Anglo-Spanish War (1625–1630)
Fadrique Álvarez de Toledo 1st Marquis of Villanueva de Valdueza particiated , the Anglo-Spanish War (1625–1630)
Anglo-Spanish War (1625–1630)
action filter_type
action find_reverse
entity Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:armed_conflict . ?a property:participant resource:Fadrique_Álvarez_de_Toledo,_1st_Marquis_of_Villanueva_de_Valdueza }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5429291
P21
Q290
USER
Which sex does that person belong to ?
(Q168442,P21,c(Q290))
action filter_type
action find
entity Q5429291
relation P21
type Q290
['Q168442', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q5429291 property:P21 ?f . ?f rdf:type ontology:Q290 }
Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza
action filter_type
action find
entity Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza
relation gender
type sex
['Anglo-Spanish War (1625–1630)', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Fadrique_Álvarez_de_Toledo,_1st_Marquis_of_Villanueva_de_Valdueza property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q168442,P21,c(Q290))
action filter_type
action find
entity Q5429291
relation P21
type Q290
That person belongs to [ANSWER]
['Q168442', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q5429291 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Fadrique Álvarez de Toledo, 1st Marquis of Villanueva de Valdueza
relation gender
type sex
['Anglo-Spanish War (1625–1630)', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Fadrique_Álvarez_de_Toledo,_1st_Marquis_of_Villanueva_de_Valdueza property:gender ?f . ?f rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q10859
P361
Q198 Q350604
USER
How many wars are around the same number of armed conflicts a part of as Spanish Civil War ?
(c(Q350604),P361,c(Q198))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_type
action find
entity Q10859
relation P361
type Q198
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?j ) WHERE { ?d rdf:type ontology:Q198 . ?y rdf:type ontology:Q350604 . ?y property:P361 ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ontology:Q198 . resource:Q10859 property:P361 ?z } } . FILTER ( ?j = ?k ) }
Spanish Civil War
action count
action approx
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
action count
action filter_type
action find
entity Spanish Civil War
relation part of
type war
[{'concept': 'armed conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?j ) WHERE { ?d rdf:type ontology:war . ?y rdf:type ontology:armed_conflict . ?y property:part_of ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ontology:war . resource:Spanish_Civil_War property:part_of ?z } } . FILTER ( ?j = ?k ) }
[]
war armed conflict
SYSTEM
36
Q211855 Q4783165 Q795269 Q920894 Q81545 Q10859 Q18121212 Q361 Q1021160 Q17984356 Q1072889 Q1758829 Q209297 Q2105495 Q5334383 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q1432624 Q2086498 Q1238338 Q1049945 Q8676 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q17507684 Q179975 Q18159629 Q2672972 Q243620 Q79911
(c(Q350604),P361,c(Q198))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_type
action find
entity Q10859
relation P361
type Q198
[ANSWER]
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?j ) WHERE { ?d rdf:type ontology:Q198 . ?y rdf:type ontology:Q350604 . ?y property:P361 ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ontology:Q198 . resource:Q10859 property:P361 ?z } } . FILTER ( ?j = ?k ) }
Finnish Civil War Arab Cold War Sierra Leone Civil War First Italian War of Independence 2011 Libyan Civil War Spanish Civil War American-led intervention in Syria World War I Armagnac–Burgundian Civil War Iraqi Civil War Chilean War of Independence urban guerrilla warfare Farroupilha Revolution 1383-85 Portuguese Interregnum Ecuadorian War of Independence Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War Genkō War First Barons' War Caesar's Civil War Jacobite rising of 1745 American Civil War Estonian War of Independence War in Somalia Mexican Drug War The Anarchy Sri Lankan Civil War military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War
36
action count
action approx
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
action count
action filter_type
action find
entity Spanish Civil War
relation part of
type war
[{'concept': 'armed conflict'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?j ) WHERE { ?d rdf:type ontology:war . ?y rdf:type ontology:armed_conflict . ?y property:part_of ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ontology:war . resource:Spanish_Civil_War property:part_of ?z } } . FILTER ( ?j = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q168442
P607
Q502895
USER
Which people did Anglo-Spanish War (1625–1630) engage in ?
(c(Q502895),P607,Q168442)
action filter_type
action find_reverse
entity Q168442
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q168442']
SELECT DISTINCT ?z WHERE { ?z property:P607 resource:Q168442 . ?z rdf:type ontology:Q502895 }
Anglo-Spanish War (1625–1630)
action filter_type
action find_reverse
entity Anglo-Spanish War (1625–1630)
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Anglo-Spanish War (1625–1630)']
SELECT DISTINCT ?z WHERE { ?z property:conflict resource:Anglo-Spanish_War_(1625–1630) . ?z rdf:type ontology:common_name }
[]
common name
Q262513 Q2451761
SYSTEM
John Felton, William of Nassau
Q262513 Q2451761
(c(Q502895),P607,Q168442)
action filter_type
action find_reverse
entity Q168442
relation P607
type Q502895
[ANSWERS] Anglo-Spanish War (1625–1630) engaged in
[{'concept': 'Q502895'}, 'P607', 'Q168442']
SELECT DISTINCT ?z WHERE { ?z property:P607 resource:Q168442 . ?z rdf:type ontology:Q502895 }
John Felton William of Nassau
John Felton and William of Nassau Anglo-Spanish War (1625–1630) engaged in
John Felton William of Nassau
action filter_type
action find_reverse
entity Anglo-Spanish War (1625–1630)
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Anglo-Spanish War (1625–1630)']
SELECT DISTINCT ?z WHERE { ?z property:conflict resource:Anglo-Spanish_War_(1625–1630) . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q262513 Q2451761
P106
Q12737077
USER
What are the job of John Felton and William of Nassau ?
(Q262513,P106,c(Q12737077)) (Q2451761,P106,c(Q12737077))
action union
action filter_type
action find
entity Q262513
relation P106
type Q12737077
action filter_type
action find
entity Q2451761
relation P106
type Q12737077
['Q262513', 'P106', {'concept': 'Q12737077'}] ['Q2451761', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { resource:Q2451761 property:P106 ?v . ?v rdf:type ontology:Q12737077 } UNION { resource:Q262513 property:P106 ?v . ?v rdf:type ontology:Q12737077 } }
John Felton William of Nassau
action union
action filter_type
action find
entity John Felton
relation occupation
type occupation
action filter_type
action find
entity William of Nassau
relation occupation
type occupation
['John Felton', 'occupation', {'concept': 'occupation'}] ['William of Nassau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { resource:William_of_Nassau property:occupation ?v . ?v rdf:type ontology:occupation } UNION { resource:John_Felton property:occupation ?v . ?v rdf:type ontology:occupation } }
[]
occupation
Q4991371 Q47064
SYSTEM
soldier, military personnel
Q4991371 Q47064
(Q262513,P106,c(Q12737077)) (Q2451761,P106,c(Q12737077))
action union
action filter_type
action find
entity Q262513
relation P106
type Q12737077
action filter_type
action find
entity Q2451761
relation P106
type Q12737077
The job of John Felton and William of Nassau are a [ANSWERS]
['Q262513', 'P106', {'concept': 'Q12737077'}] ['Q2451761', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { resource:Q2451761 property:P106 ?v . ?v rdf:type ontology:Q12737077 } UNION { resource:Q262513 property:P106 ?v . ?v rdf:type ontology:Q12737077 } }
soldier military personnel
The job of John Felton and William of Nassau are a soldier and military personnel
soldier military personnel
action union
action filter_type
action find
entity John Felton
relation occupation
type occupation
action filter_type
action find
entity William of Nassau
relation occupation
type occupation
['John Felton', 'occupation', {'concept': 'occupation'}] ['William of Nassau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { resource:William_of_Nassau property:occupation ?v . ?v rdf:type ontology:occupation } UNION { resource:John_Felton property:occupation ?v . ?v rdf:type ontology:occupation } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4991371 Q47064
P180
Q838948
USER
Which works of art depict those occupations ?
(c(Q838948),P180,Q4991371) (c(Q838948),P180,Q47064)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q4991371'] [{'concept': 'Q838948'}, 'P180', 'Q47064']
SELECT DISTINCT ?a WHERE { VALUES ( ?i ) { ( resource:Q4991371 ) ( resource:Q47064 ) } . ?a property:P180 ?i . ?a rdf:type ontology:Q838948 }
soldier military personnel
action filter_type
action find_reverse
entity prev_answer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'soldier'] [{'concept': 'work of art'}, 'depicts', 'military personnel']
SELECT DISTINCT ?a WHERE { VALUES ( ?i ) { ( resource:soldier ) ( resource:military_personnel ) } . ?a property:depicts ?i . ?a rdf:type ontology:work_of_art }
[]
work of art
Q19015792 Q27616824 Q16303545
SYSTEM
Altarpiece of the Resurrection of Christ, Rinaldo and Armida, Chasseur à pied
Q26721302 Q20671159 Q19015792 Q18917908 Q27616824 Q1212530 Q16303545 Q1136305 Q6544400 Q7971889 Q16864946 Q3752885
(c(Q838948),P180,Q4991371) (c(Q838948),P180,Q47064)
action filter_type
action find_reverse
entity prev_answer
relation P180
type Q838948
[ANSWERS] depict those occupations
[{'concept': 'Q838948'}, 'P180', 'Q4991371'] [{'concept': 'Q838948'}, 'P180', 'Q47064']
SELECT DISTINCT ?a WHERE { VALUES ( ?i ) { ( resource:Q4991371 ) ( resource:Q47064 ) } . ?a property:P180 ?i . ?a rdf:type ontology:Q838948 }
Peace Memorial American Expeditionary Forces Memorial Altarpiece of the Resurrection of Christ The Testament of Eudamidas Rinaldo and Armida World War II Memorial, Makó Chasseur à pied Doryphoros Lieutenant General George Washington Washington Grays Monument Doryphoros from Pompeii Mars of Todi
Altarpiece of the Resurrection of Christ, Rinaldo and Armida and Chasseur à pied depict those occupations
Altarpiece of the Resurrection of Christ Rinaldo and Armida Chasseur à pied
action filter_type
action find_reverse
entity prev_answer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'soldier'] [{'concept': 'work of art'}, 'depicts', 'military personnel']
SELECT DISTINCT ?a WHERE { VALUES ( ?i ) { ( resource:soldier ) ( resource:military_personnel ) } . ?a property:depicts ?i . ?a rdf:type ontology:work_of_art }
[]