Simple Question (Direct)
Simple Question
Q3444114
P57
Q502895
USER
Which person served as the directed of Aarti ?
(Q3444114,P57,c(Q502895))
action filter_type
action find
entity Q3444114
relation P57
type Q502895
['Q3444114', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3444114 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Aarti
action filter_type
action find
entity Aarti
relation director
type common name
['Aarti', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Aarti property:director ?v . ?v rdf:type ontology:common_name }
[]
common name
Q7180471
SYSTEM
Phani Majumdar
Q7180471
(Q3444114,P57,c(Q502895))
action filter_type
action find
entity Q3444114
relation P57
type Q502895
[ANSWER] served as the directed of Aarti
['Q3444114', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3444114 property:P57 ?v . ?v rdf:type ontology:Q502895 }
Phani Majumdar
Phani Majumdar served as the directed of Aarti
Phani Majumdar
action filter_type
action find
entity Aarti
relation director
type common name
['Aarti', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Aarti property:director ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3444114
P86
Q502895
USER
Who composed Aarti ?
(Q3444114,P86,c(Q502895))
action filter_type
action find
entity Q3444114
relation P86
type Q502895
['Q3444114', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3444114 property:P86 ?c . ?c rdf:type ontology:Q502895 }
Aarti
action filter_type
action find
entity Aarti
relation composer
type common name
['Aarti', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Aarti property:composer ?c . ?c rdf:type ontology:common_name }
[]
common name
Q7368804
SYSTEM
Roshan
Q7368804
(Q3444114,P86,c(Q502895))
action filter_type
action find
entity Q3444114
relation P86
type Q502895
[ANSWER] composed Aarti
['Q3444114', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q3444114 property:P86 ?c . ?c rdf:type ontology:Q502895 }
Roshan
Roshan composed Aarti
Roshan
action filter_type
action find
entity Aarti
relation composer
type common name
['Aarti', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Aarti property:composer ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2565497
Q502895
USER
And how about Hush?
(Q2565497,P86,c(Q502895))
action filter_type
action find
entity Q2565497
relation P86
type Q502895
['Q2565497', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2565497 property:P86 ?z . ?z rdf:type ontology:Q502895 }
Hush
action filter_type
action find
entity Hush
relation composer
type common name
['Hush', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Hush property:composer ?z . ?z rdf:type ontology:common_name }
[]
common name
Q7781455
SYSTEM
Theo Green
Q7781455
(Q2565497,P86,c(Q502895))
action filter_type
action find
entity Q2565497
relation P86
type Q502895
[ANSWER]
['Q2565497', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2565497 property:P86 ?z . ?z rdf:type ontology:Q502895 }
Theo Green
Theo Green
action filter_type
action find
entity Hush
relation composer
type common name
['Hush', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Hush property:composer ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q16970 Q180516
USER
Which people were the persons who commissioned around 1 churches or rooms ?
(c(Q16970)|c(Q180516),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P88
type Q502895
type Q180516
value 1
[[{'concept': 'Q16970'}, {'concept': 'Q180516'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?b WHERE { { ?f property:P88 ?b . ?f rdf:type ontology:Q16970 . ?b rdf:type ontology:Q502895 } UNION { ?f property:P88 ?b . ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q180516 } } GROUP BY ?b } . FILTER ( ?d = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type church
action find_reverse_tuple_counts
relation commissioned by
type common name
type room
value 1
[[{'concept': 'church'}, {'concept': 'room'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?b WHERE { { ?f property:commissioned_by ?b . ?f rdf:type ontology:church . ?b rdf:type ontology:common_name } UNION { ?f property:commissioned_by ?b . ?b rdf:type ontology:common_name . ?f rdf:type ontology:room } } GROUP BY ?b } . FILTER ( ?d = 1 ) }
[]
common name church room
Q48547 Q968484 Q299675
SYSTEM
Cosimo I de' Medici, Grand Duke of Tuscany, Mikołaj Krzysztof "the Orphan" Radziwiłł, Francesco I de' Medici, Grand Duke of Tuscany
Q48547 Q41834 Q2094034 Q715054 Q1379797 Q969797 Q105378 Q586063 Q1213943 Q968484 Q299675
(c(Q16970)|c(Q180516),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P88
type Q502895
type Q180516
value 1
[ANSWERS]
[[{'concept': 'Q16970'}, {'concept': 'Q180516'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?b WHERE { { ?f property:P88 ?b . ?f rdf:type ontology:Q16970 . ?b rdf:type ontology:Q502895 } UNION { ?f property:P88 ?b . ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q180516 } } GROUP BY ?b } . FILTER ( ?d = 1 ) }
Cosimo I de' Medici, Grand Duke of Tuscany Romanos IV Diogenes Edward Woyniłłowicz Borso d'Este, Duke of Ferrara Leonello d'Este, Marquis of Ferrara Guidobaldo da Montefeltro Henry the Lion Antoine-Adolphe Dupuch Karl Heinrich von Hornstein Mikołaj Krzysztof "the Orphan" Radziwiłł Francesco I de' Medici, Grand Duke of Tuscany
Cosimo I de' Medici, Grand Duke of Tuscany, Mikołaj Krzysztof "the Orphan" Radziwiłł and Francesco I de' Medici, Grand Duke of Tuscany were the persons who commissioned around 1 churches or rooms
Cosimo I de' Medici, Grand Duke of Tuscany Mikołaj Krzysztof "the Orphan" Radziwiłł Francesco I de' Medici, Grand Duke of Tuscany
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type church
action find_reverse_tuple_counts
relation commissioned by
type common name
type room
value 1
[[{'concept': 'church'}, {'concept': 'room'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) ?b WHERE { { ?f property:commissioned_by ?b . ?f rdf:type ontology:church . ?b rdf:type ontology:common_name } UNION { ?f property:commissioned_by ?b . ?b rdf:type ontology:common_name . ?f rdf:type ontology:room } } GROUP BY ?b } . FILTER ( ?d = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q269941 Q48547
P40
Q502895
USER
Which people are the children of Cosimo I de' Medici, Grand Duke of Tuscany or Martina ?
OR((Q48547,P40,c(Q502895)), (Q269941,P40,c(Q502895)))
action filter_type
action union
action find
entity Q48547
relation P40
action find
entity Q269941
relation P40
type Q502895
{'OR': [['Q48547', 'P40', {'concept': 'Q502895'}], ['Q269941', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q48547 property:P40 ?m } UNION { resource:Q269941 property:P40 ?m } } . ?m rdf:type ontology:Q502895 }
Martina Cosimo I de' Medici, Grand Duke of Tuscany
action filter_type
action union
action find
entity Cosimo I de' Medici, Grand Duke of Tuscany
relation child
action find
entity Martina
relation child
type common name
{'OR': [["Cosimo I de' Medici, Grand Duke of Tuscany", 'child', {'concept': 'common name'}], ['Martina', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Cosimo_I_de'_Medici,_Grand_Duke_of_Tuscany property:child ?m } UNION { resource:Martina property:child ?m } } . ?m rdf:type ontology:common_name }
[]
common name
Q261915 Q299675 Q31513 Q1280021 Q1529833 Q297483 Q2633633 Q3898619 Q271831 Q1089085
SYSTEM
Some of them are Lucrezia de' Medici, Duchess of Ferrara, Francesco I de' Medici, Grand Duke of Tuscany, Heraklonas, Maria de' Medici, Pietro de' Medici, Ferdinando I de' Medici, Grand Duke of Tuscany, Giovanni de' Medici, Pedricco de' Medici, Isabella de' Medici, Garzia de' Medici
Q1587522 Q1280021 Q2633633 Q1089085 Q271831 Q1280015 Q3898619 Q2527353 Q1529833 Q3617854 Q299675 Q297483 Q31513 Q261915
OR((Q48547,P40,c(Q502895)), (Q269941,P40,c(Q502895)))
action filter_type
action union
action find
entity Q48547
relation P40
action find
entity Q269941
relation P40
type Q502895
[ANSWERS] are the children of Cosimo I de' Medici, Grand Duke of Tuscany or Martina
{'OR': [['Q48547', 'P40', {'concept': 'Q502895'}], ['Q269941', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q48547 property:P40 ?m } UNION { resource:Q269941 property:P40 ?m } } . ?m rdf:type ontology:Q502895 }
Don Giovanni de' Medici Maria de' Medici Giovanni de' Medici Garzia de' Medici Isabella de' Medici Virginia de' Medici Pedricco de' Medici Bia de' Medici Pietro de' Medici Anna de' Medici Francesco I de' Medici, Grand Duke of Tuscany Ferdinando I de' Medici, Grand Duke of Tuscany Heraklonas Lucrezia de' Medici, Duchess of Ferrara
Lucrezia de' Medici, Duchess of Ferrara, Francesco I de' Medici, Grand Duke of Tuscany, Heraklonas, Maria de' Medici, Pietro de' Medici, Ferdinando I de' Medici, Grand Duke of Tuscany, Giovanni de' Medici, Pedricco de' Medici, Isabella de' Medici and Garzia de' Medici are the children of Cosimo I de' Medici, Grand Duke of Tuscany or Martina
Lucrezia de' Medici, Duchess of Ferrara Francesco I de' Medici, Grand Duke of Tuscany Heraklonas Maria de' Medici Pietro de' Medici Ferdinando I de' Medici, Grand Duke of Tuscany Giovanni de' Medici Pedricco de' Medici Isabella de' Medici Garzia de' Medici
action filter_type
action union
action find
entity Cosimo I de' Medici, Grand Duke of Tuscany
relation child
action find
entity Martina
relation child
type common name
{'OR': [["Cosimo I de' Medici, Grand Duke of Tuscany", 'child', {'concept': 'common name'}], ['Martina', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Cosimo_I_de'_Medici,_Grand_Duke_of_Tuscany property:child ?m } UNION { resource:Martina property:child ?m } } . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q297483
P7
Q502895
USER
How many people are Ferdinando I de' Medici, Grand Duke of Tuscany a brother of ?
(c(Q502895),P7,Q297483)
action count
action filter_type
action find_reverse
entity Q297483
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q297483']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p rdf:type ontology:Q502895 . ?p property:P7 resource:Q297483 }
Ferdinando I de' Medici, Grand Duke of Tuscany
action count
action filter_type
action find_reverse
entity Ferdinando I de' Medici, Grand Duke of Tuscany
relation brother
type common name
[{'concept': 'common name'}, 'brother', "Ferdinando I de' Medici, Grand Duke of Tuscany"]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p rdf:type ontology:common_name . ?p property:brother resource:Ferdinando_I_de'_Medici,_Grand_Duke_of_Tuscany }
[]
common name
SYSTEM
11
Q271831 Q3898619 Q1280015 Q1089085 Q1280021 Q261915 Q1529833 Q2527353 Q1587522 Q2633633 Q299675
(c(Q502895),P7,Q297483)
action count
action filter_type
action find_reverse
entity Q297483
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q297483']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p rdf:type ontology:Q502895 . ?p property:P7 resource:Q297483 }
Isabella de' Medici Pedricco de' Medici Virginia de' Medici Garzia de' Medici Maria de' Medici Lucrezia de' Medici, Duchess of Ferrara Pietro de' Medici Bia de' Medici Don Giovanni de' Medici Giovanni de' Medici Francesco I de' Medici, Grand Duke of Tuscany
11
action count
action filter_type
action find_reverse
entity Ferdinando I de' Medici, Grand Duke of Tuscany
relation brother
type common name
[{'concept': 'common name'}, 'brother', "Ferdinando I de' Medici, Grand Duke of Tuscany"]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p rdf:type ontology:common_name . ?p property:brother resource:Ferdinando_I_de'_Medici,_Grand_Duke_of_Tuscany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q297483
P180
Q838948
USER
Which work of art depicts that person ?
action filter_type
action find_reverse
entity Q297483
relation P180
type Q838948
SELECT DISTINCT ?s WHERE { ?s property:P180 resource:Q297483 . ?s rdf:type ontology:Q838948 }
Ferdinando I de' Medici, Grand Duke of Tuscany
action filter_type
action find_reverse
entity Ferdinando I de' Medici, Grand Duke of Tuscany
relation depicts
type work of art
SELECT DISTINCT ?s WHERE { ?s property:depicts resource:Ferdinando_I_de'_Medici,_Grand_Duke_of_Tuscany . ?s rdf:type ontology:work_of_art }
[]
work of art
Q21130306
SYSTEM
Equestrian Monument of Ferdinando I
Q21130306
action filter_type
action find_reverse
entity Q297483
relation P180
type Q838948
The [ANSWER] depicts that person
SELECT DISTINCT ?s WHERE { ?s property:P180 resource:Q297483 . ?s rdf:type ontology:Q838948 }
Equestrian Monument of Ferdinando I
The Equestrian Monument of Ferdinando I depicts that person
Equestrian Monument of Ferdinando I
action filter_type
action find_reverse
entity Ferdinando I de' Medici, Grand Duke of Tuscany
relation depicts
type work of art
SELECT DISTINCT ?s WHERE { ?s property:depicts resource:Ferdinando_I_de'_Medici,_Grand_Duke_of_Tuscany . ?s rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q481259
P802
Q502895
USER
How many people have Daniel Ridgway Knight as their teacher ?
(c(Q502895),P802,Q481259)
action count
action filter_type
action find_reverse
entity Q481259
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q481259']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P802 resource:Q481259 . ?b rdf:type ontology:Q502895 }
Daniel Ridgway Knight
action count
action filter_type
action find_reverse
entity Daniel Ridgway Knight
relation student
type common name
[{'concept': 'common name'}, 'student', 'Daniel Ridgway Knight']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:student resource:Daniel_Ridgway_Knight . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q452119
(c(Q502895),P802,Q481259)
action count
action filter_type
action find_reverse
entity Q481259
relation P802
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q481259']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P802 resource:Q481259 . ?b rdf:type ontology:Q502895 }
Marc-Charles-Gabriel Gleyre
1
action count
action filter_type
action find_reverse
entity Daniel Ridgway Knight
relation student
type common name
[{'concept': 'common name'}, 'student', 'Daniel Ridgway Knight']
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:student resource:Daniel_Ridgway_Knight . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q297483
P921
Q838948
USER
Which work of art was primarily based on Ferdinando I de' Medici, Grand Duke of Tuscany ?
(c(Q838948),P921,Q297483)
action filter_type
action find_reverse
entity Q297483
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q297483']
SELECT DISTINCT ?h WHERE { ?h property:P921 resource:Q297483 . ?h rdf:type ontology:Q838948 }
Ferdinando I de' Medici, Grand Duke of Tuscany
action filter_type
action find_reverse
entity Ferdinando I de' Medici, Grand Duke of Tuscany
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', "Ferdinando I de' Medici, Grand Duke of Tuscany"]
SELECT DISTINCT ?h WHERE { ?h property:main_subject resource:Ferdinando_I_de'_Medici,_Grand_Duke_of_Tuscany . ?h rdf:type ontology:work_of_art }
[]
work of art
Q21130306
SYSTEM
Equestrian Monument of Ferdinando I
Q21130306
(c(Q838948),P921,Q297483)
action filter_type
action find_reverse
entity Q297483
relation P921
type Q838948
[ANSWER] was primarily based on Ferdinando I de' Medici, Grand Duke of Tuscany
[{'concept': 'Q838948'}, 'P921', 'Q297483']
SELECT DISTINCT ?h WHERE { ?h property:P921 resource:Q297483 . ?h rdf:type ontology:Q838948 }
Equestrian Monument of Ferdinando I
Equestrian Monument of Ferdinando I was primarily based on Ferdinando I de' Medici, Grand Duke of Tuscany
Equestrian Monument of Ferdinando I
action filter_type
action find_reverse
entity Ferdinando I de' Medici, Grand Duke of Tuscany
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', "Ferdinando I de' Medici, Grand Duke of Tuscany"]
SELECT DISTINCT ?h WHERE { ?h property:main_subject resource:Ferdinando_I_de'_Medici,_Grand_Duke_of_Tuscany . ?h rdf:type ontology:work_of_art }
[]