Simple Question (Direct)
Simple Question
Q13489553
P102
Q7278
USER
Which political party is Anneke Graner a member of ?
(Q13489553,P102,c(Q7278))
action filter_type
action find
entity Q13489553
relation P102
type Q7278
['Q13489553', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7278 . resource:Q13489553 property:P102 ?j }
Anneke Graner
action filter_type
action find
entity Anneke Graner
relation member of political party
type political party
['Anneke Graner', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_party . resource:Anneke_Graner property:member_of_political_party ?j }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q13489553,P102,c(Q7278))
action filter_type
action find
entity Q13489553
relation P102
type Q7278
Party [ANSWER] is Anneke Graner a member of
['Q13489553', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7278 . resource:Q13489553 property:P102 ?j }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Anneke Graner a member of
Social Democratic Party of Germany
action filter_type
action find
entity Anneke Graner
relation member of political party
type political party
['Anneke Graner', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_party . resource:Anneke_Graner property:member_of_political_party ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13489553
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q49768,P39,c(Q12737077))
action filter_type
action find
entity Q13489553
relation P39
type Q12737077
['Q49768', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q13489553 property:P39 ?p }
Anneke Graner
action filter_type
action find
entity Anneke Graner
relation position held
type occupation
['Social Democratic Party of Germany', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Anneke_Graner property:position_held ?p }
[]
occupation
Q17481175
SYSTEM
Member of the Landtag of Baden-Württemberg
Q17481175
(Q49768,P39,c(Q12737077))
action filter_type
action find
entity Q13489553
relation P39
type Q12737077
Elections [ANSWER]
['Q49768', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q13489553 property:P39 ?p }
Member of the Landtag of Baden-Württemberg
Elections Member of the Landtag of Baden-Württemberg
Member of the Landtag of Baden-Württemberg
action filter_type
action find
entity Anneke Graner
relation position held
type occupation
['Social Democratic Party of Germany', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Anneke_Graner property:position_held ?p }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1998550 Q17481175
P47 P17
Q1048835
USER
Which political territories are Member of the Landtag of Baden-Württemberg a part of or are bordered by Chulilla ?
OR((Q17481175,P17,c(Q1048835)), (Q1998550,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q17481175
relation P17
action find
entity Q1998550
relation P47
type Q1048835
{'OR': [['Q17481175', 'P17', {'concept': 'Q1048835'}], ['Q1998550', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1998550 property:P47 ?l } UNION { resource:Q17481175 property:P17 ?l } } . ?l rdf:type ontology:Q1048835 }
Chulilla Member of the Landtag of Baden-Württemberg
action filter_type
action union
action find
entity Member of the Landtag of Baden-Württemberg
relation country
action find
entity Chulilla
relation shares border with
type political territorial entity
{'OR': [['Member of the Landtag of Baden-Württemberg', 'country', {'concept': 'political territorial entity'}], ['Chulilla', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Chulilla property:shares_border_with ?l } UNION { resource:Member_of_the_Landtag_of_Baden-Württemberg property:country ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q472307 Q183 Q23067 Q2269866 Q574179 Q3548 Q1531605 Q2041849
SYSTEM
Bugarra, Germany, Liria, Losa del Obispo, Gestalgar, Villar del Arzobispo, Sot de Chera, Loriguilla
Q472307 Q183 Q23067 Q2269866 Q574179 Q3548 Q1531605 Q2041849
OR((Q17481175,P17,c(Q1048835)), (Q1998550,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q17481175
relation P17
action find
entity Q1998550
relation P47
type Q1048835
[ANSWERS] are Member of the Landtag of Baden-Württemberg a part of or are bordered by Chulilla
{'OR': [['Q17481175', 'P17', {'concept': 'Q1048835'}], ['Q1998550', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q1998550 property:P47 ?l } UNION { resource:Q17481175 property:P17 ?l } } . ?l rdf:type ontology:Q1048835 }
Bugarra Germany Liria Losa del Obispo Gestalgar Villar del Arzobispo Sot de Chera Loriguilla
Bugarra, Germany, Liria, Losa del Obispo, Gestalgar, Villar del Arzobispo, Sot de Chera and Loriguilla are Member of the Landtag of Baden-Württemberg a part of or are bordered by Chulilla
Bugarra Germany Liria Losa del Obispo Gestalgar Villar del Arzobispo Sot de Chera Loriguilla
action filter_type
action union
action find
entity Member of the Landtag of Baden-Württemberg
relation country
action find
entity Chulilla
relation shares border with
type political territorial entity
{'OR': [['Member of the Landtag of Baden-Württemberg', 'country', {'concept': 'political territorial entity'}], ['Chulilla', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Chulilla property:shares_border_with ?l } UNION { resource:Member_of_the_Landtag_of_Baden-Württemberg property:country ?l } } . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q472307 Q183 Q23067 Q2269866 Q574179 Q3548 Q1531605 Q2041849
P6
Q502895
USER
Who are the heads of the government of those political territories ?
(Q472307,P6,c(Q502895)) (Q183,P6,c(Q502895)) (Q23067,P6,c(Q502895)) (Q2269866,P6,c(Q502895)) (Q574179,P6,c(Q502895)) (Q3548,P6,c(Q502895)) (Q1531605,P6,c(Q502895)) (Q2041849,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q472307', 'P6', {'concept': 'Q502895'}] ['Q183', 'P6', {'concept': 'Q502895'}] ['Q23067', 'P6', {'concept': 'Q502895'}] ['Q2269866', 'P6', {'concept': 'Q502895'}] ['Q574179', 'P6', {'concept': 'Q502895'}] ['Q3548', 'P6', {'concept': 'Q502895'}] ['Q1531605', 'P6', {'concept': 'Q502895'}] ['Q2041849', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?k property:P6 ?p . VALUES ( ?k ) { ( resource:Q472307 ) ( resource:Q183 ) ( resource:Q23067 ) } }
Bugarra Germany Liria Losa del Obispo Gestalgar Villar del Arzobispo Sot de Chera Loriguilla
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Bugarra', 'head of government', {'concept': 'common name'}] ['Germany', 'head of government', {'concept': 'common name'}] ['Liria', 'head of government', {'concept': 'common name'}] ['Losa del Obispo', 'head of government', {'concept': 'common name'}] ['Gestalgar', 'head of government', {'concept': 'common name'}] ['Villar del Arzobispo', 'head of government', {'concept': 'common name'}] ['Sot de Chera', 'head of government', {'concept': 'common name'}] ['Loriguilla', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?k property:head_of_government ?p . VALUES ( ?k ) { ( resource:Bugarra ) ( resource:Germany ) ( resource:Liria ) } }
[]
common name
Q2492 Q2514 Q567
SYSTEM
Konrad Adenauer, Willy Brandt, Angela Merkel
Q14135724 Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2571 Q2512 Q567 Q14137148 Q14137319 Q14136863 Q14139664 Q14139161 Q14137297
(Q472307,P6,c(Q502895)) (Q183,P6,c(Q502895)) (Q23067,P6,c(Q502895)) (Q2269866,P6,c(Q502895)) (Q574179,P6,c(Q502895)) (Q3548,P6,c(Q502895)) (Q1531605,P6,c(Q502895)) (Q2041849,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
The heads of the government of those political territories are [ANSWERS]
['Q472307', 'P6', {'concept': 'Q502895'}] ['Q183', 'P6', {'concept': 'Q502895'}] ['Q23067', 'P6', {'concept': 'Q502895'}] ['Q2269866', 'P6', {'concept': 'Q502895'}] ['Q574179', 'P6', {'concept': 'Q502895'}] ['Q3548', 'P6', {'concept': 'Q502895'}] ['Q1531605', 'P6', {'concept': 'Q502895'}] ['Q2041849', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?k property:P6 ?p . VALUES ( ?k ) { ( resource:Q472307 ) ( resource:Q183 ) ( resource:Q23067 ) } }
Juan Manuel Garcia Calduch Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Walter Scheel Kurt Georg Kiesinger Angela Merkel Manuel Izquierdo Igual Benjamin Miguel Aparicio Cervera Raul Pardos Peiro Maria Carmen Porter Jarrin Jose Rafael Rodrigo Boronat Jose Javier Cervera Soria
The heads of the government of those political territories are Konrad Adenauer, Willy Brandt and Angela Merkel
Konrad Adenauer Willy Brandt Angela Merkel
action filter_type
action find
entity prev_answer
relation head of government
type common name
['Bugarra', 'head of government', {'concept': 'common name'}] ['Germany', 'head of government', {'concept': 'common name'}] ['Liria', 'head of government', {'concept': 'common name'}] ['Losa del Obispo', 'head of government', {'concept': 'common name'}] ['Gestalgar', 'head of government', {'concept': 'common name'}] ['Villar del Arzobispo', 'head of government', {'concept': 'common name'}] ['Sot de Chera', 'head of government', {'concept': 'common name'}] ['Loriguilla', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?k property:head_of_government ?p . VALUES ( ?k ) { ( resource:Bugarra ) ( resource:Germany ) ( resource:Liria ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2492 Q2514 Q567
P166
Q618779
USER
What were won by Konrad Adenauer, Willy Brandt and Angela Merkel ?
(Q2492,P166,c(Q618779)) (Q2514,P166,c(Q618779)) (Q567,P166,c(Q618779))
action union
action filter_type
action find
entity Q2492
relation P166
type Q618779
action filter_type
action find
entity Q2514
relation P166
type Q618779
action filter_type
action find
entity Q567
relation P166
type Q618779
['Q2492', 'P166', {'concept': 'Q618779'}] ['Q2514', 'P166', {'concept': 'Q618779'}] ['Q567', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?w ) { ( resource:Q2492 ) ( resource:Q2514 ) } . ?w property:P166 ?a }
Konrad Adenauer Willy Brandt Angela Merkel
action union
action filter_type
action find
entity Konrad Adenauer
relation award received
type award
action filter_type
action find
entity Willy Brandt
relation award received
type award
action filter_type
action find
entity Angela Merkel
relation award received
type award
['Konrad Adenauer', 'award received', {'concept': 'award'}] ['Willy Brandt', 'award received', {'concept': 'award'}] ['Angela Merkel', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?w ) { ( resource:Konrad_Adenauer ) ( resource:Willy_Brandt ) } . ?w property:award_received ?a }
[]
award
Q585087 Q672787 Q2029100
SYSTEM
Order of Saint Michael and Saint George, Bavarian Order of Merit, Orden wider den tierischen Ernst
Q93713 Q672787 Q585087 Q26126 Q11288429 Q93956 Q152337 Q94044 Q1394282 Q18582827 Q2029100 Q93716 Q10905054 Q818600 Q836057 Q735298 Q14539974 Q20879970 Q94044 Q1670676 Q20966518 Q14539974 Q10905105 Q1818451 Q1818440 Q10905105 Q1599870 Q969644 Q11415564 Q14539974 Q152337
(Q2492,P166,c(Q618779)) (Q2514,P166,c(Q618779)) (Q567,P166,c(Q618779))
action union
action filter_type
action find
entity Q2492
relation P166
type Q618779
action filter_type
action find
entity Q2514
relation P166
type Q618779
action filter_type
action find
entity Q567
relation P166
type Q618779
[ANSWERS] were won by Konrad Adenauer, Willy Brandt and Angela Merkel
['Q2492', 'P166', {'concept': 'Q618779'}] ['Q2514', 'P166', {'concept': 'Q618779'}] ['Q567', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?w ) { ( resource:Q2492 ) ( resource:Q2514 ) } . ?w property:P166 ?a }
Order of the Southern Cross Bavarian Order of Merit Order of Saint Michael and Saint George Order of Leopold Grand Cordon of the Order of the Paulownia Flowers Order of the Aztec Eagle Charlemagne Prize Decoration of Honour for Services to the Republic of Austria Order of the Falcon Order of the Red Eagle 4th Class Orden wider den tierischen Ernst Order of the Golden Spur Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany, special issue Order of the Rising Sun Equestrian Order of the Holy Sepulchre Supreme Order of Christ Knight Grand Cross of the Order of Merit of the Italian Republic Grand Cross of the Order of Orange-Nassau Decoration of Honour for Services to the Republic of Austria Albert Einstein Peace Prize grand cross of the Order of the White Lion Knight Grand Cross of the Order of Merit of the Italian Republic Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany Leo-Baeck-Medal German Leo Baeck Award Grand Cross 1st class of the Order of Merit of the Federal Republic of Germany Heinz-Galinski-Award Eric-M.-Warburg-Award honorary doctorate Knight Grand Cross of the Order of Merit of the Italian Republic Charlemagne Prize
Order of Saint Michael and Saint George, Bavarian Order of Merit and Orden wider den tierischen Ernst were won by Konrad Adenauer, Willy Brandt and Angela Merkel
Order of Saint Michael and Saint George Bavarian Order of Merit Orden wider den tierischen Ernst
action union
action filter_type
action find
entity Konrad Adenauer
relation award received
type award
action filter_type
action find
entity Willy Brandt
relation award received
type award
action filter_type
action find
entity Angela Merkel
relation award received
type award
['Konrad Adenauer', 'award received', {'concept': 'award'}] ['Willy Brandt', 'award received', {'concept': 'award'}] ['Angela Merkel', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { VALUES ( ?w ) { ( resource:Konrad_Adenauer ) ( resource:Willy_Brandt ) } . ?w property:award_received ?a }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2492
P1344
Q1499496
USER
Which German presidential election did that person take part in ?
(Q2492,P1344,c(Q1499496))
action filter_type
action find
entity Q2492
relation P1344
type Q1499496
['Q2492', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?k WHERE { resource:Q2492 property:P1344 ?k . ?k rdf:type ontology:Q1499496 }
Konrad Adenauer
action filter_type
action find
entity Konrad Adenauer
relation participant of
type German presidential election
['Konrad Adenauer', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?k WHERE { resource:Konrad_Adenauer property:participant_of ?k . ?k rdf:type ontology:German_presidential_election }
[]
German presidential election
Clarification for simple ques.
Q2492
SYSTEM
Did you mean Konrad Adenauer ?
Q585087 Q672787 Q2029100
(Q585087,P1344,c(Q1499496)) (Q672787,P1344,c(Q1499496)) (Q2029100,P1344,c(Q1499496))
[ANSWER]
['Q585087', 'P1344', {'concept': 'Q1499496'}] ['Q672787', 'P1344', {'concept': 'Q1499496'}] ['Q2029100', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?k WHERE { resource:Q2492 property:P1344 ?k . ?k rdf:type ontology:Q1499496 }
Order of Saint Michael and Saint George Bavarian Order of Merit Orden wider den tierischen Ernst
Did you mean Konrad Adenauer ?
Konrad Adenauer
['Order of Saint Michael and Saint George', 'participant of', {'concept': 'German presidential election'}] ['Bavarian Order of Merit', 'participant of', {'concept': 'German presidential election'}] ['Orden wider den tierischen Ernst', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?k WHERE { resource:Konrad_Adenauer property:participant_of ?k . ?k rdf:type ontology:German_presidential_election }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2492,P1344,c(Q1499496))
['Q2492', 'P1344', {'concept': 'Q1499496'}]
['Konrad Adenauer', 'participant of', {'concept': 'German presidential election'}]
[]
Q314561
SYSTEM
German presidential election, 1949
Q314561
(Q2492,P1344,c(Q1499496))
action filter_type
action find
entity Q2492
relation P1344
type Q1499496
Part that person took in the [ANSWER]
['Q2492', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?k WHERE { resource:Q2492 property:P1344 ?k . ?k rdf:type ontology:Q1499496 }
German presidential election, 1949
Part that person took in the German presidential election, 1949
German presidential election, 1949
action filter_type
action find
entity Konrad Adenauer
relation participant of
type German presidential election
['Konrad Adenauer', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?k WHERE { resource:Konrad_Adenauer property:participant_of ?k . ?k rdf:type ontology:German_presidential_election }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q314561 Q2073956
P1344
Q502895
USER
Did Peter Blachstein take part in that German presidential election ?
(Q2073956,P1344,Q314561)
action is_in
entity Q314561
action find
entity Q2073956
relation P1344
['Q2073956', 'P1344', 'Q314561']
ASK WHERE { resource:Q2073956 property:P1344 resource:Q314561 }
German presidential election, 1949 Peter Blachstein
action is_in
entity German presidential election, 1949
action find
entity Peter Blachstein
relation participant of
['Peter Blachstein', 'participant of', 'German presidential election, 1949']
ASK WHERE { resource:Peter_Blachstein property:participant_of resource:German_presidential_election,_1949 }
[]
common name
SYSTEM
YES
(Q2073956,P1344,Q314561)
action is_in
entity Q314561
action find
entity Q2073956
relation P1344
[ANSWER]
['Q2073956', 'P1344', 'Q314561']
ASK WHERE { resource:Q2073956 property:P1344 resource:Q314561 }
Yes
action is_in
entity German presidential election, 1949
action find
entity Peter Blachstein
relation participant of
['Peter Blachstein', 'participant of', 'German presidential election, 1949']
ASK WHERE { resource:Peter_Blachstein property:participant_of resource:German_presidential_election,_1949 }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3314201
P1376
Q1048835 Q486972 Q56061
USER
Which political territories have more number of human settlements or administrative territories as their capital than Achoma District ?
(c(Q486972)|c(Q56061),P1376,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q3314201
relation P1376
type Q486972
type Q56061
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P1376 resource:Q3314201 . { { ?v rdf:type ontology:Q486972 } UNION { ?v rdf:type ontology:Q56061 } } } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:P1376 ?k . ?k rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q486972 } UNION { ?c property:P1376 ?k . ?k rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q56061 } } GROUP BY ?k } }
Achoma District
action greater
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Achoma District
relation capital of
type human settlement
type administrative territorial entity
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:capital_of resource:Achoma_District . { { ?v rdf:type ontology:human_settlement } UNION { ?v rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:capital_of ?k . ?k rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:human_settlement } UNION { ?c property:capital_of ?k . ?k rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } }
[]
political territorial entity human settlement administrative territorial entity
Q183 Q13353 Q193619
SYSTEM
Germany, Montserrat, Union of South Africa
Q5455586 Q13353 Q193619 Q183
(c(Q486972)|c(Q56061),P1376,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q3314201
relation P1376
type Q486972
type Q56061
[ANSWERS] have more number of human settlements or administrative territories as their capital than Achoma District
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P1376 resource:Q3314201 . { { ?v rdf:type ontology:Q486972 } UNION { ?v rdf:type ontology:Q56061 } } } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:P1376 ?k . ?k rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q486972 } UNION { ?c property:P1376 ?k . ?k rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q56061 } } GROUP BY ?k } }
Fitzcarrald Montserrat Union of South Africa Germany
Germany, Montserrat and Union of South Africa have more number of human settlements or administrative territories as their capital than Achoma District
Germany Montserrat Union of South Africa
action greater
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Achoma District
relation capital of
type human settlement
type administrative territorial entity
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:capital_of resource:Achoma_District . { { ?v rdf:type ontology:human_settlement } UNION { ?v rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?y > ?q ) . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:capital_of ?k . ?k rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:human_settlement } UNION { ?c property:capital_of ?k . ?k rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13866
P1376
Q1048835 Q486972 Q56061
USER
And how about Nueva Vizcaya?
(c(Q486972)|c(Q56061),P1376,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q13866
relation P1376
type Q486972
type Q56061
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?a > ?h ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P1376 resource:Q13866 . { { ?v rdf:type ontology:Q486972 } UNION { ?v rdf:type ontology:Q56061 } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?o WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } GROUP BY ?o } }
Nueva Vizcaya
action greater
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Nueva Vizcaya
relation capital of
type human settlement
type administrative territorial entity
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?a > ?h ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:capital_of resource:Nueva_Vizcaya . { { ?v rdf:type ontology:human_settlement } UNION { ?v rdf:type ontology:administrative_territorial_entity } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?o WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?o } }
[]
political territorial entity human settlement administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q7915647 Q7130037 Q132418 Q132410 Q6318040 Q6319902 Q208186 Q2703484 Q208183 Q208182 Q6317672 Q3321945 Q938891 Q10298683 Q849807 Q10500690 Q6317993 Q191061 Q3313189 Q2357511 Q260600 Q157070 Q164193 Q2696388 Q5925302 Q188399 Q6115 Q3824788 Q6319605 Q6119 Q2039666 Q5700 Q6321850 Q2696745 Q515343 Q753689 Q2058837 Q3317759 Q3825827 Q3825439 Q167859 Q215221 Q2608412 Q792933 Q8061684 Q2488777 Q599613 Q3824052 Q5777 Q6981448 Q3825382 Q8560940 Q7414298 Q3824230 Q103691 Q103699 Q3824339 Q3313237 Q8172 Q8601 Q5685842 Q50615 Q7909 Q50616 Q7901 Q7902 Q7904 Q7905 Q7907 Q234 Q605805 Q205126 Q605803 Q3995 Q102377 Q8165 Q3825242 Q5445332 Q5390290 Q104231 Q2622314 Q3312907 Q3312902 Q8517 Q2702993 Q165956 Q6949621 Q133083 Q22880 Q6156 Q2071352 Q1925048 Q210061 Q494354 Q9676 Q205104 Q35672 Q205089 Q3313400 Q5047837 Q2737098 Q10544 Q10469 Q7290462 Q10462 Q1334322 Q10466 Q628370 Q4863230 Q205078 Q2039785 Q193307 Q127167 Q1229806 Q193266 Q89959 Q269272 Q971457 Q746558 Q8560844 Q6319387 Q6330 Q2707686 Q559600 Q18288155 Q3312493 Q3824385 Q3678587 Q2967 Q6317167 Q408 Q2096228 Q2846059 Q13739 Q599448 Q40 Q3312467 Q7931 Q240 Q6319070 Q207973 Q3312924 Q2843759 Q653605 Q2621919 Q3824849 Q869191 Q208185 Q6321798 Q6318172 Q539231 Q2698844 Q383734 Q35 Q38610 Q3313291 Q3312974 Q2718534 Q7137570 Q3826135 Q5926575 Q7686343 Q5262649 Q192959 Q3321924 Q5455586 Q8566 Q6319759 Q3313129 Q210896 Q788626 Q81725 Q5692 Q533915 Q3322654 Q3312451 Q3313430 Q3825983 Q2342207 Q5088519 Q579801 Q585345 Q6319917 Q3236666 Q3321991 Q690880 Q6317752 Q1229833 Q20274 Q103686 Q691 Q5164916 Q3313822 Q6318695 Q632108 Q5096392 Q5031628 Q3312393 Q3908 Q7898 Q7899 Q7893 Q7896 Q1399432 Q933179 Q1803069 Q192702 Q2149622 Q160284 Q8522 Q4040 Q129286 Q6177392 Q1827027 Q8560764 Q781 Q5705 Q3826003 Q5095925 Q6318859 Q5720 Q13353 Q10472 Q3391867 Q4502016 Q3825852 Q3825512 Q948230 Q3825929 Q874935 Q707584 Q40637 Q5577966 Q103659 Q594435 Q3322682 Q3825462 Q2486441 Q18288148 Q23635 Q6321909 Q6317899 Q450521 Q2621992 Q3824597 Q834261 Q3557 Q5078 Q193619 Q2632922 Q4804007 Q5925410 Q1893486 Q3313278 Q2898 Q5051137 Q48098 Q201162 Q178269 Q46070 Q7258563 Q18288152 Q2167140 Q104926 Q6317022 Q2718496 Q3825702 Q41071 Q2718491 Q5932 Q8050384 Q2703450 Q3313040 Q3314201 Q2697234 Q231 Q3312967 Q2486015 Q1468315 Q3313284 Q192536 Q4883554 Q3826044 Q205057 Q2486455 Q5048959 Q3826128 Q7414539 Q2379199 Q1769672 Q7421013 Q3825413 Q189974 Q193295 Q1038802 Q3315196 Q1039006 Q2566142 Q207413 Q3322644 Q173822 Q209142 Q604640 Q6318726 Q638013 Q134907 Q5756 Q193714 Q1000 Q1229942 Q269509 Q6061367 Q2761723 Q769 Q685 Q20264 Q763 Q766 Q103672 Q650489 Q2199691 Q7894 Q313969 Q8048242 Q2718510 Q18221 Q192184 Q2875944 Q5444794 Q593806 Q1730130 Q13714 Q2842398 Q1117137 Q257516 Q505050 Q1787430 Q201697 Q505220 Q7827062 Q3826249 Q4694508 Q209597 Q103093 Q7636360 Q178084 Q2697268 Q170672 Q1230021 Q183 Q933576 Q1632864 Q200938 Q6109 Q8541 Q10562 Q597029 Q3313100 Q103738 Q103732 Q2703324 Q3825445 Q858617 Q211208 Q6316996 Q2723621 Q3824193 Q6318896 Q3317748 Q6318575 Q783091 Q207424 Q5783 Q5785 Q2941 Q368273 Q79965 Q6317226 Q5657086 Q2697641 Q309460 Q571947 Q7919 Q7917 Q7914 Q7911 Q7910 Q838690 Q48101 Q1233672 Q48106 Q185700 Q232806 Q3825025 Q3824537 Q1009130 Q2307775 Q7908 Q543868 Q16 Q5856660 Q2697221 Q2697637 Q539094 Q205068 Q130840 Q6320495 Q191091 Q10480 Q3321868 Q10485 Q3031627 Q7380195 Q3825015 Q3313020 Q2576396 Q190550 Q205112 Q874962 Q189822 Q211793 Q48054 Q6013498 Q211795 Q6319125 Q3312431 Q2909 Q2640062 Q862584 Q170666 Q5091750 Q1787207 Q103707 Q2566284 Q48083 Q778 Q5924968 Q170446 Q25305 Q193317 Q272033 Q6323 Q9331 Q2703091 Q18288162 Q18288160 Q35086 Q2885071 Q1478051 Q188732
(c(Q486972)|c(Q56061),P1376,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q13866
relation P1376
type Q486972
type Q56061
[ANSWERS]
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?a > ?h ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P1376 resource:Q13866 . { { ?v rdf:type ontology:Q486972 } UNION { ?v rdf:type ontology:Q56061 } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?o WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } GROUP BY ?o } }
Vargas Guerra District Panao District Northern Cape Mpumalanga Paita District Huancayo District Ica Region Antabamba District Piura Region Moquegua Region Ayabaca District Acarí District San Miguel District Huacrachuco Western Highlands Province San Miguel District San Pablo District, San Pablo Grodno Region Barranca District City of Dundee La Plata Partido County of Flanders Lviv Oblast Colquioc District Huamachuco District Central Bohemian Region Barnim Yunguyo District Ichocán District Oberhavel Paracas District Lapland Junín District San Nicolás District, Rodríguez de Mendoza Ranrahirca District Sandaun Province Purús District Putumayo District Coracora District Sancos District, Huanca Sancos Volyn Oblast Huánuco Region Sicuani District Benito Juárez Yurimaguas District Huari District County of Namur Sivia District Extremadura Nauta District Lampa District Requena District San Ignacio District, Peru Ayaviri District Halland County Gävleborg County Ica District Supe District Stuttgart Government Region Rhein-Lahn-Kreis Lircay District Akershus Main-Taunus-Kreis Hedmark Vogelsbergkreis Marburg-Biedenkopf Gießen Lahn-Dill-Kreis Rheingau-Taunus-Kreis Flemish Region Bagua District La Libertad Region Tocache District Basque Country Blekinge County Karlsruhe Government Region Chincha Alta District Ferreñafe District Laredo District Stockholm County Saavedra Checca District Coya District Main-Tauber Haquira District North West Máncora District Gauteng Electoral Palatinate Oberspreewald-Lausitz Callao Region San Pedro Partido Lambayeque Region Kara-Khanid Khanate Isle of Man Puno Region Pitcairn Islands Áncash Region Arahuay District Casa Grande District Jumbilla District Munich (district) Main-Spessart Ramón Castilla District Haßberge County of Toulouse Bad Kissingen Lobería Barranca District, Datem del Marañón Cajamarca Region Tumbes Olomouc Region Western Cape Chachapoyas District Liberec Region French Community of Belgium Rioja District Lunahuaná District Emirate of Bukhara Manseriche District Querco District Zwickau Casma District Güstrow Metropolitan City of Milan Ccatca District Huancané District Metropolitan City of Venice Rendsburg-Eckernförde Tambopata Australia Tornquist Andahuaylillas District Bataan Chimbu Province Austria Tacna District Giessen Government Region Brussels Magdalena de Cao District Junín Region Moquegua District Locumba Coronel Rosales Patagones Juliaca District Coronel Dorrego Apurímac Region Sexi District Zarumilla Ambo District Chimbote District Iquitos District Denmark Dominion of Newfoundland San Vicente de Cañete District Calca District Lurigancho Pariñas District Puquio District Huaytará District Tarma District Jauja District Minsk Region Arequipa Fitzcarrald Alzey-Worms Sicaya District Cerro Azul District Madre de Dios Region Bahía Blanca KwaZulu-Natal Southern Ostrobothnia Malmöhus County Tinta District Marcona District Antioquia District Tarata San Cayetano Chavinillo District Gothenburg and Bohus County Coronel Pringles Pedro Galvez District Huaura District Camaná District East Sepik Province Picota District Granada District Weißeritzkreis Norrbotten County Papua New Guinea Contamana District Pachangara District Pimentel Lincoln Partido Chiclayo District Candarave Ayacucho District Galicia Hersfeld-Rotenburg Fulda Waldeck-Frankenberg Werra-Meißner-Kreis Almirante Brown Huánuco District Bad Aibling county Ústí nad Labem Region Rivadavia Department Free State Ostalb Aragon British Raj Jenaro Herrera District Mar Chiquita Partido Indiana District, Maynas Antigua and Barbuda Catalonia Chucuito District Chicama District Lambayeque District Valencian Country Montserrat Miltenberg Guadalupe District Juanjui District Macusani District Sandia District Oyón District Cangallo District Manus Province County of Loon Zhytomyr Oblast Pampas District, Tayacaja Skåne County Layo District Huayllabamba District Anta District Padre Abad Metropolitan City of Florence Bermuda Río Tambo District Moyobamba District Magdeburg Government Region Villarino Moho District Bolívar Partido Central Java Province South Sulawesi Union of South Africa Chancay District Ascope District Huancavelica District County of Jaffa and Ascalon Santa Ana District, La Convención Rostock District Catacaos Rostock District Amazonas Region Ivano-Frankivsk Oblast Plzeň Region Puerto Inca District Metropolitan City of Genoa Rauch Partido Uppsala County Sechura District Andahuaylas District Juli District Gangwon Province Acomayo District Friesland Yavari District Chalhuanca District Yucay District Achoma District Huaraz District Walloon Region Urubamba District Callería Pozuzo District Mala District Zlín Region Bellavista District Quinua District Cusco Region Manantay Casitas Huancabamba District San José de Sisa District politics of Edinburgh La Sotonera Saposoa District Pausa District Jõgeva County Hradec Králové Region Junín Partido Huambo District Laprida Huacho District Tacna Region Mollendo District Brest Region South Lanarkshire General Villegas Partido Tarapoto District Tinajo, Las Palmas Limpopo Community of Madrid Mandatory Palestine Gabon La Jalca District Coronel Suárez Monsefú District Puan Grenada Solomon Islands Sächsische Schweiz Saint Kitts and Nevis Jamaica Jönköping County Margraviate of Baden Monte Hermoso Schwalm-Eder-Kreis Regierungsbezirk Minden Yanahuanca Abancay District Turks and Caicos Islands Saint Helena, Ascension and Tristan da Cunha Omate District Fernando Lores District Llata District Later Qin Agusan del Norte Trujillo District Raimondi Oxapampa District Adolfo Gonzales Chaves Niesky District Leimebamba District Huancavelica Region Torres Causana District Chuschi District Aguas Verdes Tumbes department Västra Götaland County Sullana District Ilkhanate Chavín de Huantar District Dnipropetrovsk Oblast Nieva District Germany Santa Cruz District Huaral District Loreto Region Uckermark Ludwigsburg Upper Bavaria Bagua Grande District Kimbiri District Gotland County Dalarna County Tambobamba District Piura District Carlos Tejedor Partido Pasco Region Zorritos Cusco Querobamba District Moche District Ilave District Iñapari Ayacucho Partido Ucayali Region Andalusia Cayman Islands Schleswig-Flensburg Lámud District Golden Horde Lamas District Manú Pamparomas District County of Hainaut Bautzen Odenwaldkreis Kreis Bergstraße Groß-Gerau Main-Kinzig-Kreis Wetteraukreis New Ireland Province Schwerin District County of Barcelona Suhl District Vitebsk Region County of Edessa Puno District Azángaro District General La Madrid Sepahua Hochtaunuskreis Chaupimarca District Canada Mito District Corongo District San Marcos District El Algarrobal District Arequipa Region Eastern Cape San Ramón District Karlovy Vary Region Dingolfing-Landau Samuel Pastor District Deggendorf Nazca District Rupa-Rupa District Putina District Pichari District Huanta District Moravian-Silesian Region Ayacucho Region Milne Bay Province Mogilev Region San Martín Region Erfurt Inambari Lima Region Pacasmayo District Cajamarca Vorpommern-Rügen District Aramango District Enga Province Kharkiv Oblast Chepén District Kreis Auerbach Kalmar County Pisco District Magdeburg The Bahamas Huacaybamba Sumy Oblast British Virgin Islands Pardubice Region County of Tripoli Sächsische Schweiz-Osterzgebirge Flemish Community Chincheros District Metropolitan City of Turin Metropolitan City of Rome South Georgia and the South Sandwich Islands Ilo District La Oroya District Gomel Region
Germany Australia Denmark
action greater
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 administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Nueva Vizcaya
relation capital of
type human settlement
type administrative territorial entity
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?a > ?h ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:capital_of resource:Nueva_Vizcaya . { { ?v rdf:type ontology:human_settlement } UNION { ?v rdf:type ontology:administrative_territorial_entity } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) ?o WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q219
P530
Q1048835 Q15617994
USER
How many administrative territories have diplomatic relations with lesser number of political territories than Bulgaria ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q219
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?r ) WHERE { ?f property:P530 ?k . ?f rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q219 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?r < ?j ) }
Bulgaria
action count
action less
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 Bulgaria
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?r ) WHERE { ?f property:diplomatic_relation ?k . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Bulgaria property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?r < ?j ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
77
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q219
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?r ) WHERE { ?f property:P530 ?k . ?f rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q219 property:P530 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?r < ?j ) }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
77
action count
action less
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 Bulgaria
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?r ) WHERE { ?f property:diplomatic_relation ?k . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Bulgaria property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?r < ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1008
P530
Q1048835 Q15617994
USER
And also tell me about Côte d'Ivoire?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1008
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?o ) WHERE { ?b property:P530 ?m . ?b rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q1008 property:P530 ?h . ?h rdf:type ontology:Q1048835 } } . FILTER ( ?o < ?d ) }
Côte d'Ivoire
action count
action less
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 Côte d'Ivoire
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?o ) WHERE { ?b property:diplomatic_relation ?m . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Côte_d'Ivoire property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } } . FILTER ( ?o < ?d ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
7
Q805 Q399 Q398 Q790 Q236 Q842 Q858
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1008
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?o ) WHERE { ?b property:P530 ?m . ?b rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q1008 property:P530 ?h . ?h rdf:type ontology:Q1048835 } } . FILTER ( ?o < ?d ) }
Yemen Armenia Bahrain Haiti Montenegro Oman Syria
7
action count
action less
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 Côte d'Ivoire
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?o ) WHERE { ?b property:diplomatic_relation ?m . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Côte_d'Ivoire property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity } } . FILTER ( ?o < ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q22676587 Q56061 Q1048835
USER
Which political territories have atmost 1 monarchic systems or administrative territories as government ?
(c(Q1048835),P122,c(Q22676587)|c(Q56061))
action atmost
action union
action find_tuple_counts
relation P122
type Q1048835
type Q22676587
action find_tuple_counts
relation P122
type Q1048835
type Q56061
value 1
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { { ?l property:P122 ?p . ?l rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q56061 } UNION { ?l property:P122 ?p . ?l rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q22676587 } } GROUP BY ?l } . FILTER ( ?a <= 1 ) }
action atmost
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type political territorial entity
type administrative territorial entity
value 1
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { { ?l property:basic_form_of_government ?p . ?l rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:administrative_territorial_entity } UNION { ?l property:basic_form_of_government ?p . ?l rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:monarchic_system } } GROUP BY ?l } . FILTER ( ?a <= 1 ) }
[]
monarchic system administrative territorial entity political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q183 Q601252 Q193619 Q1059046 Q763 Q664 Q641138 Q1925048 Q785 Q178084 Q16 Q35 Q38610 Q79965 Q223793 Q2594990 Q408 Q757 Q468378 Q40 Q1250464 Q151938 Q31747 Q129286
(c(Q1048835),P122,c(Q22676587)|c(Q56061))
action atmost
action union
action find_tuple_counts
relation P122
type Q1048835
type Q22676587
action find_tuple_counts
relation P122
type Q1048835
type Q56061
value 1
[ANSWERS] have atmost 1 monarchic systems or administrative territories as government
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { { ?l property:P122 ?p . ?l rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q56061 } UNION { ?l property:P122 ?p . ?l rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q22676587 } } GROUP BY ?l } . FILTER ( ?a <= 1 ) }
Germany Banovina of Croatia Union of South Africa Merkit people Saint Kitts and Nevis New Zealand Duchy of Cleves San Pedro Partido Jersey Ilkhanate Canada Denmark Dominion of Newfoundland Golden Horde Kingdom of Etruria Dominion of New Zealand Australia Saint Vincent and the Grenadines County of Hoya Austria realm Neutral Moresnet Irish Free State British Raj
Germany, Australia and Denmark have atmost 1 monarchic systems or administrative territories as government
Germany Australia Denmark
action atmost
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type political territorial entity
type administrative territorial entity
value 1
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) ?l WHERE { { ?l property:basic_form_of_government ?p . ?l rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:administrative_territorial_entity } UNION { ?l property:basic_form_of_government ?p . ?l rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:monarchic_system } } GROUP BY ?l } . FILTER ( ?a <= 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q408 Q35
P463
Q43229
USER
Which organizations were those political territories a member of ?
(Q183,P463,c(Q43229)) (Q408,P463,c(Q43229)) (Q35,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q183', 'P463', {'concept': 'Q43229'}] ['Q408', 'P463', {'concept': 'Q43229'}] ['Q35', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q43229 . ?r property:P463 ?c . VALUES ( ?r ) { ( resource:Q183 ) ( resource:Q601252 ) ( resource:Q193619 ) } }
Germany Australia Denmark
action filter_type
action find
entity prev_answer
relation member of
type organization
['Germany', 'member of', {'concept': 'organization'}] ['Australia', 'member of', {'concept': 'organization'}] ['Denmark', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:organization . ?r property:member_of ?c . VALUES ( ?r ) { ( resource:Germany ) ( resource:Banovina_of_Croatia ) ( resource:Union_of_South_Africa ) } }
[]
organization
Q7809 Q151991 Q151991
SYSTEM
United Nations Educational, Scientific and Cultural Organization for 1st, European Southern Observatory for 2nd, 3rd
Q125761 Q191384 Q41550 Q61923 Q82151 Q340195 Q899770 Q689859 Q189946 Q7809 Q7825 Q161549 Q177773 Q3772571 Q656801 Q151991 Q699466 Q386120 Q827525 Q191384 Q899770 Q309195 Q41550 Q488981 Q82151 Q656801 Q7825 Q170481 Q827525 Q340195 Q899770 Q7825 Q656801 Q151991 Q191384 Q41550 Q827525
(Q183,P463,c(Q43229)) (Q408,P463,c(Q43229)) (Q35,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS]
['Q183', 'P463', {'concept': 'Q43229'}] ['Q408', 'P463', {'concept': 'Q43229'}] ['Q35', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q43229 . ?r property:P463 ?c . VALUES ( ?r ) { ( resource:Q183 ) ( resource:Q601252 ) ( resource:Q193619 ) } }
International Civil Aviation Organization International Bank for Reconstruction and Development Organisation for Economic Co-operation and Development World Tourism Organization Food and Agriculture Organization of the United Nations African Development Bank International Centre for Settlement of Investment Disputes International Fund for Agricultural Development Western European Union United Nations Educational, Scientific and Cultural Organization World Trade Organization European Coal and Steel Community World Intellectual Property Organization Caribbean Development Bank International Finance Corporation European Southern Observatory International Commission for the Protection of the Danube River United Nations Industrial Development Organization International Development Association International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Bank for International Settlements Organisation for Economic Co-operation and Development European Bank for Reconstruction and Development Food and Agriculture Organization of the United Nations International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association African Development Bank International Centre for Settlement of Investment Disputes World Trade Organization International Finance Corporation European Southern Observatory International Bank for Reconstruction and Development Organisation for Economic Co-operation and Development International Development Association
United Nations Educational, Scientific and Cultural Organization, European Southern Observatory and European Southern Observatory were those political territories a member of
United Nations Educational, Scientific and Cultural Organization European Southern Observatory European Southern Observatory
action filter_type
action find
entity prev_answer
relation member of
type organization
['Germany', 'member of', {'concept': 'organization'}] ['Australia', 'member of', {'concept': 'organization'}] ['Denmark', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:organization . ?r property:member_of ?c . VALUES ( ?r ) { ( resource:Germany ) ( resource:Banovina_of_Croatia ) ( resource:Union_of_South_Africa ) } }
[]