Simple Question (Direct)
Simple Question
Q9020988
P54
Q847017
USER
Which sports club is Leandro Benega a member of ?
(Q9020988,P54,c(Q847017))
action filter_type
action find
entity Q9020988
relation P54
type Q847017
['Q9020988', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q847017 . resource:Q9020988 property:P54 ?h }
Leandro Benega
action filter_type
action find
entity Leandro Benega
relation member of sports team
type sports club
['Leandro Benega', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sports_club . resource:Leandro_Benega property:member_of_sports_team ?h }
[]
sports club
Q15799
SYSTEM
Club Atlético River Plate
Q15799
(Q9020988,P54,c(Q847017))
action filter_type
action find
entity Q9020988
relation P54
type Q847017
De [ANSWER] is Leandro Benega a member of
['Q9020988', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q847017 . resource:Q9020988 property:P54 ?h }
Club Atlético River Plate
De Club Atlético River Plate is Leandro Benega a member of
Club Atlético River Plate
action filter_type
action find
entity Leandro Benega
relation member of sports team
type sports club
['Leandro Benega', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sports_club . resource:Leandro_Benega property:member_of_sports_team ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9020988
P641
Q349
USER
What was the sport that Leandro Benega was a part of ?
(Q9020988,P641,c(Q349))
action filter_type
action find
entity Q9020988
relation P641
type Q349
['Q9020988', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q9020988 property:P641 ?a . ?a rdf:type ontology:Q349 }
Leandro Benega
action filter_type
action find
entity Leandro Benega
relation sport
type sport
['Leandro Benega', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Leandro_Benega property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q9020988,P641,c(Q349))
action filter_type
action find
entity Q9020988
relation P641
type Q349
The sport that Leandro Benega was a part of was the [ANSWER]
['Q9020988', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q9020988 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
The sport that Leandro Benega was a part of was the association football
association football
action filter_type
action find
entity Leandro Benega
relation sport
type sport
['Leandro Benega', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Leandro_Benega property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9020988
P27
Q15617994
USER
Which administrative territory is Leandro Benega an inhabitant of ?
(Q9020988,P27,c(Q15617994))
action filter_type
action find
entity Q9020988
relation P27
type Q15617994
['Q9020988', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q9020988 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Leandro Benega
action filter_type
action find
entity Leandro Benega
relation country of citizenship
type designation for an administrative territorial entity
['Leandro Benega', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Leandro_Benega property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q9020988,P27,c(Q15617994))
action filter_type
action find
entity Q9020988
relation P27
type Q15617994
[ANSWER] is Leandro Benega an inhabitant of
['Q9020988', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q9020988 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Argentina
Argentina is Leandro Benega an inhabitant of
Argentina
action filter_type
action find
entity Leandro Benega
relation country of citizenship
type designation for an administrative territorial entity
['Leandro Benega', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Leandro_Benega property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9020988
P106
Q12737077
USER
What is the profession of that person ?
(Q414,P106,c(Q12737077))
action filter_type
action find
entity Q9020988
relation P106
type Q12737077
['Q414', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q9020988 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Leandro Benega
action filter_type
action find
entity Leandro Benega
relation occupation
type occupation
['Argentina', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Leandro_Benega property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q414,P106,c(Q12737077))
action filter_type
action find
entity Q9020988
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q414', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q9020988 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Leandro Benega
relation occupation
type occupation
['Argentina', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Leandro_Benega property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P463
Q484652
USER
Which international organizations were Argentina a member of ?
(Q414,P463,c(Q484652))
action filter_type
action find
entity Q414
relation P463
type Q484652
['Q414', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?q WHERE { resource:Q414 property:P463 ?q . ?q rdf:type ontology:Q484652 }
Argentina
action filter_type
action find
entity Argentina
relation member of
type international organization
['Argentina', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?q WHERE { resource:Argentina property:member_of ?q . ?q rdf:type ontology:international_organization }
[]
international organization
Q19771 Q1065 Q190008
SYSTEM
G20, United Nations, Central American Bank for Economic Integration
Q190008 Q4230 Q1065 Q19771 Q471690 Q1043527
(Q414,P463,c(Q484652))
action filter_type
action find
entity Q414
relation P463
type Q484652
[ANSWERS]
['Q414', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?q WHERE { resource:Q414 property:P463 ?q . ?q rdf:type ontology:Q484652 }
Central American Bank for Economic Integration Union of South American Nations United Nations G20 Andean Community of Nations Multilateral Investment Guarantee Agency
Which international organizations were Argentina a member of
G20 United Nations Central American Bank for Economic Integration
action filter_type
action find
entity Argentina
relation member of
type international organization
['Argentina', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?q WHERE { resource:Argentina property:member_of ?q . ?q rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1065 Q16253003
P159
Q56061
USER
How many administrative territories are the head office for United Nations or Hoopla located ?
(Q1065,P159,c(Q56061)) (Q16253003,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q1065
relation P159
type Q56061
action filter_type
action find
entity Q16253003
relation P159
type Q56061
['Q1065', 'P159', {'concept': 'Q56061'}] ['Q16253003', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { resource:Q1065 property:P159 ?j . ?j rdf:type ontology:Q56061 } UNION { resource:Q16253003 property:P159 ?j . ?j rdf:type ontology:Q56061 } }
United Nations Hoopla
action count
action union
action filter_type
action find
entity United Nations
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Hoopla
relation headquarters location
type administrative territorial entity
['United Nations', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Hoopla', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { resource:United_Nations property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity } UNION { resource:Hoopla property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q60 Q1025979
(Q1065,P159,c(Q56061)) (Q16253003,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q1065
relation P159
type Q56061
action filter_type
action find
entity Q16253003
relation P159
type Q56061
[ANSWER]
['Q1065', 'P159', {'concept': 'Q56061'}] ['Q16253003', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { resource:Q1065 property:P159 ?j . ?j rdf:type ontology:Q56061 } UNION { resource:Q16253003 property:P159 ?j . ?j rdf:type ontology:Q56061 } }
New York City Holland
2
action count
action union
action filter_type
action find
entity United Nations
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Hoopla
relation headquarters location
type administrative territorial entity
['United Nations', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Hoopla', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { resource:United_Nations property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity } UNION { resource:Hoopla property:headquarters_location ?j . ?j rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1065
P123
Q2342494
USER
Which collectables were published by that international organization ?
action filter_type
action find_reverse
entity Q1065
relation P123
type Q2342494
SELECT DISTINCT ?l WHERE { ?l property:P123 resource:Q1065 . ?l rdf:type ontology:Q2342494 }
United Nations
action filter_type
action find_reverse
entity United Nations
relation publisher
type collectable
SELECT DISTINCT ?l WHERE { ?l property:publisher resource:United_Nations . ?l rdf:type ontology:collectable }
[]
collectable
Q208571 Q7314125 Q17039564
SYSTEM
Agenda 21, Report of the Secretary-General's Panel of Experts on Accountability in Sri Lanka, UN investigation of chemical weapons use in Ghouta
Q208571 Q7314125 Q17039564
action filter_type
action find_reverse
entity Q1065
relation P123
type Q2342494
[ANSWERS] were published by that international organization
SELECT DISTINCT ?l WHERE { ?l property:P123 resource:Q1065 . ?l rdf:type ontology:Q2342494 }
Agenda 21 Report of the Secretary-General's Panel of Experts on Accountability in Sri Lanka UN investigation of chemical weapons use in Ghouta
Agenda 21, Report of the Secretary-General's Panel of Experts on Accountability in Sri Lanka and UN investigation of chemical weapons use in Ghouta were published by that international organization
Agenda 21 Report of the Secretary-General's Panel of Experts on Accountability in Sri Lanka UN investigation of chemical weapons use in Ghouta
action filter_type
action find_reverse
entity United Nations
relation publisher
type collectable
SELECT DISTINCT ?l WHERE { ?l property:publisher resource:United_Nations . ?l rdf:type ontology:collectable }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q983441
P941
Q502895 Q14514600 Q95074
USER
How many people inspired approximately the same number of groups of fictional characters or fictional characters as Thomas Moran ?
(c(Q14514600)|c(Q95074),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q983441
relation P941
type Q14514600
type Q95074
[[{'concept': 'Q14514600'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?l WHERE { ?j rdf:type ?v . VALUES ( ?v ) { ( ontology:Q14514600 ) ( ontology:Q95074 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P941 resource:Q983441 . { { ?e rdf:type ontology:Q14514600 } UNION { ?e rdf:type ontology:Q95074 } } } } . FILTER ( ?t = ?o ) }
Thomas Moran
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
action count
action filter_multi_types
action find_reverse
entity Thomas Moran
relation inspired by
type group of fictional characters
type fictional character
[[{'concept': 'group of fictional characters'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?l WHERE { ?j rdf:type ?v . VALUES ( ?v ) { ( ontology:group_of_fictional_characters ) ( ontology:fictional_character ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:inspired_by resource:Thomas_Moran . { { ?e rdf:type ontology:group_of_fictional_characters } UNION { ?e rdf:type ontology:fictional_character } } } } . FILTER ( ?t = ?o ) }
[]
common name group of fictional characters fictional character
SYSTEM
117
Q207939 Q19738291 Q23380 Q366380 Q334001 Q19526 Q58801 Q207447 Q560792 Q35548 Q205002 Q30755 Q37693 Q302650 Q666171 Q531161 Q5383 Q127171 Q43715 Q5361548 Q312502 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q183221 Q81960 Q5592 Q7836 Q5594 Q538158 Q1508997 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q1353414 Q5669 Q5577 Q395274 Q966425 Q47551 Q357951 Q676001 Q5675905 Q37079 Q103343 Q464056 Q313270 Q48319 Q1288359 Q551643 Q273079 Q299271 Q9061 Q849 Q79031 Q150679 Q177692 Q2601617 Q163118 Q5599 Q22686 Q5545355 Q463653 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q1744 Q367447 Q5582 Q219640 Q5822 Q5589 Q296 Q352954 Q34013 Q2836532 Q712497 Q221464 Q550426 Q25328 Q203219 Q983441 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q471023 Q5432 Q1896700 Q156622 Q354832 Q159907 Q1401 Q192222 Q83155 Q2965760 Q3385369 Q2409128 Q1278282 Q5053466 Q513644 Q44122 Q576222
(c(Q14514600)|c(Q95074),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q983441
relation P941
type Q14514600
type Q95074
[ANSWER]
[[{'concept': 'Q14514600'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?l WHERE { ?j rdf:type ?v . VALUES ( ?v ) { ( ontology:Q14514600 ) ( ontology:Q95074 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P941 resource:Q983441 . { { ?e rdf:type ontology:Q14514600 } UNION { ?e rdf:type ontology:Q95074 } } } } . FILTER ( ?t = ?o ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Allan Kaprow Thomas Cole Maya Angelou Conrad Veidt Jean-Baptiste-Siméon Chardin Allan Ramsay Paul Cézanne Joe Grant Auguste Rodin Paul Gauguin Tate Donovan John Marin Elizabeth Kenny David Bowie Jean-Honoré Fragonard Vlad Tepes Elisabeth Scott Fiorello H. La Guardia Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze Antoine Watteau Robert Burns Michelangelo René Magritte Antonello da Messina Balthasar Denner Georges Manolescu Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Robert Gober Sandro Botticelli Salvador Dalí Michael J. Fox Charles Hubert Millevoye Titian Mehran Karimi Nasseri Eugène Devéria Andrés López Muñoz Tom Cruise Jennifer Connelly Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Cab Calloway Bahram V Karl Marx François Villon Mike Tyson Anthony van Dyck Andrea Palladio Leonard Baskin Marguerite Yourcenar Peter Paul Rubens Donald Trump George Turberville Marie-Thérèse Walter Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Madonna Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Henri Matisse Claude Monet Carel Fabritius Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Jeffrey Katzenberg Antoni Gaudí Boris Karloff Thomas Moran Nicolas Poussin Robin Williams Cain Charles Sheeler Pratibha Ray Il Pordenone Jimmy Durante Francisco de Goya Marian Wright Edelman Giorgio de Chirico Pieter Claesz David Hockney Petrarch Lysippos Jacques-Louis David Christiane Faure Pierre Guillaume Dušan Popov Eastman Johnson Cathy McGowan Ray Ventura Django Reinhardt Floris van Dyck
117
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
action count
action filter_multi_types
action find_reverse
entity Thomas Moran
relation inspired by
type group of fictional characters
type fictional character
[[{'concept': 'group of fictional characters'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) ?l WHERE { ?j rdf:type ?v . VALUES ( ?v ) { ( ontology:group_of_fictional_characters ) ( ontology:fictional_character ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:inspired_by resource:Thomas_Moran . { { ?e rdf:type ontology:group_of_fictional_characters } UNION { ?e rdf:type ontology:fictional_character } } } } . FILTER ( ?t = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q40475
P941
Q502895 Q14514600 Q95074
USER
And how about Joan Crawford?
(c(Q14514600)|c(Q95074),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q40475
relation P941
type Q14514600
type Q95074
[[{'concept': 'Q14514600'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?r WHERE { { ?u property:P941 ?r . ?r rdf:type ontology:Q502895 . ?u rdf:type ontology:Q14514600 } UNION { ?u property:P941 ?r . ?r rdf:type ontology:Q502895 . ?u rdf:type ontology:Q95074 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { VALUES ( ?f ) { ( ontology:Q14514600 ) ( ontology:Q95074 ) } . ?k rdf:type ?f } . ?k property:P941 resource:Q40475 } } . FILTER ( ?j = ?x ) }
Joan Crawford
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
action count
action filter_multi_types
action find_reverse
entity Joan Crawford
relation inspired by
type group of fictional characters
type fictional character
[[{'concept': 'group of fictional characters'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?r WHERE { { ?u property:inspired_by ?r . ?r rdf:type ontology:common_name . ?u rdf:type ontology:group_of_fictional_characters } UNION { ?u property:inspired_by ?r . ?r rdf:type ontology:common_name . ?u rdf:type ontology:fictional_character } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { VALUES ( ?f ) { ( ontology:group_of_fictional_characters ) ( ontology:fictional_character ) } . ?k rdf:type ?f } . ?k property:inspired_by resource:Joan_Crawford } } . FILTER ( ?j = ?x ) }
[]
common name group of fictional characters fictional character
SYSTEM
88
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 Q3498875 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 Q733965 Q233845 Q3429566 Q3047181 Q237813 Q578878
(c(Q14514600)|c(Q95074),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
action count
action filter_multi_types
action find_reverse
entity Q40475
relation P941
type Q14514600
type Q95074
[ANSWER]
[[{'concept': 'Q14514600'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?r WHERE { { ?u property:P941 ?r . ?r rdf:type ontology:Q502895 . ?u rdf:type ontology:Q14514600 } UNION { ?u property:P941 ?r . ?r rdf:type ontology:Q502895 . ?u rdf:type ontology:Q95074 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { VALUES ( ?f ) { ( ontology:Q14514600 ) ( ontology:Q95074 ) } . ?k rdf:type ?f } . ?k property:P941 resource:Q40475 } } . FILTER ( ?j = ?x ) }
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 Steve Carlson 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 Jack Carlson Gale Sondergaard Rhoda Williams Ed Kemmer Maila Nurmi Chief Powhatan
88
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
action count
action filter_multi_types
action find_reverse
entity Joan Crawford
relation inspired by
type group of fictional characters
type fictional character
[[{'concept': 'group of fictional characters'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?r WHERE { { ?u property:inspired_by ?r . ?r rdf:type ontology:common_name . ?u rdf:type ontology:group_of_fictional_characters } UNION { ?u property:inspired_by ?r . ?r rdf:type ontology:common_name . ?u rdf:type ontology:fictional_character } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { VALUES ( ?f ) { ( ontology:group_of_fictional_characters ) ( ontology:fictional_character ) } . ?k rdf:type ?f } . ?k property:inspired_by resource:Joan_Crawford } } . FILTER ( ?j = ?x ) }
[]