Simple Question (Direct)
Simple Question
Q1844740
P27
Q1048835
USER
Which political territory is the native country of Rachel Holzer ?
(Q1844740,P27,c(Q1048835))
action filter_type
action find
entity Q1844740
relation P27
type Q1048835
['Q1844740', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1844740 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Rachel Holzer
action filter_type
action find
entity Rachel Holzer
relation country of citizenship
type political territorial entity
['Rachel Holzer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Rachel_Holzer property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q1844740,P27,c(Q1048835))
action filter_type
action find
entity Q1844740
relation P27
type Q1048835
In [ANSWER] is the native country of Rachel Holzer
['Q1844740', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q1844740 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Australia
In Australia is the native country of Rachel Holzer
Australia
action filter_type
action find
entity Rachel Holzer
relation country of citizenship
type political territorial entity
['Rachel Holzer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Rachel_Holzer property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1844740
P19
Q486972
USER
Which human settlement is the birthplace of that person ?
(Q408,P19,c(Q486972))
action filter_type
action find
entity Q1844740
relation P19
type Q486972
['Q408', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q1844740 property:P19 ?p . ?p rdf:type ontology:Q486972 }
Rachel Holzer
action filter_type
action find
entity Rachel Holzer
relation place of birth
type human settlement
['Australia', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Rachel_Holzer property:place_of_birth ?p . ?p rdf:type ontology:human_settlement }
[]
human settlement
Q31487
SYSTEM
Kraków
Q31487
(Q408,P19,c(Q486972))
action filter_type
action find
entity Q1844740
relation P19
type Q486972
[ANSWER] is the birthplace of that person
['Q408', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q1844740 property:P19 ?p . ?p rdf:type ontology:Q486972 }
Kraków
Kraków is the birthplace of that person
Kraków
action filter_type
action find
entity Rachel Holzer
relation place of birth
type human settlement
['Australia', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Rachel_Holzer property:place_of_birth ?p . ?p rdf:type ontology:human_settlement }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P6
Q502895 Q486972
USER
Which human settlements have greater number of people as their head of government than that human settlement ?
(c(Q486972),P6,c(Q502895))
action greater
action find_tuple_counts
relation P6
type Q486972
type Q502895
action count
action filter_type
action find
entity Q31487
relation P6
type Q486972
[{'concept': 'Q486972'}, 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t property:P6 ?o . ?t rdf:type ontology:Q486972 . ?o rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q31487 property:P6 ?j . ?j rdf:type ontology:Q486972 } } . FILTER ( ?e > ?x ) }
action greater
action find_tuple_counts
relation head of government
type human settlement
type common name
action count
action filter_type
action find
entity Kraków
relation head of government
type human settlement
[{'concept': 'human settlement'}, 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t property:head_of_government ?o . ?t rdf:type ontology:human_settlement . ?o rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Kraków property:head_of_government ?j . ?j rdf:type ontology:human_settlement } } . FILTER ( ?e > ?x ) }
[]
common name human settlement
Q1055 Q31487 Q2916
SYSTEM
Hamburg, Kraków, Osnabrück
Q1055 Q2916 Q24879 Q171219 Q16083 Q31487 Q1647457 Q14835 Q82500 Q21051978
(c(Q486972),P6,c(Q502895))
action greater
action find_tuple_counts
relation P6
type Q486972
type Q502895
action count
action filter_type
action find
entity Q31487
relation P6
type Q486972
[ANSWERS] have greater number of people as their head of government than that human settlement
[{'concept': 'Q486972'}, 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t property:P6 ?o . ?t rdf:type ontology:Q486972 . ?o rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q31487 property:P6 ?j . ?j rdf:type ontology:Q486972 } } . FILTER ( ?e > ?x ) }
Hamburg Osnabrück Bremen Dornbirn Deggendorf Kraków Lesaka Bautzen St. Pölten Marieta-Larrínzar
Hamburg, Kraków and Osnabrück have greater number of people as their head of government than that human settlement
Hamburg Kraków Osnabrück
action greater
action find_tuple_counts
relation head of government
type human settlement
type common name
action count
action filter_type
action find
entity Kraków
relation head of government
type human settlement
[{'concept': 'human settlement'}, 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t property:head_of_government ?o . ?t rdf:type ontology:human_settlement . ?o rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Kraków property:head_of_government ?j . ?j rdf:type ontology:human_settlement } } . FILTER ( ?e > ?x ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1055 Q31487 Q2916
P159
Q43229
USER
Which organizations have HQ at Hamburg, Kraków and Osnabrück ?
(c(Q43229),P159,Q1055) (c(Q43229),P159,Q31487) (c(Q43229),P159,Q2916)
action union
action filter_type
action find_reverse
entity Q1055
relation P159
type Q43229
action filter_type
action find_reverse
entity Q31487
relation P159
type Q43229
action filter_type
action find_reverse
entity Q2916
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1055'] [{'concept': 'Q43229'}, 'P159', 'Q31487'] [{'concept': 'Q43229'}, 'P159', 'Q2916']
SELECT DISTINCT ?i WHERE { ?i property:P159 ?k . VALUES ( ?k ) { ( resource:Q1055 ) ( resource:Q31487 ) } }
Hamburg Kraków Osnabrück
action union
action filter_type
action find_reverse
entity Hamburg
relation headquarters location
type organization
action filter_type
action find_reverse
entity Kraków
relation headquarters location
type organization
action filter_type
action find_reverse
entity Osnabrück
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Hamburg'] [{'concept': 'organization'}, 'headquarters location', 'Kraków'] [{'concept': 'organization'}, 'headquarters location', 'Osnabrück']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location ?k . VALUES ( ?k ) { ( resource:Hamburg ) ( resource:Kraków ) } }
[]
organization
Q481536 Q692157 Q698588
SYSTEM
Gruner + Jahr, Experian, Karmann
Q315341 Q470412 Q1544765 Q565050 Q445331 Q15792263 Q670792 Q701755 Q565047 Q2155345 Q5420391 Q16834027 Q443211 Q564159 Q2313915 Q882326 Q317513 Q1521990 Q316438 Q5637158 Q1552142 Q1276871 Q1983678 Q7157960 Q568913 Q571036 Q474215 Q251269 Q2285066 Q184997 Q26753816 Q2698092 Q551068 Q18636314 Q820588 Q4646467 Q1562700 Q1805040 Q1424136 Q204914 Q452720 Q486013 Q819641 Q896916 Q1890510 Q1914459 Q1823289 Q692157 Q26821458 Q2408854 Q266805 Q881516 Q457043 Q834324 Q833296 Q564213 Q476185 Q686292 Q5644305 Q15264465 Q812813 Q704874 Q477459 Q1565979 Q884575 Q156391 Q18059901 Q320430 Q457241 Q790214 Q1537551 Q20659273 Q858167 Q1501972 Q2289460 Q457822 Q7865623 Q1486164 Q1902412 Q1234632 Q5513677 Q1341765 Q1025307 Q1670924 Q1039316 Q617425 Q2420728 Q1564563 Q464676 Q465340 Q2383552 Q2031232 Q4041468 Q5244167 Q4782902 Q889392 Q2050659 Q2248698 Q15790713 Q680214 Q1202400 Q1790744 Q819015 Q571206 Q2264100 Q5533852 Q1382629 Q1572939 Q2509637 Q1205205 Q459544 Q1430331 Q5675024 Q699413 Q1205242 Q460206 Q319358 Q5628631 Q571700 Q17148182 Q1613540 Q181192 Q879808 Q4918911 Q1099394 Q883523 Q1436034 Q870123 Q174891 Q2110449 Q142691 Q15813040 Q1156167 Q834282 Q481536 Q554198 Q1239746 Q321786 Q892852 Q1420368 Q22674528 Q832811 Q880703 Q6442 Q2263518 Q826106 Q9148678 Q7674527 Q7708592 Q26217890 Q2823852 Q18609984 Q7119773 Q7687954 Q6917091 Q15895866 Q3182097 Q9285897 Q314293 Q1817649 Q1602898 Q1131390 Q1742764 Q1018272 Q698588
(c(Q43229),P159,Q1055) (c(Q43229),P159,Q31487) (c(Q43229),P159,Q2916)
action union
action filter_type
action find_reverse
entity Q1055
relation P159
type Q43229
action filter_type
action find_reverse
entity Q31487
relation P159
type Q43229
action filter_type
action find_reverse
entity Q2916
relation P159
type Q43229
[ANSWERS] have HQ at Hamburg, Kraków and Osnabrück
[{'concept': 'Q43229'}, 'P159', 'Q1055'] [{'concept': 'Q43229'}, 'P159', 'Q31487'] [{'concept': 'Q43229'}, 'P159', 'Q2916']
SELECT DISTINCT ?i WHERE { ?i property:P159 ?k . VALUES ( ?k ) { ( resource:Q1055 ) ( resource:Q31487 ) } }
Tempo German Institute of Global and Area Studies Greenpeace Energy Hamburg Süd Replay Studios BDO AG Wirtschaftsprüfungsgesellschaft Berenberg Bank Edeka Hamburger Flugzeugbau Ritz Instrument Transformers Exit Games Crimson Cow Eppendorf SkySails Springer & Jacoby Blau Mobilfunk HHLA Hostsharing Deutsche Werft HackFwd Reiherstieg Schiffswerfte & Maschinenfabrik UFA Sports News aktuell PearC H. C. Stülcken Sohn Navigon Steria Hauni Maschinenbau AG Signal Iduna ZEIT-Stiftung Lotto24 Gamigo AG ThyssenKrupp Marine Systems Hansa Shipping Siemens Wind Power 9flats HADAG Seetouristik und Fährdienst tesa SE Reemtsma RWE Dea Germanischer Lloyd SE Aurubis Rotring Hamburger Verkehrsverbund Mankiewicz Gebr. & Co Mayfair Vermögensverwaltungs SE LichtBlick SE Experian Territory Thalia AKN Eisenbahn Ergo Lebensversicherung Senvion SE Körber Process Solutions Desitin Arzneimittel GmbH Tchibo Parship Steinberg Hamburg Institute for Social Research Argo Group Be Printers Group DaimlerChrysler Aerospace Qype HSL Logistik Hamburger Feuerkasse Steinway & Sons Kreditech Block House M. M. Warburg & Co. Avantis Goodgame Studios BP Europa SE Biesterfeld (company) Plath GmbH SinnerSchrader Fielmann URW++ Serviceplan Marquard & Bahls Lufthansa Technik GL Noble Denton Engel & Völkers Cadooz Jung von Matt Carl Kühne KG CIMPA Thielert KTG Agrar SE HSH Nordbank Dolmar TAG Tegernsee Immobilien und Beteiligung Swedish Africa Company Intenium DeWind Aquila Capital Bode Chemie Papier Union Scholz & Friends CAISSA Touristic Praktiker Deutsche Extrakt Kaffee Krüss Optronic Berendsohn Tom Tailor Securicor Genzsch & Heyse, A.G. Evotec Rudolf von Beckerath Orgelbau Valvo Deutscher Pressevertrieb Iglo Flowserve Hartmann & Weiss Nielsen Media Research Deutscher Ring Holsten Brewery Conergy H. Vogemann Nordex SE Trixon Drums Hermes Abrasives Stage Entertainment Phoenix AG Bito AG Clean Value Plastics ECE Projektmanagement TRIMET Aluminium SE Rofin-Sinar dtp entertainment Prinovis Montblanc Volksfürsorge Versicherungsgruppe DVV Media Group Royal Imtech N.V. Gruner + Jahr Bauer Media Group Toepfer International Körber bon prix Fischmarkt Hamburg-Altona C. Illies & Co. Kienzle Uhren Tesch & Stabenow Hamburger Hochbahn Seca GmbH Scandlines Alma Market Tadeusz Sendzimir Steelworks Teyon DreamLab AdRem Software, Inc. Koleje Małopolskie PMR Ltd Tate Interactive Mota-Engil Central Europe Institute for Strategic Studies InPost Jubilat NordWestBahn Lengermann und Trieschmann Hellmann Worldwide Logistics Coppenrath & Wiese Sievert Buw Holding Karmann
Gruner + Jahr, Experian and Karmann have HQ at Hamburg, Kraków and Osnabrück
Gruner + Jahr Experian Karmann
action union
action filter_type
action find_reverse
entity Hamburg
relation headquarters location
type organization
action filter_type
action find_reverse
entity Kraków
relation headquarters location
type organization
action filter_type
action find_reverse
entity Osnabrück
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Hamburg'] [{'concept': 'organization'}, 'headquarters location', 'Kraków'] [{'concept': 'organization'}, 'headquarters location', 'Osnabrück']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location ?k . VALUES ( ?k ) { ( resource:Hamburg ) ( resource:Kraków ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q481536 Q692157 Q698588
P17
Q1048835
USER
Which political territories do those organizations belong to ?
(Q481536,P17,c(Q1048835)) (Q692157,P17,c(Q1048835)) (Q698588,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q481536', 'P17', {'concept': 'Q1048835'}] ['Q692157', 'P17', {'concept': 'Q1048835'}] ['Q698588', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . VALUES ( ?i ) { ( resource:Q315341 ) ( resource:Q470412 ) ( resource:Q1544765 ) } . ?i property:P17 ?n }
Gruner + Jahr Experian Karmann
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Gruner + Jahr', 'country', {'concept': 'political territorial entity'}] ['Experian', 'country', {'concept': 'political territorial entity'}] ['Karmann', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . VALUES ( ?i ) { ( resource:Tempo ) ( resource:German_Institute_of_Global_and_Area_Studies ) ( resource:Greenpeace_Energy ) } . ?i property:country ?n }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q183 Q183
(Q481536,P17,c(Q1048835)) (Q692157,P17,c(Q1048835)) (Q698588,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
Those organizations belong to [ANSWER], [ANSWER] and [ANSWER]
['Q481536', 'P17', {'concept': 'Q1048835'}] ['Q692157', 'P17', {'concept': 'Q1048835'}] ['Q698588', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . VALUES ( ?i ) { ( resource:Q315341 ) ( resource:Q470412 ) ( resource:Q1544765 ) } . ?i property:P17 ?n }
Germany Germany Germany
Those organizations belong to Germany, Germany and Germany
Germany Germany Germany
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Gruner + Jahr', 'country', {'concept': 'political territorial entity'}] ['Experian', 'country', {'concept': 'political territorial entity'}] ['Karmann', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . VALUES ( ?i ) { ( resource:Tempo ) ( resource:German_Institute_of_Global_and_Area_Studies ) ( resource:Greenpeace_Energy ) } . ?i property:country ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q698588
P112
Q502895
USER
What is the name of the founder of Karmann ?
(Q698588,P112,c(Q502895))
action filter_type
action find
entity Q698588
relation P112
type Q502895
['Q698588', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q698588 property:P112 ?x . ?x rdf:type ontology:Q502895 }
Karmann
action filter_type
action find
entity Karmann
relation founder
type common name
['Karmann', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Karmann property:founder ?x . ?x rdf:type ontology:common_name }
[]
common name
Q91481
SYSTEM
Wilhelm Karmann
Q91481
(Q698588,P112,c(Q502895))
action filter_type
action find
entity Q698588
relation P112
type Q502895
The name of the founder of Karmann is Friedrich [ANSWER]
['Q698588', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q698588 property:P112 ?x . ?x rdf:type ontology:Q502895 }
Wilhelm Karmann
The name of the founder of Karmann is Friedrich Wilhelm Karmann
Wilhelm Karmann
action filter_type
action find
entity Karmann
relation founder
type common name
['Karmann', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Karmann property:founder ?x . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13142918 Q698588
P159
Q486972
USER
Which human settlements are the headquarter locations of Karmann or Spiegel-Verlag Rudolf Augstein GmbH & Co. KG ?
OR((Q698588,P159,c(Q486972)), (Q13142918,P159,c(Q486972)))
action filter_type
action union
action find
entity Q698588
relation P159
action find
entity Q13142918
relation P159
type Q486972
{'OR': [['Q698588', 'P159', {'concept': 'Q486972'}], ['Q13142918', 'P159', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q698588 property:P159 ?x } UNION { resource:Q13142918 property:P159 ?x } } . ?x rdf:type ontology:Q486972 }
Spiegel-Verlag Rudolf Augstein GmbH & Co. KG Karmann
action filter_type
action union
action find
entity Karmann
relation headquarters location
action find
entity Spiegel-Verlag Rudolf Augstein GmbH & Co. KG
relation headquarters location
type human settlement
{'OR': [['Karmann', 'headquarters location', {'concept': 'human settlement'}], ['Spiegel-Verlag Rudolf Augstein GmbH & Co. KG', 'headquarters location', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Karmann property:headquarters_location ?x } UNION { resource:Spiegel-Verlag_Rudolf_Augstein_GmbH_&_Co._KG property:headquarters_location ?x } } . ?x rdf:type ontology:human_settlement }
[]
human settlement
Q1055 Q2916
SYSTEM
Hamburg, Osnabrück
Q1055 Q2916
OR((Q698588,P159,c(Q486972)), (Q13142918,P159,c(Q486972)))
action filter_type
action union
action find
entity Q698588
relation P159
action find
entity Q13142918
relation P159
type Q486972
[ANSWERS] are the headquarter locations of Karmann or Spiegel-Verlag Rudolf Augstein GmbH & Co. KG
{'OR': [['Q698588', 'P159', {'concept': 'Q486972'}], ['Q13142918', 'P159', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q698588 property:P159 ?x } UNION { resource:Q13142918 property:P159 ?x } } . ?x rdf:type ontology:Q486972 }
Hamburg Osnabrück
Hamburg and Osnabrück are the headquarter locations of Karmann or Spiegel-Verlag Rudolf Augstein GmbH & Co. KG
Hamburg Osnabrück
action filter_type
action union
action find
entity Karmann
relation headquarters location
action find
entity Spiegel-Verlag Rudolf Augstein GmbH & Co. KG
relation headquarters location
type human settlement
{'OR': [['Karmann', 'headquarters location', {'concept': 'human settlement'}], ['Spiegel-Verlag Rudolf Augstein GmbH & Co. KG', 'headquarters location', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Karmann property:headquarters_location ?x } UNION { resource:Spiegel-Verlag_Rudolf_Augstein_GmbH_&_Co._KG property:headquarters_location ?x } } . ?x rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q1048835 Q486972
USER
Which political territories have around 1 human settlement have their first city ?
(c(Q486972),P1376,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
value 1
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P1376 ?n . ?n rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q486972 } GROUP BY ?n } }
action approx
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:capital_of ?n . ?n rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:human_settlement } GROUP BY ?n } }
[]
political territorial entity human settlement
Q10485 Q170672 Q35086
SYSTEM
Deggendorf, Dnipropetrovsk Oblast, South Georgia and the South Sandwich Islands
Q7130037 Q3321945 Q10500690 Q3317759 Q3312902 Q2702993 Q6156 Q10469 Q10462 Q10466 Q971457 Q2846059 Q6319070 Q2718534 Q6319759 Q3313430 Q5088519 Q6318695 Q3826003 Q7258563 Q8050384 Q3314201 Q1468315 Q7414539 Q1769672 Q1229942 Q5444794 Q593806 Q201697 Q7827062 Q4694508 Q170672 Q3824193 Q571947 Q48106 Q2307775 Q5856660 Q2697637 Q10480 Q10485 Q6013498 Q5924968 Q35086
(c(Q486972),P1376,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
value 1
[ANSWERS] have around 1 human settlement have their first city
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P1376 ?n . ?n rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q486972 } GROUP BY ?n } }
Panao District Acarí District San Miguel District Putumayo District Coya District Haquira District Oberspreewald-Lausitz Main-Spessart Haßberge Bad Kissingen Lunahuaná District Andahuaylillas District Magdalena de Cao District Lurigancho Sicaya District Antioquia District Chavinillo District Pimentel Chucuito District Puerto Inca District Yavari District Achoma District Pozuzo District San José de Sisa District La Sotonera La Jalca District Fernando Lores District Llata District Leimebamba District Torres Causana District Aguas Verdes Dnipropetrovsk Oblast Querobamba District Bautzen Suhl District Sepahua Mito District San Marcos District Dingolfing-Landau Deggendorf Inambari Huacaybamba South Georgia and the South Sandwich Islands
Deggendorf, Dnipropetrovsk Oblast and South Georgia and the South Sandwich Islands have around 1 human settlement have their first city
Deggendorf Dnipropetrovsk Oblast South Georgia and the South Sandwich Islands
action approx
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
value 1
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:capital_of ?n . ?n rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:human_settlement } GROUP BY ?n } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P190
Q515 Q15617994 Q1048835
USER
Which political territories are twin town of approximately 2 cities and administrative territories ?
(c(Q1048835),P190,c(Q515)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q515
action find_tuple_counts
relation P190
type Q1048835
type Q15617994
value 2
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q515'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?o WHERE { { ?o property:P190 ?m . ?o rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q515 } UNION { ?o property:P190 ?m . ?o rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?n = 2 ) }
action approx
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 designation for an administrative territorial entity
value 2
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'city'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?o WHERE { { ?o property:sister_city ?m . ?o rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:city } UNION { ?o property:sister_city ?m . ?o rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?n = 2 ) }
[]
city designation for an administrative territorial entity political territorial entity
Q5826 Q11746 Q825883
SYSTEM
Xi'an, Wuhan, Valls
Q207111 Q842713 Q168376 Q11746 Q13521 Q798747 Q170247 Q92161 Q825883 Q74881 Q15626 Q5826 Q192387 Q47593
(c(Q1048835),P190,c(Q515)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P190
type Q1048835
type Q515
action find_tuple_counts
relation P190
type Q1048835
type Q15617994
value 2
[ANSWERS] are twin town of approximately 2 cities and administrative territories
[{'concept': 'Q1048835'}, 'P190', [{'concept': 'Q515'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?o WHERE { { ?o property:P190 ?m . ?o rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q515 } UNION { ?o property:P190 ?m . ?o rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?n = 2 ) }
North Lanarkshire Itajaí Vitória Wuhan Sant Feliu de Guíxols Mondorf-les-Bains Jinan Changchun Valls Dalian Olesa de Montserrat Xi'an Londrina Belém
Xi'an, Wuhan and Valls are twin town of approximately 2 cities and administrative territories
Xi'an Wuhan Valls
action approx
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 designation for an administrative territorial entity
value 2
[{'concept': 'political territorial entity'}, 'sister city', [{'concept': 'city'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) ?o WHERE { { ?o property:sister_city ?m . ?o rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:city } UNION { ?o property:sister_city ?m . ?o rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?n = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q39
P530
Q1048835 Q15617994
USER
How many administrative territories have ambassadorial relations with greater number of political territories than Switzerland ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Q39 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?w ) WHERE { ?r property:P530 ?t . ?r rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?r } }
Switzerland
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Switzerland property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?w ) WHERE { ?r property:diplomatic_relation ?t . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?r } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q155 Q38 Q230 Q953
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Q39 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?w ) WHERE { ?r property:P530 ?t . ?r rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } GROUP BY ?r } }
Brazil Italy Georgia Zambia
4
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Switzerland property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?w ) WHERE { ?r property:diplomatic_relation ?t . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q657
P530
Q1048835 Q15617994
USER
And what about Chad?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q657
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?h ) WHERE { ?s property:P530 ?z . ?z rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q657 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?o ) }
Chad
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Chad
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?h ) WHERE { ?s property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Chad property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?o ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
84
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q736 Q230 Q233 Q20 Q1041 Q27 Q843 Q184 Q1029 Q1028 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q657
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?h ) WHERE { ?s property:P530 ?z . ?z rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Q657 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?o ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Georgia Malta Norway Senegal Ireland Pakistan Belarus Mozambique Morocco Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
84
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Chad
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?h ) WHERE { ?s property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { resource:Chad property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?o ) }
[]