Simple Question (Direct)
Simple Question
Q3016183
P19
Q56061
USER
Which administrative territory is the place of birth of Darius Henderson ?
(Q3016183,P19,c(Q56061))
action filter_type
action find
entity Q3016183
relation P19
type Q56061
['Q3016183', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3016183 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Darius Henderson
action filter_type
action find
entity Darius Henderson
relation place of birth
type administrative territorial entity
['Darius Henderson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Darius_Henderson property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3139238
SYSTEM
Sutton
Q3139238
(Q3016183,P19,c(Q56061))
action filter_type
action find
entity Q3016183
relation P19
type Q56061
The [ANSWER] is the place of birth of Darius Henderson
['Q3016183', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3016183 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Sutton
The Sutton is the place of birth of Darius Henderson
Sutton
action filter_type
action find
entity Darius Henderson
relation place of birth
type administrative territorial entity
['Darius Henderson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Darius_Henderson property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3139238
P47
Q123705
USER
Which neighborhood is bordered by that administrative territory ?
(Q3139238,P47,c(Q123705))
action filter_type
action find
entity Q3139238
relation P47
type Q123705
['Q3139238', 'P47', {'concept': 'Q123705'}]
SELECT DISTINCT ?f WHERE { resource:Q3139238 property:P47 ?f . ?f rdf:type ontology:Q123705 }
Sutton
action filter_type
action find
entity Sutton
relation shares border with
type neighborhood
['Sutton', 'shares border with', {'concept': 'neighborhood'}]
SELECT DISTINCT ?f WHERE { resource:Sutton property:shares_border_with ?f . ?f rdf:type ontology:neighborhood }
[]
neighborhood
Q2240615
SYSTEM
Cheam
Q2240615
(Q3139238,P47,c(Q123705))
action filter_type
action find
entity Q3139238
relation P47
type Q123705
[ANSWER] is bordered by that administrative territory
['Q3139238', 'P47', {'concept': 'Q123705'}]
SELECT DISTINCT ?f WHERE { resource:Q3139238 property:P47 ?f . ?f rdf:type ontology:Q123705 }
Cheam
Cheam is bordered by that administrative territory
Cheam
action filter_type
action find
entity Sutton
relation shares border with
type neighborhood
['Sutton', 'shares border with', {'concept': 'neighborhood'}]
SELECT DISTINCT ?f WHERE { resource:Sutton property:shares_border_with ?f . ?f rdf:type ontology:neighborhood }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2240615 Q145
P17
Q15617994
USER
Is Cheam present in United Kingdom ?
(Q2240615,P17,Q145)
action is_in
entity Q145
action find
entity Q2240615
relation P17
['Q2240615', 'P17', 'Q145']
ASK WHERE { resource:Q2240615 property:P17 resource:Q145 }
Cheam United Kingdom
action is_in
entity United Kingdom
action find
entity Cheam
relation country
['Cheam', 'country', 'United Kingdom']
ASK WHERE { resource:Cheam property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2240615,P17,Q145)
action is_in
entity Q145
action find
entity Q2240615
relation P17
[ANSWER]
['Q2240615', 'P17', 'Q145']
ASK WHERE { resource:Q2240615 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Cheam
relation country
['Cheam', 'country', 'United Kingdom']
ASK WHERE { resource:Cheam property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3016183 Q145 Q4937354
P27
Q15617994
USER
Is Darius Henderson a native of United Kingdom and Bogalusa School Board ?
(Q3016183,P27,Q145) (Q3016183,P27,Q4937354)
action is_in
entity Q3016183
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q4937354
relation P27
['Q3016183', 'P27', 'Q145'] ['Q3016183', 'P27', 'Q4937354']
ASK WHERE { resource:Q3016183 property:P27 resource:Q145 . resource:Q3016183 property:P27 resource:Q4937354 }
Darius Henderson United Kingdom Bogalusa School Board
action is_in
entity Darius Henderson
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Bogalusa School Board
relation country of citizenship
['Darius Henderson', 'country of citizenship', 'United Kingdom'] ['Darius Henderson', 'country of citizenship', 'Bogalusa School Board']
ASK WHERE { resource:Darius_Henderson property:country_of_citizenship resource:United_Kingdom . resource:Darius_Henderson property:country_of_citizenship resource:Bogalusa_School_Board }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3016183,P27,Q145) (Q3016183,P27,Q4937354)
action is_in
entity Q3016183
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q4937354
relation P27
[ANSWER]
['Q3016183', 'P27', 'Q145'] ['Q3016183', 'P27', 'Q4937354']
ASK WHERE { resource:Q3016183 property:P27 resource:Q145 . resource:Q3016183 property:P27 resource:Q4937354 }
YES and NO respectively
action is_in
entity Darius Henderson
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Bogalusa School Board
relation country of citizenship
['Darius Henderson', 'country of citizenship', 'United Kingdom'] ['Darius Henderson', 'country of citizenship', 'Bogalusa School Board']
ASK WHERE { resource:Darius_Henderson property:country_of_citizenship resource:United_Kingdom . resource:Darius_Henderson property:country_of_citizenship resource:Bogalusa_School_Board }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4011
P159
Q43229 Q1269299
USER
How many organizations or business organizations have their head office location at Wesel ?
(c(Q43229),P159,Q4011) (c(Q1269299),P159,Q4011)
action count
action union
action filter_type
action find_reverse
entity Q4011
relation P159
type Q43229
action filter_type
action find_reverse
entity Q4011
relation P159
type Q1269299
[{'concept': 'Q43229'}, 'P159', 'Q4011'] [{'concept': 'Q1269299'}, 'P159', 'Q4011']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:Q1269299 . ?s property:P159 resource:Q4011 } UNION { ?s rdf:type ontology:Q43229 . ?s property:P159 resource:Q4011 } }
Wesel
action count
action union
action filter_type
action find_reverse
entity Wesel
relation headquarters location
type organization
action filter_type
action find_reverse
entity Wesel
relation headquarters location
type type of business entity
[{'concept': 'organization'}, 'headquarters location', 'Wesel'] [{'concept': 'type of business entity'}, 'headquarters location', 'Wesel']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:type_of_business_entity . ?s property:headquarters_location resource:Wesel } UNION { ?s rdf:type ontology:organization . ?s property:headquarters_location resource:Wesel } }
[]
organization type of business entity
SYSTEM
3
Q837298 Q18409992 Q797226
(c(Q43229),P159,Q4011) (c(Q1269299),P159,Q4011)
action count
action union
action filter_type
action find_reverse
entity Q4011
relation P159
type Q43229
action filter_type
action find_reverse
entity Q4011
relation P159
type Q1269299
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q4011'] [{'concept': 'Q1269299'}, 'P159', 'Q4011']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:Q1269299 . ?s property:P159 resource:Q4011 } UNION { ?s rdf:type ontology:Q43229 . ?s property:P159 resource:Q4011 } }
Altana Actega BYK Additives & Instruments
3
action count
action union
action filter_type
action find_reverse
entity Wesel
relation headquarters location
type organization
action filter_type
action find_reverse
entity Wesel
relation headquarters location
type type of business entity
[{'concept': 'organization'}, 'headquarters location', 'Wesel'] [{'concept': 'type of business entity'}, 'headquarters location', 'Wesel']
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { { ?s rdf:type ontology:type_of_business_entity . ?s property:headquarters_location resource:Wesel } UNION { ?s rdf:type ontology:organization . ?s property:headquarters_location resource:Wesel } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q19515194
P609
Q123705 Q34442
USER
How many roads have around the same number of neighborhoods as their destination as G3W Dezhou–Shangrao Expressway ?
(c(Q34442),P609,c(Q123705))
action count
action approx
action find_tuple_counts
relation P609
type Q34442
type Q123705
action count
action filter_type
action find
entity Q19515194
relation P609
type Q34442
[{'concept': 'Q34442'}, 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q19515194 property:P609 ?c . ?c rdf:type ontology:Q34442 } } . FILTER ( ?a = ?z ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?a ) WHERE { ?i property:P609 ?y . ?y rdf:type ontology:Q123705 . ?i rdf:type ontology:Q34442 } GROUP BY ?i } }
G3W Dezhou–Shangrao Expressway
action count
action approx
action find_tuple_counts
relation terminus location
type road
type neighborhood
action count
action filter_type
action find
entity G3W Dezhou–Shangrao Expressway
relation terminus location
type road
[{'concept': 'road'}, 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:G3W_Dezhou–Shangrao_Expressway property:terminus_location ?c . ?c rdf:type ontology:road } } . FILTER ( ?a = ?z ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?a ) WHERE { ?i property:terminus_location ?y . ?y rdf:type ontology:neighborhood . ?i rdf:type ontology:road } GROUP BY ?i } }
[]
neighborhood road
SYSTEM
219
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 count
action approx
action find_tuple_counts
relation P609
type Q34442
type Q123705
action count
action filter_type
action find
entity Q19515194
relation P609
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q19515194 property:P609 ?c . ?c rdf:type ontology:Q34442 } } . FILTER ( ?a = ?z ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?a ) WHERE { ?i property:P609 ?y . ?y rdf:type ontology:Q123705 . ?i rdf:type ontology:Q34442 } GROUP BY ?i } }
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
219
action count
action approx
action find_tuple_counts
relation terminus location
type road
type neighborhood
action count
action filter_type
action find
entity G3W Dezhou–Shangrao Expressway
relation terminus location
type road
[{'concept': 'road'}, 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:G3W_Dezhou–Shangrao_Expressway property:terminus_location ?c . ?c rdf:type ontology:road } } . FILTER ( ?a = ?z ) . { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?a ) WHERE { ?i property:terminus_location ?y . ?y rdf:type ontology:neighborhood . ?i rdf:type ontology:road } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2126168
P609
Q123705 Q34442
USER
And how about N712 motorway?
(c(Q34442),P609,c(Q123705))
action count
action approx
action find_tuple_counts
relation P609
type Q34442
type Q123705
action count
action filter_type
action find
entity Q2126168
relation P609
type Q34442
[{'concept': 'Q34442'}, 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?b ) WHERE { ?a property:P609 ?i . ?a rdf:type ontology:Q34442 . ?i rdf:type ontology:Q123705 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q2126168 property:P609 ?r . ?r rdf:type ontology:Q34442 } } . FILTER ( ?b = ?n ) }
N712 motorway
action count
action approx
action find_tuple_counts
relation terminus location
type road
type neighborhood
action count
action filter_type
action find
entity N712 motorway
relation terminus location
type road
[{'concept': 'road'}, 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?b ) WHERE { ?a property:terminus_location ?i . ?a rdf:type ontology:road . ?i rdf:type ontology:neighborhood } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:N712_motorway property:terminus_location ?r . ?r rdf:type ontology:road } } . FILTER ( ?b = ?n ) }
[]
neighborhood road
SYSTEM
219
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 count
action approx
action find_tuple_counts
relation P609
type Q34442
type Q123705
action count
action filter_type
action find
entity Q2126168
relation P609
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?b ) WHERE { ?a property:P609 ?i . ?a rdf:type ontology:Q34442 . ?i rdf:type ontology:Q123705 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q2126168 property:P609 ?r . ?r rdf:type ontology:Q34442 } } . FILTER ( ?b = ?n ) }
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
219
action count
action approx
action find_tuple_counts
relation terminus location
type road
type neighborhood
action count
action filter_type
action find
entity N712 motorway
relation terminus location
type road
[{'concept': 'road'}, 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?b ) WHERE { ?a property:terminus_location ?i . ?a rdf:type ontology:road . ?i rdf:type ontology:neighborhood } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:N712_motorway property:terminus_location ?r . ?r rdf:type ontology:road } } . FILTER ( ?b = ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2240615
P840
Q15416
USER
Which television program has its narrative set in Cheam ?
(c(Q15416),P840,Q2240615)
action filter_type
action find_reverse
entity Q2240615
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q2240615']
SELECT DISTINCT ?z WHERE { ?z property:P840 resource:Q2240615 . ?z rdf:type ontology:Q15416 }
Cheam
action filter_type
action find_reverse
entity Cheam
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Cheam']
SELECT DISTINCT ?z WHERE { ?z property:narrative_location resource:Cheam . ?z rdf:type ontology:television_program }
[]
television program
Q1761690
SYSTEM
Hancock's Half Hour
Q1761690
(c(Q15416),P840,Q2240615)
action filter_type
action find_reverse
entity Q2240615
relation P840
type Q15416
[ANSWER] has its narrative set in Cheam
[{'concept': 'Q15416'}, 'P840', 'Q2240615']
SELECT DISTINCT ?z WHERE { ?z property:P840 resource:Q2240615 . ?z rdf:type ontology:Q15416 }
Hancock's Half Hour
Hancock's Half Hour has its narrative set in Cheam
Hancock's Half Hour
action filter_type
action find_reverse
entity Cheam
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Cheam']
SELECT DISTINCT ?z WHERE { ?z property:narrative_location resource:Cheam . ?z rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1761690
P161
Q502895
USER
Which people were casted in that television program ?
(Q1761690,P161,c(Q502895))
action filter_type
action find
entity Q1761690
relation P161
type Q502895
['Q1761690', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1761690 property:P161 ?p . ?p rdf:type ontology:Q502895 }
Hancock's Half Hour
action filter_type
action find
entity Hancock's Half Hour
relation cast member
type common name
["Hancock's Half Hour", 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Hancock's_Half_Hour property:cast_member ?p . ?p rdf:type ontology:common_name }
[]
common name
Q1093792 Q1086861 Q1365832
SYSTEM
Kenneth Williams, Sid James, Tony Hancock
Q4818807 Q1086861 Q1093792 Q1365832
(Q1761690,P161,c(Q502895))
action filter_type
action find
entity Q1761690
relation P161
type Q502895
[ANSWERS] were casted in that television program
['Q1761690', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1761690 property:P161 ?p . ?p rdf:type ontology:Q502895 }
Bill Kerr Sid James Kenneth Williams Tony Hancock
Kenneth Williams, Sid James and Tony Hancock were casted in that television program
Kenneth Williams Sid James Tony Hancock
action filter_type
action find
entity Hancock's Half Hour
relation cast member
type common name
["Hancock's Half Hour", 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Hancock's_Half_Hour property:cast_member ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1093792
P725
Q15416
USER
Which television program had Kenneth Williams as the dubbing artist ?
(c(Q15416),P725,Q1093792)
action filter_type
action find_reverse
entity Q1093792
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', 'Q1093792']
SELECT DISTINCT ?z WHERE { ?z property:P725 resource:Q1093792 . ?z rdf:type ontology:Q15416 }
Kenneth Williams
action filter_type
action find_reverse
entity Kenneth Williams
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', 'Kenneth Williams']
SELECT DISTINCT ?z WHERE { ?z property:voice_actor resource:Kenneth_Williams . ?z rdf:type ontology:television_program }
[]
television program
Q2581704
SYSTEM
Willo the Wisp
Q2581704
(c(Q15416),P725,Q1093792)
action filter_type
action find_reverse
entity Q1093792
relation P725
type Q15416
[ANSWER] had Kenneth Williams as the dubbing artist
[{'concept': 'Q15416'}, 'P725', 'Q1093792']
SELECT DISTINCT ?z WHERE { ?z property:P725 resource:Q1093792 . ?z rdf:type ontology:Q15416 }
Willo the Wisp
Willo the Wisp had Kenneth Williams as the dubbing artist
Willo the Wisp
action filter_type
action find_reverse
entity Kenneth Williams
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', 'Kenneth Williams']
SELECT DISTINCT ?z WHERE { ?z property:voice_actor resource:Kenneth_Williams . ?z rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2581704
P495
Q15617994
USER
What is the origin of that television program ?
(Q2581704,P495,c(Q15617994))
action filter_type
action find
entity Q2581704
relation P495
type Q15617994
['Q2581704', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2581704 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
Willo the Wisp
action filter_type
action find
entity Willo the Wisp
relation country of origin
type designation for an administrative territorial entity
['Willo the Wisp', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Willo_the_Wisp property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2581704,P495,c(Q15617994))
action filter_type
action find
entity Q2581704
relation P495
type Q15617994
The origin of that television program is the [ANSWER]
['Q2581704', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2581704 property:P495 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
The origin of that television program is the United Kingdom
United Kingdom
action filter_type
action find
entity Willo the Wisp
relation country of origin
type designation for an administrative territorial entity
['Willo the Wisp', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Willo_the_Wisp property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]