Simple Question (Direct)
Simple Question
Q922054
P641
Q349
USER
Which sport was The Cup a part of ?
(Q922054,P641,c(Q349))
action filter_type
action find
entity Q922054
relation P641
type Q349
['Q922054', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q922054 property:P641 ?h . ?h rdf:type ontology:Q349 }
The Cup
action filter_type
action find
entity The Cup
relation sport
type sport
['The Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:The_Cup property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q922054,P641,c(Q349))
action filter_type
action find
entity Q922054
relation P641
type Q349
Which sport was The Cup a part of
['Q922054', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q922054 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
Which sport was The Cup a part of
association football
action filter_type
action find
entity The Cup
relation sport
type sport
['The Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:The_Cup property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q922054
P462
Q1075
USER
Which color is associated with The Cup ?
(Q922054,P462,c(Q1075))
action filter_type
action find
entity Q922054
relation P462
type Q1075
['Q922054', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?e WHERE { resource:Q922054 property:P462 ?e . ?e rdf:type ontology:Q1075 }
The Cup
action filter_type
action find
entity The Cup
relation color
type color
['The Cup', 'color', {'concept': 'color'}]
SELECT DISTINCT ?e WHERE { resource:The_Cup property:color ?e . ?e rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q922054,P462,c(Q1075))
action filter_type
action find
entity Q922054
relation P462
type Q1075
A [ANSWER] is associated with The Cup
['Q922054', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?e WHERE { resource:Q922054 property:P462 ?e . ?e rdf:type ontology:Q1075 }
color
A color is associated with The Cup
color
action filter_type
action find
entity The Cup
relation color
type color
['The Cup', 'color', {'concept': 'color'}]
SELECT DISTINCT ?e WHERE { resource:The_Cup property:color ?e . ?e rdf:type ontology:color }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q922054
P750
Q334453
USER
Who is the distributor of that work of art ?
(Q22006653,P750,c(Q334453))
action filter_type
action find
entity Q922054
relation P750
type Q334453
['Q22006653', 'P750', {'concept': 'Q334453'}]
SELECT DISTINCT ?i WHERE { resource:Q922054 property:P750 ?i . ?i rdf:type ontology:Q334453 }
The Cup
action filter_type
action find
entity The Cup
relation distributor
type division
['color', 'distributor', {'concept': 'division'}]
SELECT DISTINCT ?i WHERE { resource:The_Cup property:distributor ?i . ?i rdf:type ontology:division }
[]
division
Q3361558
SYSTEM
Palm Pictures
Q3361558
(Q22006653,P750,c(Q334453))
action filter_type
action find
entity Q922054
relation P750
type Q334453
The distributor of that work of art is the [ANSWER]
['Q22006653', 'P750', {'concept': 'Q334453'}]
SELECT DISTINCT ?i WHERE { resource:Q922054 property:P750 ?i . ?i rdf:type ontology:Q334453 }
Palm Pictures
The distributor of that work of art is the Palm Pictures
Palm Pictures
action filter_type
action find
entity The Cup
relation distributor
type division
['color', 'distributor', {'concept': 'division'}]
SELECT DISTINCT ?i WHERE { resource:The_Cup property:distributor ?i . ?i rdf:type ontology:division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q489205 Q922054
P47 P495
Q1048835
USER
Which political territories are the countries of origin of The Cup or are adjacent to Dos Hermanas ?
OR((Q922054,P495,c(Q1048835)), (Q489205,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q922054
relation P495
action find
entity Q489205
relation P47
type Q1048835
{'OR': [['Q922054', 'P495', {'concept': 'Q1048835'}], ['Q489205', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q922054 property:P495 ?f } UNION { resource:Q489205 property:P47 ?f } } . ?f rdf:type ontology:Q1048835 }
Dos Hermanas The Cup
action filter_type
action union
action find
entity The Cup
relation country of origin
action find
entity Dos Hermanas
relation shares border with
type political territorial entity
{'OR': [['The Cup', 'country of origin', {'concept': 'political territorial entity'}], ['Dos Hermanas', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:The_Cup property:country_of_origin ?f } UNION { resource:Dos_Hermanas property:shares_border_with ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q494781 Q408 Q753825 Q1605737 Q1628386 Q1445412 Q428954
SYSTEM
Alcalá de Guadaíra, Australia, Utrera, La Puebla del Río, Gelves, Coria del Río, Los Palacios y Villafranca
Q494781 Q408 Q753825 Q1605737 Q1628386 Q1445412 Q428954
OR((Q922054,P495,c(Q1048835)), (Q489205,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q922054
relation P495
action find
entity Q489205
relation P47
type Q1048835
[ANSWERS] are the countries of origin of The Cup or are adjacent to Dos Hermanas
{'OR': [['Q922054', 'P495', {'concept': 'Q1048835'}], ['Q489205', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q922054 property:P495 ?f } UNION { resource:Q489205 property:P47 ?f } } . ?f rdf:type ontology:Q1048835 }
Alcalá de Guadaíra Australia Utrera La Puebla del Río Gelves Coria del Río Los Palacios y Villafranca
Alcalá de Guadaíra, Australia, Utrera, La Puebla del Río, Gelves, Coria del Río and Los Palacios y Villafranca are the countries of origin of The Cup or are adjacent to Dos Hermanas
Alcalá de Guadaíra Australia Utrera La Puebla del Río Gelves Coria del Río Los Palacios y Villafranca
action filter_type
action union
action find
entity The Cup
relation country of origin
action find
entity Dos Hermanas
relation shares border with
type political territorial entity
{'OR': [['The Cup', 'country of origin', {'concept': 'political territorial entity'}], ['Dos Hermanas', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:The_Cup property:country_of_origin ?f } UNION { resource:Dos_Hermanas property:shares_border_with ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q494781 Q408 Q753825 Q1605737 Q1628386 Q1445412 Q428954
P47
Q1048835
USER
Which political territories are next to the border of Alcalá de Guadaíra, Australia, Utrera, La Puebla del Río, Gelves, Coria del Río and Los Palacios y Villafranca ?
(c(Q1048835),P47,Q494781) (c(Q1048835),P47,Q408) (c(Q1048835),P47,Q753825) (c(Q1048835),P47,Q1605737) (c(Q1048835),P47,Q1628386) (c(Q1048835),P47,Q1445412) (c(Q1048835),P47,Q428954)
action union
action filter_type
action find_reverse
entity Q494781
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q408
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q753825
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q428954
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1605737
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1628386
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1445412
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q494781'] [{'concept': 'Q1048835'}, 'P47', 'Q408'] [{'concept': 'Q1048835'}, 'P47', 'Q753825'] [{'concept': 'Q1048835'}, 'P47', 'Q1605737'] [{'concept': 'Q1048835'}, 'P47', 'Q1628386'] [{'concept': 'Q1048835'}, 'P47', 'Q1445412'] [{'concept': 'Q1048835'}, 'P47', 'Q428954']
SELECT DISTINCT ?z WHERE { { ?z property:P47 resource:Q494781 . ?z rdf:type ontology:Q1048835 } UNION { ?z property:P47 resource:Q408 . ?z rdf:type ontology:Q1048835 } }
Alcalá de Guadaíra Australia Utrera La Puebla del Río Gelves Coria del Río Los Palacios y Villafranca
action union
action filter_type
action find_reverse
entity Alcalá de Guadaíra
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Australia
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Utrera
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Los Palacios y Villafranca
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity La Puebla del Río
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Gelves
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Coria del Río
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Alcalá de Guadaíra'] [{'concept': 'political territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Utrera'] [{'concept': 'political territorial entity'}, 'shares border with', 'La Puebla del Río'] [{'concept': 'political territorial entity'}, 'shares border with', 'Gelves'] [{'concept': 'political territorial entity'}, 'shares border with', 'Coria del Río'] [{'concept': 'political territorial entity'}, 'shares border with', 'Los Palacios y Villafranca']
SELECT DISTINCT ?z WHERE { { ?z property:shares_border_with resource:Alcalá_de_Guadaíra . ?z rdf:type ontology:political_territorial_entity } UNION { ?z property:shares_border_with resource:Australia . ?z rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q664 Q691 Q428954
SYSTEM
New Zealand, Papua New Guinea, Los Palacios y Villafranca
Q489205 Q62717 Q1628379 Q428954 Q753825 Q1146804 Q5095 Q664 Q691 Q63052 Q489205 Q1605737 Q494781 Q62717 Q1442451 Q428954 Q1146804 Q1448444 Q1447700 Q1610648 Q63052 Q1445412 Q926144 Q489205 Q753825 Q261085 Q489205 Q489205 Q1605737 Q1623078 Q489205 Q494781 Q753825
(c(Q1048835),P47,Q494781) (c(Q1048835),P47,Q408) (c(Q1048835),P47,Q753825) (c(Q1048835),P47,Q1605737) (c(Q1048835),P47,Q1628386) (c(Q1048835),P47,Q1445412) (c(Q1048835),P47,Q428954)
action union
action filter_type
action find_reverse
entity Q494781
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q408
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q753825
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q428954
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1605737
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1628386
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q1445412
relation P47
type Q1048835
[ANSWERS] are next to the border of Alcalá de Guadaíra, Australia, Utrera, La Puebla del Río, Gelves, Coria del Río and Los Palacios y Villafranca
[{'concept': 'Q1048835'}, 'P47', 'Q494781'] [{'concept': 'Q1048835'}, 'P47', 'Q408'] [{'concept': 'Q1048835'}, 'P47', 'Q753825'] [{'concept': 'Q1048835'}, 'P47', 'Q1605737'] [{'concept': 'Q1048835'}, 'P47', 'Q1628386'] [{'concept': 'Q1048835'}, 'P47', 'Q1445412'] [{'concept': 'Q1048835'}, 'P47', 'Q428954']
SELECT DISTINCT ?z WHERE { { ?z property:P47 resource:Q494781 . ?z rdf:type ontology:Q1048835 } UNION { ?z property:P47 resource:Q408 . ?z rdf:type ontology:Q1048835 } }
Dos Hermanas Arahal Mairena del Alcor Los Palacios y Villafranca Utrera Los Molares Papua New Zealand Papua New Guinea Las Cabezas de San Juan Dos Hermanas La Puebla del Río Alcalá de Guadaíra Arahal Villamartín Los Palacios y Villafranca Los Molares Espera El Coronil Trebujena Las Cabezas de San Juan Coria del Río Aznalcázar Dos Hermanas Utrera Lebrija Dos Hermanas Dos Hermanas La Puebla del Río Almensilla Dos Hermanas Alcalá de Guadaíra Utrera
New Zealand, Papua New Guinea and Los Palacios y Villafranca are next to the border of Alcalá de Guadaíra, Australia, Utrera, La Puebla del Río, Gelves, Coria del Río and Los Palacios y Villafranca
New Zealand Papua New Guinea Los Palacios y Villafranca
action union
action filter_type
action find_reverse
entity Alcalá de Guadaíra
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Australia
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Utrera
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Los Palacios y Villafranca
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity La Puebla del Río
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Gelves
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Coria del Río
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Alcalá de Guadaíra'] [{'concept': 'political territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'political territorial entity'}, 'shares border with', 'Utrera'] [{'concept': 'political territorial entity'}, 'shares border with', 'La Puebla del Río'] [{'concept': 'political territorial entity'}, 'shares border with', 'Gelves'] [{'concept': 'political territorial entity'}, 'shares border with', 'Coria del Río'] [{'concept': 'political territorial entity'}, 'shares border with', 'Los Palacios y Villafranca']
SELECT DISTINCT ?z WHERE { { ?z property:shares_border_with resource:Alcalá_de_Guadaíra . ?z rdf:type ontology:political_territorial_entity } UNION { ?z property:shares_border_with resource:Australia . ?z rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q664 Q691 Q428954
P19
Q502895
USER
Which people were born at New Zealand, Papua New Guinea and Los Palacios y Villafranca ?
(c(Q502895),P19,Q664) (c(Q502895),P19,Q691) (c(Q502895),P19,Q428954)
action union
action filter_type
action find_reverse
entity Q664
relation P19
type Q502895
action filter_type
action find_reverse
entity Q691
relation P19
type Q502895
action filter_type
action find_reverse
entity Q428954
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q664'] [{'concept': 'Q502895'}, 'P19', 'Q691'] [{'concept': 'Q502895'}, 'P19', 'Q428954']
SELECT DISTINCT ?p WHERE { { ?p property:P19 resource:Q664 . ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q502895 . ?p property:P19 resource:Q691 } }
New Zealand Papua New Guinea Los Palacios y Villafranca
action union
action filter_type
action find_reverse
entity New Zealand
relation place of birth
type common name
action filter_type
action find_reverse
entity Papua New Guinea
relation place of birth
type common name
action filter_type
action find_reverse
entity Los Palacios y Villafranca
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'New Zealand'] [{'concept': 'common name'}, 'place of birth', 'Papua New Guinea'] [{'concept': 'common name'}, 'place of birth', 'Los Palacios y Villafranca']
SELECT DISTINCT ?p WHERE { { ?p property:place_of_birth resource:New_Zealand . ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:common_name . ?p property:place_of_birth resource:Papua_New_Guinea } }
[]
common name
Q116854 Q725145 Q2458876
SYSTEM
Philippa Boyens, Brent Fisher, Brian Turner
Q7327940 Q5363201 Q4717853 Q6681694 Q6244486 Q2903176 Q7372577 Q5147116 Q7282478 Q3635246 Q1686298 Q326323 Q3183616 Q7822748 Q3414173 Q2165422 Q1680010 Q7614521 Q5056121 Q6003228 Q3516282 Q4845777 Q6115098 Q10471438 Q5353242 Q19632134 Q6384094 Q26839054 Q6767656 Q17477997 Q6775805 Q7925694 Q7822764 Q3142225 Q6208861 Q7380356 Q5247767 Q4864754 Q1030391 Q1736052 Q22074610 Q16213388 Q5367595 Q6162739 Q5044424 Q4907933 Q635915 Q6386100 Q6230205 Q6249477 Q7789238 Q4737491 Q1700812 Q7172774 Q5246003 Q10489451 Q6204228 Q7297383 Q21064607 Q3337826 Q4717491 Q6957543 Q21005524 Q6276913 Q6396098 Q5284697 Q3481572 Q5111023 Q10471445 Q5132530 Q6775418 Q21064610 Q21064611 Q21064612 Q21064613 Q21064614 Q4721758 Q925680 Q3441461 Q3992508 Q466117 Q6289404 Q6833855 Q76222 Q4798107 Q731342 Q1541318 Q22278829 Q276203 Q5592868 Q6113343 Q4727102 Q4727501 Q6766594 Q538355 Q5248356 Q5596314 Q7803351 Q16217343 Q5296777 Q1282521 Q4730517 Q3487190 Q5536238 Q15430068 Q2293332 Q1086495 Q7356726 Q12100803 Q7837996 Q6836720 Q6386193 Q5052717 Q5660024 Q971418 Q3181270 Q5593137 Q4448406 Q15427110 Q3775769 Q3018391 Q7174214 Q6112990 Q7407908 Q6447052 Q21066711 Q7562093 Q5181461 Q5246190 Q2900365 Q23901588 Q5546533 Q4210577 Q16239766 Q3470528 Q21005477 Q5484969 Q5273009 Q16832112 Q6206115 Q6778714 Q3313238 Q5540395 Q5592222 Q6263788 Q4909703 Q6523836 Q15490051 Q2928238 Q6391067 Q21850023 Q7307858 Q7422686 Q7369360 Q4720367 Q21063187 Q5232361 Q6890300 Q6033205 Q4768803 Q2445092 Q5181451 Q6988703 Q4954977 Q4758411 Q1900087 Q20676952 Q4706252 Q5543961 Q7782866 Q14565342 Q6488535 Q6115187 Q6115490 Q6529718 Q7924913 Q7279349 Q6212678 Q4685697 Q6408556 Q7369299 Q4760589 Q24006167 Q5134519 Q7196604 Q4760937 Q6939327 Q16733181 Q6187136 Q29880 Q4934644 Q4452307 Q6388091 Q7822465 Q7704499 Q16235038 Q5596437 Q1591204 Q7804143 Q1756638 Q5606688 Q5662017 Q5082968 Q4730624 Q4761225 Q6210149 Q1520747 Q6371676 Q19875610 Q5041121 Q5593052 Q924155 Q3437048 Q7422833 Q4767127 Q4913105 Q4662404 Q6237679 Q5741682 Q7319154 Q5258967 Q5231904 Q10491322 Q7704763 Q1738355 Q3900946 Q18575886 Q6521676 Q6521671 Q4768572 Q6098362 Q16214245 Q5234706 Q3017238 Q6113468 Q3295915 Q10489831 Q4908464 Q6271628 Q5040401 Q3002046 Q1151497 Q4934408 Q7034668 Q1161584 Q938512 Q5593415 Q3179090 Q539895 Q7648557 Q7364439 Q5538636 Q5593405 Q3135475 Q3162710 Q16745408 Q7246510 Q7925434 Q366593 Q5701896 Q18391686 Q16733823 Q7974957 Q6775980 Q11703374 Q5494604 Q10488680 Q6969095 Q6254062 Q362251 Q14505195 Q4965261 Q5605918 Q8289 Q7123411 Q3163002 Q7964403 Q21005483 Q1059037 Q20963029 Q5335840 Q501775 Q7612012 Q5542337 Q2158595 Q7659686 Q10518573 Q6388261 Q16204977 Q588403 Q7822303 Q6812906 Q6384822 Q3135564 Q4755256 Q6198327 Q10492504 Q5233019 Q6175115 Q299494 Q5212807 Q7367214 Q3056851 Q8062514 Q973915 Q581139 Q6742306 Q173592 Q7345802 Q4762453 Q6116240 Q4786747 Q5394374 Q6765647 Q5408244 Q3177364 Q6197102 Q5145561 Q7812982 Q4911484 Q7308877 Q5292465 Q116854 Q16729221 Q7297622 Q6384397 Q7143519 Q20994240 Q7114585 Q17377634 Q10485890 Q7301933 Q1494753 Q6686625 Q11407431 Q6387610 Q5593285 Q5026355 Q5605141 Q6239976 Q996059 Q5121039 Q3041245 Q15261819 Q4730979 Q6272804 Q7816776 Q16736721 Q5218083 Q7615239 Q6389622 Q4990569 Q4799666 Q5235162 Q5919943 Q5982488 Q1998223 Q3313287 Q16194866 Q3016663 Q7519465 Q3082723 Q4909479 Q7937893 Q6761218 Q20014478 Q18632054 Q733440 Q20819225 Q18587597 Q26837696 Q1877063 Q7032219 Q5482187 Q4895120 Q7440849 Q5525430 Q454768 Q10492258 Q7934743 Q7029117 Q2392094 Q6196944 Q5247953 Q21064609 Q7963439 Q10462376 Q3328217 Q4924155 Q6530109 Q7970195 Q6530953 Q6848821 Q3127483 Q26703640 Q11685280 Q1806933 Q6515162 Q6308261 Q6988943 Q3190060 Q4909565 Q4273154 Q6194384 Q7329977 Q6308273 Q8353919 Q6197065 Q16221758 Q5258271 Q7238864 Q1869988 Q5982219 Q7563018 Q7298133 Q4742296 Q10462951 Q6681238 Q20090222 Q5240796 Q21066049 Q3305136 Q6215447 Q5478204 Q4717337 Q5542270 Q6170543 Q17497044 Q7155091 Q4933706 Q6254098 Q7626166 Q466510 Q302573 Q10488167 Q7173552 Q7339002 Q1354377 Q5294248 Q6192844 Q7153177 Q6171459 Q7177694 Q6789511 Q5079314 Q7814813 Q5584841 Q1677650 Q276483 Q6120127 Q6529554 Q11021828 Q4911334 Q914432 Q7838385 Q4909531 Q5486199 Q6377237 Q6196119 Q19043388 Q5605730 Q6380603 Q5535608 Q6146339 Q20650385 Q20873430 Q908859 Q5292899 Q6265919 Q1550880 Q5525315 Q7174633 Q1480321 Q3567232 Q5300649 Q6828243 Q5524200 Q6396419 Q5522959 Q6387325 Q452373 Q3561080 Q7396652 Q21005097 Q6397743 Q725145 Q1867938 Q6395793 Q16220952 Q4716891 Q6832089 Q10490206 Q7176183 Q537331 Q4909317 Q630767 Q4965141 Q6538977 Q8019466 Q3157323 Q5080557 Q7822462 Q4908606 Q18637582 Q23761413 Q4767730 Q15147913 Q940113 Q5211366 Q16728761 Q7823330 Q4932892 Q2987442 Q5108327 Q5362426 Q7693062 Q55970 Q6163186 Q10297899 Q6830507 Q3176685 Q6384498 Q18167639 Q23004898 Q5702247 Q6208934 Q1523867 Q7491697 Q4864868 Q7129014 Q4741275 Q7823359 Q3771945 Q1350663 Q7837809 Q7307787 Q5537639 Q6194174 Q3179063 Q3162930 Q5568662 Q16185275 Q21005631 Q6837132 Q974322 Q5292733 Q7781516 Q3081700 Q5237457 Q6767158 Q17466674 Q17612619 Q5262467 Q23520241 Q5623483 Q20873443 Q20873448 Q6152766 Q6742190 Q3484578 Q3179000 Q6823370 Q5262274 Q6777490 Q20994125 Q10489371 Q4889031 Q4961524 Q4707857 Q3798833 Q16204736 Q3816328 Q6988683 Q6309673 Q3133875 Q4355826 Q292617 Q536628 Q4911127 Q1999101 Q7182492 Q4933029 Q5494914 Q23071399 Q5496628 Q7490797 Q7297826 Q10488245 Q5980467 Q5814853 Q3935026 Q7422334 Q1699036 Q6212281 Q3420521 Q3303527 Q4910970 Q7312922 Q16231937 Q4717801 Q5524173 Q4772452 Q7036381 Q953492 Q5645355 Q5077475 Q6708874 Q3121585 Q16015335 Q7626466 Q7690877 Q7364930 Q2452101 Q5044597 Q19875593 Q20687624 Q5724096 Q20963030 Q10492735 Q2075434 Q4858832 Q6831706 Q1625382 Q258604 Q6775290 Q4727277 Q6175100 Q6900403 Q7149568 Q6258782 Q2452123 Q16097276 Q6207167 Q7380399 Q7173838 Q2458876 Q5363234 Q7302005 Q2895345 Q6181166 Q6837081 Q5585830 Q4768329 Q6791337 Q2849365 Q7149691 Q530543 Q6264936 Q16217607 Q25221842 Q3758337 Q4428616 Q24852230 Q965247 Q8964550 Q458865 Q24451768 Q19345783 Q3703193 Q11739187 Q719336 Q9096174 Q7808429 Q448058 Q10470761 Q24701513 Q1714242 Q3814437 Q24549178 Q24451767 Q2840676 Q11692781 Q6530943 Q4886436 Q5200822 Q24809835 Q4821189 Q18720184 Q5314542 Q25136920 Q6386098 Q5559716 Q24701509 Q6181192 Q24576835 Q16539067 Q3290247 Q3052308 Q2426998 Q18637930 Q16663098 Q19868569 Q11928151 Q612909 Q6071697 Q185093 Q313104
(c(Q502895),P19,Q664) (c(Q502895),P19,Q691) (c(Q502895),P19,Q428954)
action union
action filter_type
action find_reverse
entity Q664
relation P19
type Q502895
action filter_type
action find_reverse
entity Q691
relation P19
type Q502895
action filter_type
action find_reverse
entity Q428954
relation P19
type Q502895
[ANSWERS] were born at New Zealand, Papua New Guinea and Los Palacios y Villafranca
[{'concept': 'Q502895'}, 'P19', 'Q664'] [{'concept': 'Q502895'}, 'P19', 'Q691'] [{'concept': 'Q502895'}, 'P19', 'Q428954']
SELECT DISTINCT ?p WHERE { { ?p property:P19 resource:Q664 . ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q502895 . ?p property:P19 resource:Q691 } }
Richard Mulligan Elizabeth McRae Alex Sutherland Lorraine Taylor John Leijh Bill Cunningham Roy Billing Collette Roberts Rafe Custance Barry Pickering Jeff Fleming Shane Rangi Jono Gibbes Tony Laffey Quentin Donald Ron Elvidge James Bartle Steven Bruce Cecil Hight Mary Therese Kalin Arroyo Tavalia Griffin Robert Whittaker Jack Sharp Nora Watkins Elaine Lee Samuel Brotherton Keith Bracey Stephen Bate Mark Foy Tom Doyle Martin Jennison Victor Aramoana Tony Laus Hugh Chalmers Joe Burke Rupert Ryan Deb Filler Barry Smith Campbell Banks Katharine Birbalsingh Ben Seresin Nicola Kawana Elsie Jane Wilson Jason Hoyte Carol Knox Bill Anton Robbie Magasiva Kelly Jarden John Dryden John Morris Thomas Edge Alun Evans John Leigh Peter Bennett Dean Bell Jim Campbell Jo Fisher Ray Davey Nicole Lewis Neil McGregor Alex Metzger Nadene Elrick Liana Dance Jordan Reyne Kevin Curtin Divya Dhar Shaun Kenny-Dowall Christine Fletcher Raewyn Hall Cliff Banham Martin Felton Danielle Lewis Sarah Landry Caitlin Lopes Da Silva Emma Stoneman Kirsten Hudson Alf Smith Jed Brophy Ron Stewart Tom Mockridge Tariana Turia Josh Stick Michael Ridenton William Trautmann Arthur Brown Gordon Coates Graeme Hart Shane Legg Sarah Major Graham Griffiths Jack Jepson Alison James Alix Bushnell Mark Armstrong Nelson Dalzell Deborah Pullen Grant Lightbown Tim Cooper Horomona Horo Donogh Rees John Rawls Allan Carville Snow White George Anderson Kraus Skye Lourie Christopher Balme Rodger Gray John Kynoch Trelise Cooper Michele Clarke Kelly McLoughlin Catherine Healy Harold Balk Stephen Brett John Corbett Graham Pearce Nic Sampson Daniel Waenga Grant Turner David Mayo Peter Gerrard Jack Hatchard Sam Messam Kurt Sherlock Alex McGregor Sonny Schmidt Craig Smith Dean Hall Bevan Wilson Ruban Nielson George Wright Milo Cawthorne Alex Rufer Sam Pinder Elizabeth Cui Frank Albrechtsen Dick Hislop Fern Sutherland Joanne Evans Mary-Anne Poole Mike Brewer George Henare Graeme Cameron John White Bill Kennedy Leo Hope-Ede Oliver Driver Harold Abbott Kenny Harlock Andy Harris Reg Singer Sarah Peirse Ross Goodacre Alexander William Bickerton Olivia Aroha Giles David Chote Moetara Motu Tongaporutu Ingrid Hall Anne Smith Bruce Hopkins Craig Simpson Neil Harlock Bradley Mark Andrew Robertt Mark Hadlow Philip Hercus Alan Brough George Robinson Theresa Healey Peter Gwynne Lara Custance Jack Skinner Jack Tinkler Les McGirr Vic Smith Rachel Oliver Joe Todd Adrienne Kennaway Kim Dermott Ross Durant Andy Deeley Dave Armstrong Clive Campbell Pio Terei Andy Leslie Murray Kay Rachel Nash Jessica Clarke Ben Botica Bobbie Houston Toakipa Tasefa Ken Mason Tony Graham Terry Haydon Tupou Sopoaga Grant Schofield Pete Smith Tim Radford Richard Chandler Gregor W. Yeates Jeff Campbell Charles Todhunter Allan Gilgrist Andy Rennie Joe Habets Khan Chittenden Karl Burnett Moses Dyer Carla Werner Graham Marshall Bruce Allpress Robin Brooke Sarah Thomson Anna Jullienne Billy Nicolle Aaron Saxton John Hanson Hermione Kitson Rex Boyes Dennis Smith David Burgess Gary Eccles Terry McCahill Kelson Henderson Peter Simonsen Binney Lock Len Beavis Len Barwell Anne MacGregor Ivar Campbell Roz Turnbull David Hannay Dave Ryan Jack Kidd Peta Rutter Duncan Ritchie Bill Chapman Jon Stevens Carl Jorgensen Craig Newby Frano Botica Bob Wilson Nik Viljoen Daniel Lins Côrtes Marcus Nicholls Grahame Davis Jimmy Mill Martyn Sanderson Susan Wood Ron Stone George Drylie Grahame Bilby Hikairo Forbes Jarek Goebel John McKee Priyanka Xi Vicki Ormond Cameron Duncan Helen Bianchin Nehe Milner-Skudder Morgana O'Reilly Wattie Cooper Martin Leach Russell Kamo Fred Benge Roger Smith Nathan Guy John Raat Daniel Bedingfield Pixie Williams Brian Sergent Greg Little Jamie Selkirk Paddy Breslin Jason Spice Walter Brundell Katherine Curnow John Tui Logan Rogerson Eddie Barton Peter McCauley Steve Boyland George McLaren Robert Reynolds Macintosh Syd Haines Paul Cunningham Ken Olley Alex Greenwich Grant Batty Tony Evans Melissa Wileman Keith Nelson Hilary Alexander Andrea Rogers Jim Stephenson Ian Upchurch David Donaldson Jeff Szusterman Erin Baker Damon Andrews Rosalind Allen Ernest Booth Yvonne Vale Stephen Kay Wallace Fard Muhammad Malcolm Ferguson Tony Shelly Robert Ironside Angela Hall Jackie Blue Archie McQuarrie Ernie Bridge Marissa Stott Levi Sherwood Jeremy Waldron Jim Mutimer Colin Shaw Tofiga Fepulea'i Bill Zuill Reginald Stanley Judson Don Crabb Philippa Boyens Jeremy Geddes Ray Hodgson Keith Gibson Pat Harris Monty Patterson Owen Nuttridge Brian Fitzpatrick Neville Siebert Rebecca Sowden Garth Maxwell Louis Anderson Taleta Tupuola Ken Fleet Graham Storer Cameron Rhodes Greer Robson John Houghton Trevor H. Worthy Cinnamon Chaney Duncan McGregor Nathan Meister Allan Smith Jonathan Coleman Tom McCormack Michael Kerrisk Daniel McAlister Steven Sasagi Kennedy Graham Ella Wilks Arthur Masters David Houghton Howard Hutchinson Ian Narev Amber Sainsbury Julia Campbell Michael F. Williams Daryl Halligan Simon Oosterman Frank Mitchinson Bill Hooper Vivienne Robertson Maria George Michael James Den Heijer Steve Cain Thomas Ellison Murray Brown Curt Perano Jesse Wyatt Luke Whitelock Nigel Ashurst Francis Phelan Bert Hiddlestone Sean Byrne Gary Lake Chris McBreen Jimmy Hunter Virginie Le Brun Nicola Smith Connan Mockasin Jim Middleton Debbie Leonidas Sarah Pattison Wally Meehan Maureen Jacobson Murray Watts Blair Peach Les Wood Warren Fleet Leslie King Mike Simeonoff Harley Crane Andy Stankovich Jordan Vale Rhys Darby Lee Stickland Julie Hogg Neil McArthur Junior Poluleuligaga Bill Ives William Lloyd Barry Jim Cowe Richard Wilkins Julie Inglis Darren Overton Jim Moyes Eve Gordon Dennis Charlton Praven Jeram Loren Horsley Ian Masson Sophie Koh Ray Speed Amelia Reynolds Lynne Warring Lorinda Panther Barbara Sumner-Burstyn David Wallace Liam Stone Melissa Ruscoe Johan Verweij Fran Wilde Alex Laing George McAnulty Jean Devanny Tania Rosser Pauline Sullivan Bob Quickenden John Rae Stu Jacobs William Fyfe Raymond Thompson Nigel Debenham Peter Daube Riwia Brown William Phillips Donald Dickie Jill Gilmore Paul Rennell Zoe Cramond Peter Whiting Matt Whelan Charles Ives Tom Aspell Gordon Barker Jacob Tomuri Amy Morrison Jacqueline Kelly Les Groves John Hayes Bill Westerveld Marshall Napier Trent Croad Bill Hunter Frank Delgrosso Kathy Hall Jim Kershaw Mary Somerville Greg Hough Kayla McAlister Geordie Newman Jami-Lee Ross Alice Jacob Simone Lewis Brendon Leonard Don Kendrick John van Helden Tim Balme Gary Jenkins Peter Henry Robert Pollock Wendi Henderson Doug Lapwood Michael Appleby Garry Paddison Kevin Hagan Gareth Rowe Ken Billot Sid Going Brendan Horan Sacha Haskell Andrew Blake Kevin Weymouth Brent Fisher Logan Campbell Kevin Barry, Sr. Emmeline Hawthorne Alex Davis Michael Lapsley Harold Chapman Peter O'Malley Jacinta Wawatai Bill Harris Richard Taylor Brian Roberts Li Ming Hu William Toomath Jack Steel Charles Mackie Tony Gowans Bill Crawford-Crompton Peter Brian Heenan Wendy Hawke Annabelle White Claudette Hauiti Jake Butler Dallas Mead Jimmy Edwards Tony Ryall Bob Innes Lucky Diamond Rich Chris Turner Elizabeth Blackbourn Ted Charlton Stefan MacGill Jason New Holly Shanahan Michael Galvin Eldon Gorst Keith Hobbs Sarah Goss Brock Messenger Helen Fisher Joe Callaghan Zara Nutley Shayne Biddle Barry Vercoe Pam Yates Amber McWilliams Tony Scheirlinck Glen Adam Geoff Murphy Trefor Pugh Reg Haggett George Campbell Jim Christie Jimmy Hunter Jason Eaton Glenn Aitken Dean Buchanan Tamupiwa Dimairo Michelle Loos William Trubridge Don Hammond Theo van den Broek Francis W. Tancred David McPhail Mark Cossey Maureen Pugh Curtis McGrath Derek Wilson Tarzino Gwendoline Taylor Brooke Millar Jasmine Myles Jane Simpson Malcolm Bland Simone Kessell Jimmie O'Sullivan Mete Paetahi Derek Phillips Marty McDonnell Te Atawhai Hudson-Wihongi Billy Woods Benjamin Mitchell Brent Renouf Alan Stroud Nanaia Mahuta Ben Barrington Adam Highfield Neil Haines Julius Beck Herbie Lilburne David Bishop Emily Robins Tom Williams Bill Thomas Michelle Langstone Phil Traynor Bob King Fred Craggs Lois Simpson Fred de Jong Shaun Baxter Ray Mears Merv Gordon Iain Hastie Dudley Arthur Franklin Rick Wells Sarah Gibbs John-Paul Clarkin Joe Sellwood Ray Hanna Ray Comfort Bill Stalker Rene Naufahu Male Sa'u Alex Smith Garry Lund Anthony Ellison Nikole Lowe Tasesa Lavea Hamish Gard Charles Eyton Lynley Pedruco Guy Bowers Alan Westerman Stuart Devenie Te Matenga Taiaroa Ronald Hemi Trevor James Constable Carol Waller Suran Dickson Shelton Woolright Henry Joseph Kelliher James McGarry Paul Probert Peter Hambleton Barbara Cox Michael Jones Wi Kuki Kaa David Aston Martin Devlin Alistair Elder Jeff Strom Monique van de Elzen Paul Brydon John Staines Trevor Peters Bizzy Jocelyn Parr Rupesh Puna Peter Elliott Brian Turner Elizabeth Moody Rebekah Mercer Ben Blair Jeremy Brown Michelle Hodge Gordon Smith Anne Firth Murray Matthew Tuisamoa Angela Bloomfield Paul Cameron Vicky Rodewyk John Wrathall Nish Selvadurai Philip Steven Gari Moka Tapas Posman Francis Niakuam Toaripi Lauti Godfrey Baniau John Guise Obert Bika John Davani David Gill Kila Iaravai Bill Skate Wira Wama Tinoi Christie Emi Maria Manis Lamond Ronald Warisan Justin Wolfers Kema Jack Nigel Dabingyaba Jacob Sabua Alyssa-Jane Cook Daniel Joe Leslie Kalai Ben Sexton Cyril Muta Patrick Aisa Augustine Justine Ludwig Peka Duncan Na'awi Roland Bala Kelly Jampu Gidix Nasa Emmanuel Simon Jeremy Callaghan Tommy Semmy David Browne Marcus Bai Emilio Amuedo Marco Navas Fabián Ruiz Peña Mario Ferrera Garcia Antonio Maestre Acosta Joaquín Bornes Rincón Juan Ramos de Lora Pepe Begines Jesús Navas Antonio Barragán
Philippa Boyens, Brent Fisher and Brian Turner were born at New Zealand, Papua New Guinea and Los Palacios y Villafranca
Philippa Boyens Brent Fisher Brian Turner
action union
action filter_type
action find_reverse
entity New Zealand
relation place of birth
type common name
action filter_type
action find_reverse
entity Papua New Guinea
relation place of birth
type common name
action filter_type
action find_reverse
entity Los Palacios y Villafranca
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'New Zealand'] [{'concept': 'common name'}, 'place of birth', 'Papua New Guinea'] [{'concept': 'common name'}, 'place of birth', 'Los Palacios y Villafranca']
SELECT DISTINCT ?p WHERE { { ?p property:place_of_birth resource:New_Zealand . ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:common_name . ?p property:place_of_birth resource:Papua_New_Guinea } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P610
Q14524493
USER
Which are the zenith of Australia ?
(Q408,P610,c(Q14524493))
action filter_type
action find
entity Q408
relation P610
type Q14524493
['Q408', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?b WHERE { resource:Q408 property:P610 ?b . ?b rdf:type ontology:Q14524493 }
Australia
action filter_type
action find
entity Australia
relation highest point
type terrain
['Australia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?b WHERE { resource:Australia property:highest_point ?b . ?b rdf:type ontology:terrain }
[]
terrain
Q178167 Q2114101
SYSTEM
Mount Kosciuszko, Mawson Peak
Q178167 Q2114101
(Q408,P610,c(Q14524493))
action filter_type
action find
entity Q408
relation P610
type Q14524493
The zenith of Australia are the [ANSWERS]
['Q408', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?b WHERE { resource:Q408 property:P610 ?b . ?b rdf:type ontology:Q14524493 }
Mount Kosciuszko Mawson Peak
The zenith of Australia are the Mount Kosciuszko and Mawson Peak
Mount Kosciuszko Mawson Peak
action filter_type
action find
entity Australia
relation highest point
type terrain
['Australia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?b WHERE { resource:Australia property:highest_point ?b . ?b rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q148966
Q14524493
USER
And what about Solomon Islands?
(Q148966,P610,c(Q14524493))
action filter_type
action find
entity Q148966
relation P610
type Q14524493
['Q148966', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?l WHERE { resource:Q148966 property:P610 ?l . ?l rdf:type ontology:Q14524493 }
Solomon Islands
action filter_type
action find
entity Solomon Islands
relation highest point
type terrain
['Solomon Islands', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?l WHERE { resource:Solomon_Islands property:highest_point ?l . ?l rdf:type ontology:terrain }
[]
terrain
Q1298202
SYSTEM
Mount Balbi
Q1298202
(Q148966,P610,c(Q14524493))
action filter_type
action find
entity Q148966
relation P610
type Q14524493
[ANSWER]
['Q148966', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?l WHERE { resource:Q148966 property:P610 ?l . ?l rdf:type ontology:Q14524493 }
Mount Balbi
Mount Balbi
action filter_type
action find
entity Solomon Islands
relation highest point
type terrain
['Solomon Islands', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?l WHERE { resource:Solomon_Islands property:highest_point ?l . ?l rdf:type ontology:terrain }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P190
Q515 Q20667921 Q1048835
USER
Which political territories are twin city of min number of cities and french administrative divisions ?
(c(Q1048835),P190,c(Q515)|c(Q20667921))
action argmin
action union
action find_tuple_counts
relation P190
type Q1048835
type Q515
action find_tuple_counts
relation P190
type Q1048835
type Q20667921
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?p ) WHERE { { ?n property:P190 ?h . ?n rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q20667921 } UNION { ?n property:P190 ?h . ?n rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q515 } } GROUP BY ?n } } . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?a ) WHERE { { ?l rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q515 . ?l property:P190 ?r } UNION { ?l property:P190 ?r . ?l rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q20667921 } } GROUP BY ?l } . FILTER ( ?a = ?f ) }
action argmin
action union
action find_tuple_counts
relation sister city
type political territorial entity
type city
action find_tuple_counts
relation sister city
type political territorial entity
type type of french administrative division
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?p ) WHERE { { ?n property:sister_city ?h . ?n rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:type_of_french_administrative_division } UNION { ?n property:sister_city ?h . ?n rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:city } } GROUP BY ?n } } . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?a ) WHERE { { ?l rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:city . ?l property:sister_city ?r } UNION { ?l property:sister_city ?r . ?l rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?l } . FILTER ( ?a = ?f ) }
[]
city type of french administrative division political territorial entity
Q763 Q778 Q643919
SYSTEM
Saint Kitts and Nevis, The Bahamas, Torfaen County Borough
Q473250 Q484717 Q1442814 Q5963 Q1628188 Q1794732 Q484552 Q15471 Q786126 Q1643855 Q927931 Q1765078 Q6022 Q2101408 Q5913 Q187826 Q2047561 Q1391501 Q207111 Q164197 Q15619 Q321331 Q1853429 Q667682 Q686837 Q8554 Q12595 Q210887 Q659450 Q189952 Q693258 Q12153 Q4480 Q496368 Q686304 Q624967 Q11286 Q20937 Q496588 Q13156 Q824651 Q208669 Q8602 Q15430 Q984508 Q7909 Q109188 Q7902 Q538809 Q7905 Q7907 Q63004 Q752280 Q326651 Q41157 Q899884 Q832246 Q542958 Q2566267 Q1793709 Q499922 Q1655081 Q376393 Q3741 Q2392504 Q34028 Q226009 Q54902 Q1439157 Q398698 Q505610 Q1621191 Q13916 Q487268 Q13424 Q535531 Q180200 Q1637478 Q1407143 Q1101945 Q694833 Q1110343 Q1769167 Q13785 Q574340 Q178993 Q15950 Q3850873 Q161945 Q917693 Q485129 Q156819 Q1757489 Q258722 Q1613282 Q550974 Q254699 Q824122 Q1010314 Q1915208 Q102848 Q15602 Q1750269 Q1651727 Q740833 Q487801 Q13855 Q12587 Q15649 Q913492 Q1786658 Q12028 Q10436 Q1919317 Q1635711 Q3397684 Q205681 Q48344 Q1650316 Q11822 Q15429 Q8184 Q8182 Q691525 Q980131 Q33961 Q1758806 Q616621 Q7898 Q188905 Q583032 Q739495 Q7894 Q1386351 Q462218 Q817960 Q167436 Q1763754 Q767222 Q1763574 Q1641529 Q12102 Q1757392 Q192370 Q377244 Q847329 Q1993019 Q13922 Q604810 Q512009 Q131620 Q385017 Q12075 Q221749 Q1632577 Q4068849 Q1754551 Q844038 Q1807777 Q492533 Q638181 Q1648251 Q622836 Q622830 Q672483 Q15968 Q993466 Q1639365 Q430147 Q1758141 Q2004395 Q6178 Q13491 Q936624 Q1641454 Q534483 Q1605505 Q555913 Q465085 Q729958 Q12034 Q468563 Q2967 Q856583 Q944264 Q943431 Q2099330 Q632621 Q581589 Q932808 Q122208 Q1616138 Q1794121 Q1229949 Q18288148 Q763 Q207257 Q1228759 Q49571 Q983473 Q695456 Q3586 Q1026229 Q643919 Q10863 Q515016 Q714538 Q928094 Q668324 Q582995 Q484981 Q1649698 Q385923 Q677038 Q1767561 Q550985 Q13804 Q1601614 Q10445 Q574869 Q13936 Q2064788 Q619692 Q1641746 Q23042 Q1998560 Q211925 Q5785 Q835012 Q976534 Q202316 Q290824 Q13755 Q986084 Q2244278 Q1368868 Q12711 Q1982975 Q817302 Q1630141 Q1757428 Q7911 Q596885 Q1646869 Q927800 Q41161 Q28301 Q1613587 Q929759 Q622823 Q983433 Q15974 Q830776 Q242906 Q1228035 Q15623 Q15622 Q15621 Q3303729 Q10485 Q671272 Q1605519 Q946068 Q2044406 Q842211 Q1242382 Q203040 Q229659 Q904130 Q13159 Q778 Q15408 Q1751916 Q646564 Q984642
(c(Q1048835),P190,c(Q515)|c(Q20667921))
action argmin
action union
action find_tuple_counts
relation P190
type Q1048835
type Q515
action find_tuple_counts
relation P190
type Q1048835
type Q20667921
[ANSWERS] are twin city of min number of cities and french administrative divisions
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?p ) WHERE { { ?n property:P190 ?h . ?n rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q20667921 } UNION { ?n property:P190 ?h . ?n rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q515 } } GROUP BY ?n } } . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?a ) WHERE { { ?l rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q515 . ?l property:P190 ?r } UNION { ?l property:P190 ?r . ?l rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q20667921 } } GROUP BY ?l } . FILTER ( ?a = ?f ) }
Macaé San Sebastián de los Reyes Mazaricos Hanover region Cangas Maracanaú Algeciras Sant Adrià de Besòs Mundaka Monroy Cabra Urussanga Göttingen Guimarães Lüchow-Dannenberg Móstoles Cerdà Briviesca North Lanarkshire Coslada El Prat de Llobregat Novo Hamburgo Valverde Peñafiel, Spain Karrantza Rhein-Pfalz-Kreis Palafolls Sanlúcar de Barrameda Santarém Lääne-Viru County San Bartolomé de Tirajana Vilafant Balmaseda Wrexham Itambé Arafo Castelló d'Empúries Gyeonggi Province Oñati Montilla Parla Maringá Westerwaldkreis Mollet del Vallès Sant Sadurní d'Anoia Main-Taunus-Kreis Pelotas Marburg-Biedenkopf Peligros Lahn-Dill-Kreis Rheingau-Taunus-Kreis Tocina Almagro, Ciudad Real Pomerode North Jeolla Province Ciutadella de Menorca Duruelo de la Sierra Torrelodones San Borja Iúna, Espírito Santo Porto Seguro Pastrana Brieskow-Finkenheerd Special Region of Yogyakarta Barreiro Diamantina, Minas Gerais Encantado Fuenlabrada Criciúma Salvatierra/Agurain Flintshire A Estrada Barberà del Vallès Candelaria Cassà de la Selva Farroupilha Harju County Quaraí Santa Amalia Veranópolis Gramado Vélez-Rubio Cigales Cavite Las Gabias Palmas Igualada Rivne Torrent Santana do Livramento Burgo de Osma-Ciudad de Osma Joinville Cehegín Canals Alcaudete Atarfe Alanís Tui Museros Torredonjimeno Paiporta Cornellà de Llobregat Nova Pádua Pedrajas de San Esteban Santa Maria Barakaldo Vic Santa Susanna Sant Vicenç dels Horts Manilva Casca, Rio Grande do Sul Teià Kulmbach Benifaió Abanilla Pontarddulais Cascavel Recife Villafeliche Roses Martorelles Enz Rastatt Villa El Salvador District Massaranduba, Santa Catarina Aratiba Arroio do Meio Escalona Hersfeld-Rotenburg Ouro Preto Maracena Vilanova de Arousa Schwalm-Eder-Kreis Alcalá del Río Governador Valadares Rhondda Cynon Taf João Pessoa Bigastro Clavijo São Mateus, Espírito Santo Mora Caldes d'Estrac Ilópolis Tartu County Catoira Comillas Meliana Cerdanyola del Vallès Markina-Xemein San Sebastián de La Gomera Natal Valencia de Don Juan Vilassar de Dalt Torrevieja Benalup-Casas Viejas Argoncilhe Mostardas Valverde del Camino Itiúba Andorra Alcalá la Real Medina de Rioseco Teresópolis Caruaru Ordizia Santa Margarita de Montbui Santa Cruz Cabrália La Muela Teror São Pedro do Butiá Piraquara Oder-Spree Palamós Fuentepelayo Calatorao Barcarrota Celanova Castril Almadén Mochola Alella Nova Friburgo Rendsburg-Eckernförde Gaspar, Santa Catarina Tacoronte, Santa Cruz de Tenerife Granadilla de Abona Vicente López Partido Archena Oyón-Oion Ormaiztegi Olocau Pilas Aquiraz El Perelló Metropolitan City of Florence Saint Kitts and Nevis East Lothian La Unión Sos del Rey Católico Novelda Bailén East Java Miraflores Torfaen County Borough Picassent Castuera Zapsonj Ponta Porã San Adrián Lanjarón Láchar Alaquàs Alcúdia San Miguel de Abona Valverde de Júcar Armilla Manlleu Gerena Forchheim Pedrola Sant Cugat del Vallès Lapa La Zubia Huelma Paterna Blanca East Renfrewshire Cayman Islands Vilafranca del Penedès Castrillo Mota de Judíos Foz do Iguaçu Ondara Bulacan Bétera Tías, Las Palmas Berantevilla Vall de Boí Los Alcázares Benicarló Sayalonga Monte Belo do Sul Main-Kinzig-Kreis Blaenau Gwent County Borough Les Alqueries Bronniki South Jeolla Province Olinda Fregenal de la Sierra El Vendrell Uruguaiana Güímar Vilanova del Camí Yanoshi Ponta Grossa Ugao-Miraballes Martorell Gavà Esplugues de Llobregat Magdalena del Mar Deggendorf Calp Zuera Lezama L'Alcúdia San Fernando de Henares Elorrio El Puerto de Santa María Zumaia Ribeira Cañete la Real The Bahamas Castellterçol Villanueva del Pardillo Santo Domingo de la Calzada Canfranc
Saint Kitts and Nevis, The Bahamas and Torfaen County Borough are twin city of min number of cities and french administrative divisions
Saint Kitts and Nevis The Bahamas Torfaen County Borough
action argmin
action union
action find_tuple_counts
relation sister city
type political territorial entity
type city
action find_tuple_counts
relation sister city
type political territorial entity
type type of french administrative division
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?p ) WHERE { { ?n property:sister_city ?h . ?n rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:type_of_french_administrative_division } UNION { ?n property:sister_city ?h . ?n rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:city } } GROUP BY ?n } } . { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?a ) WHERE { { ?l rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:city . ?l property:sister_city ?r } UNION { ?l property:sister_city ?r . ?l rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?l } . FILTER ( ?a = ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories are known to have diplomatic connections with around 6 political territories ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?n ) WHERE { ?c property:P530 ?a . ?c rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?n = 6 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?n ) WHERE { ?c property:diplomatic_relation ?a . ?c rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?n = 6 ) }
[]
political territorial entity political territorial entity
Q183 Q16
SYSTEM
Germany, Canada
Q183 Q16
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[ANSWERS] are known to have diplomatic connections with around 6 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?n ) WHERE { ?c property:P530 ?a . ?c rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?n = 6 ) }
Germany Canada
Germany and Canada are known to have diplomatic connections with around 6 political territories
Germany Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?n ) WHERE { ?c property:diplomatic_relation ?a . ?c rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?n = 6 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P530
Q1048835 Q1048835 Q15617994
USER
Which political territories have diplomatic relations with max number of political territories and administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?x } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?w ) WHERE { { ?m property:P530 ?g . ?g rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } UNION { ?m property:P530 ?g . ?g rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?g } . FILTER ( ?w = ?o ) }
action argmax
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?x } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?w ) WHERE { { ?m property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } UNION { ?m property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?g } . FILTER ( ?w = ?o ) }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relations with max number of political territories and administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?x } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?w ) WHERE { { ?m property:P530 ?g . ?g rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } UNION { ?m property:P530 ?g . ?g rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?g } . FILTER ( ?w = ?o ) }
Germany
Germany have diplomatic relations with max number of political territories and administrative territories
Germany
action argmax
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?z ) WHERE { ?b rdf:type ?i . VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?x } } . { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?w ) WHERE { { ?m property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } UNION { ?m property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?g } . FILTER ( ?w = ?o ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1363281 Q408
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Australia and are the countries of citizenship of Peter Boettke ?
AND((Q408,P530,c(Q15617994)), (Q1363281,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q1363281
relation P27
type Q15617994
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q1363281', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q1363281 property:P27 ?g . resource:Q408 property:P530 ?g . ?g rdf:type ontology:Q15617994 }
Peter Boettke Australia
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Peter Boettke
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Peter Boettke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Peter_Boettke property:country_of_citizenship ?g . resource:Australia property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q408,P530,c(Q15617994)), (Q1363281,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q408
relation P530
action find
entity Q1363281
relation P27
type Q15617994
[ANSWER] have diplomatic relations with Australia and are the countries of citizenship of Peter Boettke
{'AND': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q1363281', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q1363281 property:P27 ?g . resource:Q408 property:P530 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
United States of America have diplomatic relations with Australia and are the countries of citizenship of Peter Boettke
United States of America
action filter_type
action intersection
action find
entity Australia
relation diplomatic relation
action find
entity Peter Boettke
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Peter Boettke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Peter_Boettke property:country_of_citizenship ?g . resource:Australia property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q5379301
P27
Q502895
USER
Is Enoch Hood a native of that administrative territory ?
(Q5379301,P27,Q30)
action is_in
entity Q5379301
action find
entity Q30
relation P27
['Q5379301', 'P27', 'Q30']
ASK WHERE { resource:Q30 property:P27 resource:Q5379301 }
United States of America Enoch Hood
action is_in
entity Enoch Hood
action find
entity United States of America
relation country of citizenship
['Enoch Hood', 'country of citizenship', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country_of_citizenship resource:Enoch_Hood }
[]
common name
SYSTEM
NO
(Q5379301,P27,Q30)
action is_in
entity Q5379301
action find
entity Q30
relation P27
[ANSWER]
['Q5379301', 'P27', 'Q30']
ASK WHERE { resource:Q30 property:P27 resource:Q5379301 }
No
action is_in
entity Enoch Hood
action find
entity United States of America
relation country of citizenship
['Enoch Hood', 'country of citizenship', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country_of_citizenship resource:Enoch_Hood }
[]