Simple Question (Direct)
Simple Question
Q3245205
P19
Q486972
USER
Which human settlement is the place of birth of Takahiro Yamaguchi ?
(Q3245205,P19,c(Q486972))
action filter_type
action find
entity Q3245205
relation P19
type Q486972
['Q3245205', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q486972 . resource:Q3245205 property:P19 ?a }
Takahiro Yamaguchi
action filter_type
action find
entity Takahiro Yamaguchi
relation place of birth
type human settlement
['Takahiro Yamaguchi', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:human_settlement . resource:Takahiro_Yamaguchi property:place_of_birth ?a }
[]
human settlement
Q234087
SYSTEM
Nakano-ku
Q234087
(Q3245205,P19,c(Q486972))
action filter_type
action find
entity Q3245205
relation P19
type Q486972
[ANSWER] is the place of birth of Takahiro Yamaguchi
['Q3245205', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q486972 . resource:Q3245205 property:P19 ?a }
Nakano-ku
Nakano-ku is the place of birth of Takahiro Yamaguchi
Nakano-ku
action filter_type
action find
entity Takahiro Yamaguchi
relation place of birth
type human settlement
['Takahiro Yamaguchi', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:human_settlement . resource:Takahiro_Yamaguchi property:place_of_birth ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3245205
P21
Q290
USER
Which sex does Takahiro Yamaguchi belong to ?
(Q3245205,P21,c(Q290))
action filter_type
action find
entity Q3245205
relation P21
type Q290
['Q3245205', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q3245205 property:P21 ?c }
Takahiro Yamaguchi
action filter_type
action find
entity Takahiro Yamaguchi
relation gender
type sex
['Takahiro Yamaguchi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Takahiro_Yamaguchi property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3245205,P21,c(Q290))
action filter_type
action find
entity Q3245205
relation P21
type Q290
Takahiro Yamaguchi belongs to [ANSWER]
['Q3245205', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q3245205 property:P21 ?c }
male
Takahiro Yamaguchi belongs to male
male
action filter_type
action find
entity Takahiro Yamaguchi
relation gender
type sex
['Takahiro Yamaguchi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Takahiro_Yamaguchi property:gender ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18237583
Q290
USER
And also tell me about David Bars?
(Q18237583,P21,c(Q290))
action filter_type
action find
entity Q18237583
relation P21
type Q290
['Q18237583', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q18237583 property:P21 ?b . ?b rdf:type ontology:Q290 }
David Bars
action filter_type
action find
entity David Bars
relation gender
type sex
['David Bars', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:David_Bars property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18237583,P21,c(Q290))
action filter_type
action find
entity Q18237583
relation P21
type Q290
[ANSWER]
['Q18237583', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q18237583 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity David Bars
relation gender
type sex
['David Bars', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:David_Bars property:gender ?b . ?b rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2918829
P138
Q20667921 Q2472587 Q486972
USER
How many human settlements are the eponym of less number of french administrative divisions and peoples than Nuseirat Camp ?
(c(Q486972),P138,c(Q20667921)|c(Q2472587))
action count
action less
action union
action find_tuple_counts
relation P138
type Q486972
type Q20667921
action find_tuple_counts
relation P138
type Q486972
type Q2472587
action count
action filter_multi_types
action find
entity Q2918829
relation P138
type Q20667921
type Q2472587
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q20667921'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { VALUES ( ?v ) { ( ontology:Q20667921 ) ( ontology:Q2472587 ) } . ?e rdf:type ?v } . resource:Q2918829 property:P138 ?e } } . FILTER ( ?q < ?o ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?q ) WHERE { { ?s property:P138 ?w . ?w rdf:type ontology:Q2472587 . ?s rdf:type ontology:Q486972 } UNION { ?s property:P138 ?w . ?s rdf:type ontology:Q486972 . ?w rdf:type ontology:Q20667921 } } GROUP BY ?s } }
Nuseirat Camp
action count
action less
action union
action find_tuple_counts
relation named after
type human settlement
type type of french administrative division
action find_tuple_counts
relation named after
type human settlement
type people
action count
action filter_multi_types
action find
entity Nuseirat Camp
relation named after
type type of french administrative division
type people
[{'concept': 'human settlement'}, 'named after', [{'concept': 'type of french administrative division'}, {'concept': 'people'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { VALUES ( ?v ) { ( ontology:type_of_french_administrative_division ) ( ontology:people ) } . ?e rdf:type ?v } . resource:Nuseirat_Camp property:named_after ?e } } . FILTER ( ?q < ?o ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?q ) WHERE { { ?s property:named_after ?w . ?w rdf:type ontology:people . ?s rdf:type ontology:human_settlement } UNION { ?s property:named_after ?w . ?s rdf:type ontology:human_settlement . ?w rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?s } }
[]
type of french administrative division people human settlement
SYSTEM
155
Q1743366 Q22312661 Q17149400 Q7598636 Q2275291 Q5763347 Q1683228 Q2102176 Q1984648 Q198164 Q1510158 Q1256512 Q50996 Q1777936 Q2792890 Q1870673 Q2640642 Q1033949 Q314439 Q2227090 Q16131638 Q1737863 Q1494698 Q1865919 Q2614306 Q2245467 Q7476191 Q735912 Q519788 Q2194150 Q2685630 Q783854 Q2326184 Q6723261 Q8962067 Q10667344 Q14345064 Q18388510 Q1250716 Q128498 Q7971580 Q21906856 Q2593455 Q6928093 Q7979189 Q1616604 Q6504819 Q14935333 Q983650 Q877019 Q15058273 Q48256 Q2282600 Q2991444 Q1792746 Q290356 Q12024369 Q5468013 Q1139599 Q1757523 Q5042912 Q976539 Q1742210 Q3593074 Q2935221 Q14914641 Q1888614 Q861363 Q5168859 Q628201 Q5055608 Q468073 Q1368614 Q1087169 Q3558487 Q1651127 Q12816129 Q2230782 Q3413044 Q50702 Q6667162 Q3126518 Q7899414 Q7996570 Q4283923 Q967732 Q5438236 Q2416235 Q2015206 Q1058775 Q19904243 Q86768 Q6914022 Q925544 Q981354 Q50699 Q1250708 Q2069816 Q7926541 Q15919845 Q894914 Q10701260 Q3375567 Q4346476 Q1029545 Q2891229 Q2175554 Q1661038 Q2244792 Q3306374 Q3306377 Q3306376 Q2122072 Q387659 Q189074 Q5049958 Q1299923 Q76937 Q5750556 Q20757832 Q894908 Q519650 Q5487991 Q692511 Q3462814 Q1014421 Q981934 Q2122363 Q10987378 Q9009279 Q2121780 Q1965078 Q4570781 Q2613329 Q27622959 Q2016874 Q24190423 Q1847830 Q1536676 Q7971406 Q2792865 Q27113552 Q325510 Q6118795 Q2029443 Q1013563 Q12426646 Q5481335 Q1979062 Q308928 Q317056 Q2185534 Q4335 Q3172802 Q50729
(c(Q486972),P138,c(Q20667921)|c(Q2472587))
action count
action less
action union
action find_tuple_counts
relation P138
type Q486972
type Q20667921
action find_tuple_counts
relation P138
type Q486972
type Q2472587
action count
action filter_multi_types
action find
entity Q2918829
relation P138
type Q20667921
type Q2472587
[ANSWER]
[{'concept': 'Q486972'}, 'P138', [{'concept': 'Q20667921'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { VALUES ( ?v ) { ( ontology:Q20667921 ) ( ontology:Q2472587 ) } . ?e rdf:type ?v } . resource:Q2918829 property:P138 ?e } } . FILTER ( ?q < ?o ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?q ) WHERE { { ?s property:P138 ?w . ?w rdf:type ontology:Q2472587 . ?s rdf:type ontology:Q486972 } UNION { ?s property:P138 ?w . ?s rdf:type ontology:Q486972 . ?w rdf:type ontology:Q20667921 } } GROUP BY ?s } }
Kirchrarbach Herchen-Bahnhof Sant'Antonio d'Adda Standish Schildersbuurt Hillman City Röntgental Hoornse Meer Nibelungenviertel Bullewijk Tokeland Stuwerviertel Pudost Koblenz-Asterstein Muir Beach Reitdiep Stadsparkwijk Cantwell Hohenlimburg Weesperzijde Givat Olga Nierbachtal Garden city Crengeldanz Rivierenbuurt Ilissia Ulgersmaborg Hortusbuurt Nellis Air Force Base Leningradskaya (rural locality) Hilversumse Meent Federal Hill Fort Hood Stadionbuurt Maces Bay Fort Knox Sickla udde Sint-Anna Ramat Elchanan Westfalenhalle Bijlmermeer Washington's Landing National Park Oosterpoortwijk Mościce Wedgwood Papenholz Lawrenceville Amiens Fort Knox Oranienburger Vorstadt Oderbrück Dnipro Siedlung Auhofer Trennstück Abasolo Maxhafen San Pedro Jedlina Emmerschans Crengeldanz Vincent Carlson Park Fort Davis Kinkerbuurt île Feydeau Camp Lemonnier Mahatma Gandhi District Roeterseiland Christianshavn Copperton Coney Island Cagaloglu Amerika, Saxony Burgaltendorf Fort Dix Villa Castelli Kohlfurtherbrücke béguinage Schambach Quartier Concordia Verevskoe rural settlement Logan Square Hammarby Sjöstad Uptown Whitley Heights Ataliva Roca Belltown Fauntleroy Quintino Bocaiúva Oese Flushing Dumontwijk Bel Air Morrison Hill Kungens Kurva Bigfoot Bol'shekolpanskoe rural settlement Syburg Per-Albin-Hansson-Siedlung Victoria Konstantinopolitika Vonderort Tranebergs strand Perrache Klara Lacu Roșu Mevo'ot Yericho Logan Circle Inden/Altdorf Schloß Holte Mercier Mercier-Est Mercier-Ouest Oranjewijk Afrikanisches Viertel Harlem Castle, Bedford Ehrenberg Willemstad, North Brabant Hiawatha Logelbach Boy Buer Frank Lloyd Wright-Prairie School of Architecture Historic District Rathaus Kalininskaya, Krasnodar Krai Burg Volperhausen Gail Quartier Belvedere Lindenhof Ireneo Portela Sint-Anna Boron Lincoln University Herewegbuurt Davy Brown Campground Oildale Lamington Pacaltsdorp New Utrecht Waser De Held Reeserschanz Shilo San Francisco de Olivenza Ordzhonikidzevskaya Torekov Chirag Delhi Lentokenttä Neu-Berich Kreuzberg Friedrichshain Willemspark Pointe-au-Père, Quebec Jean Jaurès-Petit-Banque Vojskovitskoe rural settlement
155
action count
action less
action union
action find_tuple_counts
relation named after
type human settlement
type type of french administrative division
action find_tuple_counts
relation named after
type human settlement
type people
action count
action filter_multi_types
action find
entity Nuseirat Camp
relation named after
type type of french administrative division
type people
[{'concept': 'human settlement'}, 'named after', [{'concept': 'type of french administrative division'}, {'concept': 'people'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { VALUES ( ?v ) { ( ontology:type_of_french_administrative_division ) ( ontology:people ) } . ?e rdf:type ?v } . resource:Nuseirat_Camp property:named_after ?e } } . FILTER ( ?q < ?o ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?q ) WHERE { { ?s property:named_after ?w . ?w rdf:type ontology:people . ?s rdf:type ontology:human_settlement } UNION { ?s property:named_after ?w . ?s rdf:type ontology:human_settlement . ?w rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?s } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6581097
P138
Q2088357 Q79529
USER
How many musical ensembles or chemical substances have male as their toponym ?
(c(Q2088357),P138,Q6581097) (c(Q79529),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
[{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { ?z property:P138 resource:Q6581097 . ?z rdf:type ontology:Q2088357 } UNION { ?z property:P138 resource:Q6581097 . ?z rdf:type ontology:Q79529 } }
male
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
[{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { ?z property:named_after resource:male . ?z rdf:type ontology:musical_ensemble } UNION { ?z property:named_after resource:male . ?z rdf:type ontology:chemical_substance } }
[]
musical ensemble chemical substance
SYSTEM
2
Q15181127 Q19833612
(c(Q2088357),P138,Q6581097) (c(Q79529),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q79529
[ANSWER]
[{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q79529'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { ?z property:P138 resource:Q6581097 . ?z rdf:type ontology:Q2088357 } UNION { ?z property:P138 resource:Q6581097 . ?z rdf:type ontology:Q79529 } }
Ausekarane fabrièsite
2
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
action filter_type
action find_reverse
entity male
relation named after
type chemical substance
[{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'chemical substance'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { ?z property:named_after resource:male . ?z rdf:type ontology:musical_ensemble } UNION { ?z property:named_after resource:male . ?z rdf:type ontology:chemical_substance } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3245205
P734
Q82799
USER
Which name is associated with Takahiro Yamaguchi ?
(Q3245205,P734,c(Q82799))
action filter_type
action find
entity Q3245205
relation P734
type Q82799
['Q3245205', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . resource:Q3245205 property:P734 ?k }
Takahiro Yamaguchi
action filter_type
action find
entity Takahiro Yamaguchi
relation family name
type name
['Takahiro Yamaguchi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . resource:Takahiro_Yamaguchi property:family_name ?k }
[]
name
Q17041572
SYSTEM
Yamaguchi
Q17041572
(Q3245205,P734,c(Q82799))
action filter_type
action find
entity Q3245205
relation P734
type Q82799
[ANSWER] is associated with Takahiro [ANSWER]
['Q3245205', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . resource:Q3245205 property:P734 ?k }
Yamaguchi
Yamaguchi is associated with Takahiro Yamaguchi
Yamaguchi
action filter_type
action find
entity Takahiro Yamaguchi
relation family name
type name
['Takahiro Yamaguchi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . resource:Takahiro_Yamaguchi property:family_name ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5795306
Q82799
USER
And what about Steve Gilmore?
(Q5795306,P734,c(Q82799))
action filter_type
action find
entity Q5795306
relation P734
type Q82799
['Q5795306', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q82799 . resource:Q5795306 property:P734 ?e }
Steve Gilmore
action filter_type
action find
entity Steve Gilmore
relation family name
type name
['Steve Gilmore', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:name . resource:Steve_Gilmore property:family_name ?e }
[]
name
Q20163691
SYSTEM
Gilmore
Q20163691
(Q5795306,P734,c(Q82799))
action filter_type
action find
entity Q5795306
relation P734
type Q82799
[ANSWER]
['Q5795306', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q82799 . resource:Q5795306 property:P734 ?e }
Gilmore
Gilmore
action filter_type
action find
entity Steve Gilmore
relation family name
type name
['Steve Gilmore', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:name . resource:Steve_Gilmore property:family_name ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q234087
P159
Q43229
USER
Which organizations have headquarters located at Nakano-ku ?
(c(Q43229),P159,Q234087)
action filter_type
action find_reverse
entity Q234087
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q234087']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q43229 . ?t property:P159 resource:Q234087 }
Nakano-ku
action filter_type
action find_reverse
entity Nakano-ku
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Nakano-ku']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:organization . ?t property:headquarters_location resource:Nakano-ku }
[]
organization
Q1310990 Q1085717
SYSTEM
Kirin Brewery Company, Alice Japan
Q1310990 Q1085717
(c(Q43229),P159,Q234087)
action filter_type
action find_reverse
entity Q234087
relation P159
type Q43229
[ANSWERS] have headquarters located at Nakano-ku
[{'concept': 'Q43229'}, 'P159', 'Q234087']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q43229 . ?t property:P159 resource:Q234087 }
Kirin Brewery Company Alice Japan
Kirin Brewery Company and Alice Japan have headquarters located at Nakano-ku
Kirin Brewery Company Alice Japan
action filter_type
action find_reverse
entity Nakano-ku
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Nakano-ku']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:organization . ?t property:headquarters_location resource:Nakano-ku }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1310990 Q1085717
P749
Q43229
USER
Which organizations are the parent organizations of those ones ?
(Q1310990,P749,c(Q43229)) (Q1085717,P749,c(Q43229))
action filter_type
action find
entity prev_answer
relation P749
type Q43229
['Q1310990', 'P749', {'concept': 'Q43229'}] ['Q1085717', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { ?a property:P749 ?m . VALUES ( ?a ) { ( resource:Q1310990 ) ( resource:Q1085717 ) } . ?m rdf:type ontology:Q43229 }
Kirin Brewery Company Alice Japan
action filter_type
action find
entity prev_answer
relation parent organization
type organization
['Kirin Brewery Company', 'parent organization', {'concept': 'organization'}] ['Alice Japan', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { ?a property:parent_organization ?m . VALUES ( ?a ) { ( resource:Kirin_Brewery_Company ) ( resource:Alice_Japan ) } . ?m rdf:type ontology:organization }
[]
organization
Q17213600 Q3124776
SYSTEM
Kirin Company, Japan Home Video
Q17213600 Q3124776
(Q1310990,P749,c(Q43229)) (Q1085717,P749,c(Q43229))
action filter_type
action find
entity prev_answer
relation P749
type Q43229
[ANSWERS] are the parent organizations of those ones
['Q1310990', 'P749', {'concept': 'Q43229'}] ['Q1085717', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { ?a property:P749 ?m . VALUES ( ?a ) { ( resource:Q1310990 ) ( resource:Q1085717 ) } . ?m rdf:type ontology:Q43229 }
Kirin Company Japan Home Video
Kirin Company and Japan Home Video are the parent organizations of those ones
Kirin Company Japan Home Video
action filter_type
action find
entity prev_answer
relation parent organization
type organization
['Kirin Brewery Company', 'parent organization', {'concept': 'organization'}] ['Alice Japan', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { ?a property:parent_organization ?m . VALUES ( ?a ) { ( resource:Kirin_Brewery_Company ) ( resource:Alice_Japan ) } . ?m rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17213600 Q3124776
P159
Q56061
USER
Which administrative territories are the headquarter locations of Kirin Company and Japan Home Video ?
(Q17213600,P159,c(Q56061)) (Q3124776,P159,c(Q56061))
action union
action filter_type
action find
entity Q17213600
relation P159
type Q56061
action filter_type
action find
entity Q3124776
relation P159
type Q56061
['Q17213600', 'P159', {'concept': 'Q56061'}] ['Q3124776', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q56061 . resource:Q17213600 property:P159 ?i } UNION { resource:Q3124776 property:P159 ?i . ?i rdf:type ontology:Q56061 } }
Kirin Company Japan Home Video
action union
action filter_type
action find
entity Kirin Company
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Japan Home Video
relation headquarters location
type administrative territorial entity
['Kirin Company', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Japan Home Video', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:administrative_territorial_entity . resource:Kirin_Company property:headquarters_location ?i } UNION { resource:Japan_Home_Video property:headquarters_location ?i . ?i rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1490 Q1490
SYSTEM
Tokyo
Q1490 Q1490
(Q17213600,P159,c(Q56061)) (Q3124776,P159,c(Q56061))
action union
action filter_type
action find
entity Q17213600
relation P159
type Q56061
action filter_type
action find
entity Q3124776
relation P159
type Q56061
[ANSWER] and [ANSWER] are the headquarter locations of Kirin Company and Japan Home Video
['Q17213600', 'P159', {'concept': 'Q56061'}] ['Q3124776', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q56061 . resource:Q17213600 property:P159 ?i } UNION { resource:Q3124776 property:P159 ?i . ?i rdf:type ontology:Q56061 } }
Tokyo Tokyo
Tokyo and Tokyo are the headquarter locations of Kirin Company and Japan Home Video
Tokyo Tokyo
action union
action filter_type
action find
entity Kirin Company
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Japan Home Video
relation headquarters location
type administrative territorial entity
['Kirin Company', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Japan Home Video', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:administrative_territorial_entity . resource:Kirin_Company property:headquarters_location ?i } UNION { resource:Japan_Home_Video property:headquarters_location ?i . ?i rdf:type ontology:administrative_territorial_entity } }
[]