Simple Question (Direct)
Simple Question
Q10947927
P21
Q290
USER
Which sex does Wanyan Zongpan have ?
(Q10947927,P21,c(Q290))
action filter_type
action find
entity Q10947927
relation P21
type Q290
['Q10947927', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q10947927 property:P21 ?b . ?b rdf:type ontology:Q290 }
Wanyan Zongpan
action filter_type
action find
entity Wanyan Zongpan
relation gender
type sex
['Wanyan Zongpan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Wanyan_Zongpan property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10947927,P21,c(Q290))
action filter_type
action find
entity Q10947927
relation P21
type Q290
Wanyan Zongpan has 1 [ANSWER]
['Q10947927', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q10947927 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Wanyan Zongpan has 1 male
male
action filter_type
action find
entity Wanyan Zongpan
relation gender
type sex
['Wanyan Zongpan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Wanyan_Zongpan property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10947927
P7
Q502895
USER
Who are the brother of Wanyan Zongpan ?
(Q10947927,P7,c(Q502895))
action filter_type
action find
entity Q10947927
relation P7
type Q502895
['Q10947927', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q10947927 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Wanyan Zongpan
action filter_type
action find
entity Wanyan Zongpan
relation brother
type common name
['Wanyan Zongpan', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Wanyan_Zongpan property:brother ?y . ?y rdf:type ontology:common_name }
[]
common name
Q15938042 Q10947926 Q16075421
SYSTEM
Wanyan Zongwei, Wanyan Zongben, Wanyan Zongshun
Q16075421 Q16075367 Q15935704 Q15938042 Q15940223 Q16075396 Q15941758 Q10947961 Q10947922 Q10947926 Q15944674 Q16260829 Q15938041
(Q10947927,P7,c(Q502895))
action filter_type
action find
entity Q10947927
relation P7
type Q502895
The brother of Wanyan Zongpan are the [ANSWERS]
['Q10947927', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q10947927 property:P7 ?y . ?y rdf:type ontology:Q502895 }
Wanyan Zongshun Wanyan Shentumen Wanyan Zongya Wanyan Zongwei Wanyan Zongmei Wanyan Hubeishu Wanyan Zongyi Wanyan Hulan Wanyan Zonggu Wanyan Zongben Wanyan Zongzhe Wanyan Wolie Wanyan Zongying
The brother of Wanyan Zongpan are the Wanyan Zongwei, Wanyan Zongben and Wanyan Zongshun
Wanyan Zongwei Wanyan Zongben Wanyan Zongshun
action filter_type
action find
entity Wanyan Zongpan
relation brother
type common name
['Wanyan Zongpan', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Wanyan_Zongpan property:brother ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q665957
Q502895
USER
And what about Jacques Laffitte?
(Q665957,P7,c(Q502895))
action filter_type
action find
entity Q665957
relation P7
type Q502895
['Q665957', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q665957 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Jacques Laffitte
action filter_type
action find
entity Jacques Laffitte
relation brother
type common name
['Jacques Laffitte', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Jacques_Laffitte property:brother ?i . ?i rdf:type ontology:common_name }
[]
common name
Q16920562
SYSTEM
Jean-Baptiste Laffitte
Q16920562
(Q665957,P7,c(Q502895))
action filter_type
action find
entity Q665957
relation P7
type Q502895
[ANSWER]
['Q665957', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q665957 property:P7 ?i . ?i rdf:type ontology:Q502895 }
Jean-Baptiste Laffitte
Jean-Baptiste Laffitte
action filter_type
action find
entity Jacques Laffitte
relation brother
type common name
['Jacques Laffitte', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Jacques_Laffitte property:brother ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16920562
P119
Q39614
USER
Where was that person buried ?
(Q16920562,P119,c(Q39614))
action filter_type
action find
entity Q16920562
relation P119
type Q39614
['Q16920562', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?r WHERE { resource:Q16920562 property:P119 ?r . ?r rdf:type ontology:Q39614 }
Jean-Baptiste Laffitte
action filter_type
action find
entity Jean-Baptiste Laffitte
relation place of burial
type cemetery
['Jean-Baptiste Laffitte', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?r WHERE { resource:Jean-Baptiste_Laffitte property:place_of_burial ?r . ?r rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q16920562,P119,c(Q39614))
action filter_type
action find
entity Q16920562
relation P119
type Q39614
That person was buried at [ANSWER]
['Q16920562', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?r WHERE { resource:Q16920562 property:P119 ?r . ?r rdf:type ontology:Q39614 }
Père Lachaise Cemetery
That person was buried at Père Lachaise Cemetery
Père Lachaise Cemetery
action filter_type
action find
entity Jean-Baptiste Laffitte
relation place of burial
type cemetery
['Jean-Baptiste Laffitte', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?r WHERE { resource:Jean-Baptiste_Laffitte property:place_of_burial ?r . ?r rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q311
P180
Q3305213
USER
Which painting expresses that cemetery ?
(c(Q3305213),P180,Q311)
action filter_type
action find_reverse
entity Q311
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q311']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q311 . ?o rdf:type ontology:Q3305213 }
Père Lachaise Cemetery
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Père Lachaise Cemetery']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:Père_Lachaise_Cemetery . ?o rdf:type ontology:painting }
[]
painting
Q19283476
SYSTEM
View of Paris from Père la Chaise.
Q19283476
(c(Q3305213),P180,Q311)
action filter_type
action find_reverse
entity Q311
relation P180
type Q3305213
[ANSWER] expresses that cemetery
[{'concept': 'Q3305213'}, 'P180', 'Q311']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q311 . ?o rdf:type ontology:Q3305213 }
View of Paris from Père la Chaise.
View of Paris from Père la Chaise. expresses that cemetery
View of Paris from Père la Chaise.
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Père Lachaise Cemetery']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:Père_Lachaise_Cemetery . ?o rdf:type ontology:painting }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10947926
P40
Q502895
USER
Which person has Wanyan Zongben as a child ?
(c(Q502895),P40,Q10947926)
action filter_type
action find_reverse
entity Q10947926
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q10947926']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q10947926 . ?f rdf:type ontology:Q502895 }
Wanyan Zongben
action filter_type
action find_reverse
entity Wanyan Zongben
relation child
type common name
[{'concept': 'common name'}, 'child', 'Wanyan Zongben']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Wanyan_Zongben . ?f rdf:type ontology:common_name }
[]
common name
Q5070
SYSTEM
Emperor Taizong of Jin
Q5070
(c(Q502895),P40,Q10947926)
action filter_type
action find_reverse
entity Q10947926
relation P40
type Q502895
[ANSWER] has Wanyan Zongben as a child
[{'concept': 'Q502895'}, 'P40', 'Q10947926']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q10947926 . ?f rdf:type ontology:Q502895 }
Emperor Taizong of Jin
Emperor Taizong of Jin has Wanyan Zongben as a child
Emperor Taizong of Jin
action filter_type
action find_reverse
entity Wanyan Zongben
relation child
type common name
[{'concept': 'common name'}, 'child', 'Wanyan Zongben']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Wanyan_Zongben . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311
P138
Q34442
USER
Which road is named after Père Lachaise Cemetery ?
(c(Q34442),P138,Q311)
action filter_type
action find_reverse
entity Q311
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q311']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q311 . ?z rdf:type ontology:Q34442 }
Père Lachaise Cemetery
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation named after
type road
[{'concept': 'road'}, 'named after', 'Père Lachaise Cemetery']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:Père_Lachaise_Cemetery . ?z rdf:type ontology:road }
[]
road
Q3452562
SYSTEM
rue du Repos
Q3452562
(c(Q34442),P138,Q311)
action filter_type
action find_reverse
entity Q311
relation P138
type Q34442
In [ANSWER] is named after Père Lachaise Cemetery
[{'concept': 'Q34442'}, 'P138', 'Q311']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q311 . ?z rdf:type ontology:Q34442 }
rue du Repos
In rue du Repos is named after Père Lachaise Cemetery
rue du Repos
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation named after
type road
[{'concept': 'road'}, 'named after', 'Père Lachaise Cemetery']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:Père_Lachaise_Cemetery . ?z rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311
P921
Q838948
USER
Which work of art was primarily based on Père Lachaise Cemetery ?
(c(Q838948),P921,Q311)
action filter_type
action find_reverse
entity Q311
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q311']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P921 resource:Q311 }
Père Lachaise Cemetery
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Père Lachaise Cemetery']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:main_subject resource:Père_Lachaise_Cemetery }
[]
work of art
Q13636884
SYSTEM
Forever
Q13636884
(c(Q838948),P921,Q311)
action filter_type
action find_reverse
entity Q311
relation P921
type Q838948
[ANSWER] was primarily based on Père Lachaise Cemetery
[{'concept': 'Q838948'}, 'P921', 'Q311']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P921 resource:Q311 }
Forever
Forever was primarily based on Père Lachaise Cemetery
Forever
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Père Lachaise Cemetery']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:main_subject resource:Père_Lachaise_Cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13636884
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q13636884,P136,c(Q1792379))
action filter_type
action find
entity Q13636884
relation P136
type Q1792379
['Q13636884', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1792379 . resource:Q13636884 property:P136 ?k }
Forever
action filter_type
action find
entity Forever
relation genre
type art genre
['Forever', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:art_genre . resource:Forever property:genre ?k }
[]
art genre
Q93204
SYSTEM
documentary film
Q93204
(Q13636884,P136,c(Q1792379))
action filter_type
action find
entity Q13636884
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q13636884', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1792379 . resource:Q13636884 property:P136 ?k }
documentary film
Documentary film can be considered as category for that work of art
documentary film
action filter_type
action find
entity Forever
relation genre
type art genre
['Forever', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:art_genre . resource:Forever property:genre ?k }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P655
Q502895 Q2342494 Q234460
USER
Which people translated exactly 4 collectables or texts ?
(c(Q2342494)|c(Q234460),P655,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
value 4
[[{'concept': 'Q2342494'}, {'concept': 'Q234460'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?b ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } . ?m rdf:type ?b } GROUP BY ?g } . FILTER ( ?e = 4 ) }
action equal
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type text
value 4
[[{'concept': 'collectable'}, {'concept': 'text'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?b ) { ( ontology:text ) ( ontology:collectable ) } . ?m rdf:type ?b } GROUP BY ?g } . FILTER ( ?e = 4 ) }
[]
common name collectable text
Q2495818 Q8020113
SYSTEM
Constance Garnett, William Weaver
Q2495818 Q8020113
(c(Q2342494)|c(Q234460),P655,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
value 4
[ANSWERS] translated exactly 4 collectables or texts
[[{'concept': 'Q2342494'}, {'concept': 'Q234460'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?b ) { ( ontology:Q234460 ) ( ontology:Q2342494 ) } . ?m rdf:type ?b } GROUP BY ?g } . FILTER ( ?e = 4 ) }
Constance Garnett William Weaver
Constance Garnett and William Weaver translated exactly 4 collectables or texts
Constance Garnett William Weaver
action equal
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type text
value 4
[[{'concept': 'collectable'}, {'concept': 'text'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?b ) { ( ontology:text ) ( ontology:collectable ) } . ?m rdf:type ?b } GROUP BY ?g } . FILTER ( ?e = 4 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q13636884 Q17052767
P136
Q1792379
USER
How many art genres can be considered as category for Forever or The Harbinger ?
(Q13636884,P136,c(Q1792379)) (Q17052767,P136,c(Q1792379))
action count
action union
action filter_type
action find
entity Q13636884
relation P136
type Q1792379
action filter_type
action find
entity Q17052767
relation P136
type Q1792379
['Q13636884', 'P136', {'concept': 'Q1792379'}] ['Q17052767', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { resource:Q17052767 property:P136 ?r . ?r rdf:type ontology:Q1792379 } UNION { resource:Q13636884 property:P136 ?r . ?r rdf:type ontology:Q1792379 } }
Forever The Harbinger
action count
action union
action filter_type
action find
entity Forever
relation genre
type art genre
action filter_type
action find
entity The Harbinger
relation genre
type art genre
['Forever', 'genre', {'concept': 'art genre'}] ['The Harbinger', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { resource:The_Harbinger property:genre ?r . ?r rdf:type ontology:art_genre } UNION { resource:Forever property:genre ?r . ?r rdf:type ontology:art_genre } }
[]
art genre
SYSTEM
2
Q8261 Q93204
(Q13636884,P136,c(Q1792379)) (Q17052767,P136,c(Q1792379))
action count
action union
action filter_type
action find
entity Q13636884
relation P136
type Q1792379
action filter_type
action find
entity Q17052767
relation P136
type Q1792379
[ANSWER]
['Q13636884', 'P136', {'concept': 'Q1792379'}] ['Q17052767', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { resource:Q17052767 property:P136 ?r . ?r rdf:type ontology:Q1792379 } UNION { resource:Q13636884 property:P136 ?r . ?r rdf:type ontology:Q1792379 } }
novel documentary film
2
action count
action union
action filter_type
action find
entity Forever
relation genre
type art genre
action filter_type
action find
entity The Harbinger
relation genre
type art genre
['Forever', 'genre', {'concept': 'art genre'}] ['The Harbinger', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { resource:The_Harbinger property:genre ?r . ?r rdf:type ontology:art_genre } UNION { resource:Forever property:genre ?r . ?r rdf:type ontology:art_genre } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can approximately 1700 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1700
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { FILTER ( ?p = 1700 ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:P1303 ?t . ?f rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 } GROUP BY ?t } }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1700
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { FILTER ( ?p = 1700 ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:instrument ?t . ?f rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument } GROUP BY ?t } }
[]
musical instrument common name
SYSTEM
7
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1700
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { FILTER ( ?p = 1700 ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:P1303 ?t . ?f rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 } GROUP BY ?t } }
viola bass guitar double bass trumpet cello organ drum kit
7
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1700
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { FILTER ( ?p = 1700 ) . { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?p ) WHERE { ?f property:instrument ?t . ?f rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8020113
P166
Q618779
USER
Which award was William Weaver awarded with ?
(Q8020113,P166,c(Q618779))
action filter_type
action find
entity Q8020113
relation P166
type Q618779
['Q8020113', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q8020113 property:P166 ?u . ?u rdf:type ontology:Q618779 }
William Weaver
action filter_type
action find
entity William Weaver
relation award received
type award
['William Weaver', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:William_Weaver property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q572316
SYSTEM
National Book Award
Q572316
(Q8020113,P166,c(Q618779))
action filter_type
action find
entity Q8020113
relation P166
type Q618779
William Weaver was awarded the [ANSWER]
['Q8020113', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q8020113 property:P166 ?u . ?u rdf:type ontology:Q618779 }
National Book Award
William Weaver was awarded the National Book Award
National Book Award
action filter_type
action find
entity William Weaver
relation award received
type award
['William Weaver', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:William_Weaver property:award_received ?u . ?u rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1359184
Q618779
USER
And also tell me about Ernst Lauda?
(Q1359184,P166,c(Q618779))
action filter_type
action find
entity Q1359184
relation P166
type Q618779
['Q1359184', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q1359184 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Ernst Lauda
action filter_type
action find
entity Ernst Lauda
relation award received
type award
['Ernst Lauda', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Ernst_Lauda property:award_received ?g . ?g rdf:type ontology:award }
[]
award
Q629393
SYSTEM
Order of Franz Joseph
Q629393
(Q1359184,P166,c(Q618779))
action filter_type
action find
entity Q1359184
relation P166
type Q618779
[ANSWER]
['Q1359184', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?g WHERE { resource:Q1359184 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Order of Franz Joseph
Order of Franz Joseph
action filter_type
action find
entity Ernst Lauda
relation award received
type award
['Ernst Lauda', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?g WHERE { resource:Ernst_Lauda property:award_received ?g . ?g rdf:type ontology:award }
[]