Simple Question (Direct)
Simple Question
Q2823973
P19
Q56061
USER
Which administrative territory is the birthplace of Adam Lockwood ?
(Q2823973,P19,c(Q56061))
action filter_type
action find
entity Q2823973
relation P19
type Q56061
['Q2823973', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q2823973 property:P19 ?d }
Adam Lockwood
action filter_type
action find
entity Adam Lockwood
relation place of birth
type administrative territorial entity
['Adam Lockwood', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Adam_Lockwood property:place_of_birth ?d }
[]
administrative territorial entity
Q216638
SYSTEM
Wakefield
Q216638
(Q2823973,P19,c(Q56061))
action filter_type
action find
entity Q2823973
relation P19
type Q56061
[ANSWER] is the birthplace of Adam Lockwood
['Q2823973', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q2823973 property:P19 ?d }
Wakefield
Wakefield is the birthplace of Adam Lockwood
Wakefield
action filter_type
action find
entity Adam Lockwood
relation place of birth
type administrative territorial entity
['Adam Lockwood', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Adam_Lockwood property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q216638
P159
Q28640
USER
Which profession has its HQ location at that administrative territory ?
(c(Q28640),P159,Q216638)
action filter_type
action find_reverse
entity Q216638
relation P159
type Q28640
[{'concept': 'Q28640'}, 'P159', 'Q216638']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q28640 . ?k property:P159 resource:Q216638 }
Wakefield
action filter_type
action find_reverse
entity Wakefield
relation headquarters location
type profession
[{'concept': 'profession'}, 'headquarters location', 'Wakefield']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:profession . ?k property:headquarters_location resource:Wakefield }
[]
profession
Q1384984
SYSTEM
Team17
Q1384984
(c(Q28640),P159,Q216638)
action filter_type
action find_reverse
entity Q216638
relation P159
type Q28640
[ANSWER] has its HQ location at that administrative territory
[{'concept': 'Q28640'}, 'P159', 'Q216638']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q28640 . ?k property:P159 resource:Q216638 }
Team17
Team17 has its HQ location at that administrative territory
Team17
action filter_type
action find_reverse
entity Wakefield
relation headquarters location
type profession
[{'concept': 'profession'}, 'headquarters location', 'Wakefield']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:profession . ?k property:headquarters_location resource:Wakefield }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q216638
P19
Q502895
USER
How many people have birthplace at Wakefield ?
(c(Q502895),P19,Q216638)
action count
action filter_type
action find_reverse
entity Q216638
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q216638']
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:Q502895 . ?j property:P19 resource:Q216638 }
Wakefield
action count
action filter_type
action find_reverse
entity Wakefield
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Wakefield']
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:common_name . ?j property:place_of_birth resource:Wakefield }
[]
common name
SYSTEM
108
Q5237515 Q809048 Q20807836 Q15627486 Q5257746 Q369790 Q3339786 Q6837067 Q6233189 Q15463546 Q4349797 Q6262426 Q6271746 Q2964726 Q16539322 Q636694 Q16019652 Q111640 Q5229561 Q2927135 Q2646985 Q7290125 Q5129789 Q4707196 Q6768060 Q5039801 Q4800521 Q17612202 Q5106145 Q5228318 Q16067368 Q234109 Q2823973 Q6153287 Q733417 Q7816043 Q3440440 Q7023893 Q2846576 Q6397603 Q5125177 Q7173654 Q922508 Q7369432 Q4963930 Q712899 Q4769311 Q5539753 Q16011649 Q7152278 Q1038846 Q5982367 Q6152548 Q18763980 Q7373386 Q5353295 Q3660616 Q128459 Q2675624 Q7273705 Q5540786 Q3272899 Q15972488 Q974806 Q7613345 Q314335 Q1701961 Q16012612 Q7976265 Q7047105 Q5216875 Q7301676 Q7027287 Q1261012 Q1228392 Q15997850 Q4006444 Q7183872 Q6548502 Q6775542 Q15485597 Q1569624 Q7937758 Q16223599 Q7086763 Q16066186 Q4758073 Q7704188 Q7372518 Q6767149 Q18044018 Q3339742 Q9103510 Q7650876 Q4964690 Q4767694 Q20950488 Q6244942 Q5108453 Q16887631 Q6223934 Q2959779 Q7153501 Q19650544 Q4474780 Q2165407 Q3504645 Q20824186
(c(Q502895),P19,Q216638)
action count
action filter_type
action find_reverse
entity Q216638
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q216638']
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:Q502895 . ?j property:P19 resource:Q216638 }
David Mercer Barry Hoban Kay Mitchell Jean Denton, Baroness Denton of Wakefield Denise Ramsden George Gissing Nick Petersen Michelle Hardwick John Finnigan Jean Fergusson Adele Stevens John W. Mitchell Jon Wells Chris Greenacre Charles Hoole Joseph Bingham Keith Bridges Robert Benson, 1st Baron Bingley Dave Penney Bryan Barley Alicia Blagg Ramsay Gilderdale Ryan Jarman Alan M. Taylor Mark Hobson Carl Airey Arthur Uther Pendragon Andy Comyn Chris Chester Dave Beer Herbert Finnigan Barbara Hepworth Adam Lockwood Janet Davies David Storey Tom Hadfield Beaumont Asquith Niall Inman Andrew Burt Kevin Taylor Claire Cooper Peter Dews John Radcliffe Ross Jarman Brian Handley Richard Bentley Annie Hulley George Glover Richard Armitage Paul Mattison Charles Waterton Ian McNaught-Davis Jane McDonald Jack Cowgill Roy Southernwood Elaine Storkey Carolyn Pickles John Whitton Michael Cumpsty R. J. Billinton George Howe Bill Nelson William Alfred Ismay Martyn Bernard Steve McNicholas John Harrison John Travers Wood Trevor H. Hall Wayne Goodison Noel McGrath Daniel Cresswell Rebecca Brewer Nick Hegarty Noel Gay Lee Crooks Ezra Sidwell Uriah Duffy Philip Joseph Taylor Lily Jane Stead Martin Gold Holliday Bickerstaffe Kendall Kenneth Leighton Vivian Pitchforth The Haxan Cloak Oli Johnson George Heald Andrew Moynihan Terry Caldwell Roy Ambler Mark Cooper John Hannah Nick Fozzard Ian Sampson Suzanne Horner Brian McDermott Annabel Scholey Leah Evans John Lister-Kaye Chris Westwood James Bree John Burke Maurice Yonge Paul Scott Cara Theobold Robert Ullathorne Ron Barber John Scott Oliver Wood
108
action count
action filter_type
action find_reverse
entity Wakefield
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Wakefield']
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { ?j rdf:type ontology:common_name . ?j property:place_of_birth resource:Wakefield }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1384984
P123
Q166142
USER
Which applications were issued by Team17 ?
(c(Q166142),P123,Q1384984)
action filter_type
action find_reverse
entity Q1384984
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q1384984']
SELECT DISTINCT ?x WHERE { ?x property:P123 resource:Q1384984 . ?x rdf:type ontology:Q166142 }
Team17
action filter_type
action find_reverse
entity Team17
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Team17']
SELECT DISTINCT ?x WHERE { ?x property:publisher resource:Team17 . ?x rdf:type ontology:application }
[]
application
Q19849221 Q965458 Q4778886
SYSTEM
Yooka-Laylee, Alien Breed, Apache
Q2580140 Q23074349 Q4654896 Q1114108 Q4726411 Q4726412 Q1114758 Q19849221 Q4808478 Q19360088 Q21152169 Q7642821 Q8036097 Q965458 Q4778886 Q1110216 Q5038350 Q731566 Q2046506 Q16267078 Q19913528 Q4003149
(c(Q166142),P123,Q1384984)
action filter_type
action find_reverse
entity Q1384984
relation P123
type Q166142
[ANSWERS] were issued by Team17
[{'concept': 'Q166142'}, 'P123', 'Q1384984']
SELECT DISTINCT ?x WHERE { ?x property:P123 resource:Q1384984 . ?x rdf:type ontology:Q166142 }
The Speris Legacy Sheltered ATR: All Terrain Racing Alien Breed II: The Horror Continues Alien Breed 2: Assault Alien Breed 3: Descent Alien Breed: Tower Assault Yooka-Laylee Assassin The Escapists Worms W.M.D Super Stardust World Rally Fever Alien Breed Apache Project-X Cardiaxx Superfrog Worms 2: Armageddon Silverball Beyond Eyes Ultimate Body Blows
Yooka-Laylee, Alien Breed and Apache were issued by Team17
Yooka-Laylee Alien Breed Apache
action filter_type
action find_reverse
entity Team17
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Team17']
SELECT DISTINCT ?x WHERE { ?x property:publisher resource:Team17 . ?x rdf:type ontology:application }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19849221
P86
Q502895
USER
Who did the compostion for that application ?
(Q19849221,P86,c(Q502895))
action filter_type
action find
entity Q19849221
relation P86
type Q502895
['Q19849221', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q19849221 property:P86 ?i }
Yooka-Laylee
action filter_type
action find
entity Yooka-Laylee
relation composer
type common name
['Yooka-Laylee', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Yooka-Laylee property:composer ?i }
[]
common name
Clarification for simple ques.
Q19849221
SYSTEM
Did you mean Yooka-Laylee ?
Q19849221 Q965458 Q4778886
(Q19849221,P86,c(Q502895)) (Q965458,P86,c(Q502895)) (Q4778886,P86,c(Q502895))
[ANSWER]
['Q19849221', 'P86', {'concept': 'Q502895'}] ['Q965458', 'P86', {'concept': 'Q502895'}] ['Q4778886', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q19849221 property:P86 ?i }
Yooka-Laylee Alien Breed Apache
Did you mean Yooka-Laylee ?
Yooka-Laylee
['Yooka-Laylee', 'composer', {'concept': 'common name'}] ['Alien Breed', 'composer', {'concept': 'common name'}] ['Apache', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Yooka-Laylee property:composer ?i }
[]
Simple Question (Coreferenced)
USER
Yes
(Q19849221,P86,c(Q502895))
['Q19849221', 'P86', {'concept': 'Q502895'}]
['Yooka-Laylee', 'composer', {'concept': 'common name'}]
[]
Q972329 Q1818767 Q7612099
SYSTEM
David Wise, Grant Kirkhope, Steve Burke
Q972329 Q1818767 Q7612099
(Q19849221,P86,c(Q502895))
action filter_type
action find
entity Q19849221
relation P86
type Q502895
[ANSWERS] did the compostion for that application
['Q19849221', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q19849221 property:P86 ?i }
David Wise Grant Kirkhope Steve Burke
David Wise, Grant Kirkhope and Steve Burke did the compostion for that application
David Wise Grant Kirkhope Steve Burke
action filter_type
action find
entity Yooka-Laylee
relation composer
type common name
['Yooka-Laylee', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Yooka-Laylee property:composer ?i }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7612099
P69
Q3918
USER
Which universities are that person an alumni of ?
(Q7612099,P69,c(Q3918))
action filter_type
action find
entity Q7612099
relation P69
type Q3918
['Q7612099', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q7612099 property:P69 ?u . ?u rdf:type ontology:Q3918 }
Steve Burke
action filter_type
action find
entity Steve Burke
relation educated at
type university
['Steve Burke', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:Steve_Burke property:educated_at ?u . ?u rdf:type ontology:university }
[]
university
Clarification for simple ques.
Q7612099
SYSTEM
Did you mean Steve Burke ?
Q972329 Q1818767 Q7612099
(Q972329,P69,c(Q3918)) (Q1818767,P69,c(Q3918)) (Q7612099,P69,c(Q3918))
[ANSWER]
['Q972329', 'P69', {'concept': 'Q3918'}] ['Q1818767', 'P69', {'concept': 'Q3918'}] ['Q7612099', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q7612099 property:P69 ?u . ?u rdf:type ontology:Q3918 }
David Wise Grant Kirkhope Steve Burke
Did you mean Steve Burke ?
Steve Burke
['David Wise', 'educated at', {'concept': 'university'}] ['Grant Kirkhope', 'educated at', {'concept': 'university'}] ['Steve Burke', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:Steve_Burke property:educated_at ?u . ?u rdf:type ontology:university }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7612099,P69,c(Q3918))
['Q7612099', 'P69', {'concept': 'Q3918'}]
['Steve Burke', 'educated at', {'concept': 'university'}]
[]
Q245247 Q304985
SYSTEM
King's College London, Royal College of Music
Q245247 Q304985
(Q7612099,P69,c(Q3918))
action filter_type
action find
entity Q7612099
relation P69
type Q3918
[ANSWERS] are that person an alumni of
['Q7612099', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { resource:Q7612099 property:P69 ?u . ?u rdf:type ontology:Q3918 }
King's College London Royal College of Music
King's College London and Royal College of Music are that person an alumni of
King's College London Royal College of Music
action filter_type
action find
entity Steve Burke
relation educated at
type university
['Steve Burke', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { resource:Steve_Burke property:educated_at ?u . ?u rdf:type ontology:university }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7612099
P86
Q166142
USER
How many applications are composed by Steve Burke ?
(c(Q166142),P86,Q7612099)
action count
action filter_type
action find_reverse
entity Q7612099
relation P86
type Q166142
[{'concept': 'Q166142'}, 'P86', 'Q7612099']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P86 resource:Q7612099 . ?s rdf:type ontology:Q166142 }
Steve Burke
action count
action filter_type
action find_reverse
entity Steve Burke
relation composer
type application
[{'concept': 'application'}, 'composer', 'Steve Burke']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:composer resource:Steve_Burke . ?s rdf:type ontology:application }
[]
application
SYSTEM
3
Q6189114 Q19849221 Q2712020
(c(Q166142),P86,Q7612099)
action count
action filter_type
action find_reverse
entity Q7612099
relation P86
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P86', 'Q7612099']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P86 resource:Q7612099 . ?s rdf:type ontology:Q166142 }
Jetpac Refuelled Yooka-Laylee Kameo: Elements of Power
3
action count
action filter_type
action find_reverse
entity Steve Burke
relation composer
type application
[{'concept': 'application'}, 'composer', 'Steve Burke']
SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:composer resource:Steve_Burke . ?s rdf:type ontology:application }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q18391047
P306
Q7397 Q9135 Q166142
USER
Which applications are handled by more number of software and operating systems as the operating system than Monster Strike ?
(c(Q166142),P306,c(Q7397)|c(Q9135))
action greater
action union
action find_tuple_counts
relation P306
type Q166142
type Q7397
action find_tuple_counts
relation P306
type Q166142
type Q9135
action count
action filter_multi_types
action find
entity Q18391047
relation P306
type Q7397
type Q9135
[{'concept': 'Q166142'}, 'P306', [{'concept': 'Q7397'}, {'concept': 'Q9135'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?a ) WHERE { { ?g property:P306 ?u . ?g rdf:type ontology:Q166142 . ?u rdf:type ontology:Q7397 } UNION { ?g rdf:type ontology:Q166142 . ?u rdf:type ontology:Q9135 . ?g property:P306 ?u } } GROUP BY ?g } . FILTER ( ?a > ?p ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Q18391047 property:P306 ?o . { { ?o rdf:type ontology:Q9135 } UNION { ?o rdf:type ontology:Q7397 } } } } }
Monster Strike
action greater
action union
action find_tuple_counts
relation operating system
type application
type software
action find_tuple_counts
relation operating system
type application
type operating system
action count
action filter_multi_types
action find
entity Monster Strike
relation operating system
type software
type operating system
[{'concept': 'application'}, 'operating system', [{'concept': 'software'}, {'concept': 'operating system'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?a ) WHERE { { ?g property:operating_system ?u . ?g rdf:type ontology:application . ?u rdf:type ontology:software } UNION { ?g rdf:type ontology:application . ?u rdf:type ontology:operating_system . ?g property:operating_system ?u } } GROUP BY ?g } . FILTER ( ?a > ?p ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Monster_Strike property:operating_system ?o . { { ?o rdf:type ontology:operating_system } UNION { ?o rdf:type ontology:software } } } } }
[]
software operating system application
Q14121251 Q63966 Q19363216
SYSTEM
Resilio Sync, Unity, Hungry Shark Evolution
Q1049180 Q14121251 Q15729619 Q18508820 Q63966 Q1457398 Q20016101 Q1099163 Q20712352 Q8061140 Q17625797 Q19363216 Q1050182
(c(Q166142),P306,c(Q7397)|c(Q9135))
action greater
action union
action find_tuple_counts
relation P306
type Q166142
type Q7397
action find_tuple_counts
relation P306
type Q166142
type Q9135
action count
action filter_multi_types
action find
entity Q18391047
relation P306
type Q7397
type Q9135
[ANSWERS] are handled by more number of software and operating systems as the operating system than Monster Strike
[{'concept': 'Q166142'}, 'P306', [{'concept': 'Q7397'}, {'concept': 'Q9135'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?a ) WHERE { { ?g property:P306 ?u . ?g rdf:type ontology:Q166142 . ?u rdf:type ontology:Q7397 } UNION { ?g rdf:type ontology:Q166142 . ?u rdf:type ontology:Q9135 . ?g property:P306 ?u } } GROUP BY ?g } . FILTER ( ?a > ?p ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Q18391047 property:P306 ?o . { { ?o rdf:type ontology:Q9135 } UNION { ?o rdf:type ontology:Q7397 } } } } }
Lunascape Resilio Sync QuizClash Emacs Web Wowser Unity Mutt Rando Claws Mail Mail Yummly Trivia Crack Hungry Shark Evolution SRWare Iron
Resilio Sync, Unity and Hungry Shark Evolution are handled by more number of software and operating systems as the operating system than Monster Strike
Resilio Sync Unity Hungry Shark Evolution
action greater
action union
action find_tuple_counts
relation operating system
type application
type software
action find_tuple_counts
relation operating system
type application
type operating system
action count
action filter_multi_types
action find
entity Monster Strike
relation operating system
type software
type operating system
[{'concept': 'application'}, 'operating system', [{'concept': 'software'}, {'concept': 'operating system'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?a ) WHERE { { ?g property:operating_system ?u . ?g rdf:type ontology:application . ?u rdf:type ontology:software } UNION { ?g rdf:type ontology:application . ?u rdf:type ontology:operating_system . ?g property:operating_system ?u } } GROUP BY ?g } . FILTER ( ?a > ?p ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { resource:Monster_Strike property:operating_system ?o . { { ?o rdf:type ontology:operating_system } UNION { ?o rdf:type ontology:software } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q5615425
P306
Q7397 Q9135 Q166142
USER
And also tell me about Guide?
(c(Q166142),P306,c(Q7397)|c(Q9135))
action greater
action union
action find_tuple_counts
relation P306
type Q166142
type Q7397
action find_tuple_counts
relation P306
type Q166142
type Q9135
action count
action filter_multi_types
action find
entity Q5615425
relation P306
type Q7397
type Q9135
[{'concept': 'Q166142'}, 'P306', [{'concept': 'Q7397'}, {'concept': 'Q9135'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?d WHERE { { ?d property:P306 ?t . ?d rdf:type ontology:Q166142 . ?t rdf:type ontology:Q7397 } UNION { ?d property:P306 ?t . ?d rdf:type ontology:Q166142 . ?t rdf:type ontology:Q9135 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { { ?a rdf:type ontology:Q7397 } UNION { ?a rdf:type ontology:Q9135 } } . resource:Q5615425 property:P306 ?a } } . FILTER ( ?u > ?k ) }
Guide
action greater
action union
action find_tuple_counts
relation operating system
type application
type software
action find_tuple_counts
relation operating system
type application
type operating system
action count
action filter_multi_types
action find
entity Guide
relation operating system
type software
type operating system
[{'concept': 'application'}, 'operating system', [{'concept': 'software'}, {'concept': 'operating system'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?d WHERE { { ?d property:operating_system ?t . ?d rdf:type ontology:application . ?t rdf:type ontology:software } UNION { ?d property:operating_system ?t . ?d rdf:type ontology:application . ?t rdf:type ontology:operating_system } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { { ?a rdf:type ontology:software } UNION { ?a rdf:type ontology:operating_system } } . resource:Guide property:operating_system ?a } } . FILTER ( ?u > ?k ) }
[]
software operating system application
Q10135 Q14121251 Q63966
SYSTEM
LibreOffice, Resilio Sync, Unity
Q16267699 Q80375 Q18581234 Q1049180 Q3087512 Q18153284 Q412510 Q18643774 Q22095113 Q18156847 Q1265324 Q14121251 Q2136493 Q7825557 Q18196267 Q270431 Q16927854 Q15715947 Q12877 Q18414668 Q15729619 Q6758950 Q18011317 Q18643731 Q25937361 Q18154235 Q18215915 Q1185023 Q21041185 Q2440124 Q18155250 Q21806435 Q27229846 Q18216015 Q18148861 Q5756366 Q18347589 Q22666007 Q16267809 Q5757026 Q18154046 Q24090749 Q1604323 Q17510809 Q18149535 Q18150636 Q386283 Q16259285 Q22443669 Q2072103 Q18508820 Q63966 Q404293 Q902166 Q15870821 Q18148319 Q17297741 Q16927670 Q15397253 Q18643723 Q306020 Q18643685 Q1457398 Q18643681 Q11673778 Q20016101 Q1349704 Q1099163 Q5308889 Q16782011 Q1576579 Q35773 Q4980843 Q16262878 Q7696458 Q20712352 Q16267709 Q16267865 Q7997231 Q18913176 Q18151848 Q11340891 Q248810 Q16842767 Q8061140 Q857177 Q7756226 Q16267767 Q9253925 Q18154073 Q17625797 Q18643700 Q18155654 Q20925048 Q26256155 Q16184632 Q17476202 Q18391047 Q654196 Q18148257 Q18391057 Q621217 Q336251 Q19363216 Q5441251 Q2302402 Q16927629 Q18215943 Q8034278 Q9349 Q14753828 Q1149857 Q16781967 Q14565723 Q862505 Q17297931 Q18215863 Q813197 Q18215898 Q19687076 Q13645977 Q18154150 Q488886 Q1340211 Q82268 Q15978835 Q18150489 Q431171 Q1050182 Q10135 Q16927848 Q16743202 Q18209592 Q16267571
(c(Q166142),P306,c(Q7397)|c(Q9135))
action greater
action union
action find_tuple_counts
relation P306
type Q166142
type Q7397
action find_tuple_counts
relation P306
type Q166142
type Q9135
action count
action filter_multi_types
action find
entity Q5615425
relation P306
type Q7397
type Q9135
[ANSWERS]
[{'concept': 'Q166142'}, 'P306', [{'concept': 'Q7397'}, {'concept': 'Q9135'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?d WHERE { { ?d property:P306 ?t . ?d rdf:type ontology:Q166142 . ?t rdf:type ontology:Q7397 } UNION { ?d property:P306 ?t . ?d rdf:type ontology:Q166142 . ?t rdf:type ontology:Q9135 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { { ?a rdf:type ontology:Q7397 } UNION { ?a rdf:type ontology:Q9135 } } . resource:Q5615425 property:P306 ?a } } . FILTER ( ?u > ?k ) }
Breath of Fire 6 SpatiaLite Disco Zoo Lunascape OsmAnd Pridefest Keynote SuperStar SMTOWN After School App Warhammer 40,000: Carnage ActiveState Komodo Resilio Sync Reeder Torch browser Imouto Paradise 2 KOffice Tee'd Off Rabbids Big Bang Java OpenStreetMap Editor Little Raiders: Robin's Revenge QuizClash Maren Elysian Shadows Marvel Contest of Champions Prisma (app) Spider-Man Unlimited Karoshi Deluge AdAway Dooble Tony Hawk's Shred Session Iridium Amikumu Terra Battle Chaos Rings III High Roller Casino Gunman Clive Visual Karel '99 Gorogoa High Speed The Silent Age Duo Poser Football Manager 2015 Duet Heroes of Kalevala Folding@home Blendoku Robot Emil Personal Ancestral File Emacs Web Wowser Unity QupZilla Gramps Toy Story: Smash It! Asphalt Overdrive FireChat Highway Chase:The Ninja Bear Tor Browser Machineers iWork Bounden Mutt Apensar Puella Magi Madoka Magica iP Rando Parallels Desktop for Mac Claws Mail PhpStorm Exogenesis: Perils of Rebirth Mixxx Safari Elite: Dangerous Brave Frontier Telephone Mail Project Phoenix (video game) Read Only Memories Who Dunnit Vivaldi Little Tail Story Mami no Dokidoki Tiro Finale Dwarf Fortress Black Knight Yummly Adobe Flash Player The Party Zone Lego Minifigures Online Endomondo Sir Dashing Trivia Crack Final Fantasy: Brave Exvius Warhammer 40,000: Storm of Vengeance VoteSpotter NINA Dragon Friends Modern Combat (series) Monster Strike Aria AE Lucky Fishing Monsters Ate My Birthday Cake Contacts Evolution Hungry Shark Evolution Feedly Grindr Crash Lab Monty Python's Cow Tossing WordTag Picasa 7 Days to Die Shiira RETRY K-9 Mail Steinberg Cubase Angry Birds Transformers Devil's Attorney Simon Hamilton's Great Adventure Periscope ClassDojo Solipskier Flock GyazMail Eclipse Clumsy Ninja Harley Davidson Amazon Silk SRWare Iron LibreOffice Tales of the Arabian Nights Skylanders: Trap Team Ascension: Chronicle of the Godslayer Drago Pet
LibreOffice Resilio Sync Unity
action greater
action union
action find_tuple_counts
relation operating system
type application
type software
action find_tuple_counts
relation operating system
type application
type operating system
action count
action filter_multi_types
action find
entity Guide
relation operating system
type software
type operating system
[{'concept': 'application'}, 'operating system', [{'concept': 'software'}, {'concept': 'operating system'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?d WHERE { { ?d property:operating_system ?t . ?d rdf:type ontology:application . ?t rdf:type ontology:software } UNION { ?d property:operating_system ?t . ?d rdf:type ontology:application . ?t rdf:type ontology:operating_system } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { { ?a rdf:type ontology:software } UNION { ?a rdf:type ontology:operating_system } } . resource:Guide property:operating_system ?a } } . FILTER ( ?u > ?k ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P408
Q166142 Q166142
USER
How many applications are used by less number of applications than that application ?
(c(Q166142),P408,c(Q166142))
[{'concept': 'Q166142'}, 'P408', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2622299 ?z . ?z rdf:type ontology:Q166142 }
[{'concept': 'application'}, 'software engine', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:software_engine ?z . ?z rdf:type ontology:application }
[]
application application
Comparative|Count over More/Less|Single entity type|Clarification
Q63966
SYSTEM
Did you mean Unity ?
(c(Q166142),P408,c(Q166142))
[ANSWER]
[{'concept': 'Q166142'}, 'P408', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2622299 ?z . ?z rdf:type ontology:Q166142 }
Did you mean Unity ?
Unity
[{'concept': 'application'}, 'software engine', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:software_engine ?z . ?z rdf:type ontology:application }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q166142),P408,c(Q166142))
[{'concept': 'Q166142'}, 'P408', {'concept': 'Q166142'}]
[{'concept': 'application'}, 'software engine', {'concept': 'application'}]
[]
SYSTEM
126
Q4923991 Q2360842 Q275950 Q2918410 Q7038967 Q877501 Q2655540 Q2142212 Q3502717 Q1415817 Q11897773 Q909812 Q840121 Q668568 Q2569791 Q944320 Q5215076 Q1605807 Q838642 Q2060276 Q3976051 Q7277468 Q2264782 Q3275833 Q1158680 Q3276130 Q1751789 Q2799616 Q5204693 Q766090 Q7277472 Q1143139 Q754335 Q40627 Q55216 Q721822 Q135811 Q2702756 Q1125377 Q5215084 Q1116724 Q1123794 Q1070984 Q845695 Q1139696 Q2716371 Q773395 Q3726821 Q1758399 Q2744316 Q5520531 Q843131 Q1195945 Q975773 Q1066664 Q11168 Q1437623 Q857177 Q761815 Q1371583 Q3282873 Q1395352 Q3943726 Q3098037 Q5121380 Q2631873 Q2378963 Q1261715 Q18940 Q5215079 Q2188282 Q5215072 Q55239 Q1142344 Q74683 Q1315886 Q5422310 Q791439 Q3142351 Q170489 Q361644 Q5442382 Q873037 Q24300 Q2666191 Q665785 Q4006100 Q715292 Q71936 Q1403142 Q915860 Q866349 Q54322 Q2414280 Q324871 Q2463814 Q7054511 Q631704 Q1200921 Q1415070 Q2291002 Q949728 Q2844045 Q913218 Q471803 Q831664 Q1047938 Q634293 Q1370609 Q2255337 Q528310 Q16251493 Q360109 Q1200546 Q3281420 Q2641836 Q388247 Q71910 Q1798154 Q545072 Q2447000 Q1584849 Q3027935 Q11256854 Q1166314 Q843015
(c(Q166142),P408,c(Q166142))
[ANSWER]
[{'concept': 'Q166142'}, 'P408', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q2622299 ?z . ?z rdf:type ontology:Q166142 }
Dance Dance Revolution 3rdMix Skylanders: Spyro's Adventure Resident Evil 4 Guild Wars Ninjabread Man Animal Crossing: Wild World Worms Blast SimCopter LPMud Sensible Soccer TinyMUD Ridge Racer 6 Wii Fit Tomb Raider: The Last Revelation Pac-Man World Gran Turismo Dance Dance Revolution Extreme 2 Formula One 04 Doom RPG MechWarrior 2: 31st Century Combat Strike Fighters: Project 1 RPG Maker 95 Tony Hawk's Pro Skater RPG Maker 2000 Madden NFL 06 RPG Maker XP Panzer General F1 Championship Season 2000 DDRMAX Dance Dance Revolution 6thMix MotorStorm RPG Maker 2003 Gex: Enter the Gecko Command & Conquer: Tiberian Sun Sly Cooper and the Thievius Raccoonus Lego Star Wars: The Video Game Pokémon Ruby and Sapphire Z-machine Super Bomberman Descent: FreeSpace – The Great War Dance Dance Revolution Hottest Party 3 Homeworld Tomb Raider III Sonic Adventure 2 Gran Turismo 4 The Godfather: The Game Aurora Engine Gran Turismo 5 Epic Pinball PlayStation Home Dance Dance Revolution 2ndMix Ganbare Goemon! Karakuri Dōchū Super Smash Bros. Brawl Osu! Tatakae! Ouendan Gran Turismo 3: A-Spec Tetris: The Grand Master Super Mario Bros. Formula One 05 Adobe Flash Player Chrono Trigger Puyo Puyo NASCAR 08 Ultima VIII: Pagan SMAUG Turok 2: Seeds of Evil CircleMUD Falcon 4.0 Tony Hawk's Underground 2 UFO: Enemy Unknown Wolfenstein 3D Dance Dance Revolution Extreme R.C. Pro-Am Dance Dance Revolution Extra Mix Lego Star Wars II: The Original Trilogy Crystal Caves Lego Indiana Jones 2: The Adventure Continues Impossible Creatures Extreme Assault Battlefield 1942 Dungeon Siege II Super Mario Galaxy Starlancer Felix the Cat's Cartoon Toolbox Wolfenstein: Enemy Territory Infamous 2 QuakeWorld Tomb Raider: Legend Untold Legends: Dark Kingdom Prince of Persia: The Sands of Time Wii Sports Syphon Filter: Logan's Shadow Tomb Raider: Underworld Dungeon Siege Super Star Wars Fighter Maker Titan Quest Fire Emblem: Path of Radiance Soviet Strike Arcanum: Of Steamworks and Magick Obscura Wii Party The Bard's Tale Pokémon Colosseum Microsoft XNA Dance Dance Revolution 4thMix Viva Piñata Rome: Total War Betrayal at Krondor Guitar Hero III: Legends of Rock Magic Carpet Kirby's Return to Dream Land Messiah Shogun: Total War Dancing Stage EuroMix Adobe Director Descent Mighty Morphin Power Rangers: The Fighting Edition Marathon 2: Durandal Might and Magic III: Isles of Terra Tetris Guitar Hero II Diddy Kong Racing NHL 09 Sly 2: Band of Thieves DikuMUD FIFA 14 Darksiders II Ys: The Ark of Napishtim
126
[{'concept': 'application'}, 'software engine', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:software_engine ?z . ?z rdf:type ontology:application }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q245247 Q3154693
P106
Q502895
USER
How many people have King's College London or city council as his/her means of employment ?
(c(Q502895),P106,Q245247) (c(Q502895),P106,Q3154693)
action count
action union
action filter_type
action find_reverse
entity Q245247
relation P106
type Q502895
action filter_type
action find_reverse
entity Q3154693
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q245247'] [{'concept': 'Q502895'}, 'P106', 'Q3154693']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { VALUES ( ?j ) { ( resource:Q245247 ) ( resource:Q3154693 ) } . ?p property:P106 ?j }
King's College London city council
action count
action union
action filter_type
action find_reverse
entity King's College London
relation occupation
type common name
action filter_type
action find_reverse
entity city council
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', "King's College London"] [{'concept': 'common name'}, 'occupation', 'city council']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { VALUES ( ?j ) { ( resource:King's_College_London ) ( resource:city_council ) } . ?p property:occupation ?j }
[]
common name
SYSTEM
4
Q20762623 Q4805487 Q23899755 Q19885577
(c(Q502895),P106,Q245247) (c(Q502895),P106,Q3154693)
action count
action union
action filter_type
action find_reverse
entity Q245247
relation P106
type Q502895
action filter_type
action find_reverse
entity Q3154693
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q245247'] [{'concept': 'Q502895'}, 'P106', 'Q3154693']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { VALUES ( ?j ) { ( resource:Q245247 ) ( resource:Q3154693 ) } . ?p property:P106 ?j }
Romain De Vel Ashley Jackson Ingo Hayduk Max Klimmek
4
action count
action union
action filter_type
action find_reverse
entity King's College London
relation occupation
type common name
action filter_type
action find_reverse
entity city council
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', "King's College London"] [{'concept': 'common name'}, 'occupation', 'city council']
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { VALUES ( ?j ) { ( resource:King's_College_London ) ( resource:city_council ) } . ?p property:occupation ?j }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q56061 Q838948 Q15416
USER
Which administrative territories are min number of works of art and television programs set in ?
(c(Q838948)|c(Q15416),P840,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?j ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?t } } . FILTER ( ?n = ?j ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?n ) WHERE { { ?x property:P840 ?v . ?v rdf:type ontology:Q56061 . ?x rdf:type ontology:Q838948 } UNION { ?v rdf:type ontology:Q56061 . ?x rdf:type ontology:Q15416 . ?x property:P840 ?v } } GROUP BY ?v } }
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?j ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?t } } . FILTER ( ?n = ?j ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?n ) WHERE { { ?x property:narrative_location ?v . ?v rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:work_of_art } UNION { ?v rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:television_program . ?x property:narrative_location ?v } } GROUP BY ?v } }
[]
administrative territorial entity work of art television program
Q490 Q647 Q2090
SYSTEM
Milan, Rennes, Nuremberg
Q3579 Q704257 Q7436 Q21075005 Q1826473 Q28729 Q128499 Q804569 Q467664 Q23725 Q23337 Q1289 Q3413045 Q79873 Q81788 Q43453 Q308891 Q2500974 Q7054337 Q12892 Q80734 Q7880 Q82858 Q1435589 Q334 Q3437 Q75459 Q1635139 Q25319 Q34739 Q215177 Q27168 Q2048321 Q594807 Q48274 Q83317 Q12340599 Q37776 Q3561 Q490 Q6346 Q48370 Q2141 Q192517 Q43301 Q490584 Q1246235 Q6046 Q239 Q25410 Q16558 Q5212975 Q16556 Q52437 Q14815 Q13670 Q1911961 Q42462 Q5112 Q1735 Q613441 Q729006 Q64123 Q735022 Q11592 Q78 Q70 Q37100 Q16869 Q2214 Q37066 Q486439 Q2073798 Q26887 Q79980 Q82490 Q3766 Q41604 Q2177880 Q1011683 Q41329 Q6225 Q2118905 Q134672 Q1479 Q2302168 Q2090 Q621549 Q676689 Q271411 Q13496 Q27119 Q25331 Q25231 Q617 Q21855637 Q30096 Q48292 Q319476 Q162890 Q2634 Q863058 Q268873 Q159232 Q5818 Q384 Q27393 Q12191 Q202337 Q6537 Q49111 Q499196 Q647 Q3012 Q2301524 Q852778 Q323813 Q42735 Q580 Q586 Q43919 Q12340625 Q47716 Q6441 Q4190 Q897848 Q350 Q62677 Q1781238 Q3619316 Q41970 Q33986
(c(Q838948)|c(Q15416),P840,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
[ANSWERS] are min number of works of art and television programs set in
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?j ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?t } } . FILTER ( ?n = ?j ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?n ) WHERE { { ?x property:P840 ?v . ?v rdf:type ontology:Q56061 . ?x rdf:type ontology:Q838948 } UNION { ?v rdf:type ontology:Q56061 . ?x rdf:type ontology:Q15416 . ?x property:P840 ?v } } GROUP BY ?v } }
Tripoli Albany Gatchina Serritslev Tversted Kozhikode Yalta Bala, Ontario Butte Byzantium Salt Lake City Grenoble Farsø Tombstone Giza Plzeň special wards of Tokyo Richmond North Buxton, Ontario Antwerp Campagna Toulouse Sigmaringen Folsom Singapore Perugia Delphi Hvalpsund Aarhus Dayton Skagen Randers Varde Søborg Nashua Mosul Vedersø Besançon Algiers Milan Indianapolis Manchester Halifax Boulder Fresno Flint Nørresundby Novara Brussels Aalborg Fort Worth Damsholte Phoenix Murano Weißenfels Syracuse Thorning York Adelaide Innsbruck Middelfart Chatham Meiringen Walnut Grove, Minnesota Sonoma Basel Bern Auckland Constantinople Pskov Bismarck Cedar Rapids Welch Davenport Varanasi Lyme Regis Damascus Amiens Ågerup Rødbyhavn Linz Coventry Purley Exeter Bordeaux Kjellerup Nuremberg Inglewood Gravesend Malindi Brindisi Kolding Odense Svalbard Padua Hvilsager Frederiksberg Arles Cumaná Xanten Naples Summerside Newport Beach Santa Cruz Córdoba Skopje Herning Nantes Nauplion Vicenza Cambridge Costa Mesa Rennes Ulm Stege Whitby Jamestown Olympia Łódź Bonn Salem Vejlby Charleston Montpellier Passau Brande Cambridge Karakorum Stureby Grenå Pyatigorsk Valparaíso
Milan, Rennes and Nuremberg are min number of works of art and television programs set in
Milan Rennes Nuremberg
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?j ) { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ?a . VALUES ( ?a ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?t } } . FILTER ( ?n = ?j ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?n ) WHERE { { ?x property:narrative_location ?v . ?v rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:work_of_art } UNION { ?v rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:television_program . ?x property:narrative_location ?v } } GROUP BY ?v } }
[]