Simple Question (Direct)
Simple Question
Q16215466
P136
Q151885
USER
Which genre does Josh One belong to ?
(Q16215466,P136,c(Q151885))
action filter_type
action find
entity Q16215466
relation P136
type Q151885
['Q16215466', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { resource:Q16215466 property:P136 ?i . ?i rdf:type ontology:Q151885 }
Josh One
action filter_type
action find
entity Josh One
relation genre
type concept
['Josh One', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { resource:Josh_One property:genre ?i . ?i rdf:type ontology:concept }
[]
concept
Q11401
SYSTEM
hip hop
Q11401
(Q16215466,P136,c(Q151885))
action filter_type
action find
entity Q16215466
relation P136
type Q151885
[ANSWER] does Josh One belong to
['Q16215466', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { resource:Q16215466 property:P136 ?i . ?i rdf:type ontology:Q151885 }
hip hop
Hip hop does Josh One belong to
hip hop
action filter_type
action find
entity Josh One
relation genre
type concept
['Josh One', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { resource:Josh_One property:genre ?i . ?i rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16215466
P19
Q852446
USER
Which US administrative territory was that person born in ?
(Q11401,P19,c(Q852446))
action filter_type
action find
entity Q16215466
relation P19
type Q852446
['Q11401', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?l WHERE { resource:Q16215466 property:P19 ?l . ?l rdf:type ontology:Q852446 }
Josh One
action filter_type
action find
entity Josh One
relation place of birth
type administrative territorial entity of the United States
['hip hop', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?l WHERE { resource:Josh_One property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1546
SYSTEM
Iowa
Q1546
(Q11401,P19,c(Q852446))
action filter_type
action find
entity Q16215466
relation P19
type Q852446
The [ANSWER] was that person born in
['Q11401', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?l WHERE { resource:Q16215466 property:P19 ?l . ?l rdf:type ontology:Q852446 }
Iowa
The Iowa was that person born in
Iowa
action filter_type
action find
entity Josh One
relation place of birth
type administrative territorial entity of the United States
['hip hop', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?l WHERE { resource:Josh_One property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1546
P1376
Q56061
USER
What is the capital of that US administrative territory ?
(c(Q56061),P1376,Q1546)
action filter_type
action find_reverse
entity Q1546
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q1546']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . ?s property:P1376 resource:Q1546 }
Iowa
action filter_type
action find_reverse
entity Iowa
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Iowa']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . ?s property:capital_of resource:Iowa }
[]
administrative territorial entity
Q39709
SYSTEM
Des Moines
Q39709
(c(Q56061),P1376,Q1546)
action filter_type
action find_reverse
entity Q1546
relation P1376
type Q56061
The capital of that US administrative territory is [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q1546']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . ?s property:P1376 resource:Q1546 }
Des Moines
The capital of that US administrative territory is Des Moines
Des Moines
action filter_type
action find_reverse
entity Iowa
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Iowa']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . ?s property:capital_of resource:Iowa }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39709
P190
Q112865
USER
Which Mexican administrative territory is twin city of that administrative territory ?
(Q39709,P190,c(Q112865))
action filter_type
action find
entity Q39709
relation P190
type Q112865
['Q39709', 'P190', {'concept': 'Q112865'}]
SELECT DISTINCT ?d WHERE { resource:Q39709 property:P190 ?d . ?d rdf:type ontology:Q112865 }
Des Moines
action filter_type
action find
entity Des Moines
relation sister city
type administrative territorial entity of Mexico
['Des Moines', 'sister city', {'concept': 'administrative territorial entity of Mexico'}]
SELECT DISTINCT ?d WHERE { resource:Des_Moines property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]
administrative territorial entity of Mexico
Q219574
SYSTEM
Naucalpan de Juárez Municipality
Q219574
(Q39709,P190,c(Q112865))
action filter_type
action find
entity Q39709
relation P190
type Q112865
[ANSWER] is twin city of that administrative territory
['Q39709', 'P190', {'concept': 'Q112865'}]
SELECT DISTINCT ?d WHERE { resource:Q39709 property:P190 ?d . ?d rdf:type ontology:Q112865 }
Naucalpan de Juárez Municipality
Naucalpan de Juárez Municipality is twin city of that administrative territory
Naucalpan de Juárez Municipality
action filter_type
action find
entity Des Moines
relation sister city
type administrative territorial entity of Mexico
['Des Moines', 'sister city', {'concept': 'administrative territorial entity of Mexico'}]
SELECT DISTINCT ?d WHERE { resource:Des_Moines property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1581
P840
Q852446 Q166142 Q15416
USER
How many US administrative territories are the narrative locations of lesser number of applications and television programs than Missouri ?
(c(Q166142)|c(Q15416),P840,c(Q852446))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1581
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?w WHERE { { ?t property:P840 ?w . ?w rdf:type ontology:Q852446 . ?t rdf:type ontology:Q166142 } UNION { ?t property:P840 ?w . ?w rdf:type ontology:Q852446 . ?t rdf:type ontology:Q15416 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P840 resource:Q1581 . { VALUES ( ?a ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } . ?u rdf:type ?a } } } . FILTER ( ?z < ?g ) }
Missouri
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity Missouri
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?w WHERE { { ?t property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?t rdf:type ontology:application } UNION { ?t property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?t rdf:type ontology:television_program } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:narrative_location resource:Missouri . { VALUES ( ?a ) { ( ontology:application ) ( ontology:television_program ) } . ?u rdf:type ?a } } } . FILTER ( ?z < ?g ) }
[]
administrative territorial entity of the United States application television program
SYSTEM
30
Q1397 Q43421 Q829 Q1603 Q1391 Q7886863 Q5000330 Q1612 Q1454 Q3474463 Q1415 Q782 Q1546 Q1204 Q1227 Q1223 Q1166 Q1207 Q1509 Q1371 Q1428 Q38555 Q759 Q1558 Q14710458 Q1588 Q523606 Q4705487 Q1212 Q16551
(c(Q166142)|c(Q15416),P840,c(Q852446))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1581
relation P840
type Q166142
type Q15416
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?w WHERE { { ?t property:P840 ?w . ?w rdf:type ontology:Q852446 . ?t rdf:type ontology:Q166142 } UNION { ?t property:P840 ?w . ?w rdf:type ontology:Q852446 . ?t rdf:type ontology:Q15416 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:P840 resource:Q1581 . { VALUES ( ?a ) { ( ontology:Q166142 ) ( ontology:Q15416 ) } . ?u rdf:type ?a } } } . FILTER ( ?z < ?g ) }
Ohio Richmond Utah Kentucky Maryland Unionville Burr Oak, Iowa Arkansas North Carolina South Troy Indiana Hawaii Iowa Illinois Nevada Washington Michigan North Dakota Tennessee West Virginia Georgia Santa Fe New Hampshire Kansas Esperanza Louisiana Langley Aladdin, Wyoming Montana Vermont
30
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity Missouri
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) ?w WHERE { { ?t property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?t rdf:type ontology:application } UNION { ?t property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?t rdf:type ontology:television_program } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { ?u property:narrative_location resource:Missouri . { VALUES ( ?a ) { ( ontology:application ) ( ontology:television_program ) } . ?u rdf:type ?a } } } . FILTER ( ?z < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1527
P840
Q852446 Q166142 Q15416
USER
And what about Minnesota?
(c(Q166142)|c(Q15416),P840,c(Q852446))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1527
relation P840
type Q166142
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15416 ) ( ontology:Q166142 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P840 resource:Q1527 . { { ?w rdf:type ontology:Q166142 } UNION { ?w rdf:type ontology:Q15416 } } } } . FILTER ( ?o < ?e ) }
Minnesota
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity Minnesota
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:television_program ) ( ontology:application ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:narrative_location resource:Minnesota . { { ?w rdf:type ontology:application } UNION { ?w rdf:type ontology:television_program } } } } . FILTER ( ?o < ?e ) }
[]
administrative territorial entity of the United States application television program
SYSTEM
39
Q1397 Q43421 Q829 Q1603 Q1391 Q7886863 Q5000330 Q724 Q1581 Q1612 Q1454 Q1384 Q3474463 Q1415 Q782 Q1546 Q1204 Q1522 Q1227 Q1223 Q1166 Q816 Q1207 Q1509 Q1371 Q1261 Q1428 Q38555 Q759 Q1558 Q14710458 Q1588 Q173 Q523606 Q4705487 Q1212 Q1553 Q1211 Q16551
(c(Q166142)|c(Q15416),P840,c(Q852446))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1527
relation P840
type Q166142
type Q15416
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:Q15416 ) ( ontology:Q166142 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:P840 resource:Q1527 . { { ?w rdf:type ontology:Q166142 } UNION { ?w rdf:type ontology:Q15416 } } } } . FILTER ( ?o < ?e ) }
Ohio Richmond Utah Kentucky Maryland Unionville Burr Oak, Iowa Maine Missouri Arkansas North Carolina New York South Troy Indiana Hawaii Iowa Illinois New Mexico Nevada Washington Michigan Arizona North Dakota Tennessee West Virginia Colorado Georgia Santa Fe New Hampshire Kansas Esperanza Louisiana Alabama Langley Aladdin, Wyoming Montana Nebraska South Dakota Vermont
39
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity Minnesota
relation narrative location
type application
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:television_program ) ( ontology:application ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { ?w property:narrative_location resource:Minnesota . { { ?w rdf:type ontology:application } UNION { ?w rdf:type ontology:television_program } } } } . FILTER ( ?o < ?e ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q261709 Q16215466
P27
Q15617994
USER
Which administrative territories are the native countriesof Josh One or Maria Damanaki ?
OR((Q16215466,P27,c(Q15617994)), (Q261709,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16215466
relation P27
action find
entity Q261709
relation P27
type Q15617994
{'OR': [['Q16215466', 'P27', {'concept': 'Q15617994'}], ['Q261709', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { ?t property:P27 ?v . VALUES ( ?t ) { ( resource:Q16215466 ) ( resource:Q261709 ) } } . ?v rdf:type ontology:Q15617994 }
Maria Damanaki Josh One
action filter_type
action union
action find
entity Josh One
relation country of citizenship
action find
entity Maria Damanaki
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Josh One', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Maria Damanaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?t property:country_of_citizenship ?v . VALUES ( ?t ) { ( resource:Josh_One ) ( resource:Maria_Damanaki ) } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q41
SYSTEM
United States of America, Greece
Q30 Q41
OR((Q16215466,P27,c(Q15617994)), (Q261709,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16215466
relation P27
action find
entity Q261709
relation P27
type Q15617994
[ANSWERS] are the native countriesof Josh One or Maria Damanaki
{'OR': [['Q16215466', 'P27', {'concept': 'Q15617994'}], ['Q261709', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { ?t property:P27 ?v . VALUES ( ?t ) { ( resource:Q16215466 ) ( resource:Q261709 ) } } . ?v rdf:type ontology:Q15617994 }
United States of America Greece
United States of America and Greece are the native countriesof Josh One or Maria Damanaki
United States of America Greece
action filter_type
action union
action find
entity Josh One
relation country of citizenship
action find
entity Maria Damanaki
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Josh One', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Maria Damanaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?t property:country_of_citizenship ?v . VALUES ( ?t ) { ( resource:Josh_One ) ( resource:Maria_Damanaki ) } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q41
P1376
Q56061
USER
Which administrative territories are the county seat of United States of America and Greece ?
(c(Q56061),P1376,Q30) (c(Q56061),P1376,Q41)
action union
action filter_type
action find_reverse
entity Q30
relation P1376
type Q56061
action filter_type
action find_reverse
entity Q41
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q30'] [{'concept': 'Q56061'}, 'P1376', 'Q41']
SELECT DISTINCT ?h WHERE { { ?h property:P1376 resource:Q30 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P1376 resource:Q41 . ?h rdf:type ontology:Q56061 } }
United States of America Greece
action union
action filter_type
action find_reverse
entity United States of America
relation capital of
type administrative territorial entity
action filter_type
action find_reverse
entity Greece
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'United States of America'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Greece']
SELECT DISTINCT ?h WHERE { { ?h property:capital_of resource:United_States_of_America . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:capital_of resource:Greece . ?h rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1524 Q60 Q61
SYSTEM
Athens, New York City, Washington, D.C.
Q60 Q61 Q1524 Q202337
(c(Q56061),P1376,Q30) (c(Q56061),P1376,Q41)
action union
action filter_type
action find_reverse
entity Q30
relation P1376
type Q56061
action filter_type
action find_reverse
entity Q41
relation P1376
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P1376', 'Q30'] [{'concept': 'Q56061'}, 'P1376', 'Q41']
SELECT DISTINCT ?h WHERE { { ?h property:P1376 resource:Q30 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P1376 resource:Q41 . ?h rdf:type ontology:Q56061 } }
New York City Washington, D.C. Athens Nauplion
Athens, New York City and Washington, D.C. are the county seat of United States of America and Greece
Athens New York City Washington, D.C.
action union
action filter_type
action find_reverse
entity United States of America
relation capital of
type administrative territorial entity
action filter_type
action find_reverse
entity Greece
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'United States of America'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Greece']
SELECT DISTINCT ?h WHERE { { ?h property:capital_of resource:United_States_of_America . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:capital_of resource:Greece . ?h rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1524 Q60 Q61
P840
Q15416
USER
Which television programs have a setting location of those administrative territories ?
(c(Q15416),P840,Q1524) (c(Q15416),P840,Q60) (c(Q15416),P840,Q61)
action filter_type
action find_reverse
entity prev_answer
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q1524'] [{'concept': 'Q15416'}, 'P840', 'Q60'] [{'concept': 'Q15416'}, 'P840', 'Q61']
SELECT DISTINCT ?u WHERE { ?u property:P840 ?s . ?u rdf:type ontology:Q15416 . VALUES ( ?s ) { ( resource:Q60 ) ( resource:Q61 ) ( resource:Q1524 ) } }
Athens New York City Washington, D.C.
action filter_type
action find_reverse
entity prev_answer
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Athens'] [{'concept': 'television program'}, 'narrative location', 'New York City'] [{'concept': 'television program'}, 'narrative location', 'Washington, D.C.']
SELECT DISTINCT ?u WHERE { ?u property:narrative_location ?s . ?u rdf:type ontology:television_program . VALUES ( ?s ) { ( resource:New_York_City ) ( resource:Washington,_D.C. ) ( resource:Athens ) } }
[]
television program
Q23628 Q79784 Q1048856
SYSTEM
The Sopranos, Friends, All in the Family
Q16205080 Q300420 Q4966725 Q4839587 Q2700828 Q3223741 Q189350 Q6945603 Q250536 Q1583172 Q4003982 Q3180766 Q6351961 Q3829084 Q3274503 Q18149546 Q1340785 Q21148896 Q22948830 Q20656755 Q5251826 Q5991273 Q1135544 Q20856971 Q125843 Q6811656 Q1053941 Q3182974 Q13211494 Q5024017 Q4101750 Q2806676 Q858778 Q19897719 Q217902 Q727826 Q427453 Q775163 Q7731708 Q16565788 Q1289490 Q2311926 Q6104478 Q808487 Q5658541 Q15070536 Q5327270 Q7824448 Q18386682 Q564345 Q19857099 Q4921033 Q3647150 Q19798701 Q5288450 Q393078 Q16888258 Q7824453 Q19363460 Q7395847 Q20856932 Q21043356 Q6690203 Q2308488 Q3539291 Q224917 Q32488 Q17035167 Q20646956 Q5693093 Q5760525 Q16155320 Q2797615 Q7759403 Q828839 Q3714807 Q181943 Q20897314 Q5669512 Q6940271 Q15070575 Q17007751 Q17131362 Q6073242 Q22025597 Q7717661 Q525591 Q4052979 Q14898907 Q5978355 Q1145360 Q147235 Q15995127 Q8000462 Q540864 Q752365 Q7456010 Q868597 Q510554 Q19880903 Q1141890 Q847849 Q7091094 Q5299870 Q1465636 Q7560261 Q5559697 Q3660497 Q7602968 Q4897962 Q152178 Q17986725 Q16993471 Q1197720 Q1083354 Q3280591 Q1663591 Q3857346 Q7759671 Q3282330 Q1421950 Q276690 Q946683 Q16943599 Q23628 Q7355831 Q6034473 Q7759663 Q1784986 Q6012683 Q427583 Q386880 Q1214490 Q11867219 Q3283065 Q7430357 Q5454476 Q7785947 Q15995272 Q2492030 Q5271072 Q5564672 Q1629900 Q2072871 Q1831060 Q7735900 Q23609 Q5270331 Q4906309 Q8056668 Q463999 Q4905635 Q13107396 Q3866768 Q23614 Q3795515 Q7271876 Q1249108 Q18169250 Q2846257 Q18154938 Q7770375 Q79784 Q4645007 Q777406 Q6956127 Q6956129 Q13417244 Q15039840 Q3987943 Q650822 Q219650 Q27089570 Q16163647 Q2418937 Q739780 Q3993366 Q339818 Q1677988 Q6772930 Q640994 Q422759 Q19868206 Q5218194 Q2359321 Q18347317 Q2761044 Q1184567 Q2518379 Q7737769 Q6058003 Q3602966 Q2417888 Q3713939 Q573934 Q826594 Q5089133 Q19824751 Q7246159 Q549441 Q1029458 Q4032414 Q2626454 Q1428750 Q5467115 Q4637537 Q2061961 Q7438789 Q478953 Q7731606 Q7762122 Q3976740 Q1419644 Q3876008 Q2015828 Q3264193 Q2851616 Q2818209 Q609274 Q1337217 Q18753985 Q2649688 Q8070843 Q7517238 Q1055728 Q4867658 Q6745244 Q7712881 Q19756164 Q427529 Q1409535 Q7756102 Q3705133 Q19264065 Q14542774 Q653943 Q7991342 Q7971908 Q7694438 Q7694433 Q7694430 Q7694436 Q7694437 Q16992512 Q3519915 Q6945351 Q586496 Q16679145 Q5151773 Q18915123 Q1467732 Q7694428 Q7694425 Q7694424 Q7694427 Q7694421 Q7694420 Q7694423 Q6986650 Q16853893 Q22079350 Q7379982 Q23536 Q1771276 Q1489466 Q15070579 Q17018668 Q33323 Q1434127 Q1139660 Q2469905 Q62564 Q1831165 Q1048856 Q1424202 Q4535725 Q83401 Q3119187 Q7077503 Q1194878 Q24204540 Q498569 Q7733822 Q618329 Q7744221 Q16943567 Q541367 Q4004218 Q14422869 Q3823120 Q7754315 Q4548312 Q276180 Q6956020 Q15070553 Q3958367 Q3837713 Q7729248 Q5108615 Q2061636 Q7759596 Q5366852 Q21664031 Q201913 Q24054627 Q4869869 Q73268 Q3772844 Q3844149 Q6960468 Q5085040 Q5737623 Q966307 Q1127377 Q751257 Q2702538 Q155629 Q5123152 Q3787208 Q6545259 Q175627 Q23733 Q7759657 Q7694431 Q7602643 Q254964 Q20649431 Q1578746 Q7683332 Q3842362 Q7769570 Q4974866 Q23722 Q7980732 Q5366869 Q7750089 Q928149 Q5457867 Q1030989 Q2299337 Q18207968 Q15995064 Q7599411 Q3283662 Q199853 Q7099650 Q3283336 Q1630546 Q1199027 Q769237 Q15072855 Q1142752 Q24037548 Q16168917 Q15070578 Q7799399 Q772682 Q17034268 Q20017519 Q31915 Q498664 Q17049499 Q943903 Q7306629 Q1493130 Q3783764 Q11815319 Q1970206 Q4897963 Q7489342 Q4353258 Q7720305 Q887734 Q7119798 Q276528 Q39719 Q20022640 Q4380 Q153227 Q2095316 Q3979019 Q498657 Q390011 Q18786444 Q6946389 Q1216187 Q927245 Q7797992 Q4898462 Q1044593 Q806282 Q17986319 Q15039861 Q7753609 Q13218705 Q1676958 Q2714167 Q16169423 Q7518135 Q4549364 Q2063310 Q19570 Q3532330 Q733938 Q7242734 Q18645273 Q641690 Q7354925 Q3280995 Q1608616 Q24204467 Q497513 Q7839803 Q223977 Q7758103 Q256527 Q2609221 Q1248335 Q218567 Q1247377 Q6126498 Q7736166 Q585758 Q2843914 Q6928567 Q1247556 Q370185 Q1752538 Q1152974 Q3235315 Q551602 Q321423 Q19650436 Q777835 Q1247567 Q192259 Q826477 Q24207659 Q742551 Q3791087 Q18844729 Q4904925 Q4726418 Q5208006 Q1462394 Q13232035 Q15039850 Q21480342 Q19858482 Q1365411 Q16977365 Q797839 Q1160221 Q19911394 Q885643 Q16205080 Q2282750 Q2421745 Q3712862 Q2740800 Q3538857 Q16869018 Q1817561 Q15070582 Q35791 Q2927975 Q5222467 Q2327796 Q16915631 Q2333456 Q7761177 Q8030761 Q16994336 Q3712420 Q7712511 Q5914987 Q2478848 Q17266730 Q18844750 Q3317572 Q16889037 Q22252118 Q217674 Q20856898 Q1638855 Q5131101 Q12129822 Q56194 Q2625906 Q4048613 Q569934 Q655271 Q2000709 Q7767635 Q527916 Q7746316 Q3881953 Q6859759 Q2580194 Q5245646 Q912437 Q521289 Q20646602 Q3519721 Q3817047 Q8027881 Q15036044 Q7096193 Q2264138 Q485457 Q1247414 Q15070525 Q430369 Q590572 Q14513277 Q1639429 Q901441 Q7878956 Q5136525 Q3305666 Q1190140 Q4658164 Q6691646 Q6691644 Q1247400 Q16159378 Q7113525 Q5505688 Q20743300 Q17039396 Q1891872 Q5422307 Q27664424 Q946806 Q1145602 Q656539 Q18357298 Q1129472 Q4004191 Q2340539 Q7530818 Q3908381 Q18948 Q17109871 Q3694545 Q7402447 Q3339198 Q3835569 Q16958703 Q858533 Q3958986 Q1247452 Q1543227 Q2698050 Q212135 Q4764879 Q813452 Q133683 Q464865 Q937172 Q485856 Q15070544 Q6746148 Q6781015 Q3896097 Q210683 Q7193231 Q18605540 Q247643 Q3523365 Q22026343 Q3063140 Q963565 Q3234156 Q20800462 Q16547100 Q3844061 Q16995763 Q1193168 Q4895395 Q17070012 Q1369397 Q6267285 Q7716089 Q16860023 Q7455987 Q7751721 Q7754511 Q2084232 Q5071861 Q17104828 Q460707 Q1215214 Q8002649 Q1164745 Q468257 Q207803 Q6369456 Q25182 Q4926508 Q7824451 Q4851196 Q3887566 Q7759592 Q4525 Q1249413 Q323818 Q1525645 Q3577037 Q2744 Q498438 Q80217 Q3611894 Q599085 Q3072951 Q603618 Q1392115 Q1138005 Q2690493 Q3330940 Q842118 Q2707414 Q23594 Q5085137 Q135612 Q917608 Q4838141 Q7698343 Q15219382 Q13422708 Q7758075 Q5204233 Q420702 Q3324491 Q7757984 Q697031 Q74801 Q521718 Q1319687 Q15072827 Q392832 Q7734125 Q3230775 Q7236716 Q13420404 Q3656848 Q4986685 Q684695 Q17635847 Q8031616 Q7727850 Q1069002 Q3532233 Q5655610 Q3283591 Q56194 Q4966684 Q374251 Q754197 Q1247268 Q1213817 Q794258 Q7710977 Q7751721 Q1762748
(c(Q15416),P840,Q1524) (c(Q15416),P840,Q60) (c(Q15416),P840,Q61)
action filter_type
action find_reverse
entity prev_answer
relation P840
type Q15416
[ANSWERS] have a setting location of those administrative territories
[{'concept': 'Q15416'}, 'P840', 'Q1524'] [{'concept': 'Q15416'}, 'P840', 'Q60'] [{'concept': 'Q15416'}, 'P840', 'Q61']
SELECT DISTINCT ?u WHERE { ?u property:P840 ?s . ?u rdf:type ontology:Q15416 . VALUES ( ?s ) { ( resource:Q60 ) ( resource:Q61 ) ( resource:Q1524 ) } }
Teenage Mutant Ninja Turtles (1987 TV series) (season 7) A Gifted Man Bridget Loves Bernie Backchat The Wayans Bros. Suzanne's Diary for Nicholas 30 Rock My Guys Boss of Bosses Less Than Perfect Madman of the People A Nero Wolfe Mystery Kaleidoscope The Snoop Sisters Some of My Best Friends The Dumplings The Beautiful Life: TBL Iron Fist Travel Man Billions Degrassi Takes Manhattan Iftah Ya Simsim You Again? Master of None Prince Charming Melba Central Park West Johnny Staccato The Michael J. Fox Show Calucci's Department In the Arms of a Killer 100 Questions Late Show with David Letterman I Love Paraisópolis Animal Practice Kate & Allie Cashmere Mafia Beauty & the Briefcase The Electric Company Eye Candy Harriet the Spy: Blog Wars NYC Prep Teenage Mutant Ninja Turtles (2003 TV series) (season 2) Barney Miller Harlem Heights Girl Meets World Earthquake in New York season 5 of Top Chef Cavemen Person of Interest Shades of Blue Black Ink Crew The Practice The Get Down Dogs in the City Teenage Mutant Ninja Turtles (2003 TV series) (season 1) Forever season 8 of Top Chef Taking New York Sabai Sabai Sesame Ice & Coco The New Mr. Peabody and Sherman Show Love & Hip Hop Kevin Hill Trinity The City 2 Broke Girls Weird Loners The Boris & Nicole Show Heartsounds Hikayat Simsim Broad City Monsters (TV series) The Random Years Sonny Boys Downtown I Love Lucy Game Shakers Allá te espero Muscle The Strain Mulaney Sharknado 2: The Second One Ironside Tainted Dreams The Big Heist Kirk Watchmen: Motion Comic The Million Second Quiz I Luv NY Ringer How I Met Your Mother High Maintenance Wild 'n Out Becker Mad About You Sesame Tree 12-12-12: The Concert for Sandy Relief Kojak Married at First Sight Felicity Wonderland On Our Own Double Rush In Treatment Something to Live for: The Alison Gertz Story Gidget Grows Up Dear John Stat Bethenny Ever After Glee The Night Of Flesh and Bone Gotti Ellery Queen Kourtney and Kim Take New York State of Georgia The Andros Targets The Real World: New York Vila Sésamo Welcome Back That Girl The Black Donnellys The Knick The Sopranos Rocky King, Inside Detective Ink The Real World: Back to New York Treme In the Nick of Time NewsRadio Castle Can't Hurry Love The Man in the Santa Claus Suit Do Not Disturb Scared! Fish This Is Show Business Live from Daryl's House Courting Alex Diana Girls Who Like Boys Who Like Boys Cupid The $treet The Amazing Spider-Man The Gastineau Girls Weeds Diagnosis: Unknown Big Sexy You're the One The Cosby Show Big Eddie Super Fun Night Mr. Broadway Nurse Jackie The Reporter Quiet Killer Naked City The Asphalt Jungle Andre's Mother The Furchester Hotel The Trouble with Tracy Friends 87th Precinct Spider-Man: The New Animated Series NY Ink NY Med Brooklyn Nine-Nine City News The Lawless Years Una Maid en Manhattan V The Punisher New York Goes to Work Sports Night Oz Too Something Teenage Mutant Ninja Turtles (2003 TV series) (season 6) Just for Kicks Married People Fame El Rostro de la Venganza Public Morals Miracle on 34th Street Homeless to Harvard: The Liz Murray Story ''K.Michelle: My Life'' Dorothy and the Witches of Oz Delocated NYC 22 The Great Gatsby Into the Fire Barefoot in the Park Dream On Working Girl Sword of Gideon The King of Queens Checking In Lake Placid vs. Anaconda Private Sessions The Carrie Diaries Tarzan 79 Park Avenue My Life as Liz Flight of the Conchords For the People 413 Hope St. Love, Inc. Scrappers Whoopi The Education of Max Bickford The Salt-N-Pepa Show Where I Live Just Shoot Me! Nick Freno: Licensed Teacher Bosom Buddies Love Monkey Annie 704 Hauser NYPD Blue Pan Am Sesame Street Unpaved Queens Supreme Zhima Jie SimSim Humara Law & Order: Criminal Intent Basketball Wives Mama's Boy The Agency Shadowhunters Taxi The Triangle Factory Fire Scandal The Parent 'Hood Dellaventura Where Is My Friend's Home Teenage Mutant Ninja Turtles (2012 TV series) (season 1) The Job What Not to Wear Washington Heights Teenage Mutant Ninja Turtles (2003 TV series) (season 5) Teenage Mutant Ninja Turtles (2003 TV series) (season 7) Teenage Mutant Ninja Turtles (1987 TV series) (season 8) Teenage Mutant Ninja Turtles (2003 TV series) (season 3) Teenage Mutant Ninja Turtles (2003 TV series) Empire The Bedford Diaries My Fair Wedding with David Tutera Argai: The Prophecy Taxi Brooklyn Comic Store Heroes The New Adventures of Heidi Oliver Beene Teenage Mutant Ninja Turtles (1987 TV series) (season 6) Teenage Mutant Ninja Turtles (1987 TV series) (season 4) Teenage Mutant Ninja Turtles (1987 TV series) (season 3) Teenage Mutant Ninja Turtles (1987 TV series) (season 5) Teenage Mutant Ninja Turtles (1987 TV series) (season 10) Teenage Mutant Ninja Turtles (1987 TV series) (season 1) Teenage Mutant Ninja Turtles (1987 TV series) (season 2) Needles and Pins Breaking Amish Feed the Beast Running Russell Simmons Louie Gravity Rags The Ted Knight Show (1978 TV series) Shalom Sesame Everybody Hates Chris Related The Unusuals Prime Suspect The Mindy Project The Mystery of Natalie Wood All in the Family The Odd Couple I'll Take Manhattan Heroes Civil Wars Oddities Lipstick Jungle The D.A.'s Man Rules of Engagement The Fighting Fitzgeralds Girls The Kid America Club Younger Dirty Sexy Money Decoy Black Box My Little Margie The Norm Show 123 Sesame Street The Newsroom NY-LON Mixology Seventh Avenue Love & Money The Days and Nights of Molly Dodd Chrissy & Mr. Jones Zoe, Duncan, Jack and Jane The Real Housewives of New York City Elmo Saves Christmas Teenage Mutant Ninja Turtles (2012 TV series) (season 4) Sherlock Holmes in New York Conviction Battery Park Beauty and the Beast Going My Way Mrs. Santa Claus Naked Happy Girls Charlie Hoover Here and Now Golden Boy East Side/West Side The Single Guy Brooklyn South Sesame Street City Detective How to Marry a Millionaire Life of the Party Day 8 Seinfeld The Real World: Brooklyn Teenage Mutant Ninja Turtles (1987 TV series) (season 9) Starved 666 Park Avenue Station Zero Richard Diamond, Private Detective Tanisha Gets Married Madigan The Tony Danza Show Brooklyn Kinda Love Curb Your Enthusiasm Welcome to New York Elmopalooza The Man in the Family Veronica's Closet Flatbush McCloud Rachael Ray Teenage Mutant Ninja Turtles (2012 TV series) (season 3) The Fashion Fund Stanley The Wendy Williams Show Gossip Girl Orange Is the New Black The Jury Kidnapped The Naked Brothers Band The Investigators Power Serpico Love & Hip Hop: New York Teenage Mutant Ninja Turtles (2012 TV series) (season 2) The Super (TV series) Thursday's Game The Wool Cap Way Out Connected White Collar Alphas Watch What Happens: Live True Jackson Reed Between the Lines The Audrey Hepburn Story Hawk (TV series) Trackdown: Finding the Goodbar Killer Ryan's Hope Bethenny Shara'a Simsim Disaster Zone: Volcano in New York The Bronx Zoo Hart of Dixie PM East/PM West Ugly Betty New York Undercover Miracle on 34th Street Don't Trust the B---- in Apartment 23 The Jeffersons Rubicon Sydney Guys with Kids Sharpay's Fabulous Adventure Hindsight My Sister Eileen Beauty and the Beast Third Watch Three on a Match Better Days Caroline in the City In the Line of Duty: Street War Cement Heads The Normal Heart The New Ghostwriter Mysteries Lucky 7 Jack & Jill Kojak This Is Hot 97 Simon 13 Queens Boulevard The Cosby Mysteries The Good Wife NYC: Tornado Terror The Real Ghostbusters Pride & Joy Odd Mom Out Mad Love Rockabye Corduroy (TV series) Stuart Little: The Animated Series Bank on the Stars Best Friends Forever TriBeCa Mad Men The Preston Episodes Spin City Six Degrees Deadline Law & Order: Special Victims Unit New Amsterdam Jalan Sesama The George Carlin Show Boardwalk Empire Amos 'n' Andy Mr. Deeds Goes to Town Rhoda Suits The Stand The Awful Truth Play with Me Sesame 3 lbs Law & Order Made in Chelsea: NYC Doc Car 54, Where Are You? CSI: NY Without a Trace Bull The Honeymooners The Associates Mr. Robot Big Ang Alien Dawn Daddy Dearest The Amazing Spider-Man The Tomorrow People The Goodbye Girl Late Night Joy Blindspot Spider-Man and His Amazing Friends Daredevil Baby Daddy What I Like About You Limitless Blue Bloods Teenage Mutant Ninja Turtles (1987 TV series) (season 7) Off Centre Aftershock: Earthquake in New York Sundays at Tiffany's The Return of Jezebel James 100 Centre Street Manhattan Love Story Late Night with Jimmy Fallon Us & Them Sex and the City Bull The City Time of Your Life The Mysteries of Laura Spider-Man The Roaring 20s Woman with a Past The Gossip Game Doc The Adventures of Chico and Guapo House of Glam Diff'rent Strokes Allegiance The Man in the High Castle Mob Wives Unbreakable Kimmy Schmidt BlackLove American Dragon: Jake Long Forged in Fire The Exes Cleghorne! True Blue 24 Better with You Russian Dolls Spider-Man Top Cat Turtles Forever The Sweeter Side of Life Cagney & Lacey The Late Shift Brooklyn Bridge Million Dollar Listing New York Sybil Deadly Messages Damages Bored to Death Luke Cage The Adventures of Sam & Max: Freelance Police Kristin Witchblade Brooklyn DA Open Sesame Secrets Blind Justice Law & Order: Trial by Jury Busting Loose (TV series) The Critic Unforgettable Burton & Taylor Late Night with Conan O'Brien Rescue Me Ulica Sezamkowa Clubhouse Men at Work Made in Jersey A Matter of Taste Love and Marriage Love and Marriage América Let's Talk About Pep Over the Top From the Mixed-Up Files of Mrs. Basil E. Frankweiler Vinyl Ulitsa Sezam October Road Extreme A&E Autumn Dreams Touch How to Make It in America Artstar Sex&Drugs&Rock&Roll Conviction Leg Work U-Pick Live Sisimpur Popi Wizards of Waverly Place: The Movie The Odd Couple Target: The Corruptors! Saints and Sinners Next Caller Living Single CityKids Big Bird in China Shaft Family Affair Grounded for Life Archie Bunker's Place Will & Grace Animal Precinct Beautiful People Smash The Nanny Gargoyles Rooftop Prince Joe Bash Man Against Crime Mary and Rhoda Park Place (TV series) Partners Pig Sty Jessica Jones Elementary The Whole Truth Work Out New York Stark Raving Mad Something So Right Ghostwriter Difficult People Strapped Mama Malone Homemade Millionaire The Equalizer Bert and Ernie's Great Adventures Mozart in the Jungle The Tyra Banks Show Johnny Midnight The Beat Agent Carter Sesame Street The Missiles of October The Nurses Copper Change of Heart Sesamstraße The Spectacular Spider-Man Ninja Turtles: The Next Mutation Will: G. Gordon Liddy The Event The District Bones Karen Lie to Me Blind Ambition season 7 of Top Chef Ball Four Outlaw The Real Housewives of D.C. NCIS I Spy Unnatural History Scandal The West Wing The X-Files The Americans 1600 Penn All's Fair A Man Called Hawk First Monday Capitol Political Animals Covert Affairs Get Smart House of Cards Cory in the House Smart Guy Homeland Charlie Lawrence DC Cupcakes Freakazoid! Baby, I'm Back Temperatures Rising Alpha House King & Maxwell The President's Mistress DAG The Firm Killer Hair The Powers That Be Commander in Chief Veep Murphy Brown The Real World: D.C. K Street (TV series) Scarecrow and Mrs. King The First Family The New Adventures of Beans Baxter Powerhouse Hostages Capital News Built to Last That's My Bush! K.C. Undercover Women of the House The Court Higashi no Eden Torchwood: Miracle Day Hard to Be Me Mister Sterling 24 Bridges to Cross End Game JAG Get Smart The Kennedys Capitol Critters That's My Mama The Missiles of October The Color of Friendship
The Sopranos, Friends and All in the Family have a setting location of those administrative territories
The Sopranos Friends All in the Family
action filter_type
action find_reverse
entity prev_answer
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Athens'] [{'concept': 'television program'}, 'narrative location', 'New York City'] [{'concept': 'television program'}, 'narrative location', 'Washington, D.C.']
SELECT DISTINCT ?u WHERE { ?u property:narrative_location ?s . ?u rdf:type ontology:television_program . VALUES ( ?s ) { ( resource:New_York_City ) ( resource:Washington,_D.C. ) ( resource:Athens ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q23628 Q79784 Q1048856
P161
Q502895
USER
Who were casted in The Sopranos, Friends and All in the Family ?
(Q23628,P161,c(Q502895)) (Q79784,P161,c(Q502895)) (Q1048856,P161,c(Q502895))
action union
action filter_type
action find
entity Q23628
relation P161
type Q502895
action filter_type
action find
entity Q79784
relation P161
type Q502895
action filter_type
action find
entity Q1048856
relation P161
type Q502895
['Q23628', 'P161', {'concept': 'Q502895'}] ['Q79784', 'P161', {'concept': 'Q502895'}] ['Q1048856', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?w ) { ( resource:Q23628 ) ( resource:Q79784 ) } . ?w property:P161 ?b }
The Sopranos Friends All in the Family
action union
action filter_type
action find
entity The Sopranos
relation cast member
type common name
action filter_type
action find
entity Friends
relation cast member
type common name
action filter_type
action find
entity All in the Family
relation cast member
type common name
['The Sopranos', 'cast member', {'concept': 'common name'}] ['Friends', 'cast member', {'concept': 'common name'}] ['All in the Family', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?w ) { ( resource:The_Sopranos ) ( resource:Friends ) } . ?w property:cast_member ?b }
[]
common name
Q104061 Q32522 Q354181
SYSTEM
Steve Buscemi, Jennifer Aniston, Steven Van Zandt
Q1176208 Q634898 Q442360 Q104061 Q1367775 Q380904 Q115134 Q308722 Q2442701 Q1364019 Q317358 Q296883 Q354181 Q460688 Q508869 Q862039 Q726201 Q257065 Q1338401 Q463407 Q234715 Q512986 Q232965 Q229034 Q229319 Q471801 Q32522 Q188792 Q179041 Q171758 Q238117 Q186896 Q314805 Q58912 Q236766 Q443004 Q287607 Q259441 Q271856 Q3528672 Q5031678 Q555487 Q2212507
(Q23628,P161,c(Q502895)) (Q79784,P161,c(Q502895)) (Q1048856,P161,c(Q502895))
action union
action filter_type
action find
entity Q23628
relation P161
type Q502895
action filter_type
action find
entity Q79784
relation P161
type Q502895
action filter_type
action find
entity Q1048856
relation P161
type Q502895
[ANSWERS] were casted in The Sopranos, Friends and All in the Family
['Q23628', 'P161', {'concept': 'Q502895'}] ['Q79784', 'P161', {'concept': 'Q502895'}] ['Q1048856', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?w ) { ( resource:Q23628 ) ( resource:Q79784 ) } . ?w property:P161 ?b }
David Proval Dan Grimaldi Sharon Angela Steve Buscemi Joseph R. Gannascoli Steve Schirripa Aida Turturro James Gandolfini Tony Lip Federico Castelluccio Michael Imperioli Joe Pantoliano Steven Van Zandt Dominic Chianese Robert Funaro Robert Iler Tony Sirico Nancy Marchand John Ventimiglia Frank Vincent Jamie-Lynn Sigler Vincent Pastore Drea de Matteo Edie Falco Lorraine Bracco James Michael Tyler Jennifer Aniston David Schwimmer Lisa Kudrow Matthew Perry Christina Pickles Matt LeBlanc Elliott Gould Courteney Cox Maggie Wheeler Liz Torres Rob Reiner Sally Struthers Jean Stapleton Tim McIntire Candice Azzara Carroll O'Connor Danielle Brisebois
Steve Buscemi, Jennifer Aniston and Steven Van Zandt were casted in The Sopranos, Friends and All in the Family
Steve Buscemi Jennifer Aniston Steven Van Zandt
action union
action filter_type
action find
entity The Sopranos
relation cast member
type common name
action filter_type
action find
entity Friends
relation cast member
type common name
action filter_type
action find
entity All in the Family
relation cast member
type common name
['The Sopranos', 'cast member', {'concept': 'common name'}] ['Friends', 'cast member', {'concept': 'common name'}] ['All in the Family', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?w ) { ( resource:The_Sopranos ) ( resource:Friends ) } . ?w property:cast_member ?b }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q104061 Q32522 Q354181
P166
Q618779
USER
Which awards were those people awarded with ?
(Q104061,P166,c(Q618779)) (Q32522,P166,c(Q618779)) (Q354181,P166,c(Q618779))
action filter_type
action find
entity prev_answer
relation P166
type Q618779
['Q104061', 'P166', {'concept': 'Q618779'}] ['Q32522', 'P166', {'concept': 'Q618779'}] ['Q354181', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . VALUES ( ?r ) { ( resource:Q1176208 ) ( resource:Q634898 ) ( resource:Q442360 ) } . ?r property:P166 ?z }
Steve Buscemi Jennifer Aniston Steven Van Zandt
action filter_type
action find
entity prev_answer
relation award received
type award
['Steve Buscemi', 'award received', {'concept': 'award'}] ['Jennifer Aniston', 'award received', {'concept': 'award'}] ['Steven Van Zandt', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . VALUES ( ?r ) { ( resource:David_Proval ) ( resource:Dan_Grimaldi ) ( resource:Sharon_Angela ) } . ?r property:award_received ?z }
[]
award
Q2530270 Q2530270 Q2294693
SYSTEM
Independent Spirit Award for Best Supporting Male for 3rd, Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series for 1st, 2nd
Q2294693 Q2530270 Q1287335 Q1011547 Q2530270
(Q104061,P166,c(Q618779)) (Q32522,P166,c(Q618779)) (Q354181,P166,c(Q618779))
action filter_type
action find
entity prev_answer
relation P166
type Q618779
[ANSWERS]
['Q104061', 'P166', {'concept': 'Q618779'}] ['Q32522', 'P166', {'concept': 'Q618779'}] ['Q354181', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . VALUES ( ?r ) { ( resource:Q1176208 ) ( resource:Q634898 ) ( resource:Q442360 ) } . ?r property:P166 ?z }
Independent Spirit Award for Best Supporting Male Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Primetime Emmy Award for Outstanding Lead Actress in a Comedy Series Golden Globe Award Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
Those people were awarded the Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series, Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series and Independent Spirit Award for Best Supporting Male
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Independent Spirit Award for Best Supporting Male
action filter_type
action find
entity prev_answer
relation award received
type award
['Steve Buscemi', 'award received', {'concept': 'award'}] ['Jennifer Aniston', 'award received', {'concept': 'award'}] ['Steven Van Zandt', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . VALUES ( ?r ) { ( resource:David_Proval ) ( resource:Dan_Grimaldi ) ( resource:Sharon_Angela ) } . ?r property:award_received ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32522
P451
Q502895
USER
Who are the mistresses of Jennifer Aniston ?
(Q32522,P451,c(Q502895))
action filter_type
action find
entity Q32522
relation P451
type Q502895
['Q32522', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q32522 property:P451 ?z }
Jennifer Aniston
action filter_type
action find
entity Jennifer Aniston
relation partner
type common name
['Jennifer Aniston', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Jennifer_Aniston property:partner ?z }
[]
common name
Q35332 Q316596
SYSTEM
Brad Pitt, Justin Theroux
Q35332 Q316596
(Q32522,P451,c(Q502895))
action filter_type
action find
entity Q32522
relation P451
type Q502895
The mistresses of Jennifer Aniston are of [ANSWERS]
['Q32522', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q32522 property:P451 ?z }
Brad Pitt Justin Theroux
The mistresses of Jennifer Aniston are of Brad Pitt and Justin Theroux
Brad Pitt Justin Theroux
action filter_type
action find
entity Jennifer Aniston
relation partner
type common name
['Jennifer Aniston', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Jennifer_Aniston property:partner ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16013977
Q502895
USER
And what about Stephen Tredre?
(Q16013977,P451,c(Q502895))
action filter_type
action find
entity Q16013977
relation P451
type Q502895
['Q16013977', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q16013977 property:P451 ?w . ?w rdf:type ontology:Q502895 }
Stephen Tredre
action filter_type
action find
entity Stephen Tredre
relation partner
type common name
['Stephen Tredre', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Stephen_Tredre property:partner ?w . ?w rdf:type ontology:common_name }
[]
common name
Q202765
SYSTEM
Kate Winslet
Q202765
(Q16013977,P451,c(Q502895))
action filter_type
action find
entity Q16013977
relation P451
type Q502895
[ANSWER]
['Q16013977', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q16013977 property:P451 ?w . ?w rdf:type ontology:Q502895 }
Kate Winslet
Kate Winslet
action filter_type
action find
entity Stephen Tredre
relation partner
type common name
['Stephen Tredre', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Stephen_Tredre property:partner ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16013977
P170
Q15416
USER
How many television programs were created by Stephen Tredre ?
(c(Q15416),P170,Q16013977)
action count
action filter_type
action find_reverse
entity Q16013977
relation P170
type Q15416
[{'concept': 'Q15416'}, 'P170', 'Q16013977']
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:P170 resource:Q16013977 . ?c rdf:type ontology:Q15416 }
Stephen Tredre
action count
action filter_type
action find_reverse
entity Stephen Tredre
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'Stephen Tredre']
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:creator resource:Stephen_Tredre . ?c rdf:type ontology:television_program }
[]
television program
SYSTEM
1
Q5454474
(c(Q15416),P170,Q16013977)
action count
action filter_type
action find_reverse
entity Q16013977
relation P170
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P170', 'Q16013977']
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:P170 resource:Q16013977 . ?c rdf:type ontology:Q15416 }
Fish
1
action count
action filter_type
action find_reverse
entity Stephen Tredre
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'Stephen Tredre']
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:creator resource:Stephen_Tredre . ?c rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16013977
P509
Q2057971
USER
How did that person die ?
action filter_type
action find
entity Q16013977
relation P509
type Q2057971
SELECT DISTINCT ?y WHERE { resource:Q16013977 property:P509 ?y . ?y rdf:type ontology:Q2057971 }
Stephen Tredre
action filter_type
action find
entity Stephen Tredre
relation cause of death
type health problem
SELECT DISTINCT ?y WHERE { resource:Stephen_Tredre property:cause_of_death ?y . ?y rdf:type ontology:health_problem }
[]
health problem
Q18554919
SYSTEM
bone cancer
Q18554919
action filter_type
action find
entity Q16013977
relation P509
type Q2057971
That person died in [ANSWER]
SELECT DISTINCT ?y WHERE { resource:Q16013977 property:P509 ?y . ?y rdf:type ontology:Q2057971 }
bone cancer
That person died in bone cancer
bone cancer
action filter_type
action find
entity Stephen Tredre
relation cause of death
type health problem
SELECT DISTINCT ?y WHERE { resource:Stephen_Tredre property:cause_of_death ?y . ?y rdf:type ontology:health_problem }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q16796784 Q16013977
P509
Q2057971
USER
Or Ben Hoberman?
OR((Q16013977,P509,c(Q2057971)), (Q16796784,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q16013977
relation P509
action find
entity Q16796784
relation P509
type Q2057971
{'OR': [['Q16013977', 'P509', {'concept': 'Q2057971'}], ['Q16796784', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?t ) { ( resource:Q16013977 ) ( resource:Q16796784 ) } . ?t property:P509 ?s } . ?s rdf:type ontology:Q2057971 }
Ben Hoberman Stephen Tredre
action filter_type
action union
action find
entity Stephen Tredre
relation cause of death
action find
entity Ben Hoberman
relation cause of death
type health problem
{'OR': [['Stephen Tredre', 'cause of death', {'concept': 'health problem'}], ['Ben Hoberman', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?t ) { ( resource:Stephen_Tredre ) ( resource:Ben_Hoberman ) } . ?t property:cause_of_death ?s } . ?s rdf:type ontology:health_problem }
[]
health problem
Q47912 Q18554919
SYSTEM
lung cancer, bone cancer
Q47912 Q18554919
OR((Q16013977,P509,c(Q2057971)), (Q16796784,P509,c(Q2057971)))
action filter_type
action union
action find
entity Q16013977
relation P509
action find
entity Q16796784
relation P509
type Q2057971
[ANSWERS]
{'OR': [['Q16013977', 'P509', {'concept': 'Q2057971'}], ['Q16796784', 'P509', {'concept': 'Q2057971'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?t ) { ( resource:Q16013977 ) ( resource:Q16796784 ) } . ?t property:P509 ?s } . ?s rdf:type ontology:Q2057971 }
lung cancer bone cancer
lung cancer bone cancer
action filter_type
action union
action find
entity Stephen Tredre
relation cause of death
action find
entity Ben Hoberman
relation cause of death
type health problem
{'OR': [['Stephen Tredre', 'cause of death', {'concept': 'health problem'}], ['Ben Hoberman', 'cause of death', {'concept': 'health problem'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?t ) { ( resource:Stephen_Tredre ) ( resource:Ben_Hoberman ) } . ?t property:cause_of_death ?s } . ?s rdf:type ontology:health_problem }
[]