Simple Question (Direct)
Simple Question
Q953213
P97
Q4164871
USER
Which position was held by Ramon Borrell, Count of Barcelona ?
(Q953213,P97,c(Q4164871))
action filter_type
action find
entity Q953213
relation P97
type Q4164871
['Q953213', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?f WHERE { resource:Q953213 property:P97 ?f . ?f rdf:type ontology:Q4164871 }
Ramon Borrell, Count of Barcelona
action filter_type
action find
entity Ramon Borrell, Count of Barcelona
relation noble title
type position
['Ramon Borrell, Count of Barcelona', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?f WHERE { resource:Ramon_Borrell,_Count_of_Barcelona property:noble_title ?f . ?f rdf:type ontology:position }
[]
position
Q3519259
SYSTEM
count
Q3519259
(Q953213,P97,c(Q4164871))
action filter_type
action find
entity Q953213
relation P97
type Q4164871
[ANSWER] was held by Ramon Borrell, [ANSWER] of Barcelona
['Q953213', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?f WHERE { resource:Q953213 property:P97 ?f . ?f rdf:type ontology:Q4164871 }
count
Count was held by Ramon Borrell, Count of Barcelona
count
action filter_type
action find
entity Ramon Borrell, Count of Barcelona
relation noble title
type position
['Ramon Borrell, Count of Barcelona', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?f WHERE { resource:Ramon_Borrell,_Count_of_Barcelona property:noble_title ?f . ?f rdf:type ontology:position }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q953213
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q3519259,P20,c(Q56061))
action filter_type
action find
entity Q953213
relation P20
type Q56061
['Q3519259', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q953213 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Ramon Borrell, Count of Barcelona
action filter_type
action find
entity Ramon Borrell, Count of Barcelona
relation place of death
type administrative territorial entity
['count', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ramon_Borrell,_Count_of_Barcelona property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q3519259,P20,c(Q56061))
action filter_type
action find
entity Q953213
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q3519259', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q953213 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Barcelona
Barcelona is the place of death of that person
Barcelona
action filter_type
action find
entity Ramon Borrell, Count of Barcelona
relation place of death
type administrative territorial entity
['count', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ramon_Borrell,_Count_of_Barcelona property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q953213
P22
Q502895
USER
Which person was the father of that one ?
(Q1492,P22,c(Q502895))
action filter_type
action find
entity Q953213
relation P22
type Q502895
['Q1492', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q953213 property:P22 ?x . ?x rdf:type ontology:Q502895 }
Ramon Borrell, Count of Barcelona
action filter_type
action find
entity Ramon Borrell, Count of Barcelona
relation father
type common name
['Barcelona', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Ramon_Borrell,_Count_of_Barcelona property:father ?x . ?x rdf:type ontology:common_name }
[]
common name
Q509228
SYSTEM
Borrell II, Count of Barcelona
Q509228
(Q1492,P22,c(Q502895))
action filter_type
action find
entity Q953213
relation P22
type Q502895
[ANSWER] was the father of that one
['Q1492', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q953213 property:P22 ?x . ?x rdf:type ontology:Q502895 }
Borrell II, Count of Barcelona
Borrell II, Count of Barcelona was the father of that one
Borrell II, Count of Barcelona
action filter_type
action find
entity Ramon Borrell, Count of Barcelona
relation father
type common name
['Barcelona', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Ramon_Borrell,_Count_of_Barcelona property:father ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q953213
P26
Q502895
USER
Which person is the life partner of Ramon Borrell, Count of Barcelona ?
(c(Q502895),P26,Q953213)
action filter_type
action find
entity Q953213
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q953213']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q953213 property:P26 ?s }
Ramon Borrell, Count of Barcelona
action filter_type
action find
entity Ramon Borrell, Count of Barcelona
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ramon Borrell, Count of Barcelona']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Ramon_Borrell,_Count_of_Barcelona property:spouse ?s }
[]
common name
Q117846
SYSTEM
Ermesinde of Carcassonne
Q117846
(c(Q502895),P26,Q953213)
action filter_type
action find
entity Q953213
relation P26
type Q502895
[ANSWER] is the life partner of Ramon Borrell, Count of Barcelona
[{'concept': 'Q502895'}, 'P26', 'Q953213']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q953213 property:P26 ?s }
Ermesinde of Carcassonne
Ermesinde of Carcassonne is the life partner of Ramon Borrell, Count of Barcelona
Ermesinde of Carcassonne
action filter_type
action find
entity Ramon Borrell, Count of Barcelona
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ramon Borrell, Count of Barcelona']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Ramon_Borrell,_Count_of_Barcelona property:spouse ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q117846
P7
Q502895
USER
Which people are the brothers of that one ?
(Q117846,P7,c(Q502895))
action filter_type
action find
entity Q117846
relation P7
type Q502895
['Q117846', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q117846 property:P7 ?q . ?q rdf:type ontology:Q502895 }
Ermesinde of Carcassonne
action filter_type
action find
entity Ermesinde of Carcassonne
relation brother
type common name
['Ermesinde of Carcassonne', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Ermesinde_of_Carcassonne property:brother ?q . ?q rdf:type ontology:common_name }
[]
common name
Q726882 Q1693672 Q17300697
SYSTEM
Bernard-Roger, Count of Bigorre, Raimund I. Roger, Pere de Carcassona
Q726882 Q1693672 Q17300697
(Q117846,P7,c(Q502895))
action filter_type
action find
entity Q117846
relation P7
type Q502895
[ANSWERS] are the brothers of that one
['Q117846', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q117846 property:P7 ?q . ?q rdf:type ontology:Q502895 }
Bernard-Roger, Count of Bigorre Raimund I. Roger Pere de Carcassona
Bernard-Roger, Count of Bigorre, Raimund I. Roger and Pere de Carcassona are the brothers of that one
Bernard-Roger, Count of Bigorre Raimund I. Roger Pere de Carcassona
action filter_type
action find
entity Ermesinde of Carcassonne
relation brother
type common name
['Ermesinde of Carcassonne', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Ermesinde_of_Carcassonne property:brother ?q . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P110
Q502895 Q2342494 Q571
USER
Which people did the illustration of exactly 15 collectables and books ?
(c(Q2342494)|c(Q571),P110,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
value 15
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:P110 ?j . ?j rdf:type ontology:Q502895 . ?i rdf:type ontology:Q571 } UNION { ?i property:P110 ?j . ?j rdf:type ontology:Q502895 . ?i rdf:type ontology:Q2342494 } } GROUP BY ?j } . FILTER ( ?x = 15 ) }
action equal
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action find_reverse_tuple_counts
relation illustrator
type common name
type book
value 15
[[{'concept': 'collectable'}, {'concept': 'book'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:illustrator ?j . ?j rdf:type ontology:common_name . ?i rdf:type ontology:book } UNION { ?i property:illustrator ?j . ?j rdf:type ontology:common_name . ?i rdf:type ontology:collectable } } GROUP BY ?j } . FILTER ( ?x = 15 ) }
[]
common name collectable book
Q6104584 Q841310
SYSTEM
J. Allen St. John, Garth Williams
Q6104584 Q841310
(c(Q2342494)|c(Q571),P110,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
value 15
[ANSWERS] did the illustration of exactly 15 collectables and books
[[{'concept': 'Q2342494'}, {'concept': 'Q571'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:P110 ?j . ?j rdf:type ontology:Q502895 . ?i rdf:type ontology:Q571 } UNION { ?i property:P110 ?j . ?j rdf:type ontology:Q502895 . ?i rdf:type ontology:Q2342494 } } GROUP BY ?j } . FILTER ( ?x = 15 ) }
J. Allen St. John Garth Williams
J. Allen St. John and Garth Williams did the illustration of exactly 15 collectables and books
J. Allen St. John Garth Williams
action equal
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type collectable
action find_reverse_tuple_counts
relation illustrator
type common name
type book
value 15
[[{'concept': 'collectable'}, {'concept': 'book'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:illustrator ?j . ?j rdf:type ontology:common_name . ?i rdf:type ontology:book } UNION { ?i property:illustrator ?j . ?j rdf:type ontology:common_name . ?i rdf:type ontology:collectable } } GROUP BY ?j } . FILTER ( ?x = 15 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q263241
P941
Q502895 Q95074 Q6619679
USER
Which people were more number of fictional characters and fictional humanoids inspired by than Mary Wickes ?
(c(Q95074)|c(Q6619679),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q263241
relation P941
type Q95074
type Q6619679
[[{'concept': 'Q95074'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:P941 ?j . ?j rdf:type ontology:Q502895 . ?a rdf:type ontology:Q95074 } UNION { ?a property:P941 ?j . ?j rdf:type ontology:Q502895 . ?a rdf:type ontology:Q6619679 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P941 resource:Q263241 . { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } } } } . FILTER ( ?s > ?v ) }
Mary Wickes
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Mary Wickes
relation inspired by
type fictional character
type fictional humanoid
[[{'concept': 'fictional character'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:inspired_by ?j . ?j rdf:type ontology:common_name . ?a rdf:type ontology:fictional_character } UNION { ?a property:inspired_by ?j . ?j rdf:type ontology:common_name . ?a rdf:type ontology:fictional_humanoid } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:inspired_by resource:Mary_Wickes . { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } } } } . FILTER ( ?s > ?v ) }
[]
common name fictional character fictional humanoid
Q42786 Q2617543 Q458779
SYSTEM
Audrey Hepburn, Marge Champion, Kathryn Beaumont
Q3481979 Q456270 Q42786 Q2617543 Q458779 Q2402882
(c(Q95074)|c(Q6619679),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q263241
relation P941
type Q95074
type Q6619679
[ANSWERS] were more number of fictional characters and fictional humanoids inspired by than Mary Wickes
[[{'concept': 'Q95074'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:P941 ?j . ?j rdf:type ontology:Q502895 . ?a rdf:type ontology:Q95074 } UNION { ?a property:P941 ?j . ?j rdf:type ontology:Q502895 . ?a rdf:type ontology:Q6619679 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P941 resource:Q263241 . { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } } } } . FILTER ( ?s > ?v ) }
Sherri Stoner Eleanor Audley Audrey Hepburn Marge Champion Kathryn Beaumont Helene Stanley
Audrey Hepburn, Marge Champion and Kathryn Beaumont were more number of fictional characters and fictional humanoids inspired by than Mary Wickes
Audrey Hepburn Marge Champion Kathryn Beaumont
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Mary Wickes
relation inspired by
type fictional character
type fictional humanoid
[[{'concept': 'fictional character'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?s ) WHERE { { ?a property:inspired_by ?j . ?j rdf:type ontology:common_name . ?a rdf:type ontology:fictional_character } UNION { ?a property:inspired_by ?j . ?j rdf:type ontology:common_name . ?a rdf:type ontology:fictional_humanoid } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:inspired_by resource:Mary_Wickes . { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } } } } . FILTER ( ?s > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q528428
P941
Q502895 Q95074 Q6619679
USER
And how about Douglas Fairbanks Jr?
(c(Q95074)|c(Q6619679),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q528428
relation P941
type Q95074
type Q6619679
[[{'concept': 'Q95074'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?s ) { ( ontology:Q95074 ) ( ontology:Q6619679 ) } . ?i rdf:type ?s } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { VALUES ( ?z ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } . ?g rdf:type ?z } . ?g property:P941 resource:Q528428 } } . FILTER ( ?j > ?q ) }
Douglas Fairbanks Jr
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Douglas Fairbanks Jr
relation inspired by
type fictional character
type fictional humanoid
[[{'concept': 'fictional character'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?s ) { ( ontology:fictional_character ) ( ontology:fictional_humanoid ) } . ?i rdf:type ?s } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { VALUES ( ?z ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } . ?g rdf:type ?z } . ?g property:inspired_by resource:Douglas_Fairbanks_Jr } } . FILTER ( ?j > ?q ) }
[]
common name fictional character fictional humanoid
Q42786 Q2617543 Q458779
SYSTEM
Audrey Hepburn, Marge Champion, Kathryn Beaumont
Q3481979 Q456270 Q42786 Q2617543 Q458779 Q2402882
(c(Q95074)|c(Q6619679),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
action find_reverse_tuple_counts
relation P941
type Q502895
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q528428
relation P941
type Q95074
type Q6619679
[ANSWERS]
[[{'concept': 'Q95074'}, {'concept': 'Q6619679'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?s ) { ( ontology:Q95074 ) ( ontology:Q6619679 ) } . ?i rdf:type ?s } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { VALUES ( ?z ) { ( ontology:Q6619679 ) ( ontology:Q95074 ) } . ?g rdf:type ?z } . ?g property:P941 resource:Q528428 } } . FILTER ( ?j > ?q ) }
Sherri Stoner Eleanor Audley Audrey Hepburn Marge Champion Kathryn Beaumont Helene Stanley
Audrey Hepburn Marge Champion Kathryn Beaumont
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Douglas Fairbanks Jr
relation inspired by
type fictional character
type fictional humanoid
[[{'concept': 'fictional character'}, {'concept': 'fictional humanoid'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?j ) WHERE { VALUES ( ?s ) { ( ontology:fictional_character ) ( ontology:fictional_humanoid ) } . ?i rdf:type ?s } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { VALUES ( ?z ) { ( ontology:fictional_humanoid ) ( ontology:fictional_character ) } . ?g rdf:type ?z } . ?g property:inspired_by resource:Douglas_Fairbanks_Jr } } . FILTER ( ?j > ?q ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q42786 Q2617543 Q458779
P161
Q838948
USER
Which works of art have Audrey Hepburn, Marge Champion and Kathryn Beaumont as actor ?
(c(Q838948),P161,Q42786) (c(Q838948),P161,Q2617543) (c(Q838948),P161,Q458779)
action union
action filter_type
action find_reverse
entity Q42786
relation P161
type Q838948
action filter_type
action find_reverse
entity Q2617543
relation P161
type Q838948
action filter_type
action find_reverse
entity Q458779
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q42786'] [{'concept': 'Q838948'}, 'P161', 'Q2617543'] [{'concept': 'Q838948'}, 'P161', 'Q458779']
SELECT DISTINCT ?i WHERE { ?i property:P161 ?d . VALUES ( ?d ) { ( resource:Q42786 ) ( resource:Q2617543 ) } }
Audrey Hepburn Marge Champion Kathryn Beaumont
action union
action filter_type
action find_reverse
entity Audrey Hepburn
relation cast member
type work of art
action filter_type
action find_reverse
entity Marge Champion
relation cast member
type work of art
action filter_type
action find_reverse
entity Kathryn Beaumont
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Audrey Hepburn'] [{'concept': 'work of art'}, 'cast member', 'Marge Champion'] [{'concept': 'work of art'}, 'cast member', 'Kathryn Beaumont']
SELECT DISTINCT ?i WHERE { ?i property:cast_member ?d . VALUES ( ?d ) { ( resource:Audrey_Hepburn ) ( resource:Marge_Champion ) } }
[]
work of art
Q3828661 Q1998730 Q201215
SYSTEM
The Love Goddesses, A Century of Cinema, My Fair Lady
Q8870066 Q201215 Q201293 Q152493 Q5493376 Q466014 Q232170 Q3828661 Q449743 Q643811 Q1106157 Q2263399 Q1631601 Q1187023 Q1923017 Q1768311 Q1102739 Q2275081 Q781608 Q658847 Q2272122 Q2524411 Q496266 Q1102264 Q147068 Q2453599 Q630855 Q1168531 Q930071 Q193066 Q5418010 Q2056799 Q1196815 Q3567639 Q3855991 Q1998730 Q6692304 Q2481791 Q2556456 Q577407 Q1198665 Q3015588
(c(Q838948),P161,Q42786) (c(Q838948),P161,Q2617543) (c(Q838948),P161,Q458779)
action union
action filter_type
action find_reverse
entity Q42786
relation P161
type Q838948
action filter_type
action find_reverse
entity Q2617543
relation P161
type Q838948
action filter_type
action find_reverse
entity Q458779
relation P161
type Q838948
[ANSWERS] have Audrey Hepburn, Marge Champion and Kathryn Beaumont as actor
[{'concept': 'Q838948'}, 'P161', 'Q42786'] [{'concept': 'Q838948'}, 'P161', 'Q2617543'] [{'concept': 'Q838948'}, 'P161', 'Q458779']
SELECT DISTINCT ?i WHERE { ?i property:P161 ?d . VALUES ( ?d ) { ( resource:Q42786 ) ( resource:Q2617543 ) } }
We Will All Go to Monte Carlo My Fair Lady Roman Holiday Sabrina Wait Until Dark The Children's Hour Two for the Road The Love Goddesses Always War and Peace The Secret People Laughter in Paradise One Wild Oat The Unforgiven Green Mansions Bloodline Mayerling Paris When It Sizzles The Nun's Story How to Steal a Million Dutch in Seven Lessons Monte Carlo Baby Charade Young Wives' Tale Funny Face They All Laughed Love in the Afternoon The Lavender Hill Mob Robin and Marian Breakfast at Tiffany's Everything I Have Is Yours Give a Girl a Break The Swimmer What a Life Three for the Show A Century of Cinema Lovely to Look At Jupiter's Darling Show Boat The Party The Secret Garden On an Island with You
The Love Goddesses, A Century of Cinema and My Fair Lady have Audrey Hepburn, Marge Champion and Kathryn Beaumont as actor
The Love Goddesses A Century of Cinema My Fair Lady
action union
action filter_type
action find_reverse
entity Audrey Hepburn
relation cast member
type work of art
action filter_type
action find_reverse
entity Marge Champion
relation cast member
type work of art
action filter_type
action find_reverse
entity Kathryn Beaumont
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Audrey Hepburn'] [{'concept': 'work of art'}, 'cast member', 'Marge Champion'] [{'concept': 'work of art'}, 'cast member', 'Kathryn Beaumont']
SELECT DISTINCT ?i WHERE { ?i property:cast_member ?d . VALUES ( ?d ) { ( resource:Audrey_Hepburn ) ( resource:Marge_Champion ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3828661 Q1998730 Q201215
P57
Q502895
USER
Who directed The Love Goddesses, A Century of Cinema and My Fair Lady ?
(Q3828661,P57,c(Q502895)) (Q1998730,P57,c(Q502895)) (Q201215,P57,c(Q502895))
action union
action filter_type
action find
entity Q3828661
relation P57
type Q502895
action filter_type
action find
entity Q1998730
relation P57
type Q502895
action filter_type
action find
entity Q201215
relation P57
type Q502895
['Q3828661', 'P57', {'concept': 'Q502895'}] ['Q1998730', 'P57', {'concept': 'Q502895'}] ['Q201215', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { resource:Q1998730 property:P57 ?i . ?i rdf:type ontology:Q502895 } UNION { resource:Q3828661 property:P57 ?i . ?i rdf:type ontology:Q502895 } }
The Love Goddesses A Century of Cinema My Fair Lady
action union
action filter_type
action find
entity The Love Goddesses
relation director
type common name
action filter_type
action find
entity A Century of Cinema
relation director
type common name
action filter_type
action find
entity My Fair Lady
relation director
type common name
['The Love Goddesses', 'director', {'concept': 'common name'}] ['A Century of Cinema', 'director', {'concept': 'common name'}] ['My Fair Lady', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { resource:A_Century_of_Cinema property:director ?i . ?i rdf:type ontology:common_name } UNION { resource:The_Love_Goddesses property:director ?i . ?i rdf:type ontology:common_name } }
[]
common name
Q7427307 Q5045236 Q56014
SYSTEM
Saul J. Turell, Caroline Thomas, George Cukor
Q7427307 Q5045236 Q56014
(Q3828661,P57,c(Q502895)) (Q1998730,P57,c(Q502895)) (Q201215,P57,c(Q502895))
action union
action filter_type
action find
entity Q3828661
relation P57
type Q502895
action filter_type
action find
entity Q1998730
relation P57
type Q502895
action filter_type
action find
entity Q201215
relation P57
type Q502895
[ANSWERS] directed The Love Goddesses, A Century of Cinema and My Fair Lady
['Q3828661', 'P57', {'concept': 'Q502895'}] ['Q1998730', 'P57', {'concept': 'Q502895'}] ['Q201215', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { resource:Q1998730 property:P57 ?i . ?i rdf:type ontology:Q502895 } UNION { resource:Q3828661 property:P57 ?i . ?i rdf:type ontology:Q502895 } }
Saul J. Turell Caroline Thomas George Cukor
Saul J. Turell, Caroline Thomas and George Cukor directed The Love Goddesses, A Century of Cinema and My Fair Lady
Saul J. Turell Caroline Thomas George Cukor
action union
action filter_type
action find
entity The Love Goddesses
relation director
type common name
action filter_type
action find
entity A Century of Cinema
relation director
type common name
action filter_type
action find
entity My Fair Lady
relation director
type common name
['The Love Goddesses', 'director', {'concept': 'common name'}] ['A Century of Cinema', 'director', {'concept': 'common name'}] ['My Fair Lady', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { resource:A_Century_of_Cinema property:director ?i . ?i rdf:type ontology:common_name } UNION { resource:The_Love_Goddesses property:director ?i . ?i rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q56014
P1346
Q618779
USER
Where was that person decalred as a victor ?
(c(Q618779),P1346,Q56014)
action filter_type
action find_reverse
entity Q56014
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q56014']
SELECT DISTINCT ?c WHERE { ?c property:P1346 resource:Q56014 . ?c rdf:type ontology:Q618779 }
George Cukor
action filter_type
action find_reverse
entity George Cukor
relation winner
type award
[{'concept': 'award'}, 'winner', 'George Cukor']
SELECT DISTINCT ?c WHERE { ?c property:winner resource:George_Cukor . ?c rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q7427307
SYSTEM
Did you mean Saul J. Turell ?
Q7427307 Q5045236 Q56014
(c(Q618779),P1346,Q7427307) (c(Q618779),P1346,Q5045236) (c(Q618779),P1346,Q56014)
[ANSWER]
[{'concept': 'Q618779'}, 'P1346', 'Q7427307'] [{'concept': 'Q618779'}, 'P1346', 'Q5045236'] [{'concept': 'Q618779'}, 'P1346', 'Q56014']
SELECT DISTINCT ?c WHERE { ?c property:P1346 resource:Q56014 . ?c rdf:type ontology:Q618779 }
Saul J. Turell Caroline Thomas George Cukor
Did you mean Saul J. Turell ?
Saul J. Turell
[{'concept': 'award'}, 'winner', 'Saul J. Turell'] [{'concept': 'award'}, 'winner', 'Caroline Thomas'] [{'concept': 'award'}, 'winner', 'George Cukor']
SELECT DISTINCT ?c WHERE { ?c property:winner resource:George_Cukor . ?c rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
No, I meant George Cukor. Could you tell me the answer for that?
(c(Q618779),P1346,Q56014)
Q56014
[{'concept': 'Q618779'}, 'P1346', 'Q56014']
[{'concept': 'award'}, 'winner', 'George Cukor']
[]
Q5280675
SYSTEM
Directors Guild of America Award for Outstanding Directing – Feature Film
Q5280675
(c(Q618779),P1346,Q56014)
action filter_type
action find_reverse
entity Q56014
relation P1346
type Q618779
That person was decalred as a victor [ANSWER]
[{'concept': 'Q618779'}, 'P1346', 'Q56014']
SELECT DISTINCT ?c WHERE { ?c property:P1346 resource:Q56014 . ?c rdf:type ontology:Q618779 }
Directors Guild of America Award for Outstanding Directing – Feature Film
That person was decalred as a victor Directors Guild of America Award for Outstanding Directing – Feature Film
Directors Guild of America Award for Outstanding Directing – Feature Film
action filter_type
action find_reverse
entity George Cukor
relation winner
type award
[{'concept': 'award'}, 'winner', 'George Cukor']
SELECT DISTINCT ?c WHERE { ?c property:winner resource:George_Cukor . ?c rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q726882
P9
Q502895
USER
Who is the sibling of Bernard-Roger, Count of Bigorre ?
(Q726882,P9,c(Q502895))
action filter_type
action find
entity Q726882
relation P9
type Q502895
['Q726882', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q726882 property:P9 ?r . ?r rdf:type ontology:Q502895 }
Bernard-Roger, Count of Bigorre
action filter_type
action find
entity Bernard-Roger, Count of Bigorre
relation sister
type common name
['Bernard-Roger, Count of Bigorre', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Bernard-Roger,_Count_of_Bigorre property:sister ?r . ?r rdf:type ontology:common_name }
[]
common name
Q117846
SYSTEM
Ermesinde of Carcassonne
Q117846
(Q726882,P9,c(Q502895))
action filter_type
action find
entity Q726882
relation P9
type Q502895
The sibling of Bernard-Roger , Count of Bigorre is married [ANSWER]
['Q726882', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q726882 property:P9 ?r . ?r rdf:type ontology:Q502895 }
Ermesinde of Carcassonne
The sibling of Bernard-Roger , Count of Bigorre is married Ermesinde of Carcassonne
Ermesinde of Carcassonne
action filter_type
action find
entity Bernard-Roger, Count of Bigorre
relation sister
type common name
['Bernard-Roger, Count of Bigorre', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Bernard-Roger,_Count_of_Bigorre property:sister ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q726882
P21
Q290
USER
What is the sex of Bernard-Roger, Count of Bigorre ?
(Q726882,P21,c(Q290))
action filter_type
action find
entity Q726882
relation P21
type Q290
['Q726882', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q726882 property:P21 ?s . ?s rdf:type ontology:Q290 }
Bernard-Roger, Count of Bigorre
action filter_type
action find
entity Bernard-Roger, Count of Bigorre
relation gender
type sex
['Bernard-Roger, Count of Bigorre', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Bernard-Roger,_Count_of_Bigorre property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q726882,P21,c(Q290))
action filter_type
action find
entity Q726882
relation P21
type Q290
The sex of Bernard-Roger , Count of Bigorre is the [ANSWER]
['Q726882', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q726882 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
The sex of Bernard-Roger , Count of Bigorre is the male
male
action filter_type
action find
entity Bernard-Roger, Count of Bigorre
relation gender
type sex
['Bernard-Roger, Count of Bigorre', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Bernard-Roger,_Count_of_Bigorre property:gender ?s . ?s rdf:type ontology:sex }
[]