Simple Question (Direct)
Simple Question
Q3035493
P106
Q12737077
USER
What does Dominic Loir do for a living ?
(Q3035493,P106,c(Q12737077))
action filter_type
action find
entity Q3035493
relation P106
type Q12737077
['Q3035493', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q3035493 property:P106 ?x }
Dominic Loir
action filter_type
action find
entity Dominic Loir
relation occupation
type occupation
['Dominic Loir', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Dominic_Loir property:occupation ?x }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q3035493,P106,c(Q12737077))
action filter_type
action find
entity Q3035493
relation P106
type Q12737077
Dominic Loir does an [ANSWER] for a living
['Q3035493', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q3035493 property:P106 ?x }
actor
Dominic Loir does an actor for a living
actor
action filter_type
action find
entity Dominic Loir
relation occupation
type occupation
['Dominic Loir', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:Dominic_Loir property:occupation ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3035493
P119
Q39614
USER
Which cemetery is the tomb of Dominic Loir ?
(Q3035493,P119,c(Q39614))
action filter_type
action find
entity Q3035493
relation P119
type Q39614
['Q3035493', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?f WHERE { resource:Q3035493 property:P119 ?f . ?f rdf:type ontology:Q39614 }
Dominic Loir
action filter_type
action find
entity Dominic Loir
relation place of burial
type cemetery
['Dominic Loir', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?f WHERE { resource:Dominic_Loir property:place_of_burial ?f . ?f rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q3035493,P119,c(Q39614))
action filter_type
action find
entity Q3035493
relation P119
type Q39614
The tomb of Dominic Loir is in [ANSWER]
['Q3035493', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?f WHERE { resource:Q3035493 property:P119 ?f . ?f rdf:type ontology:Q39614 }
Père Lachaise Cemetery
The tomb of Dominic Loir is in Père Lachaise Cemetery
Père Lachaise Cemetery
action filter_type
action find
entity Dominic Loir
relation place of burial
type cemetery
['Dominic Loir', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?f WHERE { resource:Dominic_Loir property:place_of_burial ?f . ?f rdf:type ontology:cemetery }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20656069
Q39614
USER
And what about Jeanne Michon?
(Q20656069,P119,c(Q39614))
action filter_type
action find
entity Q20656069
relation P119
type Q39614
['Q20656069', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?a WHERE { resource:Q20656069 property:P119 ?a . ?a rdf:type ontology:Q39614 }
Jeanne Michon
action filter_type
action find
entity Jeanne Michon
relation place of burial
type cemetery
['Jeanne Michon', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?a WHERE { resource:Jeanne_Michon property:place_of_burial ?a . ?a rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q20656069,P119,c(Q39614))
action filter_type
action find
entity Q20656069
relation P119
type Q39614
[ANSWER]
['Q20656069', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?a WHERE { resource:Q20656069 property:P119 ?a . ?a rdf:type ontology:Q39614 }
Père Lachaise Cemetery
Père Lachaise Cemetery
action filter_type
action find
entity Jeanne Michon
relation place of burial
type cemetery
['Jeanne Michon', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?a WHERE { resource:Jeanne_Michon property:place_of_burial ?a . ?a rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q311
P669
Q2448108
USER
Which structural system has its location as that cemetery ?
(c(Q2448108),P669,Q311)
action filter_type
action find_reverse
entity Q311
relation P669
type Q2448108
[{'concept': 'Q2448108'}, 'P669', 'Q311']
SELECT DISTINCT ?j WHERE { ?j property:P669 resource:Q311 . ?j rdf:type ontology:Q2448108 }
Père Lachaise Cemetery
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation located on street
type structural system
[{'concept': 'structural system'}, 'located on street', 'Père Lachaise Cemetery']
SELECT DISTINCT ?j WHERE { ?j property:located_on_street resource:Père_Lachaise_Cemetery . ?j rdf:type ontology:structural_system }
[]
structural system
Q910923
SYSTEM
Communards' Wall
Q910923
(c(Q2448108),P669,Q311)
action filter_type
action find_reverse
entity Q311
relation P669
type Q2448108
[ANSWER] has its location as that cemetery
[{'concept': 'Q2448108'}, 'P669', 'Q311']
SELECT DISTINCT ?j WHERE { ?j property:P669 resource:Q311 . ?j rdf:type ontology:Q2448108 }
Communards' Wall
Communards' Wall has its location as that cemetery
Communards' Wall
action filter_type
action find_reverse
entity Père Lachaise Cemetery
relation located on street
type structural system
[{'concept': 'structural system'}, 'located on street', 'Père Lachaise Cemetery']
SELECT DISTINCT ?j WHERE { ?j property:located_on_street resource:Père_Lachaise_Cemetery . ?j rdf:type ontology:structural_system }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q311
P138
Q502895
USER
Which person is the origin of Père Lachaise Cemetery ?
(Q311,P138,c(Q502895))
action filter_type
action find
entity Q311
relation P138
type Q502895
['Q311', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q311 property:P138 ?t . ?t rdf:type ontology:Q502895 }
Père Lachaise Cemetery
action filter_type
action find
entity Père Lachaise Cemetery
relation named after
type common name
['Père Lachaise Cemetery', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Père_Lachaise_Cemetery property:named_after ?t . ?t rdf:type ontology:common_name }
[]
common name
Q960159
SYSTEM
François de la Chaise
Q960159
(Q311,P138,c(Q502895))
action filter_type
action find
entity Q311
relation P138
type Q502895
[ANSWER] is the origin of Père Lachaise Cemetery
['Q311', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q311 property:P138 ?t . ?t rdf:type ontology:Q502895 }
François de la Chaise
François de la Chaise is the origin of Père Lachaise Cemetery
François de la Chaise
action filter_type
action find
entity Père Lachaise Cemetery
relation named after
type common name
['Père Lachaise Cemetery', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Père_Lachaise_Cemetery property:named_after ?t . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q960159 Q513395
P27
Q15617994
USER
Is that person an inhabitant of Seehausen (Altmark) ?
(Q960159,P27,Q513395)
action is_in
entity Q513395
action find
entity Q960159
relation P27
['Q960159', 'P27', 'Q513395']
ASK WHERE { resource:Q960159 property:P27 resource:Q513395 }
François de la Chaise Seehausen (Altmark)
action is_in
entity Seehausen (Altmark)
action find
entity François de la Chaise
relation country of citizenship
['François de la Chaise', 'country of citizenship', 'Seehausen (Altmark)']
ASK WHERE { resource:François_de_la_Chaise property:country_of_citizenship resource:Seehausen_(Altmark) }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q960159,P27,Q513395)
action is_in
entity Q513395
action find
entity Q960159
relation P27
[ANSWER]
['Q960159', 'P27', 'Q513395']
ASK WHERE { resource:Q960159 property:P27 resource:Q513395 }
No
action is_in
entity Seehausen (Altmark)
action find
entity François de la Chaise
relation country of citizenship
['François de la Chaise', 'country of citizenship', 'Seehausen (Altmark)']
ASK WHERE { resource:François_de_la_Chaise property:country_of_citizenship resource:Seehausen_(Altmark) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1058469
P725
Q502895 Q838948
USER
How many works of art had more number of people as the dubbing artist than Ghost in the Shell 2: Innocence ?
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q1058469
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?f ) WHERE { ?a property:P725 ?s . ?a rdf:type ontology:Q838948 . ?s rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ontology:Q838948 . resource:Q1058469 property:P725 ?l } } }
Ghost in the Shell 2: Innocence
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Ghost in the Shell 2: Innocence
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?f ) WHERE { ?a property:voice_actor ?s . ?a rdf:type ontology:work_of_art . ?s rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ontology:work_of_art . resource:Ghost_in_the_Shell_2:_Innocence property:voice_actor ?l } } }
[]
common name work of art
SYSTEM
3
Q477365 Q16857406 Q19263748
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q1058469
relation P725
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?f ) WHERE { ?a property:P725 ?s . ?a rdf:type ontology:Q838948 . ?s rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ontology:Q838948 . resource:Q1058469 property:P725 ?l } } }
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
3
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Ghost in the Shell 2: Innocence
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?f ) WHERE { ?a property:voice_actor ?s . ?a rdf:type ontology:work_of_art . ?s rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?f > ?i ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { ?l rdf:type ontology:work_of_art . resource:Ghost_in_the_Shell_2:_Innocence property:voice_actor ?l } } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q311 Q40447
P17
Q15617994
USER
Is Père Lachaise Cemetery situated in Mantello ?
(Q311,P17,Q40447)
action is_in
entity Q40447
action find
entity Q311
relation P17
['Q311', 'P17', 'Q40447']
ASK WHERE { resource:Q311 property:P17 resource:Q40447 }
Père Lachaise Cemetery Mantello
action is_in
entity Mantello
action find
entity Père Lachaise Cemetery
relation country
['Père Lachaise Cemetery', 'country', 'Mantello']
ASK WHERE { resource:Père_Lachaise_Cemetery property:country resource:Mantello }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q311,P17,Q40447)
action is_in
entity Q40447
action find
entity Q311
relation P17
[ANSWER]
['Q311', 'P17', 'Q40447']
ASK WHERE { resource:Q311 property:P17 resource:Q40447 }
No
action is_in
entity Mantello
action find
entity Père Lachaise Cemetery
relation country
['Père Lachaise Cemetery', 'country', 'Mantello']
ASK WHERE { resource:Père_Lachaise_Cemetery property:country resource:Mantello }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 186 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 186
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P1303 ?z . ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } . FILTER ( ?j >= 186 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 186
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:instrument ?z . ?p rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } . FILTER ( ?j >= 186 ) }
[]
musical instrument common name
Q5994 Q80284 Q46185
SYSTEM
piano, viola, bass guitar
Q80284 Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 186
[ANSWERS] can atleast 186 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P1303 ?z . ?p rdf:type ontology:Q502895 . ?z rdf:type ontology:Q34379 } GROUP BY ?z } . FILTER ( ?j >= 186 ) }
viola bass guitar double bass piano trumpet cello violin organ drum kit electronic keyboard
Piano, viola and bass guitar can atleast 186 people perform with
piano viola bass guitar
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 186
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:instrument ?z . ?p rdf:type ontology:common_name . ?z rdf:type ontology:musical_instrument } GROUP BY ?z } . FILTER ( ?j >= 186 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q254687 Q5994
P61 P161
Q502895
USER
Which people discovered or invented piano or are in Pan ?
OR((Q5994,P61,c(Q502895)), (Q254687,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5994
relation P61
action find
entity Q254687
relation P161
type Q502895
{'OR': [['Q5994', 'P61', {'concept': 'Q502895'}], ['Q254687', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q5994 property:P61 ?d } UNION { resource:Q254687 property:P161 ?d } } }
Pan piano
action filter_type
action union
action find
entity piano
relation discoverer or inventor
action find
entity Pan
relation cast member
type common name
{'OR': [['piano', 'discoverer or inventor', {'concept': 'common name'}], ['Pan', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:piano property:discoverer_or_inventor ?d } UNION { resource:Pan property:cast_member ?d } } }
[]
common name
Q22482257 Q17100128 Q4894219 Q11961377 Q455097 Q11995276 Q3481573 Q301597 Q264696 Q17096759
SYSTEM
Some of them are Torunn Lødemel Stokkeland, Lasse Kolsrud, Bernhard Ramstad, Bjørn Jenseg, Anneke von der Lippe, Per Schaanning, Shaun Lawton, Bartolomeo Cristofori, Sofie Gråbøl, Ragnhild Hilt
Q2078529 Q301597 Q17100128 Q264696 Q11961377 Q3481573 Q4919937 Q455097 Q11995276 Q22482257 Q4894219 Q17096759 Q6765710
OR((Q5994,P61,c(Q502895)), (Q254687,P161,c(Q502895)))
action filter_type
action union
action find
entity Q5994
relation P61
action find
entity Q254687
relation P161
type Q502895
[ANSWERS] discovered or invented piano or are in Pan
{'OR': [['Q5994', 'P61', {'concept': 'Q502895'}], ['Q254687', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . { { resource:Q5994 property:P61 ?d } UNION { resource:Q254687 property:P161 ?d } } }
Peter Striebeck Bartolomeo Cristofori Lasse Kolsrud Sofie Gråbøl Bjørn Jenseg Shaun Lawton Bjørn Sundquist Anneke von der Lippe Per Schaanning Torunn Lødemel Stokkeland Bernhard Ramstad Ragnhild Hilt Marit Andreassen
Torunn Lødemel Stokkeland, Lasse Kolsrud, Bernhard Ramstad, Bjørn Jenseg, Anneke von der Lippe, Per Schaanning, Shaun Lawton, Bartolomeo Cristofori, Sofie Gråbøl and Ragnhild Hilt discovered or invented piano or are in Pan
Torunn Lødemel Stokkeland Lasse Kolsrud Bernhard Ramstad Bjørn Jenseg Anneke von der Lippe Per Schaanning Shaun Lawton Bartolomeo Cristofori Sofie Gråbøl Ragnhild Hilt
action filter_type
action union
action find
entity piano
relation discoverer or inventor
action find
entity Pan
relation cast member
type common name
{'OR': [['piano', 'discoverer or inventor', {'concept': 'common name'}], ['Pan', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . { { resource:piano property:discoverer_or_inventor ?d } UNION { resource:Pan property:cast_member ?d } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q270438
P1441
Q15416 Q234460 Q502895
USER
Which people are present in around the same number of television programs and texts as Charles of Valois ?
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q270438
relation P1441
type Q15416
type Q234460
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?l ) WHERE { { ?b property:P1441 ?h . ?b rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15416 } UNION { ?b rdf:type ontology:Q502895 . ?h rdf:type ontology:Q234460 . ?b property:P1441 ?h } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15416 ) ( ontology:Q234460 ) } } . resource:Q270438 property:P1441 ?n } } . FILTER ( ?l = ?g ) }
Charles of Valois
action approx
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Charles of Valois
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?l ) WHERE { { ?b property:present_in_work ?h . ?b rdf:type ontology:common_name . ?h rdf:type ontology:television_program } UNION { ?b rdf:type ontology:common_name . ?h rdf:type ontology:text . ?b property:present_in_work ?h } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:television_program ) ( ontology:text ) } } . resource:Charles_of_Valois property:present_in_work ?n } } . FILTER ( ?l = ?g ) }
[]
television program text common name
Q17457 Q110436 Q270438
SYSTEM
Donald Knuth, Cory Doctorow, Charles of Valois
Q603233 Q660359 Q2447493 Q80048 Q529984 Q23885172 Q4430779 Q249381 Q232525 Q240258 Q24579400 Q7307192 Q131195 Q2426699 Q24624067 Q2574151 Q160116 Q785349 Q2052042 Q318912 Q3858588 Q4154984 Q4006447 Q363623 Q3343834 Q2451581 Q2046277 Q715713 Q24577230 Q494455 Q673959 Q185801 Q6239779 Q34428 Q2033697 Q24622402 Q20656752 Q311556 Q294192 Q19975705 Q560559 Q25885222 Q1867479 Q134646 Q879668 Q2170784 Q181538 Q24623408 Q8413 Q2600794 Q2282686 Q459606 Q437417 Q3778878 Q3774081 Q1348720 Q24624893 Q1396131 Q3591188 Q716237 Q2264125 Q608841 Q2124082 Q24625686 Q2137929 Q315276 Q3148218 Q24577318 Q515828 Q24625326 Q25858050 Q26858752 Q923021 Q24633210 Q715547 Q3745274 Q3867479 Q1446 Q1641601 Q19348839 Q2073479 Q2723049 Q1093885 Q1346246 Q2578955 Q3010053 Q1851709 Q164889 Q24625073 Q27621044 Q1380878 Q16879711 Q24623579 Q366070 Q1377025 Q2276030 Q270438 Q2711883 Q886399 Q1341779 Q326585 Q972487 Q313395 Q2304442 Q8581 Q2651263 Q24577238 Q209793 Q24632700 Q1808889 Q587893 Q24626363 Q2685920 Q256076 Q24633126 Q1091513 Q3658171 Q2601106 Q4804479 Q26721185 Q2292243 Q2448083 Q633681 Q24623790 Q2296791 Q200947 Q24083251 Q1947936 Q211396 Q25923184 Q2075711 Q312311 Q2361344 Q3275910 Q169329 Q2477603 Q110436 Q23906252 Q2519772 Q879088 Q302322 Q183089 Q7734 Q3761044 Q2168182 Q878882 Q76721 Q26858995 Q2487300 Q283466 Q9441 Q372783 Q16006746 Q17457 Q786748 Q24626010 Q26858919 Q2047062 Q1227361
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action approx
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q270438
relation P1441
type Q15416
type Q234460
[ANSWERS] are present in around the same number of television programs and texts as Charles of Valois
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?l ) WHERE { { ?b property:P1441 ?h . ?b rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15416 } UNION { ?b rdf:type ontology:Q502895 . ?h rdf:type ontology:Q234460 . ?b property:P1441 ?h } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:Q15416 ) ( ontology:Q234460 ) } } . resource:Q270438 property:P1441 ?n } } . FILTER ( ?l = ?g ) }
Julius Asclepiodotus Cecco Angiolieri Ferrex Al Capone Eric Anundsson Victor Petit Immanuel Markandeya Theodelinda Olof Björnsson Jebidiah Farnsworth Refil Constantius Chlorus Dyfnwal Moelmud Bea Hansen Sisillius III Alexander III Cangrande I della Scala Mempricius Eric the Victorious Mino da San Quirico Kai Darab Urianus Cassivellaunus Norman Winther Cordelia of Britain Parikshit Salvatore Maranzano Harriet Mutesi Orville Wright Leil Mikhail Kutuzov John Hooper Philip Sisillius I Frank Fauteux Bernard C. Webber Allectus Guy of Lusignan Daniel Webster Cluff Constans II James Harcourt Jago of Britain Boniface VIII Björn Ironside Anund Uppsale Rudolf Abel Eldon Hanan Constantine the Great Erik Björnsson Locrinus Ambrosius Aurelianus Cunobeline Guglielmo Borsiere Gracianus Municeps Guy de Montfort, Count of Nola Raymond Sybert Wilbur Wright Erik Refilsson Song Jiang Bladud Arvirargus Azzo VIII d'Este, Marquis of Ferrara Andy Fitzgerald Gurgustius Agilulf Ignacy Przybyszewski Sara Katende Tasciovanus Miriam Webber Helen Kingsleigh Sarah Katende Gorboduc George "Tiny" Myers Mandubracius Filippo Minutolo Musciatto Franzesi Caracalla Tattenai Salammbô Shaunaka Mayasura Hathi Johnny Ringo Porrex I Céleste de Chateaubriand Rud Hud Hudibras Manfred, King of Sicily Richard Livesey Davy Brown Vortimer Sage Animandaya Wallace Quirey George William Russell Bharata Archmail Charles of Valois Gurguit Barbtruc Maelgwn Gwynedd Kai Lohrasp Vortigern Buonamico Buffalmacco Authari Coel Hen Saladin Trahern Robert Katende Constantine III John Stello Kimarcus Sisillius II Mel Gouthro Bledudo Cunedagius Donald Bangs Son of Gorbonianus Phiona Mutesi Rukmi Ash Vasudevan Lena Gogan Rivallo Brutus Greenshield Björn Eriksson D.A. Brown Molly Bloom Ahmad ibn Fadlan Stan the Man Beldgabred Magnus Maximus Elizabeth Ham Andragius Peter III of Aragon Durvasa Anne Françoise Elisabeth Lange Conrad of Montferrat Vaisampayana Cory Doctorow Caf' Francisco Sawyl Penuchel Björn at Haugi Calandrino Publius Septimius Geta Joshua Geri Spini Ebraucus Togodumnus Godfrey of Bouillon Aloysius Kyazze Cunedda Roger of Lauria Gautama Buddha Adrian Cronauer James B. Donovan Donald Knuth Pedro González de Mendoza Ervin Maske Hope Katende Marius of Britain John of Procida
Donald Knuth, Cory Doctorow and Charles of Valois are present in around the same number of television programs and texts as Charles of Valois
Donald Knuth Cory Doctorow Charles of Valois
action approx
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Charles of Valois
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?l ) WHERE { { ?b property:present_in_work ?h . ?b rdf:type ontology:common_name . ?h rdf:type ontology:television_program } UNION { ?b rdf:type ontology:common_name . ?h rdf:type ontology:text . ?b property:present_in_work ?h } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { ?n rdf:type ?y . VALUES ( ?y ) { ( ontology:television_program ) ( ontology:text ) } } . resource:Charles_of_Valois property:present_in_work ?n } } . FILTER ( ?l = ?g ) }
[]