Simple Question (Direct)
Simple Question
Q44194
P54
Q1194951
USER
Which national sports teams are Sepp Maier a member of ?
(Q44194,P54,c(Q1194951))
action filter_type
action find
entity Q44194
relation P54
type Q1194951
['Q44194', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q44194 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Sepp Maier
action filter_type
action find
entity Sepp Maier
relation member of sports team
type national sports team
['Sepp Maier', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Sepp_Maier property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
national sports team
Q43310 Q1202771
SYSTEM
Germany national football team, Germany national amateur football team
Q43310 Q1202771
(Q44194,P54,c(Q1194951))
action filter_type
action find
entity Q44194
relation P54
type Q1194951
The [ANSWERS] are Sepp Maier a member of
['Q44194', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q44194 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Germany national football team Germany national amateur football team
The Germany national football team and Germany national amateur football team are Sepp Maier a member of
Germany national football team Germany national amateur football team
action filter_type
action find
entity Sepp Maier
relation member of sports team
type national sports team
['Sepp Maier', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Sepp_Maier property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q44194
P1344
Q1375427
USER
Which European Championships did that person compete in ?
(Q43310,P1344,c(Q1375427)) (Q1202771,P1344,c(Q1375427))
action filter_type
action find
entity Q44194
relation P1344
type Q1375427
['Q43310', 'P1344', {'concept': 'Q1375427'}] ['Q1202771', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?w WHERE { resource:Q44194 property:P1344 ?w . ?w rdf:type ontology:Q1375427 }
Sepp Maier
action filter_type
action find
entity Sepp Maier
relation participant of
type European Championship
['Germany national football team', 'participant of', {'concept': 'European Championship'}] ['Germany national amateur football team', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?w WHERE { resource:Sepp_Maier property:participant_of ?w . ?w rdf:type ontology:European_Championship }
[]
European Championship
Q188548 Q182386
SYSTEM
UEFA Euro 1976, UEFA Euro 1972
Q188548 Q182386
(Q43310,P1344,c(Q1375427)) (Q1202771,P1344,c(Q1375427))
action filter_type
action find
entity Q44194
relation P1344
type Q1375427
That person competed in [ANSWERS]
['Q43310', 'P1344', {'concept': 'Q1375427'}] ['Q1202771', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?w WHERE { resource:Q44194 property:P1344 ?w . ?w rdf:type ontology:Q1375427 }
UEFA Euro 1976 UEFA Euro 1972
That person competed in UEFA Euro 1976 and UEFA Euro 1972
UEFA Euro 1976 UEFA Euro 1972
action filter_type
action find
entity Sepp Maier
relation participant of
type European Championship
['Germany national football team', 'participant of', {'concept': 'European Championship'}] ['Germany national amateur football team', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?w WHERE { resource:Sepp_Maier property:participant_of ?w . ?w rdf:type ontology:European_Championship }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q188548 Q182386
P1344
Q502895
USER
Who took part in those European Championships ?
(c(Q502895),P1344,Q188548) (c(Q502895),P1344,Q182386)
action filter_type
action find_reverse
entity prev_answer
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q188548'] [{'concept': 'Q502895'}, 'P1344', 'Q182386']
SELECT DISTINCT ?u WHERE { ?u property:P1344 ?b . ?u rdf:type ontology:Q502895 . VALUES ( ?b ) { ( resource:Q188548 ) ( resource:Q182386 ) } }
UEFA Euro 1976 UEFA Euro 1972
action filter_type
action find_reverse
entity prev_answer
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'UEFA Euro 1976'] [{'concept': 'common name'}, 'participant of', 'UEFA Euro 1972']
SELECT DISTINCT ?u WHERE { ?u property:participant_of ?b . ?u rdf:type ontology:common_name . VALUES ( ?b ) { ( resource:UEFA_Euro_1976 ) ( resource:UEFA_Euro_1972 ) } }
[]
common name
Q44340 Q44340 Q4457
SYSTEM
Franz Beckenbauer for 3rd, Uli Hoeneß for 1st, 2nd
Q44820 Q44858 Q769601 Q297608 Q1332615 Q931742 Q591773 Q370636 Q561690 Q706838 Q925663 Q44951 Q544364 Q463933 Q919764 Q204978 Q17163 Q313382 Q1268168 Q176032 Q455150 Q132322 Q1373310 Q2660669 Q1284430 Q1363904 Q44340 Q958158 Q695256 Q657207 Q374824 Q657254 Q1345890 Q592314 Q169043 Q375811 Q233819 Q376542 Q704308 Q701934 Q353017 Q311393 Q297357 Q1710105 Q750889 Q2421359 Q2659398 Q768534 Q1350151 Q741452 Q715882 Q459374 Q440417 Q60417 Q2621739 Q366577 Q522757 Q546472 Q568289 Q945306 Q717275 Q725810 Q955442 Q4457 Q297622 Q2571004 Q640167 Q383106 Q433040 Q540306 Q2006897 Q2734290 Q1342050 Q44194 Q718084 Q1383224 Q2205632 Q1342548 Q1539927 Q828203 Q503281 Q313180 Q2615725 Q44820 Q2535166 Q386400 Q152107 Q1370315 Q2528750 Q44951 Q695307 Q2696244 Q678014 Q852818 Q2704617 Q44917 Q2143602 Q1079731 Q492588 Q1373310 Q265579 Q44340 Q2707483 Q2427778 Q2704545 Q452815 Q44458 Q839936 Q62089 Q2635897 Q507018 Q219356 Q969342 Q201534 Q487655 Q2309038 Q838724 Q625202 Q2499150 Q43744 Q505919 Q646137 Q650181 Q361244 Q74631 Q778127 Q902588 Q362322 Q2707021 Q969248 Q2526747 Q4457 Q383106 Q631924 Q937696 Q902620 Q978248 Q629960 Q44326 Q940172 Q838853 Q44194 Q2532110 Q901001 Q599655 Q702406 Q3057579 Q2414656 Q828203 Q2389986 Q2479429 Q1359426 Q2663529 Q2099759 Q763967 Q746196
(c(Q502895),P1344,Q188548) (c(Q502895),P1344,Q182386)
action filter_type
action find_reverse
entity prev_answer
relation P1344
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1344', 'Q188548'] [{'concept': 'Q502895'}, 'P1344', 'Q182386']
SELECT DISTINCT ?u WHERE { ?u property:P1344 ?b . ?u rdf:type ontology:Q502895 . VALUES ( ?b ) { ( resource:Q188548 ) ( resource:Q182386 ) } }
Hans-Georg Schwarzenbeck Bernd Hölzenbein Přemysl Bičovský René van de Kerkhof Ján Švehlík Danilo Popivoda George Knobel Piet Schrijvers Luka Peruzović Wim Rijsbergen Ján Pivarník Rainer Bonhof Wim Suurbier Vahid Halilhodžić Jan Peters Antonín Panenka Johan Cruyff Johnny Rep Dušan Galis Rudolf Kargus Heinz Flohe Alexander Vencel Helmut Schön Ognjen Petrović Edhem Šljivo Wim Meutstege Uli Hoeneß František Veselý Ronald Worm Peter Nogly Ivo Viktor Dietmar Danner Enver Hadžiabdić Anton Ondruš Zdeněk Nehoda Branko Oblak Johan Neeskens Adrie van Kraay Bernard Dietz Ivan Buljan Willem van Hanegem Rob Rensenbrink Dragan Džajić Jozef Čapkovič Koloman Gögh Ladislav Petráš Franjo Vladić Jurica Jerković Jan Ruiter Jaroslav Pollák Enver Marić Ruud Geels Kees Kist Dieter Müller Momčilo Vukotić Manfred Kaltz Slaviša Žungul Erich Beer Hans Bongartz Marián Masný Ivica Šurjak Karol Dobiaš Jovan Aćimović Franz Beckenbauer Willy van de Kerkhof Dušan Herda Ante Mladinić Herbert Wimmer Jan Jongbloed Jozef Móder Josip Katalinski Pavol Biroš František Štambachr Sepp Maier Dražen Mužinić Ladislav Jurkemik Václav Ježek Jozef Barmoš Peter Arntz Berti Vogts Wim Jansen Ruud Krol Frans Janssens Hans-Georg Schwarzenbeck Revaz Dzodzuashvili Maurice Martens Jupp Heynckes Jean Dockx Viktor Kolotov Rainer Bonhof Wolfgang Kleff Luc Sanders Erwin Kremers László Bálint Vladimir Pilguy Jürgen Grabowski Jan Verheyen Miklós Páncsics Michael Bella Helmut Schön Lajos Kű Uli Hoeneß Viktor Matviyenko Jacques Teugels Volodymyr Troshkin Raymond Goethals Paul Breitner Imre Rapp Horst Köppel Anatoly Baidachny Antal Dunai Raoul Lambert Volodymyr Onyshchenko Flórián Albert Anatoliy Banishevskiy Gilbert Van Binst Sándor Zámbó Oleg Dolmatov Georges Heylens Gerd Müller Horst-Dieter Höttges Johnny Thio István Szőke Ferenc Bene Léon Semmeling Tibor Fábián Péter Juhász Paul Van Himst Jean Thissen Volodymyr Muntyan Aleksandr Ponomarev Franz Beckenbauer Herbert Wimmer Mihály Kozma Lajos Szűcs József Kovács Yuriy Istomin Anatoliy Konkov Günter Netzer Yevhen Rudakov István Juhász Sepp Maier Givi Nodia Rudolf Illovszky Murtaz Khurtsilava Hannes Löhr Erwin Vandendaele Volodymyr Kaplychnyi Berti Vogts Christian Piot Nikolay Abramov Odilon Polleunis Eduard Kozynkevych Léon Dolmans Lajos Kocsis István Géczi
Uli Hoeneß, Uli Hoeneß and Franz Beckenbauer took part in those European Championships
Uli Hoeneß Uli Hoeneß Franz Beckenbauer
action filter_type
action find_reverse
entity prev_answer
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'UEFA Euro 1976'] [{'concept': 'common name'}, 'participant of', 'UEFA Euro 1972']
SELECT DISTINCT ?u WHERE { ?u property:participant_of ?b . ?u rdf:type ontology:common_name . VALUES ( ?b ) { ( resource:UEFA_Euro_1976 ) ( resource:UEFA_Euro_1972 ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q44340
P7
Q502895
USER
Which person has that one as their brother ?
(c(Q502895),P7,Q44340)
action filter_type
action find
entity Q44340
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q44340']
SELECT DISTINCT ?d WHERE { resource:Q44340 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Uli Hoeneß
action filter_type
action find
entity Uli Hoeneß
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Uli Hoeneß']
SELECT DISTINCT ?d WHERE { resource:Uli_Hoeneß property:brother ?d . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q44340
SYSTEM
Did you mean Uli Hoeneß ?
Q44340 Q44340 Q4457
(c(Q502895),P7,Q44340) (c(Q502895),P7,Q44340) (c(Q502895),P7,Q4457)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q44340'] [{'concept': 'Q502895'}, 'P7', 'Q44340'] [{'concept': 'Q502895'}, 'P7', 'Q4457']
SELECT DISTINCT ?d WHERE { resource:Q44340 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Uli Hoeneß Uli Hoeneß Franz Beckenbauer
Did you mean Uli Hoeneß ?
Uli Hoeneß
[{'concept': 'common name'}, 'brother', 'Uli Hoeneß'] [{'concept': 'common name'}, 'brother', 'Uli Hoeneß'] [{'concept': 'common name'}, 'brother', 'Franz Beckenbauer']
SELECT DISTINCT ?d WHERE { resource:Uli_Hoeneß property:brother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P7,Q44340)
[{'concept': 'Q502895'}, 'P7', 'Q44340']
[{'concept': 'common name'}, 'brother', 'Uli Hoeneß']
[]
Q60414
SYSTEM
Dieter Hoeneß
Q60414
(c(Q502895),P7,Q44340)
action filter_type
action find
entity Q44340
relation P7
type Q502895
[ANSWER] has that one as their brother
[{'concept': 'Q502895'}, 'P7', 'Q44340']
SELECT DISTINCT ?d WHERE { resource:Q44340 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Dieter Hoeneß
Dieter Hoeneß has that one as their brother
Dieter Hoeneß
action filter_type
action find
entity Uli Hoeneß
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Uli Hoeneß']
SELECT DISTINCT ?d WHERE { resource:Uli_Hoeneß property:brother ?d . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7649823 Q182386
P17
Q15617994
USER
Which administrative territories are UEFA Euro 1972 or Susuz, Vezirköprü a part of ?
OR((Q182386,P17,c(Q15617994)), (Q7649823,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q182386
relation P17
action find
entity Q7649823
relation P17
type Q15617994
{'OR': [['Q182386', 'P17', {'concept': 'Q15617994'}], ['Q7649823', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q182386 property:P17 ?m } UNION { resource:Q7649823 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Susuz, Vezirköprü UEFA Euro 1972
action filter_type
action union
action find
entity UEFA Euro 1972
relation country
action find
entity Susuz, Vezirköprü
relation country
type designation for an administrative territorial entity
{'OR': [['UEFA Euro 1972', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Susuz, Vezirköprü', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:UEFA_Euro_1972 property:country ?m } UNION { resource:Susuz,_Vezirköprü property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q43
SYSTEM
Belgium, Turkey
Q31 Q43
OR((Q182386,P17,c(Q15617994)), (Q7649823,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q182386
relation P17
action find
entity Q7649823
relation P17
type Q15617994
[ANSWERS] are UEFA Euro 1972 or Susuz, Vezirköprü a part of
{'OR': [['Q182386', 'P17', {'concept': 'Q15617994'}], ['Q7649823', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q182386 property:P17 ?m } UNION { resource:Q7649823 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Belgium Turkey
Belgium and Turkey are UEFA Euro 1972 or Susuz, Vezirköprü a part of
Belgium Turkey
action filter_type
action union
action find
entity UEFA Euro 1972
relation country
action find
entity Susuz, Vezirköprü
relation country
type designation for an administrative territorial entity
{'OR': [['UEFA Euro 1972', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Susuz, Vezirköprü', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:UEFA_Euro_1972 property:country ?m } UNION { resource:Susuz,_Vezirköprü property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1601831 Q44340
P47 P27
Q1048835
USER
Which political territories are the countries of citizenship of Uli Hoeneß or share border with Burgohondo ?
OR((Q44340,P27,c(Q1048835)), (Q1601831,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q44340
relation P27
action find
entity Q1601831
relation P47
type Q1048835
{'OR': [['Q44340', 'P27', {'concept': 'Q1048835'}], ['Q1601831', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . { { resource:Q44340 property:P27 ?l } UNION { resource:Q1601831 property:P47 ?l } } }
Burgohondo Uli Hoeneß
action filter_type
action union
action find
entity Uli Hoeneß
relation country of citizenship
action find
entity Burgohondo
relation shares border with
type political territorial entity
{'OR': [['Uli Hoeneß', 'country of citizenship', {'concept': 'political territorial entity'}], ['Burgohondo', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . { { resource:Uli_Hoeneß property:country_of_citizenship ?l } UNION { resource:Burgohondo property:shares_border_with ?l } } }
[]
political territorial entity
Q1445437 Q1632355 Q183 Q1406656 Q1630594 Q383732 Q1645649 Q1607872 Q1632723 Q1631128
SYSTEM
Casavieja, Navatalgordo, Germany, Navaluenga, San Juan del Molinillo, Villanueva de Ávila, Mijares, Piedralaves, Navalmoral, Navarredondilla
Q1445437 Q1632355 Q183 Q1406656 Q1630594 Q383732 Q1645649 Q1607872 Q1632723 Q1631128
OR((Q44340,P27,c(Q1048835)), (Q1601831,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q44340
relation P27
action find
entity Q1601831
relation P47
type Q1048835
[ANSWERS] are the countries of citizenship of Uli Hoeneß or share border with Burgohondo
{'OR': [['Q44340', 'P27', {'concept': 'Q1048835'}], ['Q1601831', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . { { resource:Q44340 property:P27 ?l } UNION { resource:Q1601831 property:P47 ?l } } }
Casavieja Navatalgordo Germany Navaluenga San Juan del Molinillo Villanueva de Ávila Mijares Piedralaves Navalmoral Navarredondilla
Casavieja, Navatalgordo, Germany, Navaluenga, San Juan del Molinillo, Villanueva de Ávila, Mijares, Piedralaves, Navalmoral and Navarredondilla are the countries of citizenship of Uli Hoeneß or share border with Burgohondo
Casavieja Navatalgordo Germany Navaluenga San Juan del Molinillo Villanueva de Ávila Mijares Piedralaves Navalmoral Navarredondilla
action filter_type
action union
action find
entity Uli Hoeneß
relation country of citizenship
action find
entity Burgohondo
relation shares border with
type political territorial entity
{'OR': [['Uli Hoeneß', 'country of citizenship', {'concept': 'political territorial entity'}], ['Burgohondo', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . { { resource:Uli_Hoeneß property:country_of_citizenship ?l } UNION { resource:Burgohondo property:shares_border_with ?l } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1601831 Q6711257
P17
Q15617994
USER
How many administrative territories are Burgohondo or Líbano, Argentina located in ?
(Q1601831,P17,c(Q15617994)) (Q6711257,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1601831
relation P17
type Q15617994
action filter_type
action find
entity Q6711257
relation P17
type Q15617994
['Q1601831', 'P17', {'concept': 'Q15617994'}] ['Q6711257', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { VALUES ( ?t ) { ( resource:Q1601831 ) ( resource:Q6711257 ) } . ?t property:P17 ?e }
Burgohondo Líbano, Argentina
action count
action union
action filter_type
action find
entity Burgohondo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Líbano, Argentina
relation country
type designation for an administrative territorial entity
['Burgohondo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Líbano, Argentina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { VALUES ( ?t ) { ( resource:Burgohondo ) ( resource:Líbano,_Argentina ) } . ?t property:country ?e }
[]
designation for an administrative territorial entity
SYSTEM
2
Q29 Q414
(Q1601831,P17,c(Q15617994)) (Q6711257,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1601831
relation P17
type Q15617994
action filter_type
action find
entity Q6711257
relation P17
type Q15617994
[ANSWER]
['Q1601831', 'P17', {'concept': 'Q15617994'}] ['Q6711257', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { VALUES ( ?t ) { ( resource:Q1601831 ) ( resource:Q6711257 ) } . ?t property:P17 ?e }
Spain Argentina
2
action count
action union
action filter_type
action find
entity Burgohondo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Líbano, Argentina
relation country
type designation for an administrative territorial entity
['Burgohondo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Líbano, Argentina', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { VALUES ( ?t ) { ( resource:Burgohondo ) ( resource:Líbano,_Argentina ) } . ?t property:country ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have tactful political relations with approximately 4 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 4
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?v ) WHERE { ?j property:P530 ?d . ?j rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q1048835 } GROUP BY ?j } . FILTER ( ?v = 4 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 4
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?v ) WHERE { ?j property:diplomatic_relation ?d . ?j rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?j } . FILTER ( ?v = 4 ) }
[]
political territorial entity political territorial entity
SYSTEM
5
Q40 Q183 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 4
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?v ) WHERE { ?j property:P530 ?d . ?j rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q1048835 } GROUP BY ?j } . FILTER ( ?v = 4 ) }
Austria Germany Denmark Canada New Zealand
5
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 4
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?v ) WHERE { ?j property:diplomatic_relation ?d . ?j rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?j } . FILTER ( ?v = 4 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q882738
P463
Q484652
USER
How many international organizations had Germany or Landtag of Mecklenburg-Vorpommern as their member ?
(Q183,P463,c(Q484652)) (Q882738,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q183
relation P463
type Q484652
action filter_type
action find
entity Q882738
relation P463
type Q484652
['Q183', 'P463', {'concept': 'Q484652'}] ['Q882738', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { resource:Q183 property:P463 ?i . ?i rdf:type ontology:Q484652 } UNION { resource:Q882738 property:P463 ?i . ?i rdf:type ontology:Q484652 } }
Germany Landtag of Mecklenburg-Vorpommern
action count
action union
action filter_type
action find
entity Germany
relation member of
type international organization
action filter_type
action find
entity Landtag of Mecklenburg-Vorpommern
relation member of
type international organization
['Germany', 'member of', {'concept': 'international organization'}] ['Landtag of Mecklenburg-Vorpommern', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { resource:Germany property:member_of ?i . ?i rdf:type ontology:international_organization } UNION { resource:Landtag_of_Mecklenburg-Vorpommern property:member_of ?i . ?i rdf:type ontology:international_organization } }
[]
international organization
SYSTEM
18
Q81299 Q789769 Q1065 Q19771 Q54129 Q188822 Q17495 Q566397 Q170424 Q42262 Q15837827 Q7184 Q37143 Q7164 Q201054 Q7804 Q842490 Q1043527
(Q183,P463,c(Q484652)) (Q882738,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q183
relation P463
type Q484652
action filter_type
action find
entity Q882738
relation P463
type Q484652
[ANSWER]
['Q183', 'P463', {'concept': 'Q484652'}] ['Q882738', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { resource:Q183 property:P463 ?i . ?i rdf:type ontology:Q484652 } UNION { resource:Q882738 property:P463 ?i . ?i rdf:type ontology:Q484652 } }
Organization for Security and Co-operation in Europe Council of the Baltic Sea States United Nations G20 International Labour Organization Asian Development Bank Universal Postal Union Weimar Triangle World Meteorological Organization European Space Agency Baltic Sea Parliamentary Conference North Atlantic Treaty Organisation G8 World Bank International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons Multilateral Investment Guarantee Agency
18
action count
action union
action filter_type
action find
entity Germany
relation member of
type international organization
action filter_type
action find
entity Landtag of Mecklenburg-Vorpommern
relation member of
type international organization
['Germany', 'member of', {'concept': 'international organization'}] ['Landtag of Mecklenburg-Vorpommern', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { resource:Germany property:member_of ?i . ?i rdf:type ontology:international_organization } UNION { resource:Landtag_of_Mecklenburg-Vorpommern property:member_of ?i . ?i rdf:type ontology:international_organization } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q31
P47
Q15617994
USER
How many administrative territories are adjacent to Belgium ?
(Q31,P47,c(Q15617994))
action count
action filter_type
action find
entity Q31
relation P47
type Q15617994
['Q31', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Q31 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
Belgium
action count
action filter_type
action find
entity Belgium
relation shares border with
type designation for an administrative territorial entity
['Belgium', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Belgium property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q142 Q32 Q29999
(Q31,P47,c(Q15617994))
action count
action filter_type
action find
entity Q31
relation P47
type Q15617994
[ANSWER]
['Q31', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Q31 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
France Luxembourg Kingdom of the Netherlands
3
action count
action filter_type
action find
entity Belgium
relation shares border with
type designation for an administrative territorial entity
['Belgium', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { resource:Belgium property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31
P6
Q502895
USER
Who is the head of the government of Belgium ?
(Q31,P6,c(Q502895))
action filter_type
action find
entity Q31
relation P6
type Q502895
['Q31', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q31 property:P6 ?p }
Belgium
action filter_type
action find
entity Belgium
relation head of government
type common name
['Belgium', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Belgium property:head_of_government ?p }
[]
common name
Q950958
SYSTEM
Charles Michel
Q950958
(Q31,P6,c(Q502895))
action filter_type
action find
entity Q31
relation P6
type Q502895
The head of the government of Belgium is Prince [ANSWER]
['Q31', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q31 property:P6 ?p }
Charles Michel
The head of the government of Belgium is Prince Charles Michel
Charles Michel
action filter_type
action find
entity Belgium
relation head of government
type common name
['Belgium', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Belgium property:head_of_government ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q950958
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q950958,P102,c(Q7210356))
action filter_type
action find
entity Q950958
relation P102
type Q7210356
['Q950958', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q950958 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Charles Michel
action filter_type
action find
entity Charles Michel
relation member of political party
type political organization
['Charles Michel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Charles_Michel property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q533384
SYSTEM
Reform Movement
Q533384
(Q950958,P102,c(Q7210356))
action filter_type
action find
entity Q950958
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q950958', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q950958 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Reform Movement
That person is affiliated with Reform Movement
Reform Movement
action filter_type
action find
entity Charles Michel
relation member of political party
type political organization
['Charles Michel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Charles_Michel property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]