Simple Question (Direct)
Simple Question
Q943180
P22
Q502895
USER
Who was the father of Valentina Visconti, Queen of Cyprus ?
(Q943180,P22,c(Q502895))
action filter_type
action find
entity Q943180
relation P22
type Q502895
['Q943180', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q943180 property:P22 ?q . ?q rdf:type ontology:Q502895 }
Valentina Visconti, Queen of Cyprus
action filter_type
action find
entity Valentina Visconti, Queen of Cyprus
relation father
type common name
['Valentina Visconti, Queen of Cyprus', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Valentina_Visconti,_Queen_of_Cyprus property:father ?q . ?q rdf:type ontology:common_name }
[]
common name
Q378756
SYSTEM
Bernabò Visconti
Q378756
(Q943180,P22,c(Q502895))
action filter_type
action find
entity Q943180
relation P22
type Q502895
The father of Valentina Visconti , Queen of Cyprus was named [ANSWER]
['Q943180', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q943180 property:P22 ?q . ?q rdf:type ontology:Q502895 }
Bernabò Visconti
The father of Valentina Visconti , Queen of Cyprus was named Bernabò Visconti
Bernabò Visconti
action filter_type
action find
entity Valentina Visconti, Queen of Cyprus
relation father
type common name
['Valentina Visconti, Queen of Cyprus', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Valentina_Visconti,_Queen_of_Cyprus property:father ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q378756
P734
Q82799
USER
Who is associated with that person ?
(Q378756,P734,c(Q82799))
action filter_type
action find
entity Q378756
relation P734
type Q82799
['Q378756', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q378756 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Bernabò Visconti
action filter_type
action find
entity Bernabò Visconti
relation family name
type name
['Bernabò Visconti', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Bernabò_Visconti property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q21487897
SYSTEM
Visconti
Q21487897
(Q378756,P734,c(Q82799))
action filter_type
action find
entity Q378756
relation P734
type Q82799
[ANSWER] is associated with that person
['Q378756', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q378756 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Visconti
Visconti is associated with that person
Visconti
action filter_type
action find
entity Bernabò Visconti
relation family name
type name
['Bernabò Visconti', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Bernabò_Visconti property:family_name ?v . ?v rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P734
Q502895
USER
How many people have that name as last name ?
(c(Q502895),P734,Q21487897)
action count
action filter_type
action find_reverse
entity Q21487897
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q21487897']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P734 resource:Q21487897 . ?q rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Visconti
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Visconti']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:family_name resource:Visconti . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
78
Q1822242 Q4007816 Q19985211 Q777163 Q3886218 Q3066379 Q705138 Q954559 Q3637276 Q456873 Q1238368 Q4002457 Q381259 Q943180 Q3767468 Q18812331 Q777858 Q715225 Q442033 Q1120971 Q15063415 Q1980610 Q1232642 Q3733572 Q3992861 Q16622315 Q3067943 Q2464997 Q3836853 Q357539 Q3846192 Q3765822 Q17453200 Q3779502 Q327346 Q19365875 Q329555 Q3939225 Q3763369 Q3761219 Q273018 Q1092388 Q3846584 Q601908 Q16527794 Q3767679 Q794916 Q3940007 Q3749622 Q3758677 Q378756 Q711567 Q124682 Q16582886 Q2340277 Q3107514 Q505994 Q1133774 Q3838490 Q116031 Q3851513 Q453300 Q3618078 Q511928 Q17453124 Q3840488 Q16558276 Q3849242 Q289285 Q3636796 Q3636794 Q1750827 Q50790 Q195825 Q2470904 Q691834 Q511984 Q456902
(c(Q502895),P734,Q21487897)
action count
action filter_type
action find_reverse
entity Q21487897
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q21487897']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:P734 resource:Q21487897 . ?q rdf:type ontology:Q502895 }
Vitaliano Visconti Valeria Visconti Teobaldo Visconti Giovanni Visconti Ortensio Visconti Luigi Visconti Ignacio Visconti Alfonso Visconti Beatrice Visconti Galeazzo I Visconti Filippo Maria Visconti Ubaldo I Visconti Giovanni Visconti Valentina Visconti, Queen of Cyprus Giovanni III Visconti Caterina Visconti Anglesia Visconti Matteo I Visconti Marco Visconti Stefano Visconti Alessandra Visconti Violante Visconti Bianca Maria Visconti Estorre Visconti Tommaso Visconti Visconti Federico Visconti Caterina Visconti Lorenza Visconti Gian Galeazzo Visconti Marco I Visconti Giorgio Visconti Angelo Visconti Guido Visconti Eriprando Visconti Gaspare Ambrogio Visconti Maddalena Visconti Roberto Visconti Gianmastino Visconti Gerolamo Visconti Antonia Visconti Carlo Visconti Marco Visconti Antonio Eugenio Visconti Antonio Visconti Giovanni Battista Visconti Louis Visconti Rodolfo Visconti Francesco Bernardino Visconti Gaspare Visconti Bernabò Visconti Matteo II Visconti Valentina Visconti, Duchess of Orléans Nora Visconti Eliseu Visconti Giovanni Visconti Tony Visconti Nino Visconti Lucia Visconti Lodrisio Visconti Massimo Visconti Galeazzo II Visconti Annibale Visconti Azzone Visconti Lola Visconti Luisella Visconti Gabriele Maria Visconti Mario Visconti Filippo Maria Visconti Battista Visconti Battista Visconti John of Gallura Giovanni Visconti Luchino Visconti Ludovico Visconti Ennio Quirino Visconti Ottone Visconti Gian Maria Visconti
78
action count
action filter_type
action find_reverse
entity Visconti
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Visconti']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { ?q property:family_name resource:Visconti . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q943180
P40
Q502895
USER
Who have Valentina Visconti, Queen of Cyprus as a child ?
(c(Q502895),P40,Q943180)
action filter_type
action find_reverse
entity Q943180
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q943180']
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q943180 . ?j rdf:type ontology:Q502895 }
Valentina Visconti, Queen of Cyprus
action filter_type
action find_reverse
entity Valentina Visconti, Queen of Cyprus
relation child
type common name
[{'concept': 'common name'}, 'child', 'Valentina Visconti, Queen of Cyprus']
SELECT DISTINCT ?j WHERE { ?j property:child resource:Valentina_Visconti,_Queen_of_Cyprus . ?j rdf:type ontology:common_name }
[]
common name
Q378756 Q51089
SYSTEM
Bernabò Visconti, Beatrice Regina della Scala
Q378756 Q51089
(c(Q502895),P40,Q943180)
action filter_type
action find_reverse
entity Q943180
relation P40
type Q502895
[ANSWERS] have Valentina Visconti, Queen of Cyprus as a child
[{'concept': 'Q502895'}, 'P40', 'Q943180']
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q943180 . ?j rdf:type ontology:Q502895 }
Bernabò Visconti Beatrice Regina della Scala
Bernabò Visconti and Beatrice Regina della Scala have Valentina Visconti, Queen of Cyprus as a child
Bernabò Visconti Beatrice Regina della Scala
action filter_type
action find_reverse
entity Valentina Visconti, Queen of Cyprus
relation child
type common name
[{'concept': 'common name'}, 'child', 'Valentina Visconti, Queen of Cyprus']
SELECT DISTINCT ?j WHERE { ?j property:child resource:Valentina_Visconti,_Queen_of_Cyprus . ?j rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q378756
P26
Q502895
USER
Which person is the spouse of that one ?
(Q378756,P26,c(Q502895))
action filter_type
action find
entity Q378756
relation P26
type Q502895
['Q378756', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q378756 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Bernabò Visconti
action filter_type
action find
entity Bernabò Visconti
relation spouse
type common name
['Bernabò Visconti', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Bernabò_Visconti property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q51089
SYSTEM
Did you mean Beatrice Regina della Scala ?
Q378756 Q51089
(Q378756,P26,c(Q502895)) (Q51089,P26,c(Q502895))
[ANSWER]
['Q378756', 'P26', {'concept': 'Q502895'}] ['Q51089', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q378756 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Bernabò Visconti Beatrice Regina della Scala
Did you mean Beatrice Regina della Scala ?
Beatrice Regina della Scala
['Bernabò Visconti', 'spouse', {'concept': 'common name'}] ['Beatrice Regina della Scala', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Bernabò_Visconti property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Bernabò Visconti. Could you tell me the answer for that?
(Q378756,P26,c(Q502895))
Q378756
['Q378756', 'P26', {'concept': 'Q502895'}]
['Bernabò Visconti', 'spouse', {'concept': 'common name'}]
[]
Q51089
SYSTEM
Beatrice Regina della Scala
Q51089
(Q378756,P26,c(Q502895))
action filter_type
action find
entity Q378756
relation P26
type Q502895
[ANSWER] is the spouse of that one
['Q378756', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q378756 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Beatrice Regina della Scala
Beatrice Regina della Scala is the spouse of that one
Beatrice Regina della Scala
action filter_type
action find
entity Bernabò Visconti
relation spouse
type common name
['Bernabò Visconti', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Bernabò_Visconti property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q378756
P21 P22
Q502895
USER
Which people have Bernabò Visconti as a father and have male as the sex ?
AND((c(Q502895),P22,Q378756), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q378756
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q378756'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q378756 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
male Bernabò Visconti
action filter_type
action intersection
action find_reverse
entity Bernabò Visconti
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Bernabò Visconti'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:father resource:Bernabò_Visconti . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
common name
Q3940007 Q3763369 Q2132941 Q2470904 Q2842351 Q3733572 Q442033
SYSTEM
Rodolfo Visconti, Gianmastino Visconti, Carlo Visconti di Parma, Ludovico Visconti, Ambrogio Visconti, Estorre Visconti, Marco Visconti
Q3940007 Q3763369 Q2132941 Q2470904 Q2842351 Q3733572 Q442033
AND((c(Q502895),P22,Q378756), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q378756
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Bernabò Visconti as a father and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q378756'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q378756 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
Rodolfo Visconti Gianmastino Visconti Carlo Visconti di Parma Ludovico Visconti Ambrogio Visconti Estorre Visconti Marco Visconti
Rodolfo Visconti, Gianmastino Visconti, Carlo Visconti di Parma, Ludovico Visconti, Ambrogio Visconti, Estorre Visconti and Marco Visconti have Bernabò Visconti as a father and have male as the sex
Rodolfo Visconti Gianmastino Visconti Carlo Visconti di Parma Ludovico Visconti Ambrogio Visconti Estorre Visconti Marco Visconti
action filter_type
action intersection
action find_reverse
entity Bernabò Visconti
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Bernabò Visconti'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:father resource:Bernabò_Visconti . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q442033
P7
Q502895
USER
Who are siblings of that one ?
(c(Q502895),P7,Q442033)
action filter_type
action find_reverse
entity Q442033
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q442033']
SELECT DISTINCT ?i WHERE { ?i property:P7 resource:Q442033 . ?i rdf:type ontology:Q502895 }
Marco Visconti
action filter_type
action find_reverse
entity Marco Visconti
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Marco Visconti']
SELECT DISTINCT ?i WHERE { ?i property:brother resource:Marco_Visconti . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2842351
SYSTEM
Did you mean Ambrogio Visconti ?
Q3940007 Q3763369 Q2132941 Q2470904 Q2842351 Q3733572 Q442033
(c(Q502895),P7,Q3940007) (c(Q502895),P7,Q3763369) (c(Q502895),P7,Q2132941) (c(Q502895),P7,Q2470904) (c(Q502895),P7,Q2842351) (c(Q502895),P7,Q3733572) (c(Q502895),P7,Q442033)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q3940007'] [{'concept': 'Q502895'}, 'P7', 'Q3763369'] [{'concept': 'Q502895'}, 'P7', 'Q2132941'] [{'concept': 'Q502895'}, 'P7', 'Q2470904'] [{'concept': 'Q502895'}, 'P7', 'Q2842351'] [{'concept': 'Q502895'}, 'P7', 'Q3733572'] [{'concept': 'Q502895'}, 'P7', 'Q442033']
SELECT DISTINCT ?i WHERE { ?i property:P7 resource:Q442033 . ?i rdf:type ontology:Q502895 }
Rodolfo Visconti Gianmastino Visconti Carlo Visconti di Parma Ludovico Visconti Ambrogio Visconti Estorre Visconti Marco Visconti
Did you mean Ambrogio Visconti ?
Ambrogio Visconti
[{'concept': 'common name'}, 'brother', 'Rodolfo Visconti'] [{'concept': 'common name'}, 'brother', 'Gianmastino Visconti'] [{'concept': 'common name'}, 'brother', 'Carlo Visconti di Parma'] [{'concept': 'common name'}, 'brother', 'Ludovico Visconti'] [{'concept': 'common name'}, 'brother', 'Ambrogio Visconti'] [{'concept': 'common name'}, 'brother', 'Estorre Visconti'] [{'concept': 'common name'}, 'brother', 'Marco Visconti']
SELECT DISTINCT ?i WHERE { ?i property:brother resource:Marco_Visconti . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Marco Visconti. Could you tell me the answer for that?
(c(Q502895),P7,Q442033)
Q442033
[{'concept': 'Q502895'}, 'P7', 'Q442033']
[{'concept': 'common name'}, 'brother', 'Marco Visconti']
[]
Q329555 Q2464997 Q273018
SYSTEM
Maddalena Visconti, Caterina Visconti, Antonia Visconti
Q1941886 Q3940007 Q3763369 Q2132941 Q3838490 Q329555 Q273018 Q2470904 Q271801 Q2842351 Q3733572 Q2464997 Q943180 Q2726556 Q271827 Q777858
(c(Q502895),P7,Q442033)
action filter_type
action find_reverse
entity Q442033
relation P7
type Q502895
Siblings of that one are the [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q442033']
SELECT DISTINCT ?i WHERE { ?i property:P7 resource:Q442033 . ?i rdf:type ontology:Q502895 }
Elisabetta Visconti Rodolfo Visconti Gianmastino Visconti Carlo Visconti di Parma Lucia Visconti Maddalena Visconti Antonia Visconti Ludovico Visconti Taddea Visconti Ambrogio Visconti Estorre Visconti Caterina Visconti Valentina Visconti, Queen of Cyprus Agnese Visconti Viridis Visconti Anglesia Visconti
Siblings of that one are the Maddalena Visconti, Caterina Visconti and Antonia Visconti
Maddalena Visconti Caterina Visconti Antonia Visconti
action filter_type
action find_reverse
entity Marco Visconti
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Marco Visconti']
SELECT DISTINCT ?i WHERE { ?i property:brother resource:Marco_Visconti . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q329555 Q2464997 Q273018
P25
Q502895
USER
Who have Maddalena Visconti, Caterina Visconti and Antonia Visconti as a mother ?
(c(Q502895),P25,Q329555) (c(Q502895),P25,Q2464997) (c(Q502895),P25,Q273018)
action union
action filter_type
action find_reverse
entity Q329555
relation P25
type Q502895
action filter_type
action find_reverse
entity Q2464997
relation P25
type Q502895
action filter_type
action find_reverse
entity Q273018
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q329555'] [{'concept': 'Q502895'}, 'P25', 'Q2464997'] [{'concept': 'Q502895'}, 'P25', 'Q273018']
SELECT DISTINCT ?u WHERE { { ?u property:P25 resource:Q2464997 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P25 resource:Q329555 . ?u rdf:type ontology:Q502895 } }
Maddalena Visconti Caterina Visconti Antonia Visconti
action union
action filter_type
action find_reverse
entity Maddalena Visconti
relation mother
type common name
action filter_type
action find_reverse
entity Caterina Visconti
relation mother
type common name
action filter_type
action find_reverse
entity Antonia Visconti
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Maddalena Visconti'] [{'concept': 'common name'}, 'mother', 'Caterina Visconti'] [{'concept': 'common name'}, 'mother', 'Antonia Visconti']
SELECT DISTINCT ?u WHERE { { ?u property:mother resource:Caterina_Visconti . ?u rdf:type ontology:common_name } UNION { ?u property:mother resource:Maddalena_Visconti . ?u rdf:type ontology:common_name } }
[]
common name
Q71173 Q289285 Q62216
SYSTEM
Elisabeth of Bavaria, Electress of Brandenburg, Filippo Maria Visconti, Henry XVI, Duke of Bavaria
Q62216 Q71173 Q289285 Q456902 Q64333
(c(Q502895),P25,Q329555) (c(Q502895),P25,Q2464997) (c(Q502895),P25,Q273018)
action union
action filter_type
action find_reverse
entity Q329555
relation P25
type Q502895
action filter_type
action find_reverse
entity Q2464997
relation P25
type Q502895
action filter_type
action find_reverse
entity Q273018
relation P25
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q329555'] [{'concept': 'Q502895'}, 'P25', 'Q2464997'] [{'concept': 'Q502895'}, 'P25', 'Q273018']
SELECT DISTINCT ?u WHERE { { ?u property:P25 resource:Q2464997 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P25 resource:Q329555 . ?u rdf:type ontology:Q502895 } }
Henry XVI, Duke of Bavaria Elisabeth of Bavaria, Electress of Brandenburg Filippo Maria Visconti Gian Maria Visconti Eberhard IV, Count of Württemberg
Elisabeth of Bavaria, Electress of Brandenburg, Filippo Maria Visconti and Henry XVI, Duke of Bavaria have Maddalena Visconti, Caterina Visconti and Antonia Visconti as a mother
Elisabeth of Bavaria, Electress of Brandenburg Filippo Maria Visconti Henry XVI, Duke of Bavaria
action union
action filter_type
action find_reverse
entity Maddalena Visconti
relation mother
type common name
action filter_type
action find_reverse
entity Caterina Visconti
relation mother
type common name
action filter_type
action find_reverse
entity Antonia Visconti
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Maddalena Visconti'] [{'concept': 'common name'}, 'mother', 'Caterina Visconti'] [{'concept': 'common name'}, 'mother', 'Antonia Visconti']
SELECT DISTINCT ?u WHERE { { ?u property:mother resource:Caterina_Visconti . ?u rdf:type ontology:common_name } UNION { ?u property:mother resource:Maddalena_Visconti . ?u rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q289285
P35
Q15617994
USER
Which administrative territory is headed by that person ?
(c(Q15617994),P35,Q289285)
action filter_type
action find_reverse
entity Q289285
relation P35
type Q15617994
[{'concept': 'Q15617994'}, 'P35', 'Q289285']
SELECT DISTINCT ?z WHERE { ?z property:P35 resource:Q289285 . ?z rdf:type ontology:Q15617994 }
Filippo Maria Visconti
action filter_type
action find_reverse
entity Filippo Maria Visconti
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Filippo Maria Visconti']
SELECT DISTINCT ?z WHERE { ?z property:head_of_state resource:Filippo_Maria_Visconti . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q289285
SYSTEM
Did you mean Filippo Maria Visconti ?
Q71173 Q289285 Q62216
(c(Q15617994),P35,Q71173) (c(Q15617994),P35,Q289285) (c(Q15617994),P35,Q62216)
[ANSWER]
[{'concept': 'Q15617994'}, 'P35', 'Q71173'] [{'concept': 'Q15617994'}, 'P35', 'Q289285'] [{'concept': 'Q15617994'}, 'P35', 'Q62216']
SELECT DISTINCT ?z WHERE { ?z property:P35 resource:Q289285 . ?z rdf:type ontology:Q15617994 }
Elisabeth of Bavaria, Electress of Brandenburg Filippo Maria Visconti Henry XVI, Duke of Bavaria
Did you mean Filippo Maria Visconti ?
Filippo Maria Visconti
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Elisabeth of Bavaria, Electress of Brandenburg'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Filippo Maria Visconti'] [{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Henry XVI, Duke of Bavaria']
SELECT DISTINCT ?z WHERE { ?z property:head_of_state resource:Filippo_Maria_Visconti . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15617994),P35,Q289285)
[{'concept': 'Q15617994'}, 'P35', 'Q289285']
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Filippo Maria Visconti']
[]
Q153529
SYSTEM
Duchy of Milan
Q153529
(c(Q15617994),P35,Q289285)
action filter_type
action find_reverse
entity Q289285
relation P35
type Q15617994
[ANSWER] is headed by that person
[{'concept': 'Q15617994'}, 'P35', 'Q289285']
SELECT DISTINCT ?z WHERE { ?z property:P35 resource:Q289285 . ?z rdf:type ontology:Q15617994 }
Duchy of Milan
Duchy of Milan is headed by that person
Duchy of Milan
action filter_type
action find_reverse
entity Filippo Maria Visconti
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Filippo Maria Visconti']
SELECT DISTINCT ?z WHERE { ?z property:head_of_state resource:Filippo_Maria_Visconti . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q153529
P38
Q2342494
USER
What is the currency of that administrative territory ?
(Q153529,P38,c(Q2342494))
action filter_type
action find
entity Q153529
relation P38
type Q2342494
['Q153529', 'P38', {'concept': 'Q2342494'}]
SELECT DISTINCT ?w WHERE { resource:Q153529 property:P38 ?w . ?w rdf:type ontology:Q2342494 }
Duchy of Milan
action filter_type
action find
entity Duchy of Milan
relation currency
type collectable
['Duchy of Milan', 'currency', {'concept': 'collectable'}]
SELECT DISTINCT ?w WHERE { resource:Duchy_of_Milan property:currency ?w . ?w rdf:type ontology:collectable }
[]
collectable
Q1431762
SYSTEM
soldo
Q1431762
(Q153529,P38,c(Q2342494))
action filter_type
action find
entity Q153529
relation P38
type Q2342494
The currency of that administrative territory is a [ANSWER]
['Q153529', 'P38', {'concept': 'Q2342494'}]
SELECT DISTINCT ?w WHERE { resource:Q153529 property:P38 ?w . ?w rdf:type ontology:Q2342494 }
soldo
The currency of that administrative territory is a soldo
soldo
action filter_type
action find
entity Duchy of Milan
relation currency
type collectable
['Duchy of Milan', 'currency', {'concept': 'collectable'}]
SELECT DISTINCT ?w WHERE { resource:Duchy_of_Milan property:currency ?w . ?w rdf:type ontology:collectable }
[]