Simple Question (Direct)
Simple Question
Q2368484
P641
Q349
USER
What did Dario Smoje participate in ?
(Q2368484,P641,c(Q349))
action filter_type
action find
entity Q2368484
relation P641
type Q349
['Q2368484', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q2368484 property:P641 ?r . ?r rdf:type ontology:Q349 }
Dario Smoje
action filter_type
action find
entity Dario Smoje
relation sport
type sport
['Dario Smoje', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Dario_Smoje property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2368484,P641,c(Q349))
action filter_type
action find
entity Q2368484
relation P641
type Q349
Dario Smoje participated in [ANSWER]
['Q2368484', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q2368484 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
Dario Smoje participated in association football
association football
action filter_type
action find
entity Dario Smoje
relation sport
type sport
['Dario Smoje', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Dario_Smoje property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2368484
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q2368484
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q2368484 property:P27 ?q }
Dario Smoje
action filter_type
action find
entity Dario Smoje
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dario_Smoje property:country_of_citizenship ?q }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q2368484
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q2368484 property:P27 ?q }
Croatia
Croatia is the native country of that person
Croatia
action filter_type
action find
entity Dario Smoje
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dario_Smoje property:country_of_citizenship ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q224 Q458 Q4399632
P47
Q56061
USER
Does that administrative territory have an adjacent border with European Union and Rudnya, Brest Voblast ?
(Q224,P47,Q458) (Q224,P47,Q4399632)
action is_in
entity Q224
action intersection
action find_reverse
entity Q458
relation P47
action find_reverse
entity Q4399632
relation P47
['Q224', 'P47', 'Q458'] ['Q224', 'P47', 'Q4399632']
ASK WHERE { resource:Q224 property:P47 resource:Q458 . resource:Q224 property:P47 resource:Q4399632 }
Croatia European Union Rudnya, Brest Voblast
action is_in
entity Croatia
action intersection
action find_reverse
entity European Union
relation shares border with
action find_reverse
entity Rudnya, Brest Voblast
relation shares border with
['Croatia', 'shares border with', 'European Union'] ['Croatia', 'shares border with', 'Rudnya, Brest Voblast']
ASK WHERE { resource:Croatia property:shares_border_with resource:European_Union . resource:Croatia property:shares_border_with resource:Rudnya,_Brest_Voblast }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q224,P47,Q458) (Q224,P47,Q4399632)
action is_in
entity Q224
action intersection
action find_reverse
entity Q458
relation P47
action find_reverse
entity Q4399632
relation P47
[ANSWER]
['Q224', 'P47', 'Q458'] ['Q224', 'P47', 'Q4399632']
ASK WHERE { resource:Q224 property:P47 resource:Q458 . resource:Q224 property:P47 resource:Q4399632 }
YES and NO respectively
action is_in
entity Croatia
action intersection
action find_reverse
entity European Union
relation shares border with
action find_reverse
entity Rudnya, Brest Voblast
relation shares border with
['Croatia', 'shares border with', 'European Union'] ['Croatia', 'shares border with', 'Rudnya, Brest Voblast']
ASK WHERE { resource:Croatia property:shares_border_with resource:European_Union . resource:Croatia property:shares_border_with resource:Rudnya,_Brest_Voblast }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q224
P194
Q1752346
USER
Which assembly governs Croatia ?
(Q224,P194,c(Q1752346))
action filter_type
action find
entity Q224
relation P194
type Q1752346
['Q224', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?x WHERE { resource:Q224 property:P194 ?x . ?x rdf:type ontology:Q1752346 }
Croatia
action filter_type
action find
entity Croatia
relation legislative body
type assembly
['Croatia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?x WHERE { resource:Croatia property:legislative_body ?x . ?x rdf:type ontology:assembly }
[]
assembly
Q371576
SYSTEM
Parliament of Croatia
Q371576
(Q224,P194,c(Q1752346))
action filter_type
action find
entity Q224
relation P194
type Q1752346
The [ANSWER] governs Croatia
['Q224', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?x WHERE { resource:Q224 property:P194 ?x . ?x rdf:type ontology:Q1752346 }
Parliament of Croatia
The Parliament of Croatia governs Croatia
Parliament of Croatia
action filter_type
action find
entity Croatia
relation legislative body
type assembly
['Croatia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?x WHERE { resource:Croatia property:legislative_body ?x . ?x rdf:type ontology:assembly }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20
Q1752346
USER
And how about Norway?
(Q20,P194,c(Q1752346))
action filter_type
action find
entity Q20
relation P194
type Q1752346
['Q20', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1752346 . resource:Q20 property:P194 ?f }
Norway
action filter_type
action find
entity Norway
relation legislative body
type assembly
['Norway', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:assembly . resource:Norway property:legislative_body ?f }
[]
assembly
Q109016
SYSTEM
Parliament of Norway
Q109016
(Q20,P194,c(Q1752346))
action filter_type
action find
entity Q20
relation P194
type Q1752346
[ANSWER]
['Q20', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1752346 . resource:Q20 property:P194 ?f }
Parliament of Norway
Parliament of Norway
action filter_type
action find
entity Norway
relation legislative body
type assembly
['Norway', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:assembly . resource:Norway property:legislative_body ?f }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q1752346 Q7210356
USER
How many assemblies are approximately the same number of political organizations a component of as that assembly ?
(c(Q7210356),P361,c(Q1752346))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q1752346
type Q7210356
action count
action filter_type
action find
entity Q109016
relation P361
type Q1752346
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:Q1752346 . resource:Q109016 property:P361 ?h } } . FILTER ( ?t = ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P361 ?i . ?i rdf:type ontology:Q1752346 . ?g rdf:type ontology:Q7210356 } GROUP BY ?i } }
action count
action approx
action find_reverse_tuple_counts
relation part of
type assembly
type political organization
action count
action filter_type
action find
entity Parliament of Norway
relation part of
type assembly
[{'concept': 'political organization'}, 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:assembly . resource:Parliament_of_Norway property:part_of ?h } } . FILTER ( ?t = ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:part_of ?i . ?i rdf:type ontology:assembly . ?g rdf:type ontology:political_organization } GROUP BY ?i } }
[]
assembly political organization
SYSTEM
159
Q3154693 Q1253647 Q109016 Q896075 Q2511660 Q949699 Q1422275 Q3365524 Q715641 Q2635070 Q2584535 Q676484 Q1258164 Q14759322 Q1368318 Q648716 Q502026 Q1572486 Q206171 Q636377 Q4345413 Q1813360 Q6518214 Q510511 Q650248 Q314690 Q1599346 Q1398920 Q3251036 Q1969527 Q641439 Q1817866 Q319994 Q1450753 Q2994116 Q3564203 Q2097101 Q2647159 Q884824 Q1577158 Q1585014 Q154797 Q19758733 Q1969591 Q1368588 Q382118 Q11010 Q1112381 Q7252745 Q1807513 Q1798607 Q1371388 Q640859 Q1188525 Q230003 Q371576 Q7285832 Q2185780 Q1969585 Q1117578 Q1969587 Q2016884 Q1139204 Q2011165 Q4345419 Q1968458 Q1415847 Q1848595 Q2119357 Q740564 Q1517231 Q2347172 Q3365530 Q1972029 Q1417210 Q643412 Q2739604 Q820697 Q378605 Q1130737 Q583157 Q1292 Q571436 Q35749 Q521764 Q720753 Q1484825 Q12041660 Q1542985 Q209151 Q1520966 Q1284236 Q157638 Q5531805 Q219825 Q1138299 Q884829 Q1357543 Q1288169 Q882738 Q1077701 Q321246 Q2665089 Q1280751 Q3365552 Q1135960 Q775767 Q7063612 Q1650523 Q3896143 Q817979 Q326465 Q1969569 Q714698 Q14552853 Q339033 Q697775 Q20992117 Q684719 Q3365546 Q160208 Q1968468 Q260372 Q742110 Q7138943 Q1501988 Q317147 Q878525 Q1853235 Q859658 Q449304 Q17014622 Q6682043 Q654504 Q646190 Q639704 Q1320418 Q475689 Q1973075 Q15150880 Q822919 Q455697 Q2053647 Q219692 Q9300937 Q637829 Q5339025 Q133396 Q122635 Q3246027 Q2444341 Q477089 Q1760847 Q667464 Q15304628 Q632552 Q555809 Q1769673 Q189445
(c(Q7210356),P361,c(Q1752346))
action count
action approx
action find_reverse_tuple_counts
relation P361
type Q1752346
type Q7210356
action count
action filter_type
action find
entity Q109016
relation P361
type Q1752346
[ANSWER]
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:Q1752346 . resource:Q109016 property:P361 ?h } } . FILTER ( ?t = ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:P361 ?i . ?i rdf:type ontology:Q1752346 . ?g rdf:type ontology:Q7210356 } GROUP BY ?i } }
city council Parliament of Grenada Parliament of Norway Landtag of Thuringia Congress of Paraguay National Congress of Brasil Parliament of Lebanon Parliament of Tasmania State Duma National Assembly Parliament of Egypt National Assembly Assembly of the Republic of Macedonia Senate (Equatorial Guinea) National Assembly National Assembly National Assembly Parliament of The Bahamas Scottish Parliament Hamburg Parliament Parliament of Gabon Parliament of Romania Legislative Assembly of Queensland Landtag of Hesse Landtag of Prussia Landtag of Rhineland-Palatinate National Assembly General council Legislature of New Brunswick National Assembly Landtag of Bavaria Parliament of Malta Landtag of Lower Saxony Parliament of Sri Lanka Queensland Legislative Council Federal Assembly States-Provincial municipal council (France) Landtag of Saxony National Assembly National Assembly of Venezuela Bundestag of Germany departmental council National Assembly National Assembly of Panama Parliament of Australia Parliament of the United Kingdom House of Representatives Provisional Legislative Council Parliament of Ghana National Assembly of Belarus States General Abgeordnetenhaus of Berlin National Assembly Lok Sabha Parliament of Croatia Rajasthan Legislative Assembly Parliament of South Africa National Assembly Italian Parliament National Assembly Oireachtas of the Irish Free State National Council of Slovakia Supreme Assembly Parliament of Lesotho Plurinational Legislative Assembly National Congress of Honduras Assembly of the Republic House of Nationalities Assembly of the Republic Parliament of Singapore Parliament of the Czech Republic Parliament of the Province of Canada Parliament of Nauru Parliament of Georgia Parliament of Finland Parliament of Great Britain Parliament of Jordan Islamic Consultative Assembly Parliament of England regional council Flemish Parliament Landtag of North Rhine-Westphalia parliament Landtag of Brandenburg National Assembly of People's Power Congress of the Union National Assembly of the Czechoslovak Republic Congress of the Philippines Folketing New Zealand Parliament Congress of Colombia Frankfurt Parliament General Council of Bucharest National Convention National Assembly Landtag of Saxony-Anhalt Congress of the Republic of Peru Slovenian Parliament Landtag of Mecklenburg-Vorpommern Regional Council in Italy Reichstag Parliament of Pakistan Parliament of Antigua and Barbuda Parliament of the Kingdom of Sardinia Parliament of Albania Chamber of People's Representatives Nottingham City Council Parliament of Scotland Parliament of Nepal Grand and General Council Supreme Soviet of the Soviet Union National Assembly Supreme People's Assembly Shiga prefectural assembly Palestinian Legislative Council Imperial Council Union Parliament Federal Assembly Parliament of the Kingdom of Italy Reichstag National Congress of Chile Landtag of Saarland Parliament of Haiti Parliament of Trinidad and Tobago General Assembly of Uruguay Bürgerschaft of Bremen Reichstag National Assembly National Assembly Landtag of Schleswig-Holstein municipal council Los Angeles Common Council National Assembly Argentine National Congress National Assembly Parliament of Cambodia Parliament of Canada Council of Representatives of Iraq Legislature of Quebec Saeima Landtag of Baden-Württemberg Parliament of Southern Ireland Cortes Generales Parliament of Northern Ireland Reichstag Edmonton City Council Knesset Parliament of Jamaica General Assembly of Nova Scotia Toronto City Council Hellenic Parliament National Assembly Diet of Galicia and Lodomeria parliament of a Canadian province or territory French Parliament Parliament of the Republic of Moldova National Assembly bicameral legislature
159
action count
action approx
action find_reverse_tuple_counts
relation part of
type assembly
type political organization
action count
action filter_type
action find
entity Parliament of Norway
relation part of
type assembly
[{'concept': 'political organization'}, 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h rdf:type ontology:assembly . resource:Parliament_of_Norway property:part_of ?h } } . FILTER ( ?t = ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { ?g property:part_of ?i . ?i rdf:type ontology:assembly . ?g rdf:type ontology:political_organization } GROUP BY ?i } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q224
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have diplomatic relationships with Croatia ?
(Q224,P530,c(Q15617994)) (Q224,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q224
relation P530
type Q15617994
action filter_type
action find
entity Q224
relation P530
type Q1048835
['Q224', 'P530', {'concept': 'Q15617994'}] ['Q224', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Croatia
action count
action union
action filter_type
action find
entity Croatia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Croatia
relation diplomatic relation
type political territorial entity
['Croatia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Croatia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
3
Q408 Q38 Q183
(Q224,P530,c(Q15617994)) (Q224,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q224
relation P530
type Q15617994
action filter_type
action find
entity Q224
relation P530
type Q1048835
[ANSWER]
['Q224', 'P530', {'concept': 'Q15617994'}] ['Q224', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } }
Australia Italy Germany
3
action count
action union
action filter_type
action find
entity Croatia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Croatia
relation diplomatic relation
type political territorial entity
['Croatia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Croatia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q109016 Q6658351
P112
Q43229
USER
How many organizations were founded by Parliament of Norway or Liverpool City Council ?
(c(Q43229),P112,Q109016) (c(Q43229),P112,Q6658351)
action count
action union
action filter_type
action find_reverse
entity Q109016
relation P112
type Q43229
action filter_type
action find_reverse
entity Q6658351
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q109016'] [{'concept': 'Q43229'}, 'P112', 'Q6658351']
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:P112 resource:Q109016 . ?j rdf:type ontology:Q43229 } UNION { ?j rdf:type ontology:Q43229 . ?j property:P112 resource:Q6658351 } }
Parliament of Norway Liverpool City Council
action count
action union
action filter_type
action find_reverse
entity Parliament of Norway
relation founder
type organization
action filter_type
action find_reverse
entity Liverpool City Council
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Parliament of Norway'] [{'concept': 'organization'}, 'founder', 'Liverpool City Council']
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:founder resource:Parliament_of_Norway . ?j rdf:type ontology:organization } UNION { ?j rdf:type ontology:organization . ?j property:founder resource:Liverpool_City_Council } }
[]
organization
SYSTEM
2
Q6658610 Q1740534
(c(Q43229),P112,Q109016) (c(Q43229),P112,Q6658351)
action count
action union
action filter_type
action find_reverse
entity Q109016
relation P112
type Q43229
action filter_type
action find_reverse
entity Q6658351
relation P112
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P112', 'Q109016'] [{'concept': 'Q43229'}, 'P112', 'Q6658351']
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:P112 resource:Q109016 . ?j rdf:type ontology:Q43229 } UNION { ?j rdf:type ontology:Q43229 . ?j property:P112 resource:Q6658351 } }
Liverpool Vision Vinmonopolet
2
action count
action union
action filter_type
action find_reverse
entity Parliament of Norway
relation founder
type organization
action filter_type
action find_reverse
entity Liverpool City Council
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Parliament of Norway'] [{'concept': 'organization'}, 'founder', 'Liverpool City Council']
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:founder resource:Parliament_of_Norway . ?j rdf:type ontology:organization } UNION { ?j rdf:type ontology:organization . ?j property:founder resource:Liverpool_City_Council } }
[]