Simple Question (Direct)
Simple Question
Q4164102
P102
Q7278
USER
Which political party is Vitaly Doguzhiyev a member of ?
(Q4164102,P102,c(Q7278))
action filter_type
action find
entity Q4164102
relation P102
type Q7278
['Q4164102', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?g WHERE { resource:Q4164102 property:P102 ?g . ?g rdf:type ontology:Q7278 }
Vitaly Doguzhiyev
action filter_type
action find
entity Vitaly Doguzhiyev
relation member of political party
type political party
['Vitaly Doguzhiyev', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?g WHERE { resource:Vitaly_Doguzhiyev property:member_of_political_party ?g . ?g rdf:type ontology:political_party }
[]
political party
Q79854
SYSTEM
Communist Party of the Soviet Union
Q79854
(Q4164102,P102,c(Q7278))
action filter_type
action find
entity Q4164102
relation P102
type Q7278
[ANSWER] is Vitaly Doguzhiyev a member of
['Q4164102', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?g WHERE { resource:Q4164102 property:P102 ?g . ?g rdf:type ontology:Q7278 }
Communist Party of the Soviet Union
Communist Party of the Soviet Union is Vitaly Doguzhiyev a member of
Communist Party of the Soviet Union
action filter_type
action find
entity Vitaly Doguzhiyev
relation member of political party
type political party
['Vitaly Doguzhiyev', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?g WHERE { resource:Vitaly_Doguzhiyev property:member_of_political_party ?g . ?g rdf:type ontology:political_party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4164102
P166
Q618779
USER
What were received by that person ?
(Q79854,P166,c(Q618779))
action filter_type
action find
entity Q4164102
relation P166
type Q618779
['Q79854', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q4164102 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Vitaly Doguzhiyev
action filter_type
action find
entity Vitaly Doguzhiyev
relation award received
type award
['Communist Party of the Soviet Union', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Vitaly_Doguzhiyev property:award_received ?b . ?b rdf:type ontology:award }
[]
award
Q208167 Q185493
SYSTEM
Hero of Socialist Labour, Order of Lenin
Q208167 Q185493
(Q79854,P166,c(Q618779))
action filter_type
action find
entity Q4164102
relation P166
type Q618779
Were [ANSWERS] were received by that person
['Q79854', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?b WHERE { resource:Q4164102 property:P166 ?b . ?b rdf:type ontology:Q618779 }
Hero of Socialist Labour Order of Lenin
Were Hero of Socialist Labour and Order of Lenin were received by that person
Hero of Socialist Labour Order of Lenin
action filter_type
action find
entity Vitaly Doguzhiyev
relation award received
type award
['Communist Party of the Soviet Union', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?b WHERE { resource:Vitaly_Doguzhiyev property:award_received ?b . ?b rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q208167 Q21292818
P166
Q502895
USER
How many people won Hero of Socialist Labour and Order of Kutuzov, 2nd class ?
(c(Q502895),P166,Q208167) (c(Q502895),P166,Q21292818)
action count
action intersection
action filter_type
action find_reverse
entity Q208167
relation P166
type Q502895
action filter_type
action find_reverse
entity Q21292818
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q208167'] [{'concept': 'Q502895'}, 'P166', 'Q21292818']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:P166 resource:Q208167 . ?m rdf:type ontology:Q502895 . ?m property:P166 resource:Q21292818 . ?m rdf:type ontology:Q502895 }
Hero of Socialist Labour Order of Kutuzov, 2nd class
action count
action intersection
action filter_type
action find_reverse
entity Hero of Socialist Labour
relation award received
type common name
action filter_type
action find_reverse
entity Order of Kutuzov, 2nd class
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Hero of Socialist Labour'] [{'concept': 'common name'}, 'award received', 'Order of Kutuzov, 2nd class']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:award_received resource:Hero_of_Socialist_Labour . ?m rdf:type ontology:common_name . ?m property:award_received resource:Order_of_Kutuzov,_2nd_class . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q2543872 Q4322662 Q1333962 Q4061083 Q500581
(c(Q502895),P166,Q208167) (c(Q502895),P166,Q21292818)
action count
action intersection
action filter_type
action find_reverse
entity Q208167
relation P166
type Q502895
action filter_type
action find_reverse
entity Q21292818
relation P166
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q208167'] [{'concept': 'Q502895'}, 'P166', 'Q21292818']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:P166 resource:Q208167 . ?m rdf:type ontology:Q502895 . ?m property:P166 resource:Q21292818 . ?m rdf:type ontology:Q502895 }
Alexander Nudelman Vladimir Novikov Sergei Gavrilovich Simonov Anatolij Sergejevič Aleksandrov Vasil Mzhavanadze
5
action count
action intersection
action filter_type
action find_reverse
entity Hero of Socialist Labour
relation award received
type common name
action filter_type
action find_reverse
entity Order of Kutuzov, 2nd class
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Hero of Socialist Labour'] [{'concept': 'common name'}, 'award received', 'Order of Kutuzov, 2nd class']
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { ?m property:award_received resource:Hero_of_Socialist_Labour . ?m rdf:type ontology:common_name . ?m property:award_received resource:Order_of_Kutuzov,_2nd_class . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q208167
P17
Q7275
USER
Which state is that award a part of ?
action filter_type
action find
entity Q208167
relation P17
type Q7275
SELECT DISTINCT ?z WHERE { resource:Q208167 property:P17 ?z . ?z rdf:type ontology:Q7275 }
Hero of Socialist Labour
action filter_type
action find
entity Hero of Socialist Labour
relation country
type state
SELECT DISTINCT ?z WHERE { resource:Hero_of_Socialist_Labour property:country ?z . ?z rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
action filter_type
action find
entity Q208167
relation P17
type Q7275
[ANSWER] is that award a part of
SELECT DISTINCT ?z WHERE { resource:Q208167 property:P17 ?z . ?z rdf:type ontology:Q7275 }
Soviet Union
Soviet Union is that award a part of
Soviet Union
action filter_type
action find
entity Hero of Socialist Labour
relation country
type state
SELECT DISTINCT ?z WHERE { resource:Hero_of_Socialist_Labour property:country ?z . ?z rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P6
Q502895
USER
How many people have that state as their heads of government ?
(Q15180,P6,c(Q502895))
action count
action filter_type
action find
entity Q15180
relation P6
type Q502895
['Q15180', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q15180 property:P6 ?e . ?e rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Soviet Union
relation head of government
type common name
['Soviet Union', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Soviet_Union property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
12
Q48093 Q1394 Q202770 Q35314 Q132899 Q855 Q366524 Q294339 Q315518 Q180588 Q714552 Q435367
(Q15180,P6,c(Q502895))
action count
action filter_type
action find
entity Q15180
relation P6
type Q502895
[ANSWER]
['Q15180', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q15180 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Nikolai Bulganin Vladimir Lenin Alexei Kosygin Nikita Khrushchev Vyacheslav Molotov Joseph Stalin Nikolai Ryzhkov Alexey Rykov Nikolai Tikhonov Georgy Malenkov Ivan Silayev Valentin Pavlov
12
action count
action filter_type
action find
entity Soviet Union
relation head of government
type common name
['Soviet Union', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Soviet_Union property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q7275
USER
Which assemblies are the representative bodies for atleast 1 state ?
(c(Q7275),P194,c(Q1752346))
action atleast
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 1
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?d >= 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P194 ?c . ?c rdf:type ontology:Q1752346 . ?y rdf:type ontology:Q7275 } GROUP BY ?c } }
action atleast
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 1
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?d >= 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:legislative_body ?c . ?c rdf:type ontology:assembly . ?y rdf:type ontology:state } GROUP BY ?c } }
[]
assembly state
Q157638 Q641439 Q1371388
SYSTEM
Frankfurt Parliament, Landtag of Bavaria, States General
Q949699 Q17063844 Q1283189 Q1889821 Q1813360 Q650248 Q641439 Q2282872 Q11010 Q1371388 Q371576 Q1116283 Q643412 Q17064146 Q2739604 Q1130737 Q648716 Q35749 Q1484825 Q157638 Q219825 Q321246 Q7253170 Q697775 Q632552 Q1269552 Q878525 Q639704 Q1320418 Q7447087 Q3393882 Q219692 Q637829 Q667464 Q189445
(c(Q7275),P194,c(Q1752346))
action atleast
action find_reverse_tuple_counts
relation P194
type Q1752346
type Q7275
value 1
[ANSWERS] are the representative bodies for atleast 1 state
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?d >= 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:P194 ?c . ?c rdf:type ontology:Q1752346 . ?y rdf:type ontology:Q7275 } GROUP BY ?c } }
National Congress of Brasil Kampuchean People's Representative Assembly Estates of Aruba Irish Parliament Parliament of Romania Landtag of Prussia Landtag of Bavaria diet Parliament of the United Kingdom States General Parliament of Croatia National Assembly Parliament of Finland Parliament of the Khmer Republic Parliament of Great Britain Parliament of England National Assembly parliament Congress of the Union Frankfurt Parliament National Convention Reichstag Prussian estates Imperial Council French Parliament Dáil Éireann Reichstag National Assembly Parliament of Cambodia Sejm of the Duchy of Warsaw Junta of the Kingdom of Galicia Cortes Generales Reichstag Diet of Galicia and Lodomeria bicameral legislature
Frankfurt Parliament, Landtag of Bavaria and States General are the representative bodies for atleast 1 state
Frankfurt Parliament Landtag of Bavaria States General
action atleast
action find_reverse_tuple_counts
relation legislative body
type assembly
type state
value 1
[{'concept': 'state'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?d >= 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?d ) WHERE { ?y property:legislative_body ?c . ?c rdf:type ontology:assembly . ?y rdf:type ontology:state } GROUP BY ?c } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q1752346 Q7210356
USER
How many assemblies are less number of political organizations a portion of than that assembly ?
(c(Q7210356),P361,c(Q1752346))
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q7210356 . ?y rdf:type ontology:Q1752346 }
[{'concept': 'political organization'}, 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:political_organization . ?y rdf:type ontology:assembly }
[]
assembly political organization
Comparative|Count over More/Less|Single entity type|Clarification
Q641439
SYSTEM
Did you mean Landtag of Bavaria ?
(c(Q7210356),P361,c(Q1752346))
[ANSWER]
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q7210356 . ?y rdf:type ontology:Q1752346 }
Did you mean Landtag of Bavaria ?
Landtag of Bavaria
[{'concept': 'political organization'}, 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:political_organization . ?y rdf:type ontology:assembly }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant States General. Could you tell me the answer for that?
(c(Q7210356),P361,c(Q1752346))
Q1371388
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q1752346'}]
[{'concept': 'political organization'}, 'part of', {'concept': 'assembly'}]
[]
SYSTEM
0
(c(Q7210356),P361,c(Q1752346))
[ANSWER]
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P361 ?y . ?z rdf:type ontology:Q7210356 . ?y rdf:type ontology:Q1752346 }
0
[{'concept': 'political organization'}, 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:part_of ?y . ?z rdf:type ontology:political_organization . ?y rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1371388
P159
Q1497375
USER
Where is the head office for States General located ?
(Q1371388,P159,c(Q1497375))
action filter_type
action find
entity Q1371388
relation P159
type Q1497375
['Q1371388', 'P159', {'concept': 'Q1497375'}]
SELECT DISTINCT ?f WHERE { resource:Q1371388 property:P159 ?f . ?f rdf:type ontology:Q1497375 }
States General
action filter_type
action find
entity States General
relation headquarters location
type item with multiple objects
['States General', 'headquarters location', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?f WHERE { resource:States_General property:headquarters_location ?f . ?f rdf:type ontology:item_with_multiple_objects }
[]
item with multiple objects
Q863935
SYSTEM
Binnenhof
Q863935
(Q1371388,P159,c(Q1497375))
action filter_type
action find
entity Q1371388
relation P159
type Q1497375
The head office for States General is located in [ANSWER]
['Q1371388', 'P159', {'concept': 'Q1497375'}]
SELECT DISTINCT ?f WHERE { resource:Q1371388 property:P159 ?f . ?f rdf:type ontology:Q1497375 }
Binnenhof
The head office for States General is located in Binnenhof
Binnenhof
action filter_type
action find
entity States General
relation headquarters location
type item with multiple objects
['States General', 'headquarters location', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?f WHERE { resource:States_General property:headquarters_location ?f . ?f rdf:type ontology:item_with_multiple_objects }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q863935 Q268548 Q55
P17
Q15617994
USER
Is that item with multiple objects located in Chiusavecchia and Netherlands ?
(Q863935,P17,Q268548) (Q863935,P17,Q55)
action is_in
entity Q863935
action intersection
action find_reverse
entity Q268548
relation P17
action find_reverse
entity Q55
relation P17
['Q863935', 'P17', 'Q268548'] ['Q863935', 'P17', 'Q55']
ASK WHERE { resource:Q863935 property:P17 resource:Q268548 . resource:Q863935 property:P17 resource:Q55 }
Binnenhof Chiusavecchia Netherlands
action is_in
entity Binnenhof
action intersection
action find_reverse
entity Chiusavecchia
relation country
action find_reverse
entity Netherlands
relation country
['Binnenhof', 'country', 'Chiusavecchia'] ['Binnenhof', 'country', 'Netherlands']
ASK WHERE { resource:Binnenhof property:country resource:Chiusavecchia . resource:Binnenhof property:country resource:Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q863935,P17,Q268548) (Q863935,P17,Q55)
action is_in
entity Q863935
action intersection
action find_reverse
entity Q268548
relation P17
action find_reverse
entity Q55
relation P17
[ANSWER]
['Q863935', 'P17', 'Q268548'] ['Q863935', 'P17', 'Q55']
ASK WHERE { resource:Q863935 property:P17 resource:Q268548 . resource:Q863935 property:P17 resource:Q55 }
NO and YES respectively
action is_in
entity Binnenhof
action intersection
action find_reverse
entity Chiusavecchia
relation country
action find_reverse
entity Netherlands
relation country
['Binnenhof', 'country', 'Chiusavecchia'] ['Binnenhof', 'country', 'Netherlands']
ASK WHERE { resource:Binnenhof property:country resource:Chiusavecchia . resource:Binnenhof property:country resource:Netherlands }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q4968916
P669
Q83620 Q1497375
USER
How many thoroughfares are approximately the same number of items with multiple objects located as Great Portland Street ?
(c(Q1497375),P669,c(Q83620))
action count
action approx
action find_reverse_tuple_counts
relation P669
type Q83620
type Q1497375
action count
action filter_type
action find
entity Q4968916
relation P669
type Q83620
[{'concept': 'Q1497375'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P669 ?n . ?y rdf:type ontology:Q1497375 . ?n rdf:type ontology:Q83620 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q4968916 property:P669 ?z . ?z rdf:type ontology:Q83620 } } . FILTER ( ?u = ?h ) }
Great Portland Street
action count
action approx
action find_reverse_tuple_counts
relation located on street
type thoroughfare
type item with multiple objects
action count
action filter_type
action find
entity Great Portland Street
relation located on street
type thoroughfare
[{'concept': 'item with multiple objects'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:located_on_street ?n . ?y rdf:type ontology:item_with_multiple_objects . ?n rdf:type ontology:thoroughfare } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Great_Portland_Street property:located_on_street ?z . ?z rdf:type ontology:thoroughfare } } . FILTER ( ?u = ?h ) }
[]
thoroughfare item with multiple objects
SYSTEM
178
Q925349 Q15030785 Q5601894 Q659373 Q842930 Q5025781 Q7452693 Q17451598 Q3566460 Q16889211 Q3443567 Q3090472 Q7270510 Q2104197 Q1124023 Q2634407 Q18659847 Q169430 Q18659845 Q378991 Q4581969 Q5094624 Q3412695 Q3412693 Q1146988 Q5139684 Q21014314 Q5500055 Q16887011 Q7064249 Q4253168 Q1782648 Q373302 Q612382 Q5882916 Q1783236 Q6680226 Q7269996 Q1782039 Q1068693 Q2905663 Q3412683 Q5187677 Q5164086 Q7179381 Q7097982 Q15224048 Q5450926 Q11893194 Q26977295 Q5522302 Q892187 Q10476968 Q893034 Q2838796 Q3068338 Q3760653 Q7590464 Q3412685 Q16313103 Q3258965 Q2962296 Q22083647 Q2550870 Q18682440 Q4828125 Q2892349 Q846686 Q5137008 Q26311261 Q15213255 Q3368042 Q8023371 Q2436345 Q3412667 Q3412665 Q4649528 Q1146645 Q7798333 Q868616 Q4909694 Q4475857 Q7231999 Q3308692 Q1647486 Q1739015 Q1445372 Q12060528 Q8022857 Q1365199 Q192687 Q19581777 Q747271 Q7374297 Q11698324 Q3412658 Q805829 Q215255 Q5654882 Q3412713 Q5068795 Q3412716 Q27464910 Q5196144 Q6781594 Q7083664 Q7235592 Q21585418 Q4972570 Q7291867 Q1070409 Q23688700 Q4968916 Q26303488 Q2796839 Q3412645 Q3161432 Q17150715 Q1631720 Q479469 Q5122150 Q3001371 Q21097991 Q3412725 Q23891209 Q2926113 Q7999677 Q4946315 Q1770585 Q3365085 Q279859 Q1631609 Q1900734 Q6412079 Q6188196 Q5086153 Q19461206 Q5210648 Q756816 Q7995998 Q756819 Q7781517 Q3412738 Q18619695 Q3412735 Q3412630 Q22344691 Q79934 Q27837160 Q8033457 Q22084204 Q2922699 Q3412690 Q14935196 Q15176495 Q4649576 Q17985385 Q389991 Q5591440 Q893261 Q3001832 Q20005749 Q5905761 Q3368123 Q15030879 Q773458 Q3312645 Q3444041 Q5312872 Q866797 Q5123401 Q8032277 Q3090980 Q6126123 Q20220110 Q6483175 Q5607603 Q3443530
(c(Q1497375),P669,c(Q83620))
action count
action approx
action find_reverse_tuple_counts
relation P669
type Q83620
type Q1497375
action count
action filter_type
action find
entity Q4968916
relation P669
type Q83620
[ANSWER]
[{'concept': 'Q1497375'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:P669 ?n . ?y rdf:type ontology:Q1497375 . ?n rdf:type ontology:Q83620 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q4968916 property:P669 ?z . ?z rdf:type ontology:Q83620 } } . FILTER ( ?u = ?h ) }
Pall Mall Stoke Newington Church Street Greek Street quai de Conti The Mall Camden High Street Serangoon Road Dalbyvägen Greek National Road 1 Jurong Town Hall Road Quebec Route 132 quai Voltaire Queen Street Poppelsdorfer Allee Piccadilly St James's Street Main road 86 Jermyn Street Main road 79 Park Lane Queen Victoria Street Cheyne Walk quai de l'Archevêché quai de l'Hôtel-de-Ville quai d'Orsay Cockspur Street Warren Street Free School Lane Sembawang Road Nova Scotia Trunk 2 Lime Street High Holborn King's Road Sloane Street Hollywood Road The Cut Lordship Lane, Haringey Queen's Gate Cornhill Cheapside Exhibition Road quai de Grenelle Cromwell Road Constitution Avenue Petty France Ophir Road Hill Street Finsbury Pavement Regional road 815 Cranbourn Street Garden Road Bond Street Drottning Kristinas väg Haymarket allée Célestin-Hennion Fenchurch Street George Street St. Mary Axe quai de Jemmapes Connaught Road Central London Inner Ring Road Queen Mary Road Regency Street Paseo de Recoletos Piriläntie Avenida de Almeida Ribeiro Bayswater Road Fleet Street Clyde Road Willow Terrace Road Dean Street passage de Dantzig Wilton Crescent Maine State Route 103 quai d'Anjou quai Victor-Augagneur A6108 road Via Domitia Throgmorton Street Hollywood Boulevard Siilitie Universitetskaya Embankment Portland Place Euston Road Tottenham Court Road Kensington Palace Gardens Regional road 170 Hope Street Wilmslow Road Marylebone Road Downing Street Queen Anne's Gate quai de la Tournelle Royal Hospital Road Paternoster Row quai Saint-Bernard Colorado Boulevard Piccadilly Circus Harbour Road quai des Antilles Chalk Farm Road quai de la Seine Avenida Kim-Il Sung Curzon Street Marylebone High Street Old Church Street Poultry Warwick Lane Broadwick Street Randolph Street Victoria Embankment London Bridge Street Great Portland Street Moyka embankment‎ Collins Street quai Malaquais James Street Burlington Gardens Shaftesbury Avenue Abbey Road Commercial Street cours de Vincennes allée Georges-Besse quai des Orfèvres New Cavendish Street Brook Street Wigmore Street Borough High Street Horse Guards Road Massachusetts Avenue A1 road Savile Row Spencer Street King Street Jesus Lane Charlotte Street Creek Street Dale Street Via Aurelia Whitehall Street Strand Theobald's Road quai Émile-Zola Rathbone Place quai du Louvre quai Anatole-France Snelling Avenue U.S. Route 66 Fuchsbräugasse Woodstock Road, Oxford Elverton Street Bow Street quai de Valmy Little Collins Street Djurgårdsbrunnsvägen A66 road Aberdeen Place Hudson Street Gracechurch Street Kingsway Coventry Street Mount Street, London Horseferry Road passage des Petits-Pères Blackfriars Road Harley Street Brompton Road route de ceinture du Lac-Daumesnil Duke Street, Marylebone Leadenhall Street City Road Wood Street, London quai André-Citroën Jalan Bukit Merah, Singapore Union Street Lancaster Gate Gresham Street Quebec Route 111
178
action count
action approx
action find_reverse_tuple_counts
relation located on street
type thoroughfare
type item with multiple objects
action count
action filter_type
action find
entity Great Portland Street
relation located on street
type thoroughfare
[{'concept': 'item with multiple objects'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?y ) AS ?u ) WHERE { ?y property:located_on_street ?n . ?y rdf:type ontology:item_with_multiple_objects . ?n rdf:type ontology:thoroughfare } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Great_Portland_Street property:located_on_street ?z . ?z rdf:type ontology:thoroughfare } } . FILTER ( ?u = ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P1376
Q56061
USER
Which administrative territory is center of administration for Spain ?
(c(Q56061),P1376,Q29)
action filter_type
action find_reverse
entity Q29
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q29']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . ?t property:P1376 resource:Q29 }
Spain
action filter_type
action find_reverse
entity Spain
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Spain']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?t property:capital_of resource:Spain }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(c(Q56061),P1376,Q29)
action filter_type
action find_reverse
entity Q29
relation P1376
type Q56061
[ANSWER] is center of administration for Spain
[{'concept': 'Q56061'}, 'P1376', 'Q29']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . ?t property:P1376 resource:Q29 }
Madrid
Madrid is center of administration for Spain
Madrid
action filter_type
action find_reverse
entity Spain
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Spain']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?t property:capital_of resource:Spain }
[]