Simple Question (Direct)
Simple Question
Q3579741
P22
Q502895
USER
Who was the father of Édouard Bertin ?
(Q3579741,P22,c(Q502895))
action filter_type
action find
entity Q3579741
relation P22
type Q502895
['Q3579741', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3579741 property:P22 ?c . ?c rdf:type ontology:Q502895 }
Édouard Bertin
action filter_type
action find
entity Édouard Bertin
relation father
type common name
['Édouard Bertin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Édouard_Bertin property:father ?c . ?c rdf:type ontology:common_name }
[]
common name
Q3260485
SYSTEM
Louis-François Bertin
Q3260485
(Q3579741,P22,c(Q502895))
action filter_type
action find
entity Q3579741
relation P22
type Q502895
The father of Édouard Bertin was named [ANSWER]
['Q3579741', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3579741 property:P22 ?c . ?c rdf:type ontology:Q502895 }
Louis-François Bertin
The father of Édouard Bertin was named Louis-François Bertin
Louis-François Bertin
action filter_type
action find
entity Édouard Bertin
relation father
type common name
['Édouard Bertin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Édouard_Bertin property:father ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3579741
P7
Q502895
USER
Who is Édouard Bertin a sibling of ?
(Q3579741,P7,c(Q502895))
action filter_type
action find
entity Q3579741
relation P7
type Q502895
['Q3579741', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q3579741 property:P7 ?i }
Édouard Bertin
action filter_type
action find
entity Édouard Bertin
relation brother
type common name
['Édouard Bertin', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Édouard_Bertin property:brother ?i }
[]
common name
Q2861769
SYSTEM
Armand Bertin
Q2861769
(Q3579741,P7,c(Q502895))
action filter_type
action find
entity Q3579741
relation P7
type Q502895
Édouard Bertin is a sibling of [ANSWER] of
['Q3579741', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q3579741 property:P7 ?i }
Armand Bertin
Édouard Bertin is a sibling of Armand Bertin of
Armand Bertin
action filter_type
action find
entity Édouard Bertin
relation brother
type common name
['Édouard Bertin', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Édouard_Bertin property:brother ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2861769
P25
Q502895
USER
Who was the mother of that one ?
(Q2861769,P25,c(Q502895))
action filter_type
action find
entity Q2861769
relation P25
type Q502895
['Q2861769', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2861769 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Armand Bertin
action filter_type
action find
entity Armand Bertin
relation mother
type common name
['Armand Bertin', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Armand_Bertin property:mother ?t . ?t rdf:type ontology:common_name }
[]
common name
Q15221130
SYSTEM
Geneviève-Aimée-Victoire Boutard
Q15221130
(Q2861769,P25,c(Q502895))
action filter_type
action find
entity Q2861769
relation P25
type Q502895
The mother of that one was Madame [ANSWER]
['Q2861769', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2861769 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Geneviève-Aimée-Victoire Boutard
The mother of that one was Madame Geneviève-Aimée-Victoire Boutard
Geneviève-Aimée-Victoire Boutard
action filter_type
action find
entity Armand Bertin
relation mother
type common name
['Armand Bertin', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Armand_Bertin property:mother ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3579741
P9
Q502895
USER
Who is the sister of Édouard Bertin ?
(Q3579741,P9,c(Q502895))
action filter_type
action find
entity Q3579741
relation P9
type Q502895
['Q3579741', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3579741 property:P9 ?r . ?r rdf:type ontology:Q502895 }
Édouard Bertin
action filter_type
action find
entity Édouard Bertin
relation sister
type common name
['Édouard Bertin', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Édouard_Bertin property:sister ?r . ?r rdf:type ontology:common_name }
[]
common name
Q445123
SYSTEM
Louise Bertin
Q445123
(Q3579741,P9,c(Q502895))
action filter_type
action find
entity Q3579741
relation P9
type Q502895
The sister of Édouard Bertin is named [ANSWER]
['Q3579741', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3579741 property:P9 ?r . ?r rdf:type ontology:Q502895 }
Louise Bertin
The sister of Édouard Bertin is named Louise Bertin
Louise Bertin
action filter_type
action find
entity Édouard Bertin
relation sister
type common name
['Édouard Bertin', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Édouard_Bertin property:sister ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q559040
Q502895
USER
And also tell me about Jean-Yves Le Drian?
(Q559040,P9,c(Q502895))
action filter_type
action find
entity Q559040
relation P9
type Q502895
['Q559040', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q559040 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Jean-Yves Le Drian
action filter_type
action find
entity Jean-Yves Le Drian
relation sister
type common name
['Jean-Yves Le Drian', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Jean-Yves_Le_Drian property:sister ?v . ?v rdf:type ontology:common_name }
[]
common name
Q27116891 Q3292640
SYSTEM
Thérèse Thiéry, Marie Le Drian
Q27116891 Q3292640
(Q559040,P9,c(Q502895))
action filter_type
action find
entity Q559040
relation P9
type Q502895
[ANSWERS]
['Q559040', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q559040 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Thérèse Thiéry Marie Le Drian
Thérèse Thiéry Marie Le Drian
action filter_type
action find
entity Jean-Yves Le Drian
relation sister
type common name
['Jean-Yves Le Drian', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Jean-Yves_Le_Drian property:sister ?v . ?v rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15463333
P674
Q502895 Q36649 Q7725634
USER
Which people are the name of the persons who plays a role in more number of visual artss or literary works than John Mordaunt, 1st Viscount Mordaunt ?
(c(Q36649)|c(Q7725634),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q15463333
relation P674
type Q36649
type Q7725634
[[{'concept': 'Q36649'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?f WHERE { { ?o property:P674 ?f . ?o rdf:type ontology:Q36649 . ?f rdf:type ontology:Q502895 } UNION { ?o property:P674 ?f . ?f rdf:type ontology:Q502895 . ?o rdf:type ontology:Q7725634 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { { ?b rdf:type ontology:Q7725634 } UNION { ?b rdf:type ontology:Q36649 } } . ?b property:P674 resource:Q15463333 } } . FILTER ( ?u > ?z ) }
John Mordaunt, 1st Viscount Mordaunt
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity John Mordaunt, 1st Viscount Mordaunt
relation characters
type visual arts
type literary work
[[{'concept': 'visual arts'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?f WHERE { { ?o property:characters ?f . ?o rdf:type ontology:visual_arts . ?f rdf:type ontology:common_name } UNION { ?o property:characters ?f . ?f rdf:type ontology:common_name . ?o rdf:type ontology:literary_work } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { { ?b rdf:type ontology:literary_work } UNION { ?b rdf:type ontology:visual_arts } } . ?b property:characters resource:John_Mordaunt,_1st_Viscount_Mordaunt } } . FILTER ( ?u > ?z ) }
[]
common name visual arts literary work
Q193660 Q39259 Q109860
SYSTEM
Ramon Llull, Recep Tayyip Erdoğan, Dagobert I
Q2458567 Q15718786 Q207535 Q8462 Q638973 Q109860 Q106077 Q193660 Q15711674 Q360798 Q39259
(c(Q36649)|c(Q7725634),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q15463333
relation P674
type Q36649
type Q7725634
[ANSWERS] are the name of the persons who plays a role in more number of visual artss or literary works than John Mordaunt, 1st Viscount Mordaunt
[[{'concept': 'Q36649'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?f WHERE { { ?o property:P674 ?f . ?o rdf:type ontology:Q36649 . ?f rdf:type ontology:Q502895 } UNION { ?o property:P674 ?f . ?f rdf:type ontology:Q502895 . ?o rdf:type ontology:Q7725634 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { { ?b rdf:type ontology:Q7725634 } UNION { ?b rdf:type ontology:Q36649 } } . ?b property:P674 resource:Q15463333 } } . FILTER ( ?u > ?z ) }
François Bonivard Winona Roland Timur Leofric, Earl of Mercia Dagobert I Lady Godiva Ramon Llull Zecora Saint Eligius Recep Tayyip Erdoğan
Ramon Llull, Recep Tayyip Erdoğan and Dagobert I are the name of the persons who plays a role in more number of visual artss or literary works than John Mordaunt, 1st Viscount Mordaunt
Ramon Llull Recep Tayyip Erdoğan Dagobert I
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity John Mordaunt, 1st Viscount Mordaunt
relation characters
type visual arts
type literary work
[[{'concept': 'visual arts'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) ?f WHERE { { ?o property:characters ?f . ?o rdf:type ontology:visual_arts . ?f rdf:type ontology:common_name } UNION { ?o property:characters ?f . ?f rdf:type ontology:common_name . ?o rdf:type ontology:literary_work } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { { ?b rdf:type ontology:literary_work } UNION { ?b rdf:type ontology:visual_arts } } . ?b property:characters resource:John_Mordaunt,_1st_Viscount_Mordaunt } } . FILTER ( ?u > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q8820
P674
Q502895 Q36649 Q7725634
USER
And what about Lucius Varius Rufus?
(c(Q36649)|c(Q7725634),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q8820
relation P674
type Q36649
type Q7725634
[[{'concept': 'Q36649'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) ?z WHERE { VALUES ( ?e ) { ( ontology:Q36649 ) ( ontology:Q7725634 ) } . ?h rdf:type ?e } GROUP BY ?z } . FILTER ( ?a > ?s ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P674 resource:Q8820 . { VALUES ( ?l ) { ( ontology:Q36649 ) ( ontology:Q7725634 ) } . ?i rdf:type ?l } } } }
Lucius Varius Rufus
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Lucius Varius Rufus
relation characters
type visual arts
type literary work
[[{'concept': 'visual arts'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) ?z WHERE { VALUES ( ?e ) { ( ontology:visual_arts ) ( ontology:literary_work ) } . ?h rdf:type ?e } GROUP BY ?z } . FILTER ( ?a > ?s ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:characters resource:Lucius_Varius_Rufus . { VALUES ( ?l ) { ( ontology:visual_arts ) ( ontology:literary_work ) } . ?i rdf:type ?l } } } }
[]
common name visual arts literary work
Q193660 Q39259 Q109860
SYSTEM
Ramon Llull, Recep Tayyip Erdoğan, Dagobert I
Q2458567 Q15718786 Q207535 Q8462 Q638973 Q109860 Q106077 Q193660 Q15711674 Q360798 Q39259
(c(Q36649)|c(Q7725634),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action find_reverse_tuple_counts
relation P674
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q8820
relation P674
type Q36649
type Q7725634
[ANSWERS]
[[{'concept': 'Q36649'}, {'concept': 'Q7725634'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) ?z WHERE { VALUES ( ?e ) { ( ontology:Q36649 ) ( ontology:Q7725634 ) } . ?h rdf:type ?e } GROUP BY ?z } . FILTER ( ?a > ?s ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P674 resource:Q8820 . { VALUES ( ?l ) { ( ontology:Q36649 ) ( ontology:Q7725634 ) } . ?i rdf:type ?l } } } }
François Bonivard Winona Roland Timur Leofric, Earl of Mercia Dagobert I Lady Godiva Ramon Llull Zecora Saint Eligius Recep Tayyip Erdoğan
Ramon Llull Recep Tayyip Erdoğan Dagobert I
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action find_reverse_tuple_counts
relation characters
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Lucius Varius Rufus
relation characters
type visual arts
type literary work
[[{'concept': 'visual arts'}, {'concept': 'literary work'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) ?z WHERE { VALUES ( ?e ) { ( ontology:visual_arts ) ( ontology:literary_work ) } . ?h rdf:type ?e } GROUP BY ?z } . FILTER ( ?a > ?s ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:characters resource:Lucius_Varius_Rufus . { VALUES ( ?l ) { ( ontology:visual_arts ) ( ontology:literary_work ) } . ?i rdf:type ?l } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3260485
P40
Q502895
USER
Whose child is Louis-François Bertin ?
(c(Q502895),P40,Q3260485)
action filter_type
action find_reverse
entity Q3260485
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3260485']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q3260485 . ?i rdf:type ontology:Q502895 }
Louis-François Bertin
action filter_type
action find_reverse
entity Louis-François Bertin
relation child
type common name
[{'concept': 'common name'}, 'child', 'Louis-François Bertin']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Louis-François_Bertin . ?i rdf:type ontology:common_name }
[]
common name
Q15221144
SYSTEM
François Bertin
Q15221144
(c(Q502895),P40,Q3260485)
action filter_type
action find_reverse
entity Q3260485
relation P40
type Q502895
[ANSWER] is Louis-[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q3260485']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q3260485 . ?i rdf:type ontology:Q502895 }
François Bertin
François Bertin is Louis-François Bertin
François Bertin
action filter_type
action find_reverse
entity Louis-François Bertin
relation child
type common name
[{'concept': 'common name'}, 'child', 'Louis-François Bertin']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Louis-François_Bertin . ?i rdf:type ontology:common_name }
[]