Simple Question (Direct)
Simple Question
Q5850412
P607
Q5569988
USER
What was the glittering generality that Eugenio Aguirre Benavides took part in
(Q5850412,P607,c(Q5569988))
action filter_type
action find
entity Q5850412
relation P607
type Q5569988
['Q5850412', 'P607', {'concept': 'Q5569988'}]
SELECT DISTINCT ?n WHERE { resource:Q5850412 property:P607 ?n . ?n rdf:type ontology:Q5569988 }
Eugenio Aguirre Benavides
action filter_type
action find
entity Eugenio Aguirre Benavides
relation conflict
type glittering generality
['Eugenio Aguirre Benavides', 'conflict', {'concept': 'glittering generality'}]
SELECT DISTINCT ?n WHERE { resource:Eugenio_Aguirre_Benavides property:conflict ?n . ?n rdf:type ontology:glittering_generality }
[]
glittering generality
Q214426
SYSTEM
Revolucion mexicana
Q214426
(Q5850412,P607,c(Q5569988))
action filter_type
action find
entity Q5850412
relation P607
type Q5569988
The glittering generality that Eugenio Aguirre Benavides took part in was the [ANSWER]
['Q5850412', 'P607', {'concept': 'Q5569988'}]
SELECT DISTINCT ?n WHERE { resource:Q5850412 property:P607 ?n . ?n rdf:type ontology:Q5569988 }
Revolucion mexicana
The glittering generality that Eugenio Aguirre Benavides took part in was the Revolucion mexicana
Revolucion mexicana
action filter_type
action find
entity Eugenio Aguirre Benavides
relation conflict
type glittering generality
['Eugenio Aguirre Benavides', 'conflict', {'concept': 'glittering generality'}]
SELECT DISTINCT ?n WHERE { resource:Eugenio_Aguirre_Benavides property:conflict ?n . ?n rdf:type ontology:glittering_generality }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5850412
P20
Q1952852
USER
Where did Eugenio Aguirre Benavides expire ?
(Q5850412,P20,c(Q1952852))
action filter_type
action find
entity Q5850412
relation P20
type Q1952852
['Q5850412', 'P20', {'concept': 'Q1952852'}]
SELECT DISTINCT ?h WHERE { resource:Q5850412 property:P20 ?h . ?h rdf:type ontology:Q1952852 }
Eugenio Aguirre Benavides
action filter_type
action find
entity Eugenio Aguirre Benavides
relation place of death
type municipality of Mexico
['Eugenio Aguirre Benavides', 'place of death', {'concept': 'municipality of Mexico'}]
SELECT DISTINCT ?h WHERE { resource:Eugenio_Aguirre_Benavides property:place_of_death ?h . ?h rdf:type ontology:municipality_of_Mexico }
[]
municipality of Mexico
Q3311650
SYSTEM
Los Aldamas
Q3311650
(Q5850412,P20,c(Q1952852))
action filter_type
action find
entity Q5850412
relation P20
type Q1952852
Eugenio Aguirre Benavides expired [ANSWER]
['Q5850412', 'P20', {'concept': 'Q1952852'}]
SELECT DISTINCT ?h WHERE { resource:Q5850412 property:P20 ?h . ?h rdf:type ontology:Q1952852 }
Los Aldamas
Eugenio Aguirre Benavides expired Los Aldamas
Los Aldamas
action filter_type
action find
entity Eugenio Aguirre Benavides
relation place of death
type municipality of Mexico
['Eugenio Aguirre Benavides', 'place of death', {'concept': 'municipality of Mexico'}]
SELECT DISTINCT ?h WHERE { resource:Eugenio_Aguirre_Benavides property:place_of_death ?h . ?h rdf:type ontology:municipality_of_Mexico }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5850412
P1412
Q34770
USER
Which language can Eugenio Aguirre Benavides understand ?
(Q5850412,P1412,c(Q34770))
action filter_type
action find
entity Q5850412
relation P1412
type Q34770
['Q5850412', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q5850412 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Eugenio Aguirre Benavides
action filter_type
action find
entity Eugenio Aguirre Benavides
relation languages spoken, written or signed
type language
['Eugenio Aguirre Benavides', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Eugenio_Aguirre_Benavides property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5850412,P1412,c(Q34770))
action filter_type
action find
entity Q5850412
relation P1412
type Q34770
Eugenio Aguirre Benavides can understand [ANSWER]
['Q5850412', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q5850412 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Spanish
Eugenio Aguirre Benavides can understand Spanish
Spanish
action filter_type
action find
entity Eugenio Aguirre Benavides
relation languages spoken, written or signed
type language
['Eugenio Aguirre Benavides', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Eugenio_Aguirre_Benavides property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5850412
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q5850412
relation P106
type Q12737077
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5850412 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Eugenio Aguirre Benavides
action filter_type
action find
entity Eugenio Aguirre Benavides
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Eugenio_Aguirre_Benavides property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q5850412
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5850412 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
military personnel
Military personnel has that person as his/her 's career
military personnel
action filter_type
action find
entity Eugenio Aguirre Benavides
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Eugenio_Aguirre_Benavides property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P180
Q12737077 Q2342494 Q11060274
USER
Which occupations are expressed in greater number of collectables and prints than that occupation ?
(c(Q2342494)|c(Q11060274),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q47064
relation P180
type Q2342494
type Q11060274
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q11060274 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P180 resource:Q47064 . { ?n rdf:type ?l . VALUES ( ?l ) { ( ontology:Q2342494 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?u > ?d ) }
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity military personnel
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:depicts ?w . ?w rdf:type ontology:occupation . ?b rdf:type ontology:collectable } UNION { ?b property:depicts ?w . ?w rdf:type ontology:occupation . ?b rdf:type ontology:print } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:depicts resource:military_personnel . { ?n rdf:type ?l . VALUES ( ?l ) { ( ontology:collectable ) ( ontology:print ) } } } } . FILTER ( ?u > ?d ) }
[]
occupation collectable print
Q131512 Q170779 Q838811
SYSTEM
farmer, Kassandra, peasant
Q2486919 Q131512 Q11900058 Q483501 Q843281 Q376924 Q848466 Q20489032 Q1509714 Q11063 Q170779 Q838811 Q2251335 Q639669
(c(Q2342494)|c(Q11060274),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q47064
relation P180
type Q2342494
type Q11060274
[ANSWERS] are expressed in greater number of collectables and prints than that occupation
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q2342494 } UNION { ?b property:P180 ?w . ?w rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q11060274 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:P180 resource:Q47064 . { ?n rdf:type ?l . VALUES ( ?l ) { ( ontology:Q2342494 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?u > ?d ) }
standard-bearer farmer explorer artist hobo courtesan courier salt pan worker porter astronomer Kassandra peasant school teacher musician
Farmer, Kassandra and peasant are expressed in greater number of collectables and prints than that occupation
farmer Kassandra peasant
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action count
action filter_multi_types
action find_reverse
entity military personnel
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:depicts ?w . ?w rdf:type ontology:occupation . ?b rdf:type ontology:collectable } UNION { ?b property:depicts ?w . ?w rdf:type ontology:occupation . ?b rdf:type ontology:print } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { ?n property:depicts resource:military_personnel . { ?n rdf:type ?l . VALUES ( ?l ) { ( ontology:collectable ) ( ontology:print ) } } } } . FILTER ( ?u > ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q56020 Q5850412
P47 P27
Q15617994
USER
Which administrative territories do Eugenio Aguirre Benavides belong to or share border with Acquasanta Terme ?
OR((Q5850412,P27,c(Q15617994)), (Q56020,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q5850412
relation P27
action find
entity Q56020
relation P47
type Q15617994
{'OR': [['Q5850412', 'P27', {'concept': 'Q15617994'}], ['Q56020', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q5850412 property:P27 ?k } UNION { resource:Q56020 property:P47 ?k } } }
Acquasanta Terme Eugenio Aguirre Benavides
action filter_type
action union
action find
entity Eugenio Aguirre Benavides
relation country of citizenship
action find
entity Acquasanta Terme
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Eugenio Aguirre Benavides', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Acquasanta Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Eugenio_Aguirre_Benavides property:country_of_citizenship ?k } UNION { resource:Acquasanta_Terme property:shares_border_with ?k } } }
[]
designation for an administrative territorial entity
Q56031 Q96 Q56081 Q51473 Q6624 Q56088
SYSTEM
Arquata del Tronto, Mexico, Montegallo, Valle Castellana, Ascoli Piceno, Roccafluvione
Q56031 Q96 Q56081 Q51473 Q6624 Q56088
OR((Q5850412,P27,c(Q15617994)), (Q56020,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q5850412
relation P27
action find
entity Q56020
relation P47
type Q15617994
Eugenio Aguirre Benavides belong to [ANSWERS]
{'OR': [['Q5850412', 'P27', {'concept': 'Q15617994'}], ['Q56020', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q5850412 property:P27 ?k } UNION { resource:Q56020 property:P47 ?k } } }
Arquata del Tronto Mexico Montegallo Valle Castellana Ascoli Piceno Roccafluvione
Eugenio Aguirre Benavides belong to Arquata del Tronto, Mexico, Montegallo, Valle Castellana, Ascoli Piceno and Roccafluvione
Arquata del Tronto Mexico Montegallo Valle Castellana Ascoli Piceno Roccafluvione
action filter_type
action union
action find
entity Eugenio Aguirre Benavides
relation country of citizenship
action find
entity Acquasanta Terme
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Eugenio Aguirre Benavides', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Acquasanta Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Eugenio_Aguirre_Benavides property:country_of_citizenship ?k } UNION { resource:Acquasanta_Terme property:shares_border_with ?k } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q56020
P47 P421
Q15617994
USER
Which administrative territories share border with Acquasanta Terme and have UTC+01:00 as time zone ?
AND((c(Q15617994),P47,Q56020), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q56020
relation P47
action find_reverse
entity Q6655
relation P421
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q56020'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?r WHERE { ?r property:P47 resource:Q56020 . ?r property:P421 resource:Q6655 . ?r rdf:type ontology:Q15617994 }
UTC+01:00 Acquasanta Terme
action filter_type
action intersection
action find_reverse
entity Acquasanta Terme
relation shares border with
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Acquasanta Terme'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?r WHERE { ?r property:shares_border_with resource:Acquasanta_Terme . ?r property:located_in_time_zone resource:UTC+01:00 . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q51473 Q6624 Q56081 Q56031 Q56088
SYSTEM
Valle Castellana, Ascoli Piceno, Montegallo, Arquata del Tronto, Roccafluvione
Q51473 Q6624 Q56081 Q56031 Q56088
AND((c(Q15617994),P47,Q56020), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q56020
relation P47
action find_reverse
entity Q6655
relation P421
type Q15617994
[ANSWERS] share border with Acquasanta Terme and have UTC+01:00 as time zone
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q56020'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?r WHERE { ?r property:P47 resource:Q56020 . ?r property:P421 resource:Q6655 . ?r rdf:type ontology:Q15617994 }
Valle Castellana Ascoli Piceno Montegallo Arquata del Tronto Roccafluvione
Valle Castellana, Ascoli Piceno, Montegallo, Arquata del Tronto and Roccafluvione share border with Acquasanta Terme and have UTC+01:00 as time zone
Valle Castellana Ascoli Piceno Montegallo Arquata del Tronto Roccafluvione
action filter_type
action intersection
action find_reverse
entity Acquasanta Terme
relation shares border with
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Acquasanta Terme'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?r WHERE { ?r property:shares_border_with resource:Acquasanta_Terme . ?r property:located_in_time_zone resource:UTC+01:00 . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4359990
P47
Q15617994
USER
Are Peschanaya bordered by those ones ?
(Q4359990,P47,Q51473) (Q4359990,P47,Q6624) (Q4359990,P47,Q56081) (Q4359990,P47,Q56031) (Q4359990,P47,Q56088)
action is_in
entity prev_answer
action find
entity Q4359990
relation P47
['Q4359990', 'P47', 'Q51473'] ['Q4359990', 'P47', 'Q6624'] ['Q4359990', 'P47', 'Q56081'] ['Q4359990', 'P47', 'Q56031'] ['Q4359990', 'P47', 'Q56088']
ASK WHERE { VALUES ( ?s ) { ( resource:Q51473 ) ( resource:Q6624 ) ( resource:Q56081 ) } . resource:Q4359990 property:P47 ?s }
Peschanaya
action is_in
entity prev_answer
action find
entity Peschanaya
relation shares border with
['Peschanaya', 'shares border with', 'Valle Castellana'] ['Peschanaya', 'shares border with', 'Ascoli Piceno'] ['Peschanaya', 'shares border with', 'Montegallo'] ['Peschanaya', 'shares border with', 'Arquata del Tronto'] ['Peschanaya', 'shares border with', 'Roccafluvione']
ASK WHERE { VALUES ( ?s ) { ( resource:Valle_Castellana ) ( resource:Ascoli_Piceno ) ( resource:Montegallo ) } . resource:Peschanaya property:shares_border_with ?s }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4359990,P47,Q51473) (Q4359990,P47,Q6624) (Q4359990,P47,Q56081) (Q4359990,P47,Q56031) (Q4359990,P47,Q56088)
action is_in
entity prev_answer
action find
entity Q4359990
relation P47
[ANSWER]
['Q4359990', 'P47', 'Q51473'] ['Q4359990', 'P47', 'Q6624'] ['Q4359990', 'P47', 'Q56081'] ['Q4359990', 'P47', 'Q56031'] ['Q4359990', 'P47', 'Q56088']
ASK WHERE { VALUES ( ?s ) { ( resource:Q51473 ) ( resource:Q6624 ) ( resource:Q56081 ) } . resource:Q4359990 property:P47 ?s }
No
action is_in
entity prev_answer
action find
entity Peschanaya
relation shares border with
['Peschanaya', 'shares border with', 'Valle Castellana'] ['Peschanaya', 'shares border with', 'Ascoli Piceno'] ['Peschanaya', 'shares border with', 'Montegallo'] ['Peschanaya', 'shares border with', 'Arquata del Tronto'] ['Peschanaya', 'shares border with', 'Roccafluvione']
ASK WHERE { VALUES ( ?s ) { ( resource:Valle_Castellana ) ( resource:Ascoli_Piceno ) ( resource:Montegallo ) } . resource:Peschanaya property:shares_border_with ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6624
P1376
Q15089
USER
Which province of Italy has Ascoli Piceno as its county seat ?
(Q6624,P1376,c(Q15089))
action filter_type
action find
entity Q6624
relation P1376
type Q15089
['Q6624', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?t WHERE { resource:Q6624 property:P1376 ?t . ?t rdf:type ontology:Q15089 }
Ascoli Piceno
action filter_type
action find
entity Ascoli Piceno
relation capital of
type province of Italy
['Ascoli Piceno', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?t WHERE { resource:Ascoli_Piceno property:capital_of ?t . ?t rdf:type ontology:province_of_Italy }
[]
province of Italy
Q16117
SYSTEM
Province of Ascoli Piceno
Q16117
(Q6624,P1376,c(Q15089))
action filter_type
action find
entity Q6624
relation P1376
type Q15089
The [ANSWER] has Ascoli Piceno as its county seat
['Q6624', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?t WHERE { resource:Q6624 property:P1376 ?t . ?t rdf:type ontology:Q15089 }
Province of Ascoli Piceno
The Province of Ascoli Piceno has Ascoli Piceno as its county seat
Province of Ascoli Piceno
action filter_type
action find
entity Ascoli Piceno
relation capital of
type province of Italy
['Ascoli Piceno', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?t WHERE { resource:Ascoli_Piceno property:capital_of ?t . ?t rdf:type ontology:province_of_Italy }
[]