Simple Question (Direct)
Simple Question
Q3427154
P27
Q15617994
USER
Which administrative territory is Renée Le Calm an inhabitant of ?
(Q3427154,P27,c(Q15617994))
action filter_type
action find
entity Q3427154
relation P27
type Q15617994
['Q3427154', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q3427154 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Renée Le Calm
action filter_type
action find
entity Renée Le Calm
relation country of citizenship
type designation for an administrative territorial entity
['Renée Le Calm', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Renée_Le_Calm property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3427154,P27,c(Q15617994))
action filter_type
action find
entity Q3427154
relation P27
type Q15617994
[ANSWER] is Renée Le Calm an inhabitant of
['Q3427154', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q3427154 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
France
France is Renée Le Calm an inhabitant of
France
action filter_type
action find
entity Renée Le Calm
relation country of citizenship
type designation for an administrative territorial entity
['Renée Le Calm', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Renée_Le_Calm property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3427154
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q142)
action filter_type
action find_reverse
entity Q3427154
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q142']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q3427154 . ?r rdf:type ontology:Q838948 }
Renée Le Calm
action filter_type
action find_reverse
entity Renée Le Calm
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'France']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Renée_Le_Calm . ?r rdf:type ontology:work_of_art }
[]
work of art
Q3517386 Q1451948 Q2308797
SYSTEM
Tellement proches, Paris, When the Cat's Away
Q2827787 Q1451948 Q2282109 Q3517386 Q1131044 Q2308797
(c(Q838948),P161,Q142)
action filter_type
action find_reverse
entity Q3427154
relation P161
type Q838948
[ANSWERS] star that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q142']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q3427154 . ?r rdf:type ontology:Q838948 }
With a Little Help from Myself Paris Je Vous Trouve Très Beau Tellement proches The Merry Widow When the Cat's Away
Tellement proches, Paris and When the Cat's Away star that person as actor
Tellement proches Paris When the Cat's Away
action filter_type
action find_reverse
entity Renée Le Calm
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'France']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Renée_Le_Calm . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3517386 Q1451948 Q2308797
P495
Q15617994
USER
Where did Tellement proches, Paris and When the Cat's Away originate ?
(Q3517386,P495,c(Q15617994)) (Q1451948,P495,c(Q15617994)) (Q2308797,P495,c(Q15617994))
action union
action filter_type
action find
entity Q3517386
relation P495
type Q15617994
action filter_type
action find
entity Q1451948
relation P495
type Q15617994
action filter_type
action find
entity Q2308797
relation P495
type Q15617994
['Q3517386', 'P495', {'concept': 'Q15617994'}] ['Q1451948', 'P495', {'concept': 'Q15617994'}] ['Q2308797', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?t property:P495 ?c . VALUES ( ?t ) { ( resource:Q1451948 ) ( resource:Q3517386 ) } }
Tellement proches Paris When the Cat's Away
action union
action filter_type
action find
entity Tellement proches
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Paris
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity When the Cat's Away
relation country of origin
type designation for an administrative territorial entity
['Tellement proches', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Paris', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["When the Cat's Away", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?t property:country_of_origin ?c . VALUES ( ?t ) { ( resource:Paris ) ( resource:Tellement_proches ) } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q3517386,P495,c(Q15617994)) (Q1451948,P495,c(Q15617994)) (Q2308797,P495,c(Q15617994))
action union
action filter_type
action find
entity Q3517386
relation P495
type Q15617994
action filter_type
action find
entity Q1451948
relation P495
type Q15617994
action filter_type
action find
entity Q2308797
relation P495
type Q15617994
Tellement proched de [ANSWER], [ANSWER] and [ANSWER] , Paris
['Q3517386', 'P495', {'concept': 'Q15617994'}] ['Q1451948', 'P495', {'concept': 'Q15617994'}] ['Q2308797', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?t property:P495 ?c . VALUES ( ?t ) { ( resource:Q1451948 ) ( resource:Q3517386 ) } }
France France France
Tellement proched de France, France and France , Paris
France France France
action union
action filter_type
action find
entity Tellement proches
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Paris
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity When the Cat's Away
relation country of origin
type designation for an administrative territorial entity
['Tellement proches', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Paris', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["When the Cat's Away", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?t property:country_of_origin ?c . VALUES ( ?t ) { ( resource:Paris ) ( resource:Tellement_proches ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3427154
P106
Q12737077
USER
What does Renée Le Calm do for a living ?
(Q3427154,P106,c(Q12737077))
action filter_type
action find
entity Q3427154
relation P106
type Q12737077
['Q3427154', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q3427154 property:P106 ?i }
Renée Le Calm
action filter_type
action find
entity Renée Le Calm
relation occupation
type occupation
['Renée Le Calm', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Renée_Le_Calm property:occupation ?i }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q3427154,P106,c(Q12737077))
action filter_type
action find
entity Q3427154
relation P106
type Q12737077
[ANSWER] Renée Le Calm does for a living
['Q3427154', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q3427154 property:P106 ?i }
actor
Actor Renée Le Calm does for a living
actor
action filter_type
action find
entity Renée Le Calm
relation occupation
type occupation
['Renée Le Calm', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Renée_Le_Calm property:occupation ?i }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3427154
Q28640
USER
And which profession?
(Q3427154,P106,c(Q28640))
action filter_type
action find
entity Q3427154
relation P106
type Q28640
['Q3427154', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q28640 . resource:Q3427154 property:P106 ?y }
Renée Le Calm
action filter_type
action find
entity Renée Le Calm
relation occupation
type profession
['Renée Le Calm', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:profession . resource:Renée_Le_Calm property:occupation ?y }
[]
profession
Q10800557
SYSTEM
film actor
Q10800557
(Q3427154,P106,c(Q28640))
action filter_type
action find
entity Q3427154
relation P106
type Q28640
[ANSWER]
['Q3427154', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q28640 . resource:Q3427154 property:P106 ?y }
film actor
film actor
action filter_type
action find
entity Renée Le Calm
relation occupation
type profession
['Renée Le Calm', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:profession . resource:Renée_Le_Calm property:occupation ?y }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q755171 Q2308797
P161
Q502895
USER
Which people starred in When the Cat's Away or The Young Victoria ?
OR((Q2308797,P161,c(Q502895)), (Q755171,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2308797
relation P161
action find
entity Q755171
relation P161
type Q502895
{'OR': [['Q2308797', 'P161', {'concept': 'Q502895'}], ['Q755171', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q755171 property:P161 ?k } UNION { resource:Q2308797 property:P161 ?k } } . ?k rdf:type ontology:Q502895 }
The Young Victoria When the Cat's Away
action filter_type
action union
action find
entity When the Cat's Away
relation cast member
action find
entity The Young Victoria
relation cast member
type common name
{'OR': [["When the Cat's Away", 'cast member', {'concept': 'common name'}], ['The Young Victoria', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:The_Young_Victoria property:cast_member ?k } UNION { resource:When_the_Cat's_Away property:cast_member ?k } } . ?k rdf:type ontology:common_name }
[]
common name
Q939089 Q861490 Q229241 Q441272 Q438161 Q462147 Q1758568 Q242707 Q440967 Q225531
SYSTEM
Some of them are Francis Renaud, Michael Maloney, Miranda Richardson, Romain Duris, Genevieve O'Reilly, Hélène de Fougerolles, Antoine Chappey, Paul Bettany, Marine Delterme, Olivier Py
Q441272 Q438161 Q3272811 Q314659 Q462147 Q440967 Q1758568 Q499644 Q6279659 Q530997 Q57614 Q185079 Q3157743 Q3427154 Q193517 Q165657 Q2997000 Q3187368 Q242707 Q225531 Q2848938 Q229241 Q2491464 Q3293096 Q2262485 Q271177 Q518474 Q453313 Q1255329 Q204394 Q177993 Q2871975 Q2934960 Q125426 Q312712 Q3591351 Q861490 Q939089 Q3293174
OR((Q2308797,P161,c(Q502895)), (Q755171,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2308797
relation P161
action find
entity Q755171
relation P161
type Q502895
[ANSWERS] starred in When the Cat's Away or The Young Victoria
{'OR': [['Q2308797', 'P161', {'concept': 'Q502895'}], ['Q755171', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q755171 property:P161 ?k } UNION { resource:Q2308797 property:P161 ?k } } . ?k rdf:type ontology:Q502895 }
Romain Duris Genevieve O'Reilly MC Jean Gab'1 Rupert Friend Hélène de Fougerolles Marine Delterme Antoine Chappey Julian Glover Josef Altin Jesper Christensen Thomas Kretschmann Jim Broadbent Jacqueline Jehanneuf Renée Le Calm Emily Blunt Princess Beatrice of York Coraly Zahonero Joël Brisse Paul Bettany Olivier Py Andrée Damant Miranda Richardson David Robb Marilyne Canto Michiel Huisman Harriet Walter Garance Clavel Rachael Stirling Simon Abkarian Zinedine Soualem Hiam Abbass Aurélia Petit Camille Japy Jeanette Hain Mark Strong Éric Savin Michael Maloney Francis Renaud Marina Tomé
Francis Renaud, Michael Maloney, Miranda Richardson, Romain Duris, Genevieve O'Reilly, Hélène de Fougerolles, Antoine Chappey, Paul Bettany, Marine Delterme and Olivier Py starred in When the Cat's Away or The Young Victoria
Francis Renaud Michael Maloney Miranda Richardson Romain Duris Genevieve O'Reilly Hélène de Fougerolles Antoine Chappey Paul Bettany Marine Delterme Olivier Py
action filter_type
action union
action find
entity When the Cat's Away
relation cast member
action find
entity The Young Victoria
relation cast member
type common name
{'OR': [["When the Cat's Away", 'cast member', {'concept': 'common name'}], ['The Young Victoria', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?k WHERE { { { resource:The_Young_Victoria property:cast_member ?k } UNION { resource:When_the_Cat's_Away property:cast_member ?k } } . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q3305213 Q386724
USER
Which works of art are depicted in min number of paintings and works ?
(c(Q3305213)|c(Q386724),P180,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?w WHERE { { ?f property:P180 ?w . ?w rdf:type ontology:Q838948 . ?f rdf:type ontology:Q386724 } UNION { ?f property:P180 ?w . ?f rdf:type ontology:Q3305213 . ?w rdf:type ontology:Q838948 } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?u WHERE { VALUES ( ?x ) { ( ontology:Q3305213 ) ( ontology:Q386724 ) } . ?g rdf:type ?x } GROUP BY ?u } . FILTER ( ?n = ?y ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type work
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?w WHERE { { ?f property:depicts ?w . ?w rdf:type ontology:work_of_art . ?f rdf:type ontology:work } UNION { ?f property:depicts ?w . ?f rdf:type ontology:painting . ?w rdf:type ontology:work_of_art } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?u WHERE { VALUES ( ?x ) { ( ontology:painting ) ( ontology:work ) } . ?g rdf:type ?x } GROUP BY ?u } . FILTER ( ?n = ?y ) }
[]
work of art painting work
Q17305020 Q734834 Q465762
SYSTEM
Tanagra, Ghent Altarpiece, Laocoön and His Sons
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q143912 Q846870 Q21375954 Q1519294 Q27478544 Q766487 Q232042 Q27462703 Q215194 Q3545179 Q46847 Q221211 Q2439030 Q23770419 Q170980 Q333009 Q750209 Q1064990 Q19969041 Q734834 Q3015661 Q473237 Q3497617 Q20631770 Q267971 Q2535008 Q17172602 Q324926 Q93184 Q177600 Q3013723 Q221323 Q2551806 Q2111434 Q1230963 Q185382 Q11060274 Q3424549 Q9764 Q1395302 Q179900 Q826635 Q2070542 Q733893 Q185392 Q619135 Q294001 Q848790 Q3731233 Q17275826 Q476968 Q17305020 Q280336 Q652011 Q16332506 Q2963060 Q907387 Q18177089 Q3143107 Q374591 Q959962 Q6555477 Q125191 Q130958 Q203443 Q201022 Q774967 Q945850 Q216185 Q79218 Q1989744 Q465762 Q492461 Q7539835 Q745783 Q1349065 Q397447 Q3918710 Q599302 Q208440 Q1192229 Q21743265
(c(Q3305213)|c(Q386724),P180,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
[ANSWERS] are depicted in min number of paintings and works
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?w WHERE { { ?f property:P180 ?w . ?w rdf:type ontology:Q838948 . ?f rdf:type ontology:Q386724 } UNION { ?f property:P180 ?w . ?f rdf:type ontology:Q3305213 . ?w rdf:type ontology:Q838948 } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?u WHERE { VALUES ( ?x ) { ( ontology:Q3305213 ) ( ontology:Q386724 ) } . ?g rdf:type ?x } GROUP BY ?u } . FILTER ( ?n = ?y ) }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme triumphal arch Prometheus Bound Allegory of the city of Paris lagynos Silenus holding the child Dionysos David The Two Gentlemen of Verona Satyr playing flute gargoyle Rape of the Sabine Women ring Twelfth Night St. Peter's Baldacchino Bear Hunter obelisk can-can Colossi of Memnon Monument aux Girondins Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of Joan of Arc equestrian statue of George Washington Triton Fountain Neptune and Triton monumental cross fibula drawing stick figure The Railrodder golden calf Belvedere Torso pendant Under Western Stars Trevi Fountain print Frederik V on Horseback flamenco One True Thing David Elephant and Obelisk Hermes Chair of Saint Peter Borghese Gladiator Apollo Belvedere Oedipus at Colonus Dying Gaul Heracles and Nessus Portrait of Rembrandt with a gorget krater Tanagra partner dance Richard III Ploughman Marly horses Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Humains Farnese Hercules diagram Lion of Venice photograph The Great Sphinx headstone folk dance Venus de' Medici Apollo and Daphne Charing Cross triptych Moses Laocoön and His Sons kalathos Sleeping Ariadne hydria Passion play torc Wrestlers Column of Antoninus Pius chess piece The Original Sin Torso in Metal from Rock Drill
Tanagra, Ghent Altarpiece and Laocoön and His Sons are depicted in min number of paintings and works
Tanagra Ghent Altarpiece Laocoön and His Sons
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type work
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?y ) { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?w WHERE { { ?f property:depicts ?w . ?w rdf:type ontology:work_of_art . ?f rdf:type ontology:work } UNION { ?f property:depicts ?w . ?f rdf:type ontology:painting . ?w rdf:type ontology:work_of_art } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) ?u WHERE { VALUES ( ?x ) { ( ontology:painting ) ( ontology:work ) } . ?g rdf:type ?x } GROUP BY ?u } . FILTER ( ?n = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q242707 Q3545090
P166
Q618779
USER
How many awards were received by Paul Bettany or Templeton "Faceman" Peck ?
(Q242707,P166,c(Q618779)) (Q3545090,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q242707
relation P166
type Q618779
action filter_type
action find
entity Q3545090
relation P166
type Q618779
['Q242707', 'P166', {'concept': 'Q618779'}] ['Q3545090', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?s ) { ( resource:Q3545090 ) ( resource:Q242707 ) } . ?s property:P166 ?p }
Paul Bettany Templeton "Faceman" Peck
action count
action union
action filter_type
action find
entity Paul Bettany
relation award received
type award
action filter_type
action find
entity Templeton "Faceman" Peck
relation award received
type award
['Paul Bettany', 'award received', {'concept': 'award'}] ['Templeton "Faceman" Peck', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?s ) { ( resource:Templeton_"Faceman"_Peck ) ( resource:Paul_Bettany ) } . ?s property:award_received ?p }
[]
award
SYSTEM
3
Q145752 Q4120734 Q928314
(Q242707,P166,c(Q618779)) (Q3545090,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q242707
relation P166
type Q618779
action filter_type
action find
entity Q3545090
relation P166
type Q618779
[ANSWER]
['Q242707', 'P166', {'concept': 'Q618779'}] ['Q3545090', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?s ) { ( resource:Q3545090 ) ( resource:Q242707 ) } . ?s property:P166 ?p }
Purple Heart Non-Commissioned Officer Professional Development Ribbon Bronze Star Medal
3
action count
action union
action filter_type
action find
entity Paul Bettany
relation award received
type award
action filter_type
action find
entity Templeton "Faceman" Peck
relation award received
type award
['Paul Bettany', 'award received', {'concept': 'award'}] ['Templeton "Faceman" Peck', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?s ) { ( resource:Templeton_"Faceman"_Peck ) ( resource:Paul_Bettany ) } . ?s property:award_received ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q242707
P21
Q290
USER
Which sex does that person belong to ?
action filter_type
action find
entity Q242707
relation P21
type Q290
SELECT DISTINCT ?j WHERE { resource:Q242707 property:P21 ?j . ?j rdf:type ontology:Q290 }
Paul Bettany
action filter_type
action find
entity Paul Bettany
relation gender
type sex
SELECT DISTINCT ?j WHERE { resource:Paul_Bettany property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q242707
relation P21
type Q290
That person belongs to [ANSWER]
SELECT DISTINCT ?j WHERE { resource:Q242707 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Paul Bettany
relation gender
type sex
SELECT DISTINCT ?j WHERE { resource:Paul_Bettany property:gender ?j . ?j rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q242707 Q641740
P21
Q290
USER
How many sexes are the sex of Paul Bettany or Erin Hunter ?
(Q242707,P21,c(Q290)) (Q641740,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q242707
relation P21
type Q290
action filter_type
action find
entity Q641740
relation P21
type Q290
['Q242707', 'P21', {'concept': 'Q290'}] ['Q641740', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?n ) { ( resource:Q242707 ) ( resource:Q641740 ) } . ?n property:P21 ?a }
Paul Bettany Erin Hunter
action count
action union
action filter_type
action find
entity Paul Bettany
relation gender
type sex
action filter_type
action find
entity Erin Hunter
relation gender
type sex
['Paul Bettany', 'gender', {'concept': 'sex'}] ['Erin Hunter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?n ) { ( resource:Paul_Bettany ) ( resource:Erin_Hunter ) } . ?n property:gender ?a }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q242707,P21,c(Q290)) (Q641740,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q242707
relation P21
type Q290
action filter_type
action find
entity Q641740
relation P21
type Q290
[ANSWER]
['Q242707', 'P21', {'concept': 'Q290'}] ['Q641740', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?n ) { ( resource:Q242707 ) ( resource:Q641740 ) } . ?n property:P21 ?a }
male female
2
action count
action union
action filter_type
action find
entity Paul Bettany
relation gender
type sex
action filter_type
action find
entity Erin Hunter
relation gender
type sex
['Paul Bettany', 'gender', {'concept': 'sex'}] ['Erin Hunter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?n ) { ( resource:Paul_Bettany ) ( resource:Erin_Hunter ) } . ?n property:gender ?a }
[]