Simple Question (Direct)
Simple Question
Q366184
P20
Q1048835
USER
Where did the expiration of Luiz Henrique da Silveira occur ?
(Q366184,P20,c(Q1048835))
action filter_type
action find
entity Q366184
relation P20
type Q1048835
['Q366184', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q366184 property:P20 ?d . ?d rdf:type ontology:Q1048835 }
Luiz Henrique da Silveira
action filter_type
action find
entity Luiz Henrique da Silveira
relation place of death
type political territorial entity
['Luiz Henrique da Silveira', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Luiz_Henrique_da_Silveira property:place_of_death ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q156819
SYSTEM
Joinville
Q156819
(Q366184,P20,c(Q1048835))
action filter_type
action find
entity Q366184
relation P20
type Q1048835
The expiration of Luiz Henrique da Silveira occurred of [ANSWER]
['Q366184', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q366184 property:P20 ?d . ?d rdf:type ontology:Q1048835 }
Joinville
The expiration of Luiz Henrique da Silveira occurred of Joinville
Joinville
action filter_type
action find
entity Luiz Henrique da Silveira
relation place of death
type political territorial entity
['Luiz Henrique da Silveira', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Luiz_Henrique_da_Silveira property:place_of_death ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q156819
P159
Q43229
USER
Which organizations have HQ at that political territory ?
(c(Q43229),P159,Q156819)
action filter_type
action find_reverse
entity Q156819
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q156819']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q156819 . ?q rdf:type ontology:Q43229 }
Joinville
action filter_type
action find_reverse
entity Joinville
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Joinville']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Joinville . ?q rdf:type ontology:organization }
[]
organization
Q5370157 Q1604779
SYSTEM
Embraco, Tecnologia Automotiva Catarinense
Q5370157 Q1604779
(c(Q43229),P159,Q156819)
action filter_type
action find_reverse
entity Q156819
relation P159
type Q43229
[ANSWERS] have HQ at that political territory
[{'concept': 'Q43229'}, 'P159', 'Q156819']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q156819 . ?q rdf:type ontology:Q43229 }
Embraco Tecnologia Automotiva Catarinense
Embraco and Tecnologia Automotiva Catarinense have HQ at that political territory
Embraco Tecnologia Automotiva Catarinense
action filter_type
action find_reverse
entity Joinville
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Joinville']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Joinville . ?q rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q15617994 Q35798
USER
Which people are elected as the head of state of atleast 17 administrative territories or executive branches ?
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
value 17
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?f >= 17 ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?f ) WHERE { { ?o property:P35 ?h . ?o rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q502895 } UNION { ?o property:P35 ?h . ?h rdf:type ontology:Q502895 . ?o rdf:type ontology:Q35798 } } GROUP BY ?h } }
action atleast
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
value 17
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?f >= 17 ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?f ) WHERE { { ?o property:head_of_state ?h . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:common_name } UNION { ?o property:head_of_state ?h . ?h rdf:type ontology:common_name . ?o rdf:type ontology:executive_branch } } GROUP BY ?h } }
[]
common name designation for an administrative territorial entity executive branch
Q9682 Q150642 Q168691
SYSTEM
Elizabeth II, Vittorio Emanuele III, Victor Emmanuel II of Savoy
Q153688 Q150642 Q168691 Q9682
(c(Q15617994)|c(Q35798),P35,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
value 17
[ANSWERS] are elected as the head of state of atleast 17 administrative territories or executive branches
[[{'concept': 'Q15617994'}, {'concept': 'Q35798'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?f >= 17 ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?f ) WHERE { { ?o property:P35 ?h . ?o rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q502895 } UNION { ?o property:P35 ?h . ?h rdf:type ontology:Q502895 . ?o rdf:type ontology:Q35798 } } GROUP BY ?h } }
Umberto I of Italy Vittorio Emanuele III Victor Emmanuel II of Savoy Elizabeth II
Elizabeth II, Vittorio Emanuele III and Victor Emmanuel II of Savoy are elected as the head of state of atleast 17 administrative territories or executive branches
Elizabeth II Vittorio Emanuele III Victor Emmanuel II of Savoy
action atleast
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
value 17
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'executive branch'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?f >= 17 ) . { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?f ) WHERE { { ?o property:head_of_state ?h . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:common_name } UNION { ?o property:head_of_state ?h . ?h rdf:type ontology:common_name . ?o rdf:type ontology:executive_branch } } GROUP BY ?h } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of more number of occupations than that person ?
(c(Q12737077),P417,c(Q502895))
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT * WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q502895 }
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT * WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:occupation . ?y rdf:type ontology:common_name }
[]
common name occupation
Comparative|More/Less|Single entity type|Clarification
Q168691
SYSTEM
Did you mean Victor Emmanuel II of Savoy ?
(c(Q12737077),P417,c(Q502895))
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT * WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q502895 }
Did you mean Victor Emmanuel II of Savoy ?
Victor Emmanuel II of Savoy
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT * WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:occupation . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant Elizabeth II. Could you tell me the answer for that?
(c(Q12737077),P417,c(Q502895))
Q9682
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
[]
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
[ANSWERS] are the names of the patron saint of more number of occupations than that person
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT * WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q502895 }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the names of the patron saint of more number of occupations than that person
Thomas Aquinas Albertus Magnus Isidore of Seville
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT * WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:occupation . ?y rdf:type ontology:common_name }
[]