Simple Question (Direct)
Simple Question
Q73627
P162
Q502895
USER
Who are the creators of Cirque du Soleil: Worlds Away ?
(Q73627,P162,c(Q502895))
action filter_type
action find
entity Q73627
relation P162
type Q502895
['Q73627', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q73627 property:P162 ?j . ?j rdf:type ontology:Q502895 }
Cirque du Soleil: Worlds Away
action filter_type
action find
entity Cirque du Soleil: Worlds Away
relation producer
type common name
['Cirque du Soleil: Worlds Away', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Cirque_du_Soleil:_Worlds_Away property:producer ?j . ?j rdf:type ontology:common_name }
[]
common name
Q2863473 Q432845 Q42574
SYSTEM
Aron Warner, Andrew Adamson, James Cameron
Q2863473 Q432845 Q42574
(Q73627,P162,c(Q502895))
action filter_type
action find
entity Q73627
relation P162
type Q502895
[ANSWERS] : the creators of Cirque du Soleil Worlds are
['Q73627', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q73627 property:P162 ?j . ?j rdf:type ontology:Q502895 }
Aron Warner Andrew Adamson James Cameron
Aron Warner, Andrew Adamson and James Cameron : the creators of Cirque du Soleil Worlds are
Aron Warner Andrew Adamson James Cameron
action filter_type
action find
entity Cirque du Soleil: Worlds Away
relation producer
type common name
['Cirque du Soleil: Worlds Away', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Cirque_du_Soleil:_Worlds_Away property:producer ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q73627
P86
Q502895
USER
Who did the compostion for that work of art ?
(Q2863473,P86,c(Q502895)) (Q432845,P86,c(Q502895)) (Q42574,P86,c(Q502895))
action filter_type
action find
entity Q73627
relation P86
type Q502895
['Q2863473', 'P86', {'concept': 'Q502895'}] ['Q432845', 'P86', {'concept': 'Q502895'}] ['Q42574', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q73627 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Cirque du Soleil: Worlds Away
action filter_type
action find
entity Cirque du Soleil: Worlds Away
relation composer
type common name
['Aron Warner', 'composer', {'concept': 'common name'}] ['Andrew Adamson', 'composer', {'concept': 'common name'}] ['James Cameron', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Cirque_du_Soleil:_Worlds_Away property:composer ?k . ?k rdf:type ontology:common_name }
[]
common name
Q576928
SYSTEM
Benoît Jutras
Q576928
(Q2863473,P86,c(Q502895)) (Q432845,P86,c(Q502895)) (Q42574,P86,c(Q502895))
action filter_type
action find
entity Q73627
relation P86
type Q502895
[ANSWER] did the compostion for that work of art
['Q2863473', 'P86', {'concept': 'Q502895'}] ['Q432845', 'P86', {'concept': 'Q502895'}] ['Q42574', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q73627 property:P86 ?k . ?k rdf:type ontology:Q502895 }
Benoît Jutras
Benoît Jutras did the compostion for that work of art
Benoît Jutras
action filter_type
action find
entity Cirque du Soleil: Worlds Away
relation composer
type common name
['Aron Warner', 'composer', {'concept': 'common name'}] ['Andrew Adamson', 'composer', {'concept': 'common name'}] ['James Cameron', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Cirque_du_Soleil:_Worlds_Away property:composer ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q576928 Q527062
P19
Q56061
USER
Is Gladau the birthplace of that person ?
(Q576928,P19,Q527062)
action is_in
entity Q527062
action find
entity Q576928
relation P19
['Q576928', 'P19', 'Q527062']
ASK WHERE { resource:Q576928 property:P19 resource:Q527062 }
Benoît Jutras Gladau
action is_in
entity Gladau
action find
entity Benoît Jutras
relation place of birth
['Benoît Jutras', 'place of birth', 'Gladau']
ASK WHERE { resource:Benoît_Jutras property:place_of_birth resource:Gladau }
[]
administrative territorial entity
SYSTEM
NO
(Q576928,P19,Q527062)
action is_in
entity Q527062
action find
entity Q576928
relation P19
[ANSWER]
['Q576928', 'P19', 'Q527062']
ASK WHERE { resource:Q576928 property:P19 resource:Q527062 }
No
action is_in
entity Gladau
action find
entity Benoît Jutras
relation place of birth
['Benoît Jutras', 'place of birth', 'Gladau']
ASK WHERE { resource:Benoît_Jutras property:place_of_birth resource:Gladau }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q576928
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q576928
relation P21
type Q290
SELECT DISTINCT ?j WHERE { resource:Q576928 property:P21 ?j . ?j rdf:type ontology:Q290 }
Benoît Jutras
action filter_type
action find
entity Benoît Jutras
relation gender
type sex
SELECT DISTINCT ?j WHERE { resource:Benoît_Jutras property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q576928
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?j WHERE { resource:Q576928 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Benoît Jutras
relation gender
type sex
SELECT DISTINCT ?j WHERE { resource:Benoît_Jutras property:gender ?j . ?j rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1752098 Q527062
P47 P17
Q1048835
USER
Which political territories are Gladau located in or are adjacent to Xaló ?
OR((Q527062,P17,c(Q1048835)), (Q1752098,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q527062
relation P17
action find
entity Q1752098
relation P47
type Q1048835
{'OR': [['Q527062', 'P17', {'concept': 'Q1048835'}], ['Q1752098', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1752098 property:P47 ?h } UNION { resource:Q527062 property:P17 ?h } } . ?h rdf:type ontology:Q1048835 }
Xaló Gladau
action filter_type
action union
action find
entity Gladau
relation country
action find
entity Xaló
relation shares border with
type political territorial entity
{'OR': [['Gladau', 'country', {'concept': 'political territorial entity'}], ['Xaló', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Xaló property:shares_border_with ?h } UNION { resource:Gladau property:country ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q436491 Q183 Q1649406 Q1766232 Q1770160 Q1750923 Q533769 Q619496
SYSTEM
Altea, Germany, Benissa, Tàrbena, Callosa d'en Sarrià, Pedreguer, Llíber, Alcalalí
Q436491 Q183 Q1649406 Q1766232 Q1770160 Q1750923 Q533769 Q619496
OR((Q527062,P17,c(Q1048835)), (Q1752098,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q527062
relation P17
action find
entity Q1752098
relation P47
type Q1048835
[ANSWERS] Gladau are located or are adjacent to Xaló
{'OR': [['Q527062', 'P17', {'concept': 'Q1048835'}], ['Q1752098', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1752098 property:P47 ?h } UNION { resource:Q527062 property:P17 ?h } } . ?h rdf:type ontology:Q1048835 }
Altea Germany Benissa Tàrbena Callosa d'en Sarrià Pedreguer Llíber Alcalalí
Altea, Germany, Benissa, Tàrbena, Callosa d'en Sarrià, Pedreguer, Llíber and Alcalalí Gladau are located or are adjacent to Xaló
Altea Germany Benissa Tàrbena Callosa d'en Sarrià Pedreguer Llíber Alcalalí
action filter_type
action union
action find
entity Gladau
relation country
action find
entity Xaló
relation shares border with
type political territorial entity
{'OR': [['Gladau', 'country', {'concept': 'political territorial entity'}], ['Xaló', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Xaló property:shares_border_with ?h } UNION { resource:Gladau property:country ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q1048835 Q486972 Q515
USER
How many political territories have atleast 1 human settlements or cities have their first city ?
(c(Q486972)|c(Q515),P1376,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
value 1
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?d WHERE { { ?t property:P1376 ?d . ?d rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q486972 } UNION { ?t property:P1376 ?d . ?t rdf:type ontology:Q515 . ?d rdf:type ontology:Q1048835 } } GROUP BY ?d } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
value 1
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?d WHERE { { ?t property:capital_of ?d . ?d rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:human_settlement } UNION { ?t property:capital_of ?d . ?t rdf:type ontology:city . ?d rdf:type ontology:political_territorial_entity } } GROUP BY ?d } }
[]
political territorial entity human settlement city
SYSTEM
159
Q7130037 Q13881 Q13882 Q13884 Q13889 Q785 Q13726 Q2051 Q3891 Q3899 Q3321945 Q2175 Q2271 Q48060 Q10500690 Q13900 Q3317759 Q170390 Q8170 Q168651 Q3312902 Q2702993 Q3741 Q2223 Q22880 Q6156 Q13786 Q13785 Q13869 Q13868 Q13865 Q13863 Q13862 Q10547 Q10469 Q10462 Q10466 Q1890 Q971457 Q664 Q12741 Q6339 Q5082 Q5065 Q5067 Q5061 Q5062 Q5068 Q13737 Q2846059 Q7932 Q6319070 Q2140 Q13827 Q13826 Q13825 Q13829 Q953068 Q2718534 Q170036 Q9648 Q3125978 Q5455586 Q6319759 Q13857 Q3313430 Q5088519 Q757 Q13772 Q6318695 Q6301 Q7890 Q3916 Q13794 Q13791 Q13792 Q13813 Q3826003 Q48079 Q5093 Q5095 Q671742 Q5075 Q193619 Q13744 Q48094 Q192697 Q2772 Q13874 Q7928 Q7258563 Q8050384 Q3314201 Q1468315 Q188373 Q48046 Q7414539 Q2101298 Q1823 Q1769672 Q13844 Q13847 Q13843 Q2594990 Q1229942 Q8195 Q2110 Q48072 Q3586 Q13892 Q13891 Q13899 Q5444794 Q593806 Q3906 Q201697 Q7827062 Q1866 Q4694508 Q13809 Q13860 Q13806 Q170672 Q240441 Q24174 Q10440 Q49655 Q3824193 Q190930 Q13753 Q13752 Q13755 Q13759 Q8167 Q571947 Q48089 Q7916 Q7912 Q48106 Q2307775 Q3540 Q5856660 Q2697637 Q10526 Q10480 Q10485 Q13870 Q13872 Q3724 Q13876 Q48057 Q6013498 Q6328 Q10557 Q10555 Q2902 Q10559 Q5924968 Q35086
(c(Q486972)|c(Q515),P1376,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
value 1
[ANSWER]
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?d WHERE { { ?t property:P1376 ?d . ?d rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q486972 } UNION { ?t property:P1376 ?d . ?t rdf:type ontology:Q515 . ?d rdf:type ontology:Q1048835 } } GROUP BY ?d } }
Panao District Sorsogon South Cotabato Southern Leyte Surigao del Norte Jersey Albay Jambi Province Kalimantan Tengah Kalimantan Timur Acarí District Riau Province South Sumatra Gera District San Miguel District Zamboanga del Sur Putumayo District County of Oldenburg Tübingen Landgraviate of Hesse-Kassel Coya District Haquira District Special Region of Yogyakarta Kepulauan Riau Electoral Palatinate Oberspreewald-Lausitz Cebu Cavite Palawan Oriental Mindoro Nueva Ecija Negros Oriental Negros Occidental Lower Franconia Main-Spessart Haßberge Bad Kissingen Bengkulu Province Lunahuaná District New Zealand Ilocos Sur Erzgebirgskreis West Sulawesi Central Sulawesi Province Gorontalo Province East Nusa Tenggara Province West Nusa Tenggara North Sulawesi Province Basilan Andahuaylillas District Darmstadt Government Region Magdalena de Cao District North Sumatra Province Kalinga Isabela Iloilo La Union South-West Africa Lurigancho Kiev Oblast Falkland Islands Bali Fitzcarrald Sicaya District Misamis Occidental Antioquia District Chavinillo District Saint Vincent and the Grenadines Capiz Pimentel Nordsachsen Kassel Kalimantan Barat Davao del Sur Cotabato Davao del Norte Ilocos Norte Chucuito District Leipzig District Maluku Province Papua General Pueyrredón South East Sulawesi Province Union of South Africa Batangas Potsdam District South Moravian Region West Sumatra Rizal Kassel  Government Region Puerto Inca District Yavari District Achoma District Pozuzo District South Bohemia Region Cottbus San José de Sisa District Tandil Aceh La Sotonera Leyte Masbate Lanao del Sur Dominion of New Zealand La Jalca District Breisgau-Hochschwarzwald Lampung Province Karl-Marx-Stadt District East Java Tarlac Surigao del Sur Zamboanga del Norte Fernando Lores District Llata District Kalimantan Selatan Leimebamba District Torres Causana District Bangka–Belitung Islands Aguas Verdes Eastern Samar Misamis Oriental Davao Oriental Dnipropetrovsk Oblast General Alvarado Partido Dresden Government Region Coburg Schellenberg Querobamba District Vysočina Region Bukidnon Bohol Bulacan Cagayan Freiburg Government Region Bautzen Neubrandenburg District Darmstadt-Dieburg Offenbach Suhl District Sepahua Banten Province Mito District San Marcos District Rosenheim Dingolfing-Landau Deggendorf Pampanga Quezon West Java Province Samar Frankfurt (Oder) Inambari Mittelsachsen Swabia Upper Palatinate Mecklenburgische Seenplatte District Lower Bavaria Huacaybamba South Georgia and the South Sandwich Islands
159
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
value 1
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?m >= 1 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) ?d WHERE { { ?t property:capital_of ?d . ?d rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:human_settlement } UNION { ?t property:capital_of ?d . ?t rdf:type ontology:city . ?d rdf:type ontology:political_territorial_entity } } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11247
P1001
Q12737077
USER
Which occupation has jurisdiction over Cabanelles ?
(c(Q12737077),P1001,Q11247)
action filter_type
action find_reverse
entity Q11247
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q11247']
SELECT DISTINCT ?h WHERE { ?h property:P1001 resource:Q11247 . ?h rdf:type ontology:Q12737077 }
Cabanelles
action filter_type
action find_reverse
entity Cabanelles
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cabanelles']
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction resource:Cabanelles . ?h rdf:type ontology:occupation }
[]
occupation
Q26690356
SYSTEM
mayor of Cabanellas
Q26690356
(c(Q12737077),P1001,Q11247)
action filter_type
action find_reverse
entity Q11247
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over Cabanelles
[{'concept': 'Q12737077'}, 'P1001', 'Q11247']
SELECT DISTINCT ?h WHERE { ?h property:P1001 resource:Q11247 . ?h rdf:type ontology:Q12737077 }
mayor of Cabanellas
The mayor of Cabanellas has jurisdiction over Cabanelles
mayor of Cabanellas
action filter_type
action find_reverse
entity Cabanelles
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Cabanelles']
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction resource:Cabanelles . ?h rdf:type ontology:occupation }
[]