Simple Question (Direct)
Simple Question
Q22674712
P7
Q502895
USER
Who are the brother of Bonne of Bar ?
(Q22674712,P7,c(Q502895))
action filter_type
action find
entity Q22674712
relation P7
type Q502895
['Q22674712', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q22674712 property:P7 ?t . ?t rdf:type ontology:Q502895 }
Bonne of Bar
action filter_type
action find
entity Bonne of Bar
relation brother
type common name
['Bonne of Bar', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Bonne_of_Bar property:brother ?t . ?t rdf:type ontology:common_name }
[]
common name
Q290499 Q571406 Q3175248
SYSTEM
Louis I, Duke of Bar, Edward III, Duke of Bar, John of Bar
Q450787 Q12009218 Q290499 Q3175248 Q571406
(Q22674712,P7,c(Q502895))
action filter_type
action find
entity Q22674712
relation P7
type Q502895
The brother of Bonne of Bar are King [ANSWERS]
['Q22674712', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q22674712 property:P7 ?t . ?t rdf:type ontology:Q502895 }
Henry of Bar Philip of Bar Louis I, Duke of Bar John of Bar Edward III, Duke of Bar
The brother of Bonne of Bar are King Louis I, Duke of Bar, Edward III, Duke of Bar and John of Bar
Louis I, Duke of Bar Edward III, Duke of Bar John of Bar
action filter_type
action find
entity Bonne of Bar
relation brother
type common name
['Bonne of Bar', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Bonne_of_Bar property:brother ?t . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q290499
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q290499)
action filter_type
action find_reverse
entity Q290499
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q290499']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q290499 . ?c rdf:type ontology:Q502895 }
Louis I, Duke of Bar
action filter_type
action find_reverse
entity Louis I, Duke of Bar
relation child
type common name
[{'concept': 'common name'}, 'child', 'Louis I, Duke of Bar']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Louis_I,_Duke_of_Bar . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q571406
SYSTEM
Did you mean Edward III, Duke of Bar ?
Q290499 Q571406 Q3175248
(c(Q502895),P40,Q290499) (c(Q502895),P40,Q571406) (c(Q502895),P40,Q3175248)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q290499'] [{'concept': 'Q502895'}, 'P40', 'Q571406'] [{'concept': 'Q502895'}, 'P40', 'Q3175248']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q290499 . ?c rdf:type ontology:Q502895 }
Louis I, Duke of Bar Edward III, Duke of Bar John of Bar
Did you mean Edward III, Duke of Bar ?
Edward III, Duke of Bar
[{'concept': 'common name'}, 'child', 'Louis I, Duke of Bar'] [{'concept': 'common name'}, 'child', 'Edward III, Duke of Bar'] [{'concept': 'common name'}, 'child', 'John of Bar']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Louis_I,_Duke_of_Bar . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Louis I, Duke of Bar. Could you tell me the answer for that?
(c(Q502895),P40,Q290499)
Q290499
[{'concept': 'Q502895'}, 'P40', 'Q290499']
[{'concept': 'common name'}, 'child', 'Louis I, Duke of Bar']
[]
Q570573 Q2189043
SYSTEM
Robert I, Duke of Bar, Marie of Valois, Duchess of Bar
Q570573 Q2189043
(c(Q502895),P40,Q290499)
action filter_type
action find_reverse
entity Q290499
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q290499']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q290499 . ?c rdf:type ontology:Q502895 }
Robert I, Duke of Bar Marie of Valois, Duchess of Bar
Robert I, Duke of Bar and Marie of Valois, Duchess of Bar are that one
Robert I, Duke of Bar Marie of Valois, Duchess of Bar
action filter_type
action find_reverse
entity Louis I, Duke of Bar
relation child
type common name
[{'concept': 'common name'}, 'child', 'Louis I, Duke of Bar']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Louis_I,_Duke_of_Bar . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1205263
P725
Q502895 Q6619679
USER
Which fictional humanoids have been dubbed by greater number of people than Eli Vance ?
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1205263
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q1205263 property:P725 ?y . ?y rdf:type ontology:Q6619679 } } . FILTER ( ?g > ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?g ) WHERE { ?m property:P725 ?b . ?m rdf:type ontology:Q6619679 . ?b rdf:type ontology:Q502895 } GROUP BY ?m } }
Eli Vance
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Eli Vance
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Eli_Vance property:voice_actor ?y . ?y rdf:type ontology:fictional_humanoid } } . FILTER ( ?g > ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?g ) WHERE { ?m property:voice_actor ?b . ?m rdf:type ontology:fictional_humanoid . ?b rdf:type ontology:common_name } GROUP BY ?m } }
[]
common name fictional humanoid
Q15711517 Q15707554 Q994344
SYSTEM
Granny Smith, Apple Bloom, Ezio Auditore da Firenze
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q15711517 Q716636
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1205263
relation P725
type Q6619679
[ANSWERS] have been dubbed by greater number of people than Eli Vance
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q1205263 property:P725 ?y . ?y rdf:type ontology:Q6619679 } } . FILTER ( ?g > ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?g ) WHERE { ?m property:P725 ?b . ?m rdf:type ontology:Q6619679 . ?b rdf:type ontology:Q502895 } GROUP BY ?m } }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Hinata Hyuga Henrietta Ai Haibara Kyoko Sakura Sunset Shimmer Maud Pie Neku Sakuraba Homura Akemi Silver Spoon Kyon Michelle Naruto Uzumaki Granny Smith Mr. Burns
Granny Smith, Apple Bloom and Ezio Auditore da Firenze have been dubbed by greater number of people than Eli Vance
Granny Smith Apple Bloom Ezio Auditore da Firenze
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Eli Vance
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Eli_Vance property:voice_actor ?y . ?y rdf:type ontology:fictional_humanoid } } . FILTER ( ?g > ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?g ) WHERE { ?m property:voice_actor ?b . ?m rdf:type ontology:fictional_humanoid . ?b rdf:type ontology:common_name } GROUP BY ?m } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P674
Q838948 Q1001378
USER
How many works of art or cinematic techniques have the character that fictional humanoid ?
(c(Q838948),P674,Q15707554) (c(Q1001378),P674,Q15707554) (c(Q838948),P674,Q15711517) (c(Q1001378),P674,Q15711517) (c(Q838948),P674,Q15707554) (c(Q1001378),P674,Q15707554) (c(Q838948),P674,Q994344) (c(Q1001378),P674,Q994344)
[{'concept': 'Q838948'}, 'P674', 'Q15707554'] [{'concept': 'Q1001378'}, 'P674', 'Q15707554'] [{'concept': 'Q838948'}, 'P674', 'Q15711517'] [{'concept': 'Q1001378'}, 'P674', 'Q15711517'] [{'concept': 'Q838948'}, 'P674', 'Q15707554'] [{'concept': 'Q1001378'}, 'P674', 'Q15707554'] [{'concept': 'Q838948'}, 'P674', 'Q994344'] [{'concept': 'Q1001378'}, 'P674', 'Q994344']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P674 resource:Q15707554 } UNION { ?y property:P674 resource:Q15707554 } UNION { ?z property:P674 resource:Q15711517 } UNION { ?y property:P674 resource:Q15711517 } UNION { ?z property:P674 resource:Q15707554 } UNION { ?y property:P674 resource:Q15707554 } UNION { ?z property:P674 resource:Q994344 } UNION { ?y property:P674 resource:Q994344 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q1001378 }
[{'concept': 'work of art'}, 'characters', 'Apple Bloom'] [{'concept': 'cinematic technique'}, 'characters', 'Apple Bloom'] [{'concept': 'work of art'}, 'characters', 'Granny Smith'] [{'concept': 'cinematic technique'}, 'characters', 'Granny Smith'] [{'concept': 'work of art'}, 'characters', 'Apple Bloom'] [{'concept': 'cinematic technique'}, 'characters', 'Apple Bloom'] [{'concept': 'work of art'}, 'characters', 'Ezio Auditore da Firenze'] [{'concept': 'cinematic technique'}, 'characters', 'Ezio Auditore da Firenze']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:characters resource:Apple_Bloom } UNION { ?y property:characters resource:Apple_Bloom } UNION { ?z property:characters resource:Granny_Smith } UNION { ?y property:characters resource:Granny_Smith } UNION { ?z property:characters resource:Apple_Bloom } UNION { ?y property:characters resource:Apple_Bloom } UNION { ?z property:characters resource:Ezio_Auditore_da_Firenze } UNION { ?y property:characters resource:Ezio_Auditore_da_Firenze } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:cinematic_technique }
[]
work of art cinematic technique
Quantitative|Count|Mult. entity type|Clarification
Q15707554
SYSTEM
Did you mean Apple Bloom ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P674 resource:Q15707554 } UNION { ?y property:P674 resource:Q15707554 } UNION { ?z property:P674 resource:Q15711517 } UNION { ?y property:P674 resource:Q15711517 } UNION { ?z property:P674 resource:Q15707554 } UNION { ?y property:P674 resource:Q15707554 } UNION { ?z property:P674 resource:Q994344 } UNION { ?y property:P674 resource:Q994344 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q1001378 }
Did you mean Apple Bloom ?
Apple Bloom
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:characters resource:Apple_Bloom } UNION { ?y property:characters resource:Apple_Bloom } UNION { ?z property:characters resource:Granny_Smith } UNION { ?y property:characters resource:Granny_Smith } UNION { ?z property:characters resource:Apple_Bloom } UNION { ?y property:characters resource:Apple_Bloom } UNION { ?z property:characters resource:Ezio_Auditore_da_Firenze } UNION { ?y property:characters resource:Ezio_Auditore_da_Firenze } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:cinematic_technique }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q838948),P674,Q15707554) (c(Q1001378),P674,Q15707554) (c(Q838948),P674,Q15711517) (c(Q1001378),P674,Q15711517) (c(Q838948),P674,Q15707554) (c(Q1001378),P674,Q15707554) (c(Q838948),P674,Q994344) (c(Q1001378),P674,Q994344)
[{'concept': 'Q838948'}, 'P674', 'Q15707554'] [{'concept': 'Q1001378'}, 'P674', 'Q15707554'] [{'concept': 'Q838948'}, 'P674', 'Q15711517'] [{'concept': 'Q1001378'}, 'P674', 'Q15711517'] [{'concept': 'Q838948'}, 'P674', 'Q15707554'] [{'concept': 'Q1001378'}, 'P674', 'Q15707554'] [{'concept': 'Q838948'}, 'P674', 'Q994344'] [{'concept': 'Q1001378'}, 'P674', 'Q994344']
[{'concept': 'work of art'}, 'characters', 'Apple Bloom'] [{'concept': 'cinematic technique'}, 'characters', 'Apple Bloom'] [{'concept': 'work of art'}, 'characters', 'Granny Smith'] [{'concept': 'cinematic technique'}, 'characters', 'Granny Smith'] [{'concept': 'work of art'}, 'characters', 'Apple Bloom'] [{'concept': 'cinematic technique'}, 'characters', 'Apple Bloom'] [{'concept': 'work of art'}, 'characters', 'Ezio Auditore da Firenze'] [{'concept': 'cinematic technique'}, 'characters', 'Ezio Auditore da Firenze']
[]
SYSTEM
2
Q15728879 Q13393950
(c(Q838948),P674,Q15707554) (c(Q1001378),P674,Q15707554) (c(Q838948),P674,Q15711517) (c(Q1001378),P674,Q15711517) (c(Q838948),P674,Q15707554) (c(Q1001378),P674,Q15707554) (c(Q838948),P674,Q994344) (c(Q1001378),P674,Q994344)
[ANSWER]
[{'concept': 'Q838948'}, 'P674', 'Q15707554'] [{'concept': 'Q1001378'}, 'P674', 'Q15707554'] [{'concept': 'Q838948'}, 'P674', 'Q15711517'] [{'concept': 'Q1001378'}, 'P674', 'Q15711517'] [{'concept': 'Q838948'}, 'P674', 'Q15707554'] [{'concept': 'Q1001378'}, 'P674', 'Q15707554'] [{'concept': 'Q838948'}, 'P674', 'Q994344'] [{'concept': 'Q1001378'}, 'P674', 'Q994344']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P674 resource:Q15707554 } UNION { ?y property:P674 resource:Q15707554 } UNION { ?z property:P674 resource:Q15711517 } UNION { ?y property:P674 resource:Q15711517 } UNION { ?z property:P674 resource:Q15707554 } UNION { ?y property:P674 resource:Q15707554 } UNION { ?z property:P674 resource:Q994344 } UNION { ?y property:P674 resource:Q994344 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q1001378 }
My Little Pony: Equestria Girls 2 – Rainbow Rocks My Little Pony: Equestria Girls
2
[{'concept': 'work of art'}, 'characters', 'Apple Bloom'] [{'concept': 'cinematic technique'}, 'characters', 'Apple Bloom'] [{'concept': 'work of art'}, 'characters', 'Granny Smith'] [{'concept': 'cinematic technique'}, 'characters', 'Granny Smith'] [{'concept': 'work of art'}, 'characters', 'Apple Bloom'] [{'concept': 'cinematic technique'}, 'characters', 'Apple Bloom'] [{'concept': 'work of art'}, 'characters', 'Ezio Auditore da Firenze'] [{'concept': 'cinematic technique'}, 'characters', 'Ezio Auditore da Firenze']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:characters resource:Apple_Bloom } UNION { ?y property:characters resource:Apple_Bloom } UNION { ?z property:characters resource:Granny_Smith } UNION { ?y property:characters resource:Granny_Smith } UNION { ?z property:characters resource:Apple_Bloom } UNION { ?y property:characters resource:Apple_Bloom } UNION { ?z property:characters resource:Ezio_Auditore_da_Firenze } UNION { ?y property:characters resource:Ezio_Auditore_da_Firenze } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:cinematic_technique }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15707554
P1038
Q15619164
USER
Who are kins of Apple Bloom ?
(c(Q15619164),P1038,Q15707554)
action filter_type
action find
entity Q15707554
relation P1038
type Q15619164
[{'concept': 'Q15619164'}, 'P1038', 'Q15707554']
SELECT DISTINCT ?u WHERE { resource:Q15707554 property:P1038 ?u . ?u rdf:type ontology:Q15619164 }
Apple Bloom
action filter_type
action find
entity Apple Bloom
relation relative
type abstract being
[{'concept': 'abstract being'}, 'relative', 'Apple Bloom']
SELECT DISTINCT ?u WHERE { resource:Apple_Bloom property:relative ?u . ?u rdf:type ontology:abstract_being }
[]
abstract being
Q15711505 Q15730337
SYSTEM
Braeburn, Babs Seed
Q15711505 Q15730337
(c(Q15619164),P1038,Q15707554)
action filter_type
action find
entity Q15707554
relation P1038
type Q15619164
Kins of Apple Bloom are called [ANSWERS]
[{'concept': 'Q15619164'}, 'P1038', 'Q15707554']
SELECT DISTINCT ?u WHERE { resource:Q15707554 property:P1038 ?u . ?u rdf:type ontology:Q15619164 }
Braeburn Babs Seed
Kins of Apple Bloom are called Braeburn and Babs Seed
Braeburn Babs Seed
action filter_type
action find
entity Apple Bloom
relation relative
type abstract being
[{'concept': 'abstract being'}, 'relative', 'Apple Bloom']
SELECT DISTINCT ?u WHERE { resource:Apple_Bloom property:relative ?u . ?u rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15707554
P9
Q15619164
USER
Which abstract beings had Apple Bloom as sister ?
(c(Q15619164),P9,Q15707554)
action filter_type
action find_reverse
entity Q15707554
relation P9
type Q15619164
[{'concept': 'Q15619164'}, 'P9', 'Q15707554']
SELECT DISTINCT ?o WHERE { ?o property:P9 resource:Q15707554 . ?o rdf:type ontology:Q15619164 }
Apple Bloom
action filter_type
action find_reverse
entity Apple Bloom
relation sister
type abstract being
[{'concept': 'abstract being'}, 'sister', 'Apple Bloom']
SELECT DISTINCT ?o WHERE { ?o property:sister resource:Apple_Bloom . ?o rdf:type ontology:abstract_being }
[]
abstract being
Q7468973 Q15710470
SYSTEM
Applejack, Big McIntosh
Q7468973 Q15710470
(c(Q15619164),P9,Q15707554)
action filter_type
action find_reverse
entity Q15707554
relation P9
type Q15619164
[ANSWERS] had Apple Bloom as sister
[{'concept': 'Q15619164'}, 'P9', 'Q15707554']
SELECT DISTINCT ?o WHERE { ?o property:P9 resource:Q15707554 . ?o rdf:type ontology:Q15619164 }
Applejack Big McIntosh
Applejack and Big McIntosh had Apple Bloom as sister
Applejack Big McIntosh
action filter_type
action find_reverse
entity Apple Bloom
relation sister
type abstract being
[{'concept': 'abstract being'}, 'sister', 'Apple Bloom']
SELECT DISTINCT ?o WHERE { ?o property:sister resource:Apple_Bloom . ?o rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7468973 Q15710470
P674
Q838948
USER
Which works of art have the character those abstract beings ?
(c(Q838948),P674,Q7468973) (c(Q838948),P674,Q15710470)
action filter_type
action find_reverse
entity prev_answer
relation P674
type Q838948
[{'concept': 'Q838948'}, 'P674', 'Q7468973'] [{'concept': 'Q838948'}, 'P674', 'Q15710470']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P674 ?r . VALUES ( ?r ) { ( resource:Q7468973 ) ( resource:Q15710470 ) } }
Applejack Big McIntosh
action filter_type
action find_reverse
entity prev_answer
relation characters
type work of art
[{'concept': 'work of art'}, 'characters', 'Applejack'] [{'concept': 'work of art'}, 'characters', 'Big McIntosh']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:characters ?r . VALUES ( ?r ) { ( resource:Applejack ) ( resource:Big_McIntosh ) } }
[]
work of art
Q13393950
SYSTEM
My Little Pony: Equestria Girls
Q13393950
(c(Q838948),P674,Q7468973) (c(Q838948),P674,Q15710470)
action filter_type
action find_reverse
entity prev_answer
relation P674
type Q838948
Characters [ANSWER] have the character those abstract beings
[{'concept': 'Q838948'}, 'P674', 'Q7468973'] [{'concept': 'Q838948'}, 'P674', 'Q15710470']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P674 ?r . VALUES ( ?r ) { ( resource:Q7468973 ) ( resource:Q15710470 ) } }
My Little Pony: Equestria Girls
Characters My Little Pony: Equestria Girls have the character those abstract beings
My Little Pony: Equestria Girls
action filter_type
action find_reverse
entity prev_answer
relation characters
type work of art
[{'concept': 'work of art'}, 'characters', 'Applejack'] [{'concept': 'work of art'}, 'characters', 'Big McIntosh']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:characters ?r . VALUES ( ?r ) { ( resource:Applejack ) ( resource:Big_McIntosh ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q570573
P53
Q8436
USER
What dynasty does Robert I, Duke of Bar belong to ?
(Q570573,P53,c(Q8436))
action filter_type
action find
entity Q570573
relation P53
type Q8436
['Q570573', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?o WHERE { resource:Q570573 property:P53 ?o . ?o rdf:type ontology:Q8436 }
Robert I, Duke of Bar
action filter_type
action find
entity Robert I, Duke of Bar
relation noble family
type family
['Robert I, Duke of Bar', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?o WHERE { resource:Robert_I,_Duke_of_Bar property:noble_family ?o . ?o rdf:type ontology:family }
[]
family
Q560837
SYSTEM
House of Scarpone
Q560837
(Q570573,P53,c(Q8436))
action filter_type
action find
entity Q570573
relation P53
type Q8436
Robert I , Duke of Bar belongs to the [ANSWER]
['Q570573', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?o WHERE { resource:Q570573 property:P53 ?o . ?o rdf:type ontology:Q8436 }
House of Scarpone
Robert I , Duke of Bar belongs to the House of Scarpone
House of Scarpone
action filter_type
action find
entity Robert I, Duke of Bar
relation noble family
type family
['Robert I, Duke of Bar', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?o WHERE { resource:Robert_I,_Duke_of_Bar property:noble_family ?o . ?o rdf:type ontology:family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q570573
P97
Q355567
USER
Which royal or noble ranks were held by Robert I, Duke of Bar ?
(Q570573,P97,c(Q355567))
action filter_type
action find
entity Q570573
relation P97
type Q355567
['Q570573', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q355567 . resource:Q570573 property:P97 ?a }
Robert I, Duke of Bar
action filter_type
action find
entity Robert I, Duke of Bar
relation noble title
type royal or noble rank
['Robert I, Duke of Bar', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:royal_or_noble_rank . resource:Robert_I,_Duke_of_Bar property:noble_title ?a }
[]
royal or noble rank
Q22343611 Q21096108
SYSTEM
count of Bar, duke of Bar
Q22343611 Q21096108
(Q570573,P97,c(Q355567))
action filter_type
action find
entity Q570573
relation P97
type Q355567
[ANSWERS] were held by Robert I, Duke of Bar
['Q570573', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q355567 . resource:Q570573 property:P97 ?a }
count of Bar duke of Bar
Count of Bar and duke of Bar were held by Robert I, Duke of Bar
count of Bar duke of Bar
action filter_type
action find
entity Robert I, Duke of Bar
relation noble title
type royal or noble rank
['Robert I, Duke of Bar', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:royal_or_noble_rank . resource:Robert_I,_Duke_of_Bar property:noble_title ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7526607
Q355567
USER
And also tell me about Sir Edward Scott, 2nd Baronet?
(Q7526607,P97,c(Q355567))
action filter_type
action find
entity Q7526607
relation P97
type Q355567
['Q7526607', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?l WHERE { resource:Q7526607 property:P97 ?l . ?l rdf:type ontology:Q355567 }
Sir Edward Scott, 2nd Baronet
action filter_type
action find
entity Sir Edward Scott, 2nd Baronet
relation noble title
type royal or noble rank
['Sir Edward Scott, 2nd Baronet', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?l WHERE { resource:Sir_Edward_Scott,_2nd_Baronet property:noble_title ?l . ?l rdf:type ontology:royal_or_noble_rank }
[]
royal or noble rank
Q282019
SYSTEM
baronet
Q282019
(Q7526607,P97,c(Q355567))
action filter_type
action find
entity Q7526607
relation P97
type Q355567
[ANSWER]
['Q7526607', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?l WHERE { resource:Q7526607 property:P97 ?l . ?l rdf:type ontology:Q355567 }
baronet
baronet
action filter_type
action find
entity Sir Edward Scott, 2nd Baronet
relation noble title
type royal or noble rank
['Sir Edward Scott, 2nd Baronet', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?l WHERE { resource:Sir_Edward_Scott,_2nd_Baronet property:noble_title ?l . ?l rdf:type ontology:royal_or_noble_rank }
[]