Simple Question (Direct)
Simple Question
Q1042805
P1196
Q1914636
USER
Which activity best describes with type of death of Carlos Casagemas ?
(Q1042805,P1196,c(Q1914636))
action filter_type
action find
entity Q1042805
relation P1196
type Q1914636
['Q1042805', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1914636 . resource:Q1042805 property:P1196 ?g }
Carlos Casagemas
action filter_type
action find
entity Carlos Casagemas
relation manner of death
type activity
['Carlos Casagemas', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:activity . resource:Carlos_Casagemas property:manner_of_death ?g }
[]
activity
Q10737
SYSTEM
suicide
Q10737
(Q1042805,P1196,c(Q1914636))
action filter_type
action find
entity Q1042805
relation P1196
type Q1914636
The [ANSWER] best describes with type of death of Carlos Casagemas
['Q1042805', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1914636 . resource:Q1042805 property:P1196 ?g }
suicide
The suicide best describes with type of death of Carlos Casagemas
suicide
action filter_type
action find
entity Carlos Casagemas
relation manner of death
type activity
['Carlos Casagemas', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:activity . resource:Carlos_Casagemas property:manner_of_death ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1042805
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q10737,P19,c(Q56061))
action filter_type
action find
entity Q1042805
relation P19
type Q56061
['Q10737', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1042805 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Carlos Casagemas
action filter_type
action find
entity Carlos Casagemas
relation place of birth
type administrative territorial entity
['suicide', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Carlos_Casagemas property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q10737,P19,c(Q56061))
action filter_type
action find
entity Q1042805
relation P19
type Q56061
That person was born in [ANSWER]
['Q10737', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1042805 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Barcelona
That person was born in Barcelona
Barcelona
action filter_type
action find
entity Carlos Casagemas
relation place of birth
type administrative territorial entity
['suicide', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Carlos_Casagemas property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q20593327
P138
Q39546 Q2235308 Q56061
USER
How many administrative territories come from greater number of tools and ship types than Llanbadarn y Garreg ?
(c(Q56061),P138,c(Q39546)|c(Q2235308))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q2235308
action count
action filter_multi_types
action find
entity Q20593327
relation P138
type Q39546
type Q2235308
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q2235308'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?l WHERE { { ?l property:P138 ?c . ?l rdf:type ontology:Q56061 . ?c rdf:type ontology:Q2235308 } UNION { ?l property:P138 ?c . ?c rdf:type ontology:Q39546 . ?l rdf:type ontology:Q56061 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:Q20593327 property:P138 ?r . { { ?r rdf:type ontology:Q39546 } UNION { ?r rdf:type ontology:Q2235308 } } } } . FILTER ( ?a > ?d ) }
Llanbadarn y Garreg
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type ship type
action count
action filter_multi_types
action find
entity Llanbadarn y Garreg
relation named after
type tool
type ship type
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'ship type'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?l WHERE { { ?l property:named_after ?c . ?l rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:ship_type } UNION { ?l property:named_after ?c . ?c rdf:type ontology:tool . ?l rdf:type ontology:administrative_territorial_entity } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:Llanbadarn_y_Garreg property:named_after ?r . { { ?r rdf:type ontology:tool } UNION { ?r rdf:type ontology:ship_type } } } } . FILTER ( ?a > ?d ) }
[]
tool ship type administrative territorial entity
SYSTEM
4
Q501744 Q2684131 Q20933314 Q194067
(c(Q56061),P138,c(Q39546)|c(Q2235308))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q2235308
action count
action filter_multi_types
action find
entity Q20593327
relation P138
type Q39546
type Q2235308
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q2235308'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?l WHERE { { ?l property:P138 ?c . ?l rdf:type ontology:Q56061 . ?c rdf:type ontology:Q2235308 } UNION { ?l property:P138 ?c . ?c rdf:type ontology:Q39546 . ?l rdf:type ontology:Q56061 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:Q20593327 property:P138 ?r . { { ?r rdf:type ontology:Q39546 } UNION { ?r rdf:type ontology:Q2235308 } } } } . FILTER ( ?a > ?d ) }
Alert De Punt Itascatown Serpukhov
4
action count
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type ship type
action count
action filter_multi_types
action find
entity Llanbadarn y Garreg
relation named after
type tool
type ship type
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'ship type'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) ?l WHERE { { ?l property:named_after ?c . ?l rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:ship_type } UNION { ?l property:named_after ?c . ?c rdf:type ontology:tool . ?l rdf:type ontology:administrative_territorial_entity } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:Llanbadarn_y_Garreg property:named_after ?r . { { ?r rdf:type ontology:tool } UNION { ?r rdf:type ontology:ship_type } } } } . FILTER ( ?a > ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1492
P237
Q17335294
USER
Which coat of arms serves as the ensign for Barcelona ?
(Q1492,P237,c(Q17335294))
action filter_type
action find
entity Q1492
relation P237
type Q17335294
['Q1492', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q17335294 . resource:Q1492 property:P237 ?r }
Barcelona
action filter_type
action find
entity Barcelona
relation coat of arms
type flag or coat of arms
['Barcelona', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:flag_or_coat_of_arms . resource:Barcelona property:coat_of_arms ?r }
[]
flag or coat of arms
Q8777837
SYSTEM
Coat of Arms of Barcelona
Q8777837
(Q1492,P237,c(Q17335294))
action filter_type
action find
entity Q1492
relation P237
type Q17335294
The [ANSWER] serves as the ensign for Barcelona
['Q1492', 'P237', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q17335294 . resource:Q1492 property:P237 ?r }
Coat of Arms of Barcelona
The Coat of Arms of Barcelona serves as the ensign for Barcelona
Coat of Arms of Barcelona
action filter_type
action find
entity Barcelona
relation coat of arms
type flag or coat of arms
['Barcelona', 'coat of arms', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:flag_or_coat_of_arms . resource:Barcelona property:coat_of_arms ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1492
P276
Q132241
USER
What is situated at Barcelona ?
(c(Q132241),P276,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P276
type Q132241
[{'concept': 'Q132241'}, 'P276', 'Q1492']
SELECT DISTINCT ?e WHERE { ?e property:P276 resource:Q1492 . ?e rdf:type ontology:Q132241 }
Barcelona
action filter_type
action find_reverse
entity Barcelona
relation location
type festival
[{'concept': 'festival'}, 'location', 'Barcelona']
SELECT DISTINCT ?e WHERE { ?e property:location resource:Barcelona . ?e rdf:type ontology:festival }
[]
festival
Q3181317
SYSTEM
La Mercè
Q3181317
(c(Q132241),P276,Q1492)
action filter_type
action find_reverse
entity Q1492
relation P276
type Q132241
[ANSWER] is situated at Barcelona
[{'concept': 'Q132241'}, 'P276', 'Q1492']
SELECT DISTINCT ?e WHERE { ?e property:P276 resource:Q1492 . ?e rdf:type ontology:Q132241 }
La Mercè
La Mercè is situated at Barcelona
La Mercè
action filter_type
action find_reverse
entity Barcelona
relation location
type festival
[{'concept': 'festival'}, 'location', 'Barcelona']
SELECT DISTINCT ?e WHERE { ?e property:location resource:Barcelona . ?e rdf:type ontology:festival }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1492
P417
Q1509831
USER
Which titles of Mary is the patron saint of Barcelona ?
(Q1492,P417,c(Q1509831))
action filter_type
action find
entity Q1492
relation P417
type Q1509831
['Q1492', 'P417', {'concept': 'Q1509831'}]
SELECT DISTINCT ?a WHERE { resource:Q1492 property:P417 ?a . ?a rdf:type ontology:Q1509831 }
Barcelona
action filter_type
action find
entity Barcelona
relation patron saint
type titles of Mary
['Barcelona', 'patron saint', {'concept': 'titles of Mary'}]
SELECT DISTINCT ?a WHERE { resource:Barcelona property:patron_saint ?a . ?a rdf:type ontology:titles_of_Mary }
[]
titles of Mary
Q176813
SYSTEM
Virgin of Mercy
Q176813
(Q1492,P417,c(Q1509831))
action filter_type
action find
entity Q1492
relation P417
type Q1509831
[ANSWER] is the patron saint of Barcelona
['Q1492', 'P417', {'concept': 'Q1509831'}]
SELECT DISTINCT ?a WHERE { resource:Q1492 property:P417 ?a . ?a rdf:type ontology:Q1509831 }
Virgin of Mercy
Virgin of Mercy is the patron saint of Barcelona
Virgin of Mercy
action filter_type
action find
entity Barcelona
relation patron saint
type titles of Mary
['Barcelona', 'patron saint', {'concept': 'titles of Mary'}]
SELECT DISTINCT ?a WHERE { resource:Barcelona property:patron_saint ?a . ?a rdf:type ontology:titles_of_Mary }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q49603
Q1509831
USER
And how about Ponte Buggianese?
(Q49603,P417,c(Q1509831))
action filter_type
action find
entity Q49603
relation P417
type Q1509831
['Q49603', 'P417', {'concept': 'Q1509831'}]
SELECT DISTINCT ?s WHERE { resource:Q49603 property:P417 ?s . ?s rdf:type ontology:Q1509831 }
Ponte Buggianese
action filter_type
action find
entity Ponte Buggianese
relation patron saint
type titles of Mary
['Ponte Buggianese', 'patron saint', {'concept': 'titles of Mary'}]
SELECT DISTINCT ?s WHERE { resource:Ponte_Buggianese property:patron_saint ?s . ?s rdf:type ontology:titles_of_Mary }
[]
titles of Mary
Q784648
SYSTEM
Our Lady of Good Counsel
Q784648
(Q49603,P417,c(Q1509831))
action filter_type
action find
entity Q49603
relation P417
type Q1509831
[ANSWER]
['Q49603', 'P417', {'concept': 'Q1509831'}]
SELECT DISTINCT ?s WHERE { resource:Q49603 property:P417 ?s . ?s rdf:type ontology:Q1509831 }
Our Lady of Good Counsel
Our Lady of Good Counsel
action filter_type
action find
entity Ponte Buggianese
relation patron saint
type titles of Mary
['Ponte Buggianese', 'patron saint', {'concept': 'titles of Mary'}]
SELECT DISTINCT ?s WHERE { resource:Ponte_Buggianese property:patron_saint ?s . ?s rdf:type ontology:titles_of_Mary }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2634
P163
Q17335294
USER
What is the name of coat of arms associated with Naples ?
(Q2634,P163,c(Q17335294))
action filter_type
action find
entity Q2634
relation P163
type Q17335294
['Q2634', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?h WHERE { resource:Q2634 property:P163 ?h . ?h rdf:type ontology:Q17335294 }
Naples
action filter_type
action find
entity Naples
relation flag
type flag or coat of arms
['Naples', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?h WHERE { resource:Naples property:flag ?h . ?h rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q954531
SYSTEM
Flag of Naples
Q954531
(Q2634,P163,c(Q17335294))
action filter_type
action find
entity Q2634
relation P163
type Q17335294
The name of coat of arms associated with Naples is the [ANSWER]
['Q2634', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?h WHERE { resource:Q2634 property:P163 ?h . ?h rdf:type ontology:Q17335294 }
Flag of Naples
The name of coat of arms associated with Naples is the Flag of Naples
Flag of Naples
action filter_type
action find
entity Naples
relation flag
type flag or coat of arms
['Naples', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?h WHERE { resource:Naples property:flag ?h . ?h rdf:type ontology:flag_or_coat_of_arms }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P163
Q17335294 Q5589178
USER
Which coats of arms are associated with around the same number of regimes as that coat of arms ?
(c(Q5589178),P163,c(Q17335294))
action approx
action find_reverse_tuple_counts
relation P163
type Q17335294
type Q5589178
action count
action filter_type
action find
entity Q954531
relation P163
type Q17335294
[{'concept': 'Q5589178'}, 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P163 ?c . ?f rdf:type ontology:Q5589178 . ?c rdf:type ontology:Q17335294 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q954531 property:P163 ?m . ?m rdf:type ontology:Q17335294 } } . FILTER ( ?h = ?j ) }
action approx
action find_reverse_tuple_counts
relation flag
type flag or coat of arms
type regime
action count
action filter_type
action find
entity Flag of Naples
relation flag
type flag or coat of arms
[{'concept': 'regime'}, 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:flag ?c . ?f rdf:type ontology:regime . ?c rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Flag_of_Naples property:flag ?m . ?m rdf:type ontology:flag_or_coat_of_arms } } . FILTER ( ?h = ?j ) }
[]
flag or coat of arms regime
Q834419 Q2133401 Q2395413
SYSTEM
flag of Bonaire, flag of Limburg, Flag of Sint Eustatius
Q5456707 Q687222 Q735046 Q21752527 Q2635540 Q2081442 Q2635547 Q2051962 Q5718813 Q2456556 Q2199869 Q2250163 Q752195 Q2661050 Q24347379 Q834419 Q9260349 Q3039030 Q3039032 Q1408345 Q3633957 Q18088321 Q8241582 Q5718436 Q5718434 Q4490424 Q4490427 Q2395413 Q5456716 Q1426515 Q2616924 Q2100376 Q2600445 Q4487511 Q863844 Q4486572 Q1095488 Q1048963 Q3497754 Q4485846 Q4490544 Q2301249 Q15978078 Q1987311 Q842327 Q2470827 Q2154092 Q842322 Q763140 Q2993784 Q5456768 Q5456769 Q2129668 Q5456764 Q5456767 Q5456761 Q21596887 Q22671668 Q5413522 Q2750384 Q5718545 Q5718542 Q2337143 Q657099 Q1064696 Q699554 Q835502 Q707471 Q12143494 Q4487638 Q760401 Q25855264 Q1750603 Q2742210 Q907381 Q731163 Q5456819 Q5456817 Q5456815 Q5456810 Q5456811 Q2976242 Q5718680 Q381988 Q715218 Q59921 Q5718441 Q5456733 Q5456732 Q2507661 Q4488022 Q2993812 Q2559741 Q693569 Q4485526 Q730106 Q1048951 Q5456792 Q2453540 Q2308548 Q1890974 Q225489 Q2359650 Q783490 Q3435436 Q954531 Q752559 Q5456788 Q5456789 Q5456787 Q5456784 Q752557 Q5456781 Q857778 Q2444822 Q2640436 Q1426471 Q924444 Q4486900 Q2997710 Q854894 Q685217 Q2919871 Q435103 Q5718532 Q4490508 Q2566349 Q4490505 Q5456856 Q2668687 Q2917560 Q693701 Q12143336 Q2077333 Q4487162 Q4490484 Q12014317 Q2635320 Q877603 Q1922718 Q4784194 Q4573783 Q4490436 Q2268966 Q630077 Q2635524 Q5456676 Q148807 Q863855 Q2897956 Q2278121 Q2389568 Q3263233 Q5456678 Q4487111 Q4487112 Q843879 Q687062 Q4485399 Q21948487 Q4488208 Q22227162 Q2330297 Q2361840 Q2130987 Q459788 Q4487343 Q22668573 Q3352503 Q2836731 Q5456779 Q5456777 Q2697223 Q5456775 Q5456773 Q5456771 Q5456770 Q2145426 Q676803 Q1426622 Q752562 Q5718576 Q752566 Q736625 Q752569 Q2674744 Q2361835 Q18560 Q15883518 Q2618556 Q3303528 Q523403 Q4487822 Q2334348 Q2733623 Q20019293 Q783961 Q3562401 Q2469044 Q2419293 Q2387656 Q9646352 Q2621952 Q8563575 Q2015789 Q1956631 Q5456801 Q5456802 Q5456804 Q5456807 Q5456806 Q863816 Q2423846 Q693758 Q876607 Q1087030 Q2790848 Q3039014 Q2635579 Q4490374 Q7624391 Q4490376 Q4490377 Q5718594 Q4490372 Q2654018 Q185692 Q4487474 Q2474848 Q23306918 Q849747 Q5718579 Q3449950 Q562077 Q122482 Q13583304 Q693717 Q1397967 Q5456791 Q5456790 Q2360287 Q5456795 Q5456797 Q5456798 Q698762 Q2777623 Q14856641 Q2635701 Q695125 Q1853811 Q932849 Q1004161 Q4486670 Q4486914 Q18088397 Q22122243 Q2564146 Q1091411 Q4490497 Q1426588 Q5456841 Q2630389 Q5456842 Q1426612 Q2994686 Q818665 Q4490496 Q4490499 Q4490498 Q3038991 Q2604262 Q752837 Q2245162 Q734071 Q3039053 Q5718417 Q854882 Q5456838 Q4490401 Q5456831 Q8241736 Q5456834 Q5456835 Q938601 Q2470334 Q2165848 Q2584616 Q4490392 Q4490391 Q460072 Q14515851 Q22282619 Q5718709 Q12989 Q5718465 Q2774900 Q16801255 Q22671268 Q44936 Q1402799 Q583037 Q5456741 Q5456747 Q619799 Q5456748 Q1983397 Q186456 Q2635874 Q2075178 Q2586114 Q752573 Q4485724 Q828147 Q1861069 Q2632980 Q1426496 Q2620742 Q2073258 Q526662 Q933011 Q2452642 Q629857 Q1063386 Q2660409 Q2635531 Q5718510 Q2993349 Q736760 Q18714057 Q698379 Q2423859 Q2470376 Q22672031 Q2084156 Q2976226 Q3434487 Q4485823 Q18628331 Q3973088 Q286139 Q877588 Q34494 Q1052731 Q4490366 Q4490364 Q4490360 Q2616930 Q2549429 Q913583 Q2279946 Q4487916 Q906340 Q1135849 Q2626006 Q530807 Q2371201 Q2651997 Q8141198 Q939115 Q837312 Q2529313 Q2357910 Q497887 Q172446 Q4490827 Q5685196 Q5456718 Q27269818 Q2997255 Q5456713 Q2415385 Q21150594 Q4486667 Q819691 Q8241807 Q2915836 Q22671289 Q5718846 Q1426620 Q8241680 Q2981718 Q2641161 Q2981712 Q18604 Q4486206 Q2244303 Q4486355 Q3039064 Q5718468 Q862088 Q4490412 Q4490414 Q4490416 Q5456829 Q5456828 Q19915227 Q19915225 Q5456823 Q5456822 Q5456821 Q5456820 Q5456827 Q5456826 Q2132438 Q5456824 Q1144745 Q3395407 Q834691 Q4490381 Q26276562 Q2086033 Q21296162 Q947220 Q677105 Q1073663 Q2237909 Q22671521 Q5456721 Q5456725 Q4488035 Q1426387 Q21635013 Q2975851 Q11721817 Q856849 Q2635764 Q5456754 Q5456751 Q5490936 Q756694 Q158591 Q2586101 Q2133401 Q2426802 Q4487251 Q24383229 Q2424575 Q2387313
(c(Q5589178),P163,c(Q17335294))
action approx
action find_reverse_tuple_counts
relation P163
type Q17335294
type Q5589178
action count
action filter_type
action find
entity Q954531
relation P163
type Q17335294
[ANSWERS] are associated with around the same number of regimes as that coat of arms
[{'concept': 'Q5589178'}, 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P163 ?c . ?f rdf:type ontology:Q5589178 . ?c rdf:type ontology:Q17335294 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Q954531 property:P163 ?m . ?m rdf:type ontology:Q17335294 } } . FILTER ( ?h = ?j ) }
flag of Boston Flag of North Rhine-Westphalia Flag of Dagestan Flag of Vilnius Flag of Nenets Autonomous Okrug Flag of Sonora Flag of Yaroslavl Oblast Flag of Zakynthos Flag of Tazacorte Flag of Amur Oblast Flag of Kent flag of North Brabant Flag of Melilla flag of Hesse flag of Heerenveen flag of Bonaire flag of OPEC Flag of Minneapolis Flag of Milwaukee Flag of the Governor General of Canada Flag of the Sovereign Military Order of Malta flag of Almere Flag of Avilés Flag of Arganda del Rey flag of Aranjuez flag of Chusovoy flag of Chyormoz Flag of Sint Eustatius Flag of Caernarfonshire Flag of the Community of Madrid flag of North Holland Flag of Sarawak Flag of Perak Flag of Poltava Oblast Flag of the Azerbaijan Soviet Socialist Republic Flag of Koryak Okrug Flag of Puntland flag of the Kirghiz Soviet Socialist Republic Flag of Devon Flag of Voronezh flag of Yaya Flag of Chukotka Autonomous Okrug Flag of Manaus Flag of Chita Oblast Flag of Ingushetia Flag of Sikkim Flag of Tamaulipas Flag of the Udmurt Republic Flag of Extremadura Flag of Stavropol Krai Flag of Lima Flag of Las Vegas Flag of Quintana Roo Flag of Kutaisi Flag of Lethbridge Flag of Johannesburg flag of Menterwolde flag of Sint-Michielsgestel Flag of Essex Flag of Houston Flag of Garafía Flag of Garachico Flag of Baja California Sur Flag of Perm Flag of the Collectivity of Saint Martin flag of Manchukuo Flag of the Republic of Buryatia Flag of Bavaria flag of Kerch flag of Riga Flag of Andalusia flag of Winsum Flag of the Jewish Autonomous Oblast flag of Esperanto Flag of Khakassia Flag of Washington Flag of Santa Barbara, California Flag of Saint Christopher-Nevis-Anguilla Flag of Sabaragamuwa Flag of Richmond, British Columbia Flag of Richmond Flag of Acre Flag of Móstoles flag of Yugoslavia Flag of the Mari El Republic Flag of Sicily Flag of Arucas Flag of Detroit Flag of Derbyshire flag of Winterswijk Flag of Taymyr Autonomous Okrug Flag of Krasnoyarsk Krai Flag of Kamchatka Oblast Flag of New Caledonia Beloostrov flag Flag of Florida flag of the Georgian Soviet Socialist Republic Flag of Nottinghamshire flag of the City of London Flag of Amazonas Flag of Chihuahua flag of Crimea Flag of Sardinia flag of the Association of Southeast Asian Nations Flag of Trondheim Flag of Naples Flag of Ohio Flag of North Central Province Flag of North Eastern Province Flag of New Orleans Flag of Nashville, Tennessee Flag of Missouri Flag of Mon State flag of Campania Flag of Zabaykalsky Krai flag of Samara Oblast flag of Scania Flag of Mato Grosso Flag of Malacca flag of Oryol Oblast flag of the Estonian Soviet Socialist Republic Flag of Bashkortostan Flag of Winnipeg flag of the Balearic Islands Flag of Figueres flag of Ertil Flag of Coahuila Flag of Evenk Autonomous Okrug Flag of the City of Nelson Flag of Calgary Flag of San Francisco Flag of Saxony flag of Alushta flag of Lelystad Flag of Novy Uregoy Flag of Shushary Flag of Curitiba flag of Chelyabinsk Oblast flag of the Armenian Soviet Socialist Republic Flag of Ceará Flag of Tampa Flag of Łódź flag of Shalinsky district Flag of Omsk Oblast Flag of the African Union Flag of Sakhalin Oblast Flag of Akershus flag of Catalonia flag of the Moldavian Soviet Socialist Republic Flag of Acadia Flag of Nuevo León Flag of the Arab Revolt flag of Sealand Flag of Amman Flag of Nizhny Novgorod flag of Nizhny Tagil Flag of West Virginia Flag of Saxony-Anhalt Flag of Armavir flag of Lieshout Flag of Ust-Orda Buryat Okrug flag of Roosendaal flag of Overijssel flag of Great Britain Flag of Sevastopol Flag of NATO flag of Oryol flag of Boxtel Flag of Barcelona Flag of Magallanes Flag of Minorca Flag of Middlesex Flag of Tlaxcala flag of Madison, Wisconsin flag of Maastricht Flag of Lisbon Flag of Los Ríos Region Flag of Azad Kashmir Flag of Altai Krai flag of Los Angeles Flag of Nevada Flag of Guía de Isora Flag of Delaware Flag of Utah Flag of Maryland Flag of Mato Grosso do Sul Flag of Benelux flag of Cheshire flag of Vollenhove Flag of Podgorica Symbols of Tirana Flag of Valladolid flag of Simferopol Flag of Voronezh Oblast Flag of Herm flag of Baarn Flag of the League of Arab States Flag of Mohéli Flag of Donetsk Oblast flag of Belgorod Oblast Flag of Murmansk Oblast flag of Belém Flag of Vologda Oblast Flag of Radomsko County Flag of Tenerife Flag of Skopje Flag of Pittsburgh Flag of Piła Flag of Portland Flag of Red Deer, Alberta Flag of Pretoria flag of the Byelorussian Soviet Socialist Republic Kurgan Oblast Flag flag of Rhineland-Palatinate Flag of Ceuta Flag of Cantabria Flag of Greater Poland Voivodeship Flag of Denver Flag of Kemerovo Oblast flag of Cherdyn flag of the German Democratic Republic flag of Cheremkhovo flag of Cheremkhovsky rayon Flag of Jaén flag of Chelyabinsk flag of Apure flag of Wales Flag of Penang flag of the Brussels-Capital Region flag of De Marne Flag of North Ossetia–Alania Flag of Huesca flag of Arcen en Velden Flag of Bremen flag of Europe Flag of British Hong Kong flag of Saarland Flag of Khanty–Mansi Autonomous Okrug Flag of Northern Province Flag of North Western Province flag of Ulyanovsk Oblast Flag of Pereira Flag of Philadelphia Flag of Pichilemu flag of Baden-Württemberg Flag of Ottawa unofficial flag of Anna Paulowna Flag of Irkutsk Oblast flag of French Southern and Antarctic Lands Flag of Luhansk Oblast flag of the Turkmen Soviet Socialist Republic flag of Friesland flag of Kronstadt Flag of Mariinski Posad flag of Bergen flag of Bergen op Zoom flag of Tambov Oblast flag of Navarre flag of Elektrostal Flag of Kaliningrad Oblast Flag of Westmorland flag of Tomsk Oblast Flag of Western Province Flag of La Rioja Flag of Primorsky Krai Flag of Tristan da Cunha flag of Elektrogorsk flag of Elista flag of Elektrougli Flag of Indianapolis Flag of Minas Gerais Flag of Illinois Flag of Lesser Poland Voivodeship Flag of Nebraska Flag of Windsor, Ontario Flag of Alaraz flag of the Kazakh Soviet Socialist Republic Flag of Vernon, British Columbia flag of Chernushka Flag of Thunder Bay Flag of Majorca Flag of Uva Flag of Valdivia Flag of Galicia Flag of Vladimir Oblast Flag of Donetsk flag of Zeeland flag of Chernogorsk flag of Chernogolovka Flag of the Commonwealth of Nations flag of Beemster flag of Cuijk Flag of Pontevedra flag of Flanders Flag of Campaspero Flag of Lviv Oblast flag of Aalsmeer flag of Werkendam Flag of Jerusalem Flag of Chicago flag of Asturias Flag of Gloucestershire Flag of Guadalajara Tallinn flag Flag of Hamilton, Ontario Flag of Moscow flag of Hong Kong flag of Tula Oblast Flag of Sark flag of Gelderland Flag of Connecticut Flag of Veliky Ustyug Flag of Minnesota flag of Masovian Voivodeship flag of Penza Oblast Flag of Vancouver Flag of Bryansk Oblast flag of Warsaw Flag of Dallas flag of the Valencian Community Flag of Franche-Comté Flag of the Azores flag of the Uzbek Soviet Socialist Republic Flag of Macedonia Flag of Yamalo-Nenets Autonomous Okrug Flag of Cuéllar flag of Saratov Oblast Flag of Idaho Flag of Palafrugell flag of Schleswig-Holstein flag of Ryazan Oblast flag of Rostov Oblast flag of Reusel-De Mierden Flag of Salta Flag of Amapá flag of Belgrade Flag of Vologda flag of Northamptonshire Standard of the President of the Italian Republic Flag of the Altai Republic flag of the Ukrainian Soviet Socialist Republic flag of Victoria flag of the Tajik Soviet Socialist Republic flag of Chebarkul flag of Chaplygin flag of Chapaevsk flag of South Holland Flag of Bohemia Flags of the Confederate States of America flag of Antwerp Flag of Sochi Flag of Washington, D.C. Flag of Zanzibar Flag of Pernambuco Flag of Quebec City flag of the state of Amazonas flag of Ivanovo Oblast Flag of Recife Flag of Yerevan Flag of North Dakota Flag of Astrakhan Oblast Flag of Volgograd Oblast Flag of Azawad flag of the United Nations Flag of Topkanovskoe Flag of Beniel Flag of Central Province Nail & Gear Flag of Novosibirsk Oblast Flag of Buffalo, New York Flag of Khabarovsk Krai flag of Appingedam Flag of Kremenchuk flag of Berlin Flag of Pamplona Flag of Tbilisi flag of Waalwijk Flag of Vitoria-Gasteiz Flag of Montreal Flag of Gijón Flag of Rio Grande do Norte Flag of Perm Oblast Flag of Paraná flag of Herefordshire Flag of Zaporozhye city Flag of Alagoas Flag of Kaluga city Flag of the European Coal and Steel Community Flag of Cangas do Morrazo Flag of Adjara flag of Chekhov flag of Chita flag of Chishminsky rayon Flag of Sussex Flag of St. Louis flag of De Friese Meren flag of Sint-Niklaas Flag of Shropshire Flag of Seattle Flag of Scarborough, Ontario flag of Salt Lake City Flag of Springfield, Illinois Flag of Southern Province flag of Utrecht Flag of Sogn og Fjordane Flag of Easter Island Flag of Oviedo Flag of the Sakha Republic flag of Cherepovets flag of the University of Zaragoza Flag of Saint Petersburg flag of Bussum flag of Anzoátegui Flag of the Republic of Karelia Flag of Castile and León Flag of Kuala Lumpur flag of Sint Anthonis Flag of Cincinnati Flag of Cúcuta flag of Tara, Omsk Oblast Flag of Bornholm Flag of the Antarctic Treaty Flag of the President of the United States Flag of Sabah flag of the Lithuanian Soviet Socialist Republic Flag of Arkhangelsk Oblast Flag of Huntingdonshire Flag of Głogów Flag of Fasnia Flag of Curaçao Flag of Guernsey flag of Groningen flag of Limburg Flag of Agin-Buryat Okrug flag of Norilsk flag of Achtkarspelen flag of Tver Oblast Flag of Magadan Oblast
Flag of Bonaire, flag of Limburg and Flag of Sint Eustatius are associated with around the same number of regimes as that coat of arms
flag of Bonaire flag of Limburg Flag of Sint Eustatius
action approx
action find_reverse_tuple_counts
relation flag
type flag or coat of arms
type regime
action count
action filter_type
action find
entity Flag of Naples
relation flag
type flag or coat of arms
[{'concept': 'regime'}, 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:flag ?c . ?f rdf:type ontology:regime . ?c rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) WHERE { resource:Flag_of_Naples property:flag ?m . ?m rdf:type ontology:flag_or_coat_of_arms } } . FILTER ( ?h = ?j ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P793
Q1190554 Q17335294
USER
Which events are atmost 110 coats of arms associated with ?
(c(Q17335294),P793,c(Q1190554))
action atmost
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q17335294
value 110
[{'concept': 'Q17335294'}, 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P793 ?y . ?y rdf:type ontology:Q1190554 . ?n rdf:type ontology:Q17335294 } GROUP BY ?y } . FILTER ( ?q <= 110 ) }
action atmost
action find_reverse_tuple_counts
relation significant event
type event
type flag or coat of arms
value 110
[{'concept': 'flag or coat of arms'}, 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:significant_event ?y . ?y rdf:type ontology:event . ?n rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?y } . FILTER ( ?q <= 110 ) }
[]
event flag or coat of arms
Q218678 Q254106 Q1638488
SYSTEM
North African Campaign, Crimean War, Battle of Monmouth
Q131297 Q14903979 Q201692 Q7114127 Q15829638 Q718605 Q635882 Q17986818 Q234132 Q188925 Q19866992 Q24478688 Q564388 Q15980725 Q180182 Q760089 Q2424544 Q1268733 Q365640 Q166495 Q1154390 Q1294303 Q1669285 Q1363768 Q2334719 Q2237633 Q6208645 Q384091 Q1267513 Q3289878 Q200056 Q1138460 Q18175787 Q1408770 Q186284 Q173077 Q2889160 Q1121532 Q5916 Q1274566 Q280868 Q385378 Q463206 Q1886703 Q1497011 Q850529 Q18603729 Q25517452 Q649727 Q5051574 Q600016 Q2026625 Q2238935 Q7642201 Q851504 Q179057 Q2890798 Q4602925 Q19841649 Q170400 Q168983 Q4872357 Q1840806 Q254106 Q258873 Q1150070 Q8016240 Q1362364 Q2343619 Q201676 Q700569 Q533034 Q327035 Q114953 Q4159143 Q1650581 Q849653 Q688308 Q15056768 Q205512 Q28545 Q20668205 Q2918584 Q21953089 Q4872697 Q1370468 Q1818072 Q204854 Q1157021 Q218678 Q126306 Q112016 Q683635 Q15921519 Q2890900 Q906018 Q555463 Q1313538 Q35140 Q21980597 Q617922 Q473853 Q1972070 Q610000 Q171558 Q2305019 Q27550425 Q18119757 Q15089703 Q1644792 Q5678097 Q19868482 Q16686346 Q1975665 Q6200334 Q2511359 Q16717192 Q22075993 Q744913 Q851304 Q2144402 Q476300 Q490812 Q223604 Q131386 Q7884274 Q376154 Q1055755 Q635028 Q324916 Q604897 Q1260622 Q4606339 Q2440191 Q4870505 Q4870504 Q4366849 Q1628304 Q946054 Q464980 Q2783811 Q18511800 Q93190 Q115105 Q4870896 Q15089689 Q16328520 Q19880899 Q2505574 Q1638488 Q647827 Q339052 Q702460 Q841440 Q663405
(c(Q17335294),P793,c(Q1190554))
action atmost
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q17335294
value 110
Atmost 110 coats of arms are associated with [ANSWERS]
[{'concept': 'Q17335294'}, 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:P793 ?y . ?y rdf:type ontology:Q1190554 . ?n rdf:type ontology:Q17335294 } GROUP BY ?y } . FILTER ( ?q <= 110 ) }
Rwandan Genocide change of ownership Battle of Poitiers Battle of Kuuterselkä first run Martial law in Poland Battle of Black Jack imprisonment at Auschwitz concentration camp Hillsborough disaster Battles of Khalkhin Gol Obergefell v. Hodges Seznec Affair Defense of the Polish Post Office in Danzig Skirmish of Todos Santos Battle of Iwo Jima commission levee breach Battle of the Sabis Battle of Beaver Dams Catalonia Offensive academic tenure Edwards v Canada (Attorney General) Sack of Amorium fusion legal case Battle of Musgrove Mill Joe Biden presidential campaign, 1988 Battle of Mukden Battle of Vosges Battle of Curuzú Battle of Zama Battle of Annual Idi Amin Dada regime destitution hard disk drive failure Polish–Soviet War Battle of Tours Battle of Loon Lake Battle of Alcácer Quibir spaceflight Battle of the Arar Battle of Gergovia construction 2001 failed shoe bomb attempt Battle of Sulci communal reorganisation Betty and Barney Hill abduction dissolution of an administrative territorial entity battle of the Tollense River Sledgehammer catastrophic failure Battle of Jargeau Battle of Chains Slighting Super Bowl XLVI halftime show Battle of Vouillé explosion Battle of the Windmill 2004 Iranian seizure of Royal Navy personnel extension Battle of Kunersdorf conflagration Battle of Setauket delivery Crimean War Waco siege change trial maiden flight name change funeral Sinking of Prince of Wales and Repulse Battle of Westerplatte Battle of Gazala poisoning Battle of Someri building implosion Battle of Thapsus Swedish War of Liberation Major League Baseball debut Gaza flotilla raid teaching Battle of Brouwershaven (1490) relocation militia occupation of the Malheur National Wildlife Refuge Battle of Vrbanja bridge reconstruction MV Maersk Alabama première Battle of Białołęka North African Campaign Decembrist revolt Battle of the Persian Gate Wendish Crusade Trans-Atlantic flight of America Battle of the Faubourg St Antoine Battle of Great Bridge Battle at the Harzhorn Operation Maslenica performance Causeway Bay Books disappearances Battle of Wytyczno school shooting Battle of Lutetia Battle of the Grebbeberg accident Battle of Curupaity academic suspension invention Major League Baseball final game Battle of Lake Regillus United States v. Hasan K. Akbar destruction date of listing Ennoblement Siege of Pelium Assault on Nijmegen date of unveiling debut as an actor aviation accidents and incidents Looted art renovation competition coming into force Greco-Italian War Battle of Alesia unexplained disappearance Battle of Copenhagen Battle of Ilipa Battle of Bibracte Battle of Solferino Battle of Dien Bien Phu Battle of the Axona 2006 Hamas cross-border raid Battle of Liaoyang Battle of Bloody Creek Battle of Bloody Creek Battle of the Border Magetobria Burr–Hamilton duel exhibition Tarnak Farm incident split divorce Battle of Wogastisburg Battle of Dong Khe Major League Baseball initial signing trial of Oscar Pistorius Isabella Stewart Gardner Museum theft Ambiorix's revolt Battle of Monmouth Battle of Dennewitz Battle of Großbeeren Ministries Trial naturalization Battle of Zorndorf
Atmost 110 coats of arms are associated with North African Campaign, Crimean War and Battle of Monmouth
North African Campaign Crimean War Battle of Monmouth
action atmost
action find_reverse_tuple_counts
relation significant event
type event
type flag or coat of arms
value 110
[{'concept': 'flag or coat of arms'}, 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?q ) WHERE { ?n property:significant_event ?y . ?y rdf:type ontology:event . ?n rdf:type ontology:flag_or_coat_of_arms } GROUP BY ?y } . FILTER ( ?q <= 110 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q113730 Q1492
P190
Q56061
USER
Which administrative territories are sister towns of Barcelona or Tyresö Municipality ?
OR((Q1492,P190,c(Q56061)), (Q113730,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1492
relation P190
action find
entity Q113730
relation P190
type Q56061
{'OR': [['Q1492', 'P190', {'concept': 'Q56061'}], ['Q113730', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1492 property:P190 ?u } UNION { resource:Q113730 property:P190 ?u } } . ?u rdf:type ontology:Q56061 }
Tyresö Municipality Barcelona
action filter_type
action union
action find
entity Barcelona
relation sister city
action find
entity Tyresö Municipality
relation sister city
type administrative territorial entity
{'OR': [['Barcelona', 'sister city', {'concept': 'administrative territorial entity'}], ['Tyresö Municipality', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Barcelona property:sister_city ?u } UNION { resource:Tyresö_Municipality property:sister_city ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8686 Q193367 Q85 Q3561 Q174 Q8678 Q340 Q47492 Q34820 Q6506
SYSTEM
Some of them are Shanghai, Porvoo, Cairo, Algiers, São Paulo, Rio de Janeiro, Montreal, Gaza City, Santo Domingo, Varna
Q8717 Q8686 Q193367 Q12892 Q365 Q100 Q52535 Q42053 Q340 Q6506 Q34820 Q1524 Q1563 Q48320 Q33935 Q3561 Q85 Q47492 Q174 Q8678 Q33986 Q6441
OR((Q1492,P190,c(Q56061)), (Q113730,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1492
relation P190
action find
entity Q113730
relation P190
type Q56061
[ANSWERS] are sister towns of Barcelona or Tyresö Municipality
{'OR': [['Q1492', 'P190', {'concept': 'Q56061'}], ['Q113730', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1492 property:P190 ?u } UNION { resource:Q113730 property:P190 ?u } } . ?u rdf:type ontology:Q56061 }
Seville Shanghai Porvoo Antwerp Cologne Boston Rosario Isfahan Montreal Varna Santo Domingo Athens Havana Kōbe Tel Aviv Algiers Cairo Gaza City São Paulo Rio de Janeiro Valparaíso Montpellier
Shanghai, Porvoo, Cairo, Algiers, São Paulo, Rio de Janeiro, Montreal, Gaza City, Santo Domingo and Varna are sister towns of Barcelona or Tyresö Municipality
Shanghai Porvoo Cairo Algiers São Paulo Rio de Janeiro Montreal Gaza City Santo Domingo Varna
action filter_type
action union
action find
entity Barcelona
relation sister city
action find
entity Tyresö Municipality
relation sister city
type administrative territorial entity
{'OR': [['Barcelona', 'sister city', {'concept': 'administrative territorial entity'}], ['Tyresö Municipality', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Barcelona property:sister_city ?u } UNION { resource:Tyresö_Municipality property:sister_city ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q8686 Q193367 Q85 Q3561 Q174 Q8678 Q340 Q47492 Q34820 Q6506
P190
Q56061
USER
Which administrative territories are partner towns of Shanghai, Porvoo, Cairo, Algiers, São Paulo, Rio de Janeiro, Montreal, Gaza City, Santo Domingo and Varna ?
(Q8686,P190,c(Q56061)) (Q193367,P190,c(Q56061)) (Q85,P190,c(Q56061)) (Q3561,P190,c(Q56061)) (Q174,P190,c(Q56061)) (Q8678,P190,c(Q56061)) (Q340,P190,c(Q56061)) (Q47492,P190,c(Q56061)) (Q34820,P190,c(Q56061)) (Q6506,P190,c(Q56061))
action union
action filter_type
action find
entity Q8686
relation P190
type Q56061
action filter_type
action find
entity Q193367
relation P190
type Q56061
action filter_type
action find
entity Q85
relation P190
type Q56061
action filter_type
action find
entity Q3561
relation P190
type Q56061
action filter_type
action find
entity Q174
relation P190
type Q56061
action filter_type
action find
entity Q8678
relation P190
type Q56061
action filter_type
action find
entity Q340
relation P190
type Q56061
action filter_type
action find
entity Q47492
relation P190
type Q56061
action filter_type
action find
entity Q34820
relation P190
type Q56061
action filter_type
action find
entity Q6506
relation P190
type Q56061
['Q8686', 'P190', {'concept': 'Q56061'}] ['Q193367', 'P190', {'concept': 'Q56061'}] ['Q85', 'P190', {'concept': 'Q56061'}] ['Q3561', 'P190', {'concept': 'Q56061'}] ['Q174', 'P190', {'concept': 'Q56061'}] ['Q8678', 'P190', {'concept': 'Q56061'}] ['Q340', 'P190', {'concept': 'Q56061'}] ['Q47492', 'P190', {'concept': 'Q56061'}] ['Q34820', 'P190', {'concept': 'Q56061'}] ['Q6506', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?u ) { ( resource:Q193367 ) ( resource:Q8686 ) } . ?u property:P190 ?r }
Shanghai Porvoo Cairo Algiers São Paulo Rio de Janeiro Montreal Gaza City Santo Domingo Varna
action union
action filter_type
action find
entity Shanghai
relation sister city
type administrative territorial entity
action filter_type
action find
entity Porvoo
relation sister city
type administrative territorial entity
action filter_type
action find
entity Cairo
relation sister city
type administrative territorial entity
action filter_type
action find
entity Algiers
relation sister city
type administrative territorial entity
action filter_type
action find
entity São Paulo
relation sister city
type administrative territorial entity
action filter_type
action find
entity Rio de Janeiro
relation sister city
type administrative territorial entity
action filter_type
action find
entity Montreal
relation sister city
type administrative territorial entity
action filter_type
action find
entity Gaza City
relation sister city
type administrative territorial entity
action filter_type
action find
entity Santo Domingo
relation sister city
type administrative territorial entity
action filter_type
action find
entity Varna
relation sister city
type administrative territorial entity
['Shanghai', 'sister city', {'concept': 'administrative territorial entity'}] ['Porvoo', 'sister city', {'concept': 'administrative territorial entity'}] ['Cairo', 'sister city', {'concept': 'administrative territorial entity'}] ['Algiers', 'sister city', {'concept': 'administrative territorial entity'}] ['São Paulo', 'sister city', {'concept': 'administrative territorial entity'}] ['Rio de Janeiro', 'sister city', {'concept': 'administrative territorial entity'}] ['Montreal', 'sister city', {'concept': 'administrative territorial entity'}] ['Gaza City', 'sister city', {'concept': 'administrative territorial entity'}] ['Santo Domingo', 'sister city', {'concept': 'administrative territorial entity'}] ['Varna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?u ) { ( resource:Porvoo ) ( resource:Shanghai ) } . ?u property:sister_city ?r }
[]
administrative territorial entity
Q649 Q649 Q2807
SYSTEM
Madrid for 3rd, Moscow for 1st, 2nd
Q12892 Q3889 Q648 Q1861 Q35381 Q52535 Q24826 Q1297 Q1850 Q269 Q13580 Q36433 Q340 Q597491 Q109356 Q84 Q78 Q133073 Q49227 Q41621 Q37806 Q47034 Q612 Q585 Q43509 Q87 Q58976 Q34370 Q3856 Q406 Q34713 Q174 Q490 Q36647 Q33986 Q131694 Q1492 Q23311 Q959 Q62 Q161887 Q921052 Q1022 Q3766 Q649 Q1963 Q42053 Q90 Q1489 Q3561 Q1289 Q406 Q1930 Q8673 Q956 Q2280 Q3805 Q1492 Q3820 Q60 Q16555 Q3579 Q727 Q649 Q472 Q340 Q71 Q3718 Q331556 Q47837 Q3805 Q4803 Q84 Q85 Q82070 Q956 Q64 Q1492 Q60 Q8686 Q3766 Q181966 Q433574 Q5818 Q44059 Q1297 Q597 Q425410 Q44237 Q1781 Q3703 Q1563 Q3897 Q54898 Q1489 Q33935 Q45412 Q206933 Q172 Q2868 Q490 Q14314 Q956 Q1335 Q159273 Q3805 Q1491 Q1492 Q178725 Q158119 Q727 Q3889 Q25395 Q3274 Q365 Q33935 Q191135 Q40236 Q192807 Q24826 Q2807 Q14328 Q181557 Q735025 Q9248 Q51103 Q1524 Q1489 Q48320 Q1218 Q71 Q33959 Q1070 Q612 Q34863 Q26155 Q12191 Q5582862 Q406 Q8673 Q24639 Q1563 Q6441 Q270 Q34820 Q5468 Q597 Q956 Q170903 Q23556 Q1019424 Q1491 Q1492 Q3820 Q5112 Q8686 Q727 Q3274 Q3110 Q1715 Q41843 Q1524 Q3561 Q51103 Q239 Q490 Q3805 Q65 Q1492 Q3820 Q80053 Q33935 Q26087 Q15678 Q495 Q273059 Q1492 Q3070 Q3551 Q3110 Q100 Q40236 Q14328 Q1335 Q1489 Q4361 Q1563 Q70 Q41621 Q1867 Q84 Q2868 Q49197 Q8678 Q3274 Q490 Q2807 Q597 Q956 Q1555 Q491540 Q64 Q1491 Q1492 Q60 Q1018448 Q1874 Q727 Q187352 Q42308 Q24826 Q269 Q180522 Q26421 Q16563 Q211828 Q38511 Q81581 Q58976 Q1449 Q2861 Q25416 Q25410 Q1492 Q883
(Q8686,P190,c(Q56061)) (Q193367,P190,c(Q56061)) (Q85,P190,c(Q56061)) (Q3561,P190,c(Q56061)) (Q174,P190,c(Q56061)) (Q8678,P190,c(Q56061)) (Q340,P190,c(Q56061)) (Q47492,P190,c(Q56061)) (Q34820,P190,c(Q56061)) (Q6506,P190,c(Q56061))
action union
action filter_type
action find
entity Q8686
relation P190
type Q56061
action filter_type
action find
entity Q193367
relation P190
type Q56061
action filter_type
action find
entity Q85
relation P190
type Q56061
action filter_type
action find
entity Q3561
relation P190
type Q56061
action filter_type
action find
entity Q174
relation P190
type Q56061
action filter_type
action find
entity Q8678
relation P190
type Q56061
action filter_type
action find
entity Q340
relation P190
type Q56061
action filter_type
action find
entity Q47492
relation P190
type Q56061
action filter_type
action find
entity Q34820
relation P190
type Q56061
action filter_type
action find
entity Q6506
relation P190
type Q56061
[ANSWERS]
['Q8686', 'P190', {'concept': 'Q56061'}] ['Q193367', 'P190', {'concept': 'Q56061'}] ['Q85', 'P190', {'concept': 'Q56061'}] ['Q3561', 'P190', {'concept': 'Q56061'}] ['Q174', 'P190', {'concept': 'Q56061'}] ['Q8678', 'P190', {'concept': 'Q56061'}] ['Q340', 'P190', {'concept': 'Q56061'}] ['Q47492', 'P190', {'concept': 'Q56061'}] ['Q34820', 'P190', {'concept': 'Q56061'}] ['Q6506', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?u ) { ( resource:Q193367 ) ( resource:Q8686 ) } . ?u property:P190 ?r }
Antwerp Maputo Lille Bangkok Colombo Rosario Liverpool Chicago Phnom Penh Tashkent Metro Manila Porto Montreal Okahandja Hamhung London Basel Dunedin Winston-Salem Haifa Port Vila Espoo Dubai Oslo Guayaquil Alexandria Piraeus Rotterdam Nicosia Istanbul Salzburg São Paulo Milan Cork Valparaíso Aden Barcelona City of London Vladivostok San Francisco Kamień Pomorski Dalvík Stuttgart Damascus Moscow Khartoum Isfahan Paris Mexico City Algiers Grenoble Istanbul Ottawa Lagos Beijing Minsk Amman Barcelona Beirut New York City Houston Tripoli Amsterdam Moscow Sofia Montreal Geneva Dakar Bosaso El Aaiún Amman Surakarta London Cairo Tyre Beijing Berlin Barcelona New York City Shanghai Damascus Naha Alta Floresta Córdoba La Plata Chicago Lisbon Góis Municipality Mendoza Budapest Bamako Havana Luanda San Cristóbal de La Laguna Mexico City Tel Aviv Coimbra Leiria Toronto Lima Milan Santiago de Compostela Beijing Montevideo Arequipa Amman La Paz Barcelona Niterói Ramallah Amsterdam Maputo Newark Managua Cologne Tel Aviv Vila Nova de Gaia Manaus Ramat Gan Liverpool Madrid Santa Cruz de Tenerife Kaohsiung City Cabo Frio Baku Cali Athens Mexico City Kōbe Jerusalem Geneva Nice Ahmedabad Dubai Oklahoma City Jounieh Nantes Cusco Istanbul Lagos Vancouver Havana Montpellier Warsaw Santo Domingo Durban Lisbon Beijing Guimarães Atlanta Rufisque La Paz Barcelona Beirut Adelaide Shanghai Amsterdam Managua San Salvador Hanover Beersheba Athens Algiers Cali Brussels Milan Amman Los Angeles Barcelona Beirut Tabriz Tel Aviv Tromsø Cáceres Turin Cascais Barcelona San José Rabat San Salvador Boston Manaus Santa Cruz de Tenerife Montevideo Mexico City Curitiba Havana Bern Haifa Taipei London Lima Cranston Rio de Janeiro Managua Milan Madrid Lisbon Beijing Guatemala City Sarasota Berlin La Paz Barcelona New York City Washington Odessa Amsterdam Kavala Kharkiv Liverpool Tashkent Aqaba Dordrecht Memphis Bayburt Turku Szeged Piraeus Genoa Rostock Stavanger Aalborg Barcelona Novosibirsk
Moscow, Moscow and Madrid are partner towns of Shanghai, Porvoo, Cairo, Algiers, São Paulo, Rio de Janeiro, Montreal, Gaza City, Santo Domingo and Varna
Moscow Moscow Madrid
action union
action filter_type
action find
entity Shanghai
relation sister city
type administrative territorial entity
action filter_type
action find
entity Porvoo
relation sister city
type administrative territorial entity
action filter_type
action find
entity Cairo
relation sister city
type administrative territorial entity
action filter_type
action find
entity Algiers
relation sister city
type administrative territorial entity
action filter_type
action find
entity São Paulo
relation sister city
type administrative territorial entity
action filter_type
action find
entity Rio de Janeiro
relation sister city
type administrative territorial entity
action filter_type
action find
entity Montreal
relation sister city
type administrative territorial entity
action filter_type
action find
entity Gaza City
relation sister city
type administrative territorial entity
action filter_type
action find
entity Santo Domingo
relation sister city
type administrative territorial entity
action filter_type
action find
entity Varna
relation sister city
type administrative territorial entity
['Shanghai', 'sister city', {'concept': 'administrative territorial entity'}] ['Porvoo', 'sister city', {'concept': 'administrative territorial entity'}] ['Cairo', 'sister city', {'concept': 'administrative territorial entity'}] ['Algiers', 'sister city', {'concept': 'administrative territorial entity'}] ['São Paulo', 'sister city', {'concept': 'administrative territorial entity'}] ['Rio de Janeiro', 'sister city', {'concept': 'administrative territorial entity'}] ['Montreal', 'sister city', {'concept': 'administrative territorial entity'}] ['Gaza City', 'sister city', {'concept': 'administrative territorial entity'}] ['Santo Domingo', 'sister city', {'concept': 'administrative territorial entity'}] ['Varna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?u ) { ( resource:Porvoo ) ( resource:Shanghai ) } . ?u property:sister_city ?r }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2807
P47
Q1048835
USER
Which political territories are bordered by that administrative territory ?
(Q2807,P47,c(Q1048835))
action filter_type
action find
entity Q2807
relation P47
type Q1048835
['Q2807', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q2807 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
Madrid
action filter_type
action find
entity Madrid
relation shares border with
type political territorial entity
['Madrid', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Madrid property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q649
SYSTEM
Did you mean Moscow ?
Q649 Q649 Q2807
(Q649,P47,c(Q1048835)) (Q649,P47,c(Q1048835)) (Q2807,P47,c(Q1048835))
[ANSWER]
['Q649', 'P47', {'concept': 'Q1048835'}] ['Q649', 'P47', {'concept': 'Q1048835'}] ['Q2807', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q2807 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
Moscow Moscow Madrid
Did you mean Moscow ?
Moscow
['Moscow', 'shares border with', {'concept': 'political territorial entity'}] ['Moscow', 'shares border with', {'concept': 'political territorial entity'}] ['Madrid', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Madrid property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Madrid. Could you tell me the answer for that?
(Q2807,P47,c(Q1048835))
Q2807
['Q2807', 'P47', {'concept': 'Q1048835'}]
['Madrid', 'shares border with', {'concept': 'political territorial entity'}]
[]
Q77433 Q842211 Q55480
SYSTEM
Leganés, San Fernando de Henares, Colmenar Viejo
Q77433 Q484717 Q542958 Q664769 Q55480 Q427505 Q592747 Q644481 Q639422 Q10372 Q2046249 Q164197 Q842211 Q910410
(Q2807,P47,c(Q1048835))
action filter_type
action find
entity Q2807
relation P47
type Q1048835
[ANSWERS] are bordered by that administrative territory
['Q2807', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q2807 property:P47 ?d . ?d rdf:type ontology:Q1048835 }
Leganés San Sebastián de los Reyes Torrelodones Hoyo de Manzanares Colmenar Viejo Majadahonda Las Rozas de Madrid Rivas-Vaciamadrid Pozuelo de Alarcón Alcorcón Paracuellos de Jarama Coslada San Fernando de Henares Tres Cantos
Leganés, San Fernando de Henares and Colmenar Viejo are bordered by that administrative territory
Leganés San Fernando de Henares Colmenar Viejo
action filter_type
action find
entity Madrid
relation shares border with
type political territorial entity
['Madrid', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Madrid property:shares_border_with ?d . ?d rdf:type ontology:political_territorial_entity }
[]