Simple Question (Direct)
Simple Question
Q6149021
P7
Q502895
USER
Who are the brother of Liu Sheng ?
(Q6149021,P7,c(Q502895))
action filter_type
action find
entity Q6149021
relation P7
type Q502895
['Q6149021', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q6149021 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Liu Sheng
action filter_type
action find
entity Liu Sheng
relation brother
type common name
['Liu Sheng', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Liu_Sheng property:brother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q10900161 Q16075359 Q16075355
SYSTEM
Liu Bin, Liu Hongwei, Liu Hongzhao
Q16075282 Q10900161 Q16075359 Q16075291 Q16075329 Q16075355 Q16075273 Q16075414 Q16075412 Q16075335 Q16075353 Q16075386 Q16075376 Q7292 Q16075390 Q965891 Q966724 Q16260137 Q16075480
(Q6149021,P7,c(Q502895))
action filter_type
action find
entity Q6149021
relation P7
type Q502895
The brother of Liu Sheng are named [ANSWERS]
['Q6149021', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q6149021 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Liu Hongchang Liu Bin Liu Hongwei Liu Hongjian Liu Honggao Liu Hongzhao Liu Hongjian Liu Hongcao Liu Hongbi Liu Hongdao Liu Hongze Liu Hongmiao Liu Hongzheng Emperor Chong of Han Liu Hongyi Liu Guitu Liu Yaoshu Liu Hongji Liu Hongya
The brother of Liu Sheng are named Liu Bin, Liu Hongwei and Liu Hongzhao
Liu Bin Liu Hongwei Liu Hongzhao
action filter_type
action find
entity Liu Sheng
relation brother
type common name
['Liu Sheng', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Liu_Sheng property:brother ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q10900161 Q16075359 Q16075355
P7
Q502895
USER
Which people are the brothers of those ones ?
(Q10900161,P7,c(Q502895)) (Q16075359,P7,c(Q502895)) (Q16075355,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
['Q10900161', 'P7', {'concept': 'Q502895'}] ['Q16075359', 'P7', {'concept': 'Q502895'}] ['Q16075355', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?w property:P7 ?q . ?q rdf:type ontology:Q502895 . VALUES ( ?w ) { ( resource:Q16075282 ) ( resource:Q10900161 ) ( resource:Q16075359 ) } }
Liu Bin Liu Hongwei Liu Hongzhao
action filter_type
action find
entity prev_answer
relation brother
type common name
['Liu Bin', 'brother', {'concept': 'common name'}] ['Liu Hongwei', 'brother', {'concept': 'common name'}] ['Liu Hongzhao', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?w property:brother ?q . ?q rdf:type ontology:common_name . VALUES ( ?w ) { ( resource:Liu_Hongchang ) ( resource:Liu_Bin ) ( resource:Liu_Hongwei ) } }
[]
common name
Q6149021 Q6149021 Q6149021
SYSTEM
Liu Sheng
Q16075282 Q6149021 Q16075412 Q16075359 Q16075291 Q16075329 Q16075355 Q16075273 Q16075414 Q16075386 Q16075353 Q16075335 Q16075390 Q16075480 Q965891 Q966724 Q16260137 Q16075376 Q16075329 Q6149021 Q16075412 Q16075291 Q16075282 Q16075355 Q16075273 Q16075414 Q16075386 Q16075335 Q16075353 Q10900161 Q16075390 Q16075480 Q965891 Q966724 Q16260137 Q16075376 Q16075329 Q6149021 Q16075412 Q16075359 Q16075291 Q16075282 Q16075273 Q16075414 Q16075386 Q16075335 Q16075353 Q10900161 Q16075390 Q16075480 Q965891 Q966724 Q16260137 Q16075376
(Q10900161,P7,c(Q502895)) (Q16075359,P7,c(Q502895)) (Q16075355,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[ANSWER], [ANSWER] and [ANSWER] are the brothers of those ones
['Q10900161', 'P7', {'concept': 'Q502895'}] ['Q16075359', 'P7', {'concept': 'Q502895'}] ['Q16075355', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?w property:P7 ?q . ?q rdf:type ontology:Q502895 . VALUES ( ?w ) { ( resource:Q16075282 ) ( resource:Q10900161 ) ( resource:Q16075359 ) } }
Liu Hongchang Liu Sheng Liu Hongbi Liu Hongwei Liu Hongjian Liu Honggao Liu Hongzhao Liu Hongjian Liu Hongcao Liu Hongmiao Liu Hongze Liu Hongdao Liu Hongyi Liu Hongya Liu Guitu Liu Yaoshu Liu Hongji Liu Hongzheng Liu Honggao Liu Sheng Liu Hongbi Liu Hongjian Liu Hongchang Liu Hongzhao Liu Hongjian Liu Hongcao Liu Hongmiao Liu Hongdao Liu Hongze Liu Bin Liu Hongyi Liu Hongya Liu Guitu Liu Yaoshu Liu Hongji Liu Hongzheng Liu Honggao Liu Sheng Liu Hongbi Liu Hongwei Liu Hongjian Liu Hongchang Liu Hongjian Liu Hongcao Liu Hongmiao Liu Hongdao Liu Hongze Liu Bin Liu Hongyi Liu Hongya Liu Guitu Liu Yaoshu Liu Hongji Liu Hongzheng
Liu Sheng, Liu Sheng and Liu Sheng are the brothers of those ones
Liu Sheng Liu Sheng Liu Sheng
action filter_type
action find
entity prev_answer
relation brother
type common name
['Liu Bin', 'brother', {'concept': 'common name'}] ['Liu Hongwei', 'brother', {'concept': 'common name'}] ['Liu Hongzhao', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?w property:brother ?q . ?q rdf:type ontology:common_name . VALUES ( ?w ) { ( resource:Liu_Hongchang ) ( resource:Liu_Bin ) ( resource:Liu_Hongwei ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6149021
P22
Q502895
USER
Which person has that one as father ?
(c(Q502895),P22,Q6149021) (c(Q502895),P22,Q6149021) (c(Q502895),P22,Q6149021)
action filter_type
action find_reverse
entity Q6149021
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q6149021'] [{'concept': 'Q502895'}, 'P22', 'Q6149021'] [{'concept': 'Q502895'}, 'P22', 'Q6149021']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q6149021 . ?e rdf:type ontology:Q502895 }
Liu Sheng
action filter_type
action find_reverse
entity Liu Sheng
relation father
type common name
[{'concept': 'common name'}, 'father', 'Liu Sheng'] [{'concept': 'common name'}, 'father', 'Liu Sheng'] [{'concept': 'common name'}, 'father', 'Liu Sheng']
SELECT DISTINCT ?e WHERE { ?e property:father resource:Liu_Sheng . ?e rdf:type ontology:common_name }
[]
common name
Q712137
SYSTEM
Liu Chang
Q712137
(c(Q502895),P22,Q6149021) (c(Q502895),P22,Q6149021) (c(Q502895),P22,Q6149021)
action filter_type
action find_reverse
entity Q6149021
relation P22
type Q502895
[ANSWER] has that one as father
[{'concept': 'Q502895'}, 'P22', 'Q6149021'] [{'concept': 'Q502895'}, 'P22', 'Q6149021'] [{'concept': 'Q502895'}, 'P22', 'Q6149021']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q6149021 . ?e rdf:type ontology:Q502895 }
Liu Chang
Liu Chang has that one as father
Liu Chang
action filter_type
action find_reverse
entity Liu Sheng
relation father
type common name
[{'concept': 'common name'}, 'father', 'Liu Sheng'] [{'concept': 'common name'}, 'father', 'Liu Sheng'] [{'concept': 'common name'}, 'father', 'Liu Sheng']
SELECT DISTINCT ?e WHERE { ?e property:father resource:Liu_Sheng . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q6149021
P21 P22
Q502895
USER
Which people have Liu Sheng as father and have male as the sex ?
AND((c(Q502895),P22,Q6149021), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6149021
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q6149021'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?r WHERE { ?r property:P21 resource:Q6581097 . ?r property:P22 resource:Q6149021 . ?r rdf:type ontology:Q502895 }
male Liu Sheng
action filter_type
action intersection
action find_reverse
entity Liu Sheng
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Liu Sheng'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?r WHERE { ?r property:gender resource:male . ?r property:father resource:Liu_Sheng . ?r rdf:type ontology:common_name }
[]
common name
Q712137
SYSTEM
Liu Chang
Q712137
AND((c(Q502895),P22,Q6149021), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6149021
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Liu Sheng as father and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q6149021'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?r WHERE { ?r property:P21 resource:Q6581097 . ?r property:P22 resource:Q6149021 . ?r rdf:type ontology:Q502895 }
Liu Chang
Liu Chang have Liu Sheng as father and have male as the sex
Liu Chang
action filter_type
action intersection
action find_reverse
entity Liu Sheng
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Liu Sheng'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?r WHERE { ?r property:gender resource:male . ?r property:father resource:Liu_Sheng . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q712137 Q6149021
P22
Q502895
USER
Was Liu Sheng the dad of that one ?
(Q712137,P22,Q6149021)
action is_in
entity Q6149021
action find
entity Q712137
relation P22
['Q712137', 'P22', 'Q6149021']
ASK WHERE { resource:Q712137 property:P22 resource:Q6149021 }
Liu Chang Liu Sheng
action is_in
entity Liu Sheng
action find
entity Liu Chang
relation father
['Liu Chang', 'father', 'Liu Sheng']
ASK WHERE { resource:Liu_Chang property:father resource:Liu_Sheng }
[]
common name
SYSTEM
YES
(Q712137,P22,Q6149021)
action is_in
entity Q6149021
action find
entity Q712137
relation P22
[ANSWER]
['Q712137', 'P22', 'Q6149021']
ASK WHERE { resource:Q712137 property:P22 resource:Q6149021 }
Yes
action is_in
entity Liu Sheng
action find
entity Liu Chang
relation father
['Liu Chang', 'father', 'Liu Sheng']
ASK WHERE { resource:Liu_Chang property:father resource:Liu_Sheng }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do exactly 5 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P1303 ?h . ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q34379 } GROUP BY ?h } . FILTER ( ?w = 5 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:instrument ?h . ?p rdf:type ontology:common_name . ?h rdf:type ontology:musical_instrument } GROUP BY ?h } . FILTER ( ?w = 5 ) }
[]
musical instrument common name
SYSTEM
2
Q213461 Q213100
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P1303 ?h . ?p rdf:type ontology:Q502895 . ?h rdf:type ontology:Q34379 } GROUP BY ?h } . FILTER ( ?w = 5 ) }
harmonium tabla
2
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:instrument ?h . ?p rdf:type ontology:common_name . ?h rdf:type ontology:musical_instrument } GROUP BY ?h } . FILTER ( ?w = 5 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q7725634 Q95074
USER
Which people were the sources of inspiration for exactly 1 literary works or fictional characters ?
(c(Q7725634)|c(Q95074),P941,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
value 1
[[{'concept': 'Q7725634'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:P941 ?w . ?w rdf:type ontology:Q502895 . ?b rdf:type ontology:Q7725634 } UNION { ?b property:P941 ?w . ?b rdf:type ontology:Q95074 . ?w rdf:type ontology:Q502895 } } GROUP BY ?w } . FILTER ( ?x = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
value 1
[[{'concept': 'literary work'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:inspired_by ?w . ?w rdf:type ontology:common_name . ?b rdf:type ontology:literary_work } UNION { ?b property:inspired_by ?w . ?b rdf:type ontology:fictional_character . ?w rdf:type ontology:common_name } } GROUP BY ?w } . FILTER ( ?x = 1 ) }
[]
common name literary work fictional character
Q8016 Q352 Q100937
SYSTEM
Winston Churchill, Adolf Hitler, Fred Astaire
Q40475 Q42229 Q5296307 Q129308 Q42305 Q558333 Q1067550 Q2707376 Q180919 Q105719 Q712955 Q8016 Q649801 Q2864567 Q228024 Q182450 Q3047248 Q711129 Q352 Q145746 Q921798 Q3984877 Q3741372 Q116462 Q357786 Q1779 Q56016 Q73089 Q182462 Q575668 Q171745 Q100937 Q272068 Q2437296 Q9077 Q443540 Q1281170 Q46373 Q267803 Q284047 Q2552694 Q273079 Q6577515 Q2975042 Q104109 Q16397 Q528428 Q83359 Q6246943 Q129429 Q2121085 Q212531 Q5294232 Q958996 Q94002 Q49285 Q27429917 Q1523 Q28493 Q527735 Q2181776 Q27429984 Q263241 Q356129 Q3925 Q34851 Q26806 Q2552902 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q2412941 Q297816 Q3525855 Q210447 Q2373032 Q3719992 Q199369 Q2110873 Q193406 Q233845 Q3429566 Q3047181 Q237813 Q578878
(c(Q7725634)|c(Q95074),P941,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
value 1
[ANSWERS] were the sources of inspiration for exactly 1 literary works or fictional characters
[[{'concept': 'Q7725634'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:P941 ?w . ?w rdf:type ontology:Q502895 . ?b rdf:type ontology:Q7725634 } UNION { ?b property:P941 ?w . ?b rdf:type ontology:Q95074 . ?w rdf:type ontology:Q502895 } } GROUP BY ?w } . FILTER ( ?x = 1 ) }
Joan Crawford Mel Gibson Donna Atwood John of England Richard I of England Buddy Hackett Charmaine Craig Dick Jones Natalie Wood Jean Harlow Bobby Driscoll Winston Churchill Fred Moore Art Stevens John Smith George C. Scott Eddie Collins Terry-Thomas Adolf Hitler Joseph Sabu Dastagir Jeffrey Stone Armand d'Athos Helen Gahagan Douglas Divine Louis Armstrong Katharine Hepburn Gene Kelly Janet Gaynor Lionel Atwill Jeremy Irons Fred Astaire Heather Angel Eric Larson Moses Ollie Johnston Frances Bavier Edgar Degas Spring Byington Christy Turlington Madge Blake Cab Calloway Samuel Claire Du Brey Mary Pickford Bruce Lee Douglas Fairbanks Jr James Dean John Martin Vivien Leigh Walter Catlett Kate Moss Donald DeFreeze Irene Bedard Barbara Stanwyck Sally Ride Michelle Stacy Ramesses II Ralph Fiennes Cedric Hardwicke Paul Collins John Culhane Mary Wickes John Stamos Grace Kelly Elizabeth Taylor Danny DeVito Hans Conried Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport The Fox and the Cat Sammy Davis, Jr. T. Hee Mark Hamill Pierre Gringoire Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Pocahontas Gale Sondergaard Rhoda Williams Ed Kemmer Maila Nurmi Chief Powhatan
Winston Churchill, Adolf Hitler and Fred Astaire were the sources of inspiration for exactly 1 literary works or fictional characters
Winston Churchill Adolf Hitler Fred Astaire
action equal
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type literary work
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
value 1
[[{'concept': 'literary work'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:inspired_by ?w . ?w rdf:type ontology:common_name . ?b rdf:type ontology:literary_work } UNION { ?b property:inspired_by ?w . ?b rdf:type ontology:fictional_character . ?w rdf:type ontology:common_name } } GROUP BY ?w } . FILTER ( ?x = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8016 Q352 Q100937
P7
Q502895
USER
Which people had those ones as brother ?
(c(Q502895),P7,Q8016) (c(Q502895),P7,Q352) (c(Q502895),P7,Q100937)
action filter_type
action find_reverse
entity prev_answer
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q8016'] [{'concept': 'Q502895'}, 'P7', 'Q352'] [{'concept': 'Q502895'}, 'P7', 'Q100937']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P7 ?c . VALUES ( ?c ) { ( resource:Q40475 ) ( resource:Q42229 ) ( resource:Q5296307 ) } }
Winston Churchill Adolf Hitler Fred Astaire
action filter_type
action find_reverse
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Winston Churchill'] [{'concept': 'common name'}, 'brother', 'Adolf Hitler'] [{'concept': 'common name'}, 'brother', 'Fred Astaire']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:brother ?c . VALUES ( ?c ) { ( resource:Joan_Crawford ) ( resource:Mel_Gibson ) ( resource:Donna_Atwood ) } }
[]
common name
Q84328 Q66225 Q78643
SYSTEM
Paula Hitler, Alois Hitler, Jr., Angela Hitler
Q721915 Q66225 Q22084744 Q22084764 Q22084776 Q22084775 Q84328 Q78643 Q354381
(c(Q502895),P7,Q8016) (c(Q502895),P7,Q352) (c(Q502895),P7,Q100937)
action filter_type
action find_reverse
entity prev_answer
relation P7
type Q502895
[ANSWERS] had those ones as brother
[{'concept': 'Q502895'}, 'P7', 'Q8016'] [{'concept': 'Q502895'}, 'P7', 'Q352'] [{'concept': 'Q502895'}, 'P7', 'Q100937']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P7 ?c . VALUES ( ?c ) { ( resource:Q40475 ) ( resource:Q42229 ) ( resource:Q5296307 ) } }
John Strange Spencer-Churchill Alois Hitler, Jr. Gustav Hitler Ida Hitler Edmund Hitler Otto Hitler Paula Hitler Angela Hitler Adele Astaire
Paula Hitler, Alois Hitler, Jr. and Angela Hitler had those ones as brother
Paula Hitler Alois Hitler, Jr. Angela Hitler
action filter_type
action find_reverse
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Winston Churchill'] [{'concept': 'common name'}, 'brother', 'Adolf Hitler'] [{'concept': 'common name'}, 'brother', 'Fred Astaire']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:brother ?c . VALUES ( ?c ) { ( resource:Joan_Crawford ) ( resource:Mel_Gibson ) ( resource:Donna_Atwood ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q84328
P451
Q502895
USER
Who has that one as their girlfriend ?
(c(Q502895),P451,Q84328)
action filter_type
action find
entity Q84328
relation P451
type Q502895
[{'concept': 'Q502895'}, 'P451', 'Q84328']
SELECT DISTINCT ?d WHERE { resource:Q84328 property:P451 ?d . ?d rdf:type ontology:Q502895 }
Paula Hitler
action filter_type
action find
entity Paula Hitler
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Paula Hitler']
SELECT DISTINCT ?d WHERE { resource:Paula_Hitler property:partner ?d . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q84328
SYSTEM
Did you mean Paula Hitler ?
Q84328 Q66225 Q78643
(c(Q502895),P451,Q84328) (c(Q502895),P451,Q66225) (c(Q502895),P451,Q78643)
[ANSWER]
[{'concept': 'Q502895'}, 'P451', 'Q84328'] [{'concept': 'Q502895'}, 'P451', 'Q66225'] [{'concept': 'Q502895'}, 'P451', 'Q78643']
SELECT DISTINCT ?d WHERE { resource:Q84328 property:P451 ?d . ?d rdf:type ontology:Q502895 }
Paula Hitler Alois Hitler, Jr. Angela Hitler
Did you mean Paula Hitler ?
Paula Hitler
[{'concept': 'common name'}, 'partner', 'Paula Hitler'] [{'concept': 'common name'}, 'partner', 'Alois Hitler, Jr.'] [{'concept': 'common name'}, 'partner', 'Angela Hitler']
SELECT DISTINCT ?d WHERE { resource:Paula_Hitler property:partner ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P451,Q84328)
[{'concept': 'Q502895'}, 'P451', 'Q84328']
[{'concept': 'common name'}, 'partner', 'Paula Hitler']
[]
Q1363079
SYSTEM
Erwin Jekelius
Q1363079
(c(Q502895),P451,Q84328)
action filter_type
action find
entity Q84328
relation P451
type Q502895
[ANSWER] has that one as their girlfriend
[{'concept': 'Q502895'}, 'P451', 'Q84328']
SELECT DISTINCT ?d WHERE { resource:Q84328 property:P451 ?d . ?d rdf:type ontology:Q502895 }
Erwin Jekelius
Erwin Jekelius has that one as their girlfriend
Erwin Jekelius
action filter_type
action find
entity Paula Hitler
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Paula Hitler']
SELECT DISTINCT ?d WHERE { resource:Paula_Hitler property:partner ?d . ?d rdf:type ontology:common_name }
[]