Simple Question (Direct)
Simple Question
Q1378264
P641
Q349
USER
What did Fabrizio Poletti participate in ?
(Q1378264,P641,c(Q349))
action filter_type
action find
entity Q1378264
relation P641
type Q349
['Q1378264', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q1378264 property:P641 ?o . ?o rdf:type ontology:Q349 }
Fabrizio Poletti
action filter_type
action find
entity Fabrizio Poletti
relation sport
type sport
['Fabrizio Poletti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Fabrizio_Poletti property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1378264,P641,c(Q349))
action filter_type
action find
entity Q1378264
relation P641
type Q349
Fabrizio Poletti participated in [ANSWER]
['Q1378264', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q1378264 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Fabrizio Poletti participated in association football
association football
action filter_type
action find
entity Fabrizio Poletti
relation sport
type sport
['Fabrizio Poletti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Fabrizio_Poletti property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P101
Q502895
USER
Which people have specialisation in that sport ?
(c(Q502895),P101,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q2736']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q2736 . ?s rdf:type ontology:Q502895 }
association football
action filter_type
action find_reverse
entity association football
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:association_football . ?s rdf:type ontology:common_name }
[]
common name
Q189587 Q860276 Q2091463
SYSTEM
Bobby Robson, Bilal Gülden, Anthony Martial
Q860276 Q2091463 Q6116226 Q189587 Q2639740
(c(Q502895),P101,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P101
type Q502895
[ANSWERS] have specialisation in that sport
[{'concept': 'Q502895'}, 'P101', 'Q2736']
SELECT DISTINCT ?s WHERE { ?s property:P101 resource:Q2736 . ?s rdf:type ontology:Q502895 }
Bilal Gülden Anthony Martial Jackie Benyon Bobby Robson Frédérique Jossinet
Bobby Robson, Bilal Gülden and Anthony Martial have specialisation in that sport
Bobby Robson Bilal Gülden Anthony Martial
action filter_type
action find_reverse
entity association football
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football']
SELECT DISTINCT ?s WHERE { ?s property:field_of_work resource:association_football . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q189587 Q860276 Q2091463
P641
Q349
USER
What sports were those people a part of ?
(Q189587,P641,c(Q349)) (Q860276,P641,c(Q349)) (Q2091463,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
['Q189587', 'P641', {'concept': 'Q349'}] ['Q860276', 'P641', {'concept': 'Q349'}] ['Q2091463', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?c ) { ( resource:Q860276 ) ( resource:Q2091463 ) ( resource:Q6116226 ) } . ?m rdf:type ontology:Q349 . ?c property:P641 ?m }
Bobby Robson Bilal Gülden Anthony Martial
action filter_type
action find
entity prev_answer
relation sport
type sport
['Bobby Robson', 'sport', {'concept': 'sport'}] ['Bilal Gülden', 'sport', {'concept': 'sport'}] ['Anthony Martial', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?c ) { ( resource:Bilal_Gülden ) ( resource:Anthony_Martial ) ( resource:Jackie_Benyon ) } . ?m rdf:type ontology:sport . ?c property:sport ?m }
[]
sport
Q2736 Q2736 Q2736
SYSTEM
association football
Q2736 Q2736 Q2736
(Q189587,P641,c(Q349)) (Q860276,P641,c(Q349)) (Q2091463,P641,c(Q349))
action filter_type
action find
entity prev_answer
relation P641
type Q349
[ANSWER], [ANSWER] and [ANSWER] those people a part of
['Q189587', 'P641', {'concept': 'Q349'}] ['Q860276', 'P641', {'concept': 'Q349'}] ['Q2091463', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?c ) { ( resource:Q860276 ) ( resource:Q2091463 ) ( resource:Q6116226 ) } . ?m rdf:type ontology:Q349 . ?c property:P641 ?m }
association football association football association football
Association football, association football and association football those people a part of
association football association football association football
action filter_type
action find
entity prev_answer
relation sport
type sport
['Bobby Robson', 'sport', {'concept': 'sport'}] ['Bilal Gülden', 'sport', {'concept': 'sport'}] ['Anthony Martial', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?c ) { ( resource:Bilal_Gülden ) ( resource:Anthony_Martial ) ( resource:Jackie_Benyon ) } . ?m rdf:type ontology:sport . ?c property:sport ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the country of origin of that sport ?
(Q2736,P495,c(Q1496967)) (Q2736,P495,c(Q1496967)) (Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}] ['Q2736', 'P495', {'concept': 'Q1496967'}] ['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?t WHERE { resource:Q2736 property:P495 ?t . ?t rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}] ['association football', 'country of origin', {'concept': 'territorial entity'}] ['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:association_football property:country_of_origin ?t . ?t rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967)) (Q2736,P495,c(Q1496967)) (Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the country of origin of that sport
['Q2736', 'P495', {'concept': 'Q1496967'}] ['Q2736', 'P495', {'concept': 'Q1496967'}] ['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?t WHERE { resource:Q2736 property:P495 ?t . ?t rdf:type ontology:Q1496967 }
England
England is the country of origin of that sport
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}] ['association football', 'country of origin', {'concept': 'territorial entity'}] ['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:association_football property:country_of_origin ?t . ?t rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P1532
Q502895
USER
Whose people are that territory ?
(c(Q502895),P1532,Q21)
action filter_type
action find_reverse
entity Q21
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q21']
SELECT DISTINCT ?a WHERE { ?a property:P1532 resource:Q21 . ?a rdf:type ontology:Q502895 }
England
action filter_type
action find_reverse
entity England
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'England']
SELECT DISTINCT ?a WHERE { ?a property:country_for_sport resource:England . ?a rdf:type ontology:common_name }
[]
common name
Q234576 Q190782 Q22669100
SYSTEM
Teddy Sheringham, Ronnie O'Sullivan, Yvonne Saunders
Q21402269 Q16210580 Q1922188 Q718533 Q23933231 Q126279 Q16570372 Q318765 Q310450 Q83756 Q4757089 Q17198424 Q19578071 Q23839484 Q24283657 Q18015449 Q952295 Q27062578 Q1719210 Q25841148 Q25712393 Q730238 Q6382704 Q26464525 Q190782 Q2907705 Q135314 Q311858 Q125538 Q1181146 Q2346840 Q550313 Q6209321 Q23899221 Q7608817 Q178195 Q313507 Q6834464 Q22159069 Q23010253 Q6405342 Q21675005 Q371382 Q3489581 Q16197248 Q357473 Q59600 Q234576 Q935875 Q373397 Q275823 Q318920 Q455460 Q721813 Q138067 Q9140805 Q6211475 Q26217926 Q16019708 Q148312 Q5983251 Q957789 Q391401 Q4707430 Q1681385 Q26217998 Q24050583 Q22669100 Q21808670 Q10718 Q1452267 Q3481426 Q5225233 Q23907033
(c(Q502895),P1532,Q21)
action filter_type
action find_reverse
entity Q21
relation P1532
type Q502895
[ANSWERS] are that territory
[{'concept': 'Q502895'}, 'P1532', 'Q21']
SELECT DISTINCT ?a WHERE { ?a property:P1532 resource:Q21 . ?a rdf:type ontology:Q502895 }
Alison Wyeth Keri Lees Mervyn King Owen Farrell Geoff Saunders Craig Gardner Kyle Langford Shaun Murphy Steve Davis Wes Brown Andrew Gilding David Pallett William Thomas Ray Middleton Natalie Williams Ad Wheeler Dave Chisnall John Doherty Kevin Painter Elliot Giles Rachel Wallader James Wade Keegan Brown Colin Walker Ronnie O'Sullivan Bob Hiller Gabriel Agbonlahor Mark Selby Titus Bramble Dean Winstanley Steve Beaton Phil Taylor Joe Cullen John Nuttall Stephen Bunting Luke Moore Judd Trump Michael Smith Andrew Pearson Stephi Douglas Kieran Brookes Sonia McGeorge Andy Hamilton Solomon Wariso Lesley-Ann Skeete Joe Davis Nico Yennaris Teddy Sheringham John Spencer Adrian Lewis Michael Thomas Jonny Wilkinson Terry Jenkins Stuart Bingham Wesley Newton Adelle Tracey Joe Murnan Ann Williams Andy Holden Zat Knight Ian White John Pulman Justin Pipe Alan Norris Jamie Caven Hugh Teape Jordan Thomas Yvonne Saunders Donovan Reid John Eustace Fred Davis Shannon Baker Darren Webster Simon Fairbrother
Teddy Sheringham, Ronnie O'Sullivan and Yvonne Saunders are that territory
Teddy Sheringham Ronnie O'Sullivan Yvonne Saunders
action filter_type
action find_reverse
entity England
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'England']
SELECT DISTINCT ?a WHERE { ?a property:country_for_sport resource:England . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21 Q1362670
P47
Q34442
USER
How many roads share border with England or place des Victoires ?
(c(Q34442),P47,Q21) (c(Q34442),P47,Q1362670)
action count
action union
action filter_type
action find_reverse
entity Q21
relation P47
type Q34442
action filter_type
action find_reverse
entity Q1362670
relation P47
type Q34442
[{'concept': 'Q34442'}, 'P47', 'Q21'] [{'concept': 'Q34442'}, 'P47', 'Q1362670']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:P47 resource:Q21 . ?g rdf:type ontology:Q34442 } UNION { ?g property:P47 resource:Q1362670 . ?g rdf:type ontology:Q34442 } }
England place des Victoires
action count
action union
action filter_type
action find_reverse
entity England
relation shares border with
type road
action filter_type
action find_reverse
entity place des Victoires
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'England'] [{'concept': 'road'}, 'shares border with', 'place des Victoires']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:shares_border_with resource:England . ?g rdf:type ontology:road } UNION { ?g property:shares_border_with resource:place_des_Victoires . ?g rdf:type ontology:road } }
[]
road
SYSTEM
6
Q3447566 Q3447336 Q3448687 Q3450332 Q3450436 Q3452727
(c(Q34442),P47,Q21) (c(Q34442),P47,Q1362670)
action count
action union
action filter_type
action find_reverse
entity Q21
relation P47
type Q34442
action filter_type
action find_reverse
entity Q1362670
relation P47
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P47', 'Q21'] [{'concept': 'Q34442'}, 'P47', 'Q1362670']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:P47 resource:Q21 . ?g rdf:type ontology:Q34442 } UNION { ?g property:P47 resource:Q1362670 . ?g rdf:type ontology:Q34442 } }
rue Croix-des-Petits-Champs rue Catinat rue La Feuillade rue Vide-Gousset rue d'Aboukir rue Étienne-Marcel
6
action count
action union
action filter_type
action find_reverse
entity England
relation shares border with
type road
action filter_type
action find_reverse
entity place des Victoires
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'England'] [{'concept': 'road'}, 'shares border with', 'place des Victoires']
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { ?g property:shares_border_with resource:England . ?g rdf:type ontology:road } UNION { ?g property:shares_border_with resource:place_des_Victoires . ?g rdf:type ontology:road } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2619211
P725
Q502895 Q15416
USER
How many television programs had their voice dubbing done by approximately the same number of people as Tsuritama ?
(c(Q15416),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q2619211
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?i ) WHERE { ?h property:P725 ?m . ?h rdf:type ontology:Q15416 . ?m rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q2619211 property:P725 ?s . ?s rdf:type ontology:Q15416 } } . FILTER ( ?i = ?n ) }
Tsuritama
action count
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Tsuritama
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?i ) WHERE { ?h property:voice_actor ?m . ?h rdf:type ontology:television_program . ?m rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Tsuritama property:voice_actor ?s . ?s rdf:type ontology:television_program } } . FILTER ( ?i = ?n ) }
[]
common name television program
SYSTEM
72
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q467722 Q239937 Q1857269 Q1195326 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q15176855 Q472309 Q2573191 Q2581704 Q917980 Q3547706 Q845452 Q307507 Q483943 Q3596105 Q757148 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q543203 Q128969 Q2455207 Q2452999 Q2275664 Q702039 Q7496805 Q962132 Q20669175 Q1050091 Q699760 Q1146803 Q2140751 Q4033639 Q550555 Q1640364 Q483106 Q3098248 Q633432 Q12019559 Q18558839 Q1072208 Q304290 Q1215573 Q2619211 Q1140254 Q1317932 Q5139461 Q18559016 Q430369 Q1494222 Q452374 Q2339582 Q15039539 Q3492143 Q5976198 Q1353486 Q45035
(c(Q15416),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q2619211
relation P725
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?i ) WHERE { ?h property:P725 ?m . ?h rdf:type ontology:Q15416 . ?m rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q2619211 property:P725 ?s . ?s rdf:type ontology:Q15416 } } . FILTER ( ?i = ?n ) }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound The Puppy's Further Adventures Pokémon Rio: Rainbow Gate! LOG HORIZON Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Wizard Barristers: Benmashi Cecil Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin Uchūsen Sagittarius Project Blue Earth SOS H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Popeye the Sailor Rocko's Modern Life Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Chip 'n Dale Rescue Rangers Calimero Mnemosyne Remi, Nobody's Girl Kim Possible: A Sitch in Time The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Pink Panther and Pals Hana Yori Dango Dastardly and Muttley in Their Flying Machines Saiyuki Cuéntame cómo pasó Boogiepop Phantom Akahori Gedou Hour Rabuge Gravity Falls Wild Arms: Twilight Venom Freezing Stratos 4 The Emperor's New School Free! Soul Eater Not! The Wonderful Adventures of Nils Rugrats The Proud Family Tsuritama Transformers: Animated Negima!? Engage Planet Kiss Dum Berserk The Critic Garfield in the Rough Ah My Buddha Trapp Family Story The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Renkin 3-kyū Magical? Pokān
72
action count
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Tsuritama
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?i ) WHERE { ?h property:voice_actor ?m . ?h rdf:type ontology:television_program . ?m rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Tsuritama property:voice_actor ?s . ?s rdf:type ontology:television_program } } . FILTER ( ?i = ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q234576
P19
Q123705
USER
Which neighborhood is the place of birth of Teddy Sheringham ?
(Q234576,P19,c(Q123705))
action filter_type
action find
entity Q234576
relation P19
type Q123705
['Q234576', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?g WHERE { resource:Q234576 property:P19 ?g . ?g rdf:type ontology:Q123705 }
Teddy Sheringham
action filter_type
action find
entity Teddy Sheringham
relation place of birth
type neighborhood
['Teddy Sheringham', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?g WHERE { resource:Teddy_Sheringham property:place_of_birth ?g . ?g rdf:type ontology:neighborhood }
[]
neighborhood
Q4576305
SYSTEM
Highams Park
Q4576305
(Q234576,P19,c(Q123705))
action filter_type
action find
entity Q234576
relation P19
type Q123705
The [ANSWER] is the place of birth of Teddy Sheringham
['Q234576', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?g WHERE { resource:Q234576 property:P19 ?g . ?g rdf:type ontology:Q123705 }
Highams Park
The Highams Park is the place of birth of Teddy Sheringham
Highams Park
action filter_type
action find
entity Teddy Sheringham
relation place of birth
type neighborhood
['Teddy Sheringham', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?g WHERE { resource:Teddy_Sheringham property:place_of_birth ?g . ?g rdf:type ontology:neighborhood }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q596137
Q123705
USER
And how about Gerry Anderson?
(Q596137,P19,c(Q123705))
action filter_type
action find
entity Q596137
relation P19
type Q123705
['Q596137', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?r WHERE { resource:Q596137 property:P19 ?r . ?r rdf:type ontology:Q123705 }
Gerry Anderson
action filter_type
action find
entity Gerry Anderson
relation place of birth
type neighborhood
['Gerry Anderson', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?r WHERE { resource:Gerry_Anderson property:place_of_birth ?r . ?r rdf:type ontology:neighborhood }
[]
neighborhood
Q150120
SYSTEM
Bloomsbury
Q150120
(Q596137,P19,c(Q123705))
action filter_type
action find
entity Q596137
relation P19
type Q123705
[ANSWER]
['Q596137', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?r WHERE { resource:Q596137 property:P19 ?r . ?r rdf:type ontology:Q123705 }
Bloomsbury
Bloomsbury
action filter_type
action find
entity Gerry Anderson
relation place of birth
type neighborhood
['Gerry Anderson', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?r WHERE { resource:Gerry_Anderson property:place_of_birth ?r . ?r rdf:type ontology:neighborhood }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P609
Q123705 Q34442
USER
Which roads are atmost 1 neighborhood a destination for ?
(c(Q34442),P609,c(Q123705))
action atmost
action find_tuple_counts
relation P609
type Q34442
type Q123705
value 1
[{'concept': 'Q34442'}, 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?d ) WHERE { ?s property:P609 ?z . ?s rdf:type ontology:Q34442 . ?z rdf:type ontology:Q123705 } GROUP BY ?s } }
action atmost
action find_tuple_counts
relation terminus location
type road
type neighborhood
value 1
[{'concept': 'road'}, 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?d ) WHERE { ?s property:terminus_location ?z . ?s rdf:type ontology:road . ?z rdf:type ontology:neighborhood } GROUP BY ?s } }
[]
neighborhood road
Q1557823 Q1479591 Q1422024
SYSTEM
A4 motorway, A59 motorway, A2 motorway
Q785219 Q785218 Q1429839 Q14178217 Q2490345 Q3265611 Q1817015 Q15899811 Q616141 Q785214 Q11148283 Q1881041 Q17033035 Q14324371 Q5653474 Q1876008 Q789445 Q2240391 Q2616258 Q1479591 Q10883203 Q1840594 Q2113951 Q1543288 Q511576 Q2551156 Q1865839 Q240530 Q646268 Q1960424 Q785455 Q2079851 Q2049033 Q2152928 Q1953180 Q2230364 Q14178223 Q2048424 Q2137946 Q7408059 Q2462535 Q996833 Q785288 Q17498855 Q13584020 Q2304505 Q2301854 Q3323272 Q24838889 Q785396 Q2641327 Q2152999 Q17028286 Q2265503 Q785445 Q2010195 Q20988210 Q1859275 Q2175112 Q1604527 Q1512120 Q3442591 Q2113972 Q1346172 Q1422024 Q1784648 Q2327238 Q22773505 Q1935971 Q2209418 Q2223266 Q476082 Q1834923 Q2286194 Q2356595 Q2314833 Q2640101 Q785361 Q4666084 Q2747998 Q2855520 Q14178320 Q2184881 Q1476638 Q1868632 Q10952330 Q2714607 Q16078374 Q2012167 Q2473140 Q3249716 Q963514 Q1788210 Q1857114 Q2476316 Q13429353 Q685888 Q14277053 Q491254 Q10883157 Q785252 Q2160498 Q2133735 Q2209956 Q2794048 Q2229202 Q785383 Q1820208 Q785371 Q14178234 Q2380528 Q785374 Q3124626 Q19840125 Q2205445 Q10943788 Q847373 Q3366275 Q2273614 Q19515194 Q785394 Q2414101 Q1517975 Q2496208 Q2611555 Q785393 Q325011 Q2525148 Q2113967 Q766733 Q2925286 Q834122 Q2311702 Q1552352 Q2061534 Q2456450 Q4631453 Q785262 Q589064 Q1925337 Q2391108 Q2863936 Q785324 Q4651742 Q1880860 Q2113982 Q2113981 Q2113980 Q3027016 Q10893525 Q17026563 Q2453912 Q430370 Q15925602 Q646399 Q2223497 Q785402 Q19207445 Q2739753 Q652212 Q2785203 Q1926026 Q1834766 Q785257 Q179002 Q2473114 Q2678544 Q14178251 Q3249981 Q1156682 Q638912 Q2060424 Q654031 Q2509623 Q5105706 Q3272030 Q5001001 Q1881035 Q11061830 Q19875 Q825605 Q2529864 Q785277 Q447309 Q2155688 Q2297824 Q785248 Q1903448 Q1465749 Q2092837 Q785246 Q1821717 Q1573208 Q143060 Q1557823 Q785225 Q9210868 Q2536332 Q1933910 Q14178229 Q2566891 Q14178280 Q4310548 Q732527 Q259421 Q785428 Q17028737 Q2126168 Q785422 Q489405 Q847531 Q1763757 Q1880862 Q785424 Q2533682 Q2503980 Q1668976 Q1835243 Q785339
(c(Q34442),P609,c(Q123705))
action atmost
action find_tuple_counts
relation P609
type Q34442
type Q123705
value 1
[ANSWERS]
[{'concept': 'Q34442'}, 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?d ) WHERE { ?s property:P609 ?z . ?s rdf:type ontology:Q34442 . ?z rdf:type ontology:Q123705 } GROUP BY ?s } }
G1113 Dandong–Fuxin Expressway G45 Daqing–Guangzhou Expressway A44 motorway N213 road Provincial road N973 Provincial road N360 N239 road Shanghai–Changzhou Expressway A65 motorway G16 Dandong–Xilinhot Expressway S1 M6 motorway G1815 Weifang–Rizhao Expressway G59 Hohhot–Beihai Expressway N254 road N214 road M1 motorway Provincial route 198 in the Netherlands Provincial road N522 A59 motorway Beijing–Tianjin Expressway Provincial road N310 N220 road A30 motorway Nikkō Kaidō Provincial road N306 Provincial road N205 G70 Fuzhou–Yinchuan Expressway A73 motorway Provincial road N711 G10 Suifenhe–Manzhouli Expressway N61 motorway N48 motorway A200 motorway N225 road Provincial road N763 N248 road Provincial route 629 N210 road Sam Rayburn Tollway N246 road A5 motorway G1112 Ji'an–Shuangliao Expressway G0111 Qinhuangdao–Binzhou Expressway Provincial road N707 South Gippsland Highway N242 road Provincial road N201 G0512 Chengdu–Leshan Expressway G22 Qingdao–Lanzhou Expressway N230 road A7 motorway G4E Wuhan–Shenzhen Expressway N999 G7011 Shiyan–Tianshui Expressway N491 road G0511 Mingjiang-Quting Expressway Provincial road N229 Provincial road N401 A58 motorway A28 motorway Provincial road N969 N261 road A74(M) and M74 motorways A2 motorway N211 road N223 road G0511 Deyang-Dujiangyan Expressway N217 road N241 road N224 road M10 motorway N36 motorway Provincial road N307 N226 road Provincial road N764 Provincial road N247 G4 Beijing–Hong Kong–Macau Expressway N227 road N237 road N236 road Provincial road N69 N259 motorway A50 motorway N260 road S32 Provincial road N701 G1N Beijing–Qinhuangdao Expressway N273 road N251 road Provincial road N812 Tōkaidō A76 motorway A79 motorway N216 road Amersfoortseweg A27 motorway N915 motorway Gyeongbu Expressway Jingping Expressway G1011 Harbin–Tongjiang Expressway N244 road N249 road Provincial road N710 Provincial road N479 (Netherlands) A68 motorway G2 Beijing–Shanghai Expressway A18 motorway G6 Beijing–Lhasa Expressway Provincial road N271 Provincial road N708 G5 Beijing–Kunming Expressway N258 road G0211 Tianjin–Shijiazhuang Expressway N243 road G1813 Weihai–Qingdao Expressway A29 motorway Provincial road N760 N221 road G3W Dezhou–Shangrao Expressway G7 Beijing–Ürümqi Expressway N238 road A67 motorway N233 road Provincial road N704 G3 Beijing–Taipei Expressway N263 road N235 road A256 motorway G3013 Kashgar–Irkeshtam Expressway N234 road Jingjintang Expressway N222 road A31 motorway provinciale weg 320 N257 road N99 motorway G11 Hegang–Dalian Expressway A15 motorway N14 road St. Anna Street Provincial road N765 G30 Lianyungang–Khorgas Expressway AH5 M180 motorway Provincial road N34 Provincial road N302 Provincial road N325 Provincial road N480 (Netherlands) Lan Lin expressway G4W2 Xuchang–Guangzhou Expressway N232 road Provincial road N348 Liyang–Huangshan Expressway A77 motorway N212 road G20 Qingdao–Yinchuan Expressway Groesbeekseweg Provincial road N335 A13 motorway N228 road N33 motorway N231 road G4212 Hefei–Anqing Expressway G1 Beijing–Harbin Expressway N262 road Provincial road N377 Provincial road N289 N245 road Kōshū Kaidō European route E75 Provincial road N305 A9 motorway N219 road Provincial road N702 Provincial road N208 N218 road M62 motorway G4W3 Lechang–Guangzhou Expressway M1 motorway D4 motorway M53 motorway G12 Hunchun–Ulanhot Expressway N57 motorway N215 road N255 road G4W Guangzhou–Macau Expressway Provincial road N46 A37 motorway Provincial road N367 G56 Hangzhou–Ruili Expressway N240 road A32 motorway N3 road A4 motorway G2012 Dingbian–Wuwei Expressway Provincial road N709 N712 N253 road N252 road Provincial road N706 Provincial road N368 N250 road N11 road M67 motorway G60 Shanghai–Kunming Expressway G2518 Shenzhen–Cenxi Expressway N712 motorway G18 Rongcheng–Wuhai Expressway M18 motorway A17 motorway A35 motorway M181 G42 Shanghai–Chengdu Expressway Provincial route 204 President George Bush Turnpike A8 motorway Provincial road N331 G36 Nanjing–Luoyang Expressway
Which roads are atmost 1 neighborhood a destination for
A4 motorway A59 motorway A2 motorway
action atmost
action find_tuple_counts
relation terminus location
type road
type neighborhood
value 1
[{'concept': 'road'}, 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d <= 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?d ) WHERE { ?s property:terminus_location ?z . ?s rdf:type ontology:road . ?z rdf:type ontology:neighborhood } GROUP BY ?s } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q6514349
P669
Q34442 Q3914
USER
Which schools are located on approximately the same number of roads as Lee Kuan Yew School of Public Policy ?
(c(Q3914),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q3914
type Q34442
action count
action filter_type
action find
entity Q6514349
relation P669
type Q3914
[{'concept': 'Q3914'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?a ) WHERE { ?x property:P669 ?m . ?m rdf:type ontology:Q34442 . ?x rdf:type ontology:Q3914 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:Q3914 . resource:Q6514349 property:P669 ?c } } . FILTER ( ?a = ?w ) }
Lee Kuan Yew School of Public Policy
action approx
action find_tuple_counts
relation located on street
type school
type road
action count
action filter_type
action find
entity Lee Kuan Yew School of Public Policy
relation located on street
type school
[{'concept': 'school'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?a ) WHERE { ?x property:located_on_street ?m . ?m rdf:type ontology:road . ?x rdf:type ontology:school } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:school . resource:Lee_Kuan_Yew_School_of_Public_Policy property:located_on_street ?c } } . FILTER ( ?a = ?w ) }
[]
road school
Q17574356 Q49126 Q3276962
SYSTEM
Haagaas School, Harvard Business School, Hartvig Nissen School
Q7628092 Q23661719 Q1641001 Q17574356 Q7649450 Q49126 Q6514349 Q16259388 Q1816228 Q3276962 Q3268696 Q2654767 Q16258686 Q337454 Q19830060
(c(Q3914),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q3914
type Q34442
action count
action filter_type
action find
entity Q6514349
relation P669
type Q3914
[ANSWERS] are located on approximately the same number of roads as Lee Kuan Yew School of Public Policy
[{'concept': 'Q3914'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?a ) WHERE { ?x property:P669 ?m . ?m rdf:type ontology:Q34442 . ?x rdf:type ontology:Q3914 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:Q3914 . resource:Q6514349 property:P669 ?c } } . FILTER ( ?a = ?w ) }
Studieskolen Henry Pars Drawing School Royal Danish Academy of Fine Arts Haagaas School Sussex House School Harvard Business School Lee Kuan Yew School of Public Policy Lee Kong Chian School of Business Royal Academy of Art Hartvig Nissen School lycée Georges-Clemenceau City of London School College of Visual Arts Académie Colarossi 6e Montessorischool Anne Frank
Haagaas School, Harvard Business School and Hartvig Nissen School are located on approximately the same number of roads as Lee Kuan Yew School of Public Policy
Haagaas School Harvard Business School Hartvig Nissen School
action approx
action find_tuple_counts
relation located on street
type school
type road
action count
action filter_type
action find
entity Lee Kuan Yew School of Public Policy
relation located on street
type school
[{'concept': 'school'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?a ) WHERE { ?x property:located_on_street ?m . ?m rdf:type ontology:road . ?x rdf:type ontology:school } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { ?c rdf:type ontology:school . resource:Lee_Kuan_Yew_School_of_Public_Policy property:located_on_street ?c } } . FILTER ( ?a = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7628092
P669
Q34442 Q3914
USER
And also tell me about Studieskolen?
(c(Q3914),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q3914
type Q34442
action count
action filter_type
action find
entity Q7628092
relation P669
type Q3914
[{'concept': 'Q3914'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?n ) WHERE { ?j property:P669 ?w . ?j rdf:type ontology:Q3914 . ?w rdf:type ontology:Q34442 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q7628092 property:P669 ?v . ?v rdf:type ontology:Q3914 } } . FILTER ( ?n = ?g ) }
Studieskolen
action approx
action find_tuple_counts
relation located on street
type school
type road
action count
action filter_type
action find
entity Studieskolen
relation located on street
type school
[{'concept': 'school'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?n ) WHERE { ?j property:located_on_street ?w . ?j rdf:type ontology:school . ?w rdf:type ontology:road } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Studieskolen property:located_on_street ?v . ?v rdf:type ontology:school } } . FILTER ( ?n = ?g ) }
[]
road school
Q17574356 Q49126 Q3276962
SYSTEM
Haagaas School, Harvard Business School, Hartvig Nissen School
Q7628092 Q17574356 Q49126 Q6514349 Q16259388 Q1816228 Q3276962 Q3268696 Q16258686 Q337454 Q19830060
(c(Q3914),P669,c(Q34442))
action approx
action find_tuple_counts
relation P669
type Q3914
type Q34442
action count
action filter_type
action find
entity Q7628092
relation P669
type Q3914
[ANSWERS]
[{'concept': 'Q3914'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?n ) WHERE { ?j property:P669 ?w . ?j rdf:type ontology:Q3914 . ?w rdf:type ontology:Q34442 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q7628092 property:P669 ?v . ?v rdf:type ontology:Q3914 } } . FILTER ( ?n = ?g ) }
Studieskolen Haagaas School Harvard Business School Lee Kuan Yew School of Public Policy Lee Kong Chian School of Business Royal Academy of Art Hartvig Nissen School lycée Georges-Clemenceau College of Visual Arts Académie Colarossi 6e Montessorischool Anne Frank
Haagaas School Harvard Business School Hartvig Nissen School
action approx
action find_tuple_counts
relation located on street
type school
type road
action count
action filter_type
action find
entity Studieskolen
relation located on street
type school
[{'concept': 'school'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?n ) WHERE { ?j property:located_on_street ?w . ?j rdf:type ontology:school . ?w rdf:type ontology:road } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Studieskolen property:located_on_street ?v . ?v rdf:type ontology:school } } . FILTER ( ?n = ?g ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1328663 Q860276
P27
Q1048835
USER
Which political territories are the native countriesof Bilal Gülden or Elfriede Rückert ?
OR((Q860276,P27,c(Q1048835)), (Q1328663,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q860276
relation P27
action find
entity Q1328663
relation P27
type Q1048835
{'OR': [['Q860276', 'P27', {'concept': 'Q1048835'}], ['Q1328663', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . { { resource:Q1328663 property:P27 ?y } UNION { resource:Q860276 property:P27 ?y } } }
Elfriede Rückert Bilal Gülden
action filter_type
action union
action find
entity Bilal Gülden
relation country of citizenship
action find
entity Elfriede Rückert
relation country of citizenship
type political territorial entity
{'OR': [['Bilal Gülden', 'country of citizenship', {'concept': 'political territorial entity'}], ['Elfriede Rückert', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . { { resource:Elfriede_Rückert property:country_of_citizenship ?y } UNION { resource:Bilal_Gülden property:country_of_citizenship ?y } } }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
OR((Q860276,P27,c(Q1048835)), (Q1328663,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q860276
relation P27
action find
entity Q1328663
relation P27
type Q1048835
[ANSWERS] are the native countriesof Bilal Gülden or Elfriede Rückert
{'OR': [['Q860276', 'P27', {'concept': 'Q1048835'}], ['Q1328663', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . { { resource:Q1328663 property:P27 ?y } UNION { resource:Q860276 property:P27 ?y } } }
Germany Austria
Germany and Austria are the native countriesof Bilal Gülden or Elfriede Rückert
Germany Austria
action filter_type
action union
action find
entity Bilal Gülden
relation country of citizenship
action find
entity Elfriede Rückert
relation country of citizenship
type political territorial entity
{'OR': [['Bilal Gülden', 'country of citizenship', {'concept': 'political territorial entity'}], ['Elfriede Rückert', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . { { resource:Elfriede_Rückert property:country_of_citizenship ?y } UNION { resource:Bilal_Gülden property:country_of_citizenship ?y } } }
[]