Simple Question (Direct)
Simple Question
Q7299842
P19
Q56061
USER
Which administrative territory is the place of birth of Raúl Saavedra ?
(Q7299842,P19,c(Q56061))
action filter_type
action find
entity Q7299842
relation P19
type Q56061
['Q7299842', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q7299842 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Raúl Saavedra
action filter_type
action find
entity Raúl Saavedra
relation place of birth
type administrative territorial entity
['Raúl Saavedra', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Raúl_Saavedra property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q44255
SYSTEM
San Miguel de Tucumán
Q44255
(Q7299842,P19,c(Q56061))
action filter_type
action find
entity Q7299842
relation P19
type Q56061
[ANSWER] is the place of birth of Raúl Saavedra
['Q7299842', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q7299842 property:P19 ?q . ?q rdf:type ontology:Q56061 }
San Miguel de Tucumán
San Miguel de Tucumán is the place of birth of Raúl Saavedra
San Miguel de Tucumán
action filter_type
action find
entity Raúl Saavedra
relation place of birth
type administrative territorial entity
['Raúl Saavedra', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Raúl_Saavedra property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7299842
P106
Q12737077
USER
What is the profession of that person ?
(Q44255,P106,c(Q12737077))
action filter_type
action find
entity Q7299842
relation P106
type Q12737077
['Q44255', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q7299842 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Raúl Saavedra
action filter_type
action find
entity Raúl Saavedra
relation occupation
type occupation
['San Miguel de Tucumán', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Raúl_Saavedra property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q44255,P106,c(Q12737077))
action filter_type
action find
entity Q7299842
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q44255', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q7299842 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Raúl Saavedra
relation occupation
type occupation
['San Miguel de Tucumán', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Raúl_Saavedra property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Which sport is associated with the field of occupation that one ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q937857 property:P425 ?l . ?l rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:association_football_player property:field_of_this_occupation ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER] is associated with the field of occupation that one
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q937857 property:P425 ?l . ?l rdf:type ontology:Q349 }
association football
Association football is associated with the field of occupation that one
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:association_football_player property:field_of_this_occupation ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P180
Q166142
USER
Which application depicts that sport ?
(c(Q166142),P180,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P180
type Q166142
[{'concept': 'Q166142'}, 'P180', 'Q2736']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q166142 . ?t property:P180 resource:Q2736 }
association football
action filter_type
action find_reverse
entity association football
relation depicts
type application
[{'concept': 'application'}, 'depicts', 'association football']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:application . ?t property:depicts resource:association_football }
[]
application
Q6786211
SYSTEM
Match Day II
Q6786211
(c(Q166142),P180,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P180
type Q166142
[ANSWER] depicts that sport
[{'concept': 'Q166142'}, 'P180', 'Q2736']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q166142 . ?t property:P180 resource:Q2736 }
Match Day II
Match Day II depicts that sport
Match Day II
action filter_type
action find_reverse
entity association football
relation depicts
type application
[{'concept': 'application'}, 'depicts', 'association football']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:application . ?t property:depicts resource:association_football }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P178
Q7397
USER
How many software produced that application ?
(Q6786211,P178,c(Q7397))
action count
action filter_type
action find
entity Q6786211
relation P178
type Q7397
['Q6786211', 'P178', {'concept': 'Q7397'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q6786211 property:P178 ?e . ?e rdf:type ontology:Q7397 }
action count
action filter_type
action find
entity Match Day II
relation developer
type software
['Match Day II', 'developer', {'concept': 'software'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Match_Day_II property:developer ?e . ?e rdf:type ontology:software }
[]
software
SYSTEM
1
Q1408498
(Q6786211,P178,c(Q7397))
action count
action filter_type
action find
entity Q6786211
relation P178
type Q7397
[ANSWER]
['Q6786211', 'P178', {'concept': 'Q7397'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q6786211 property:P178 ?e . ?e rdf:type ontology:Q7397 }
Ocean Software
1
action count
action filter_type
action find
entity Match Day II
relation developer
type software
['Match Day II', 'developer', {'concept': 'software'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Match_Day_II property:developer ?e . ?e rdf:type ontology:software }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1975464
P19
Q502895
USER
How many people have birthplace at Fergus Falls ?
(c(Q502895),P19,Q1975464)
action count
action filter_type
action find_reverse
entity Q1975464
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q1975464']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P19 resource:Q1975464 . ?n rdf:type ontology:Q502895 }
Fergus Falls
action count
action filter_type
action find_reverse
entity Fergus Falls
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Fergus Falls']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:place_of_birth resource:Fergus_Falls . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
9
Q1240240 Q5214392 Q1040253 Q862272 Q2595696 Q946368 Q3082484 Q18716142 Q6119412
(c(Q502895),P19,Q1975464)
action count
action filter_type
action find_reverse
entity Q1975464
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1975464']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P19 resource:Q1975464 . ?n rdf:type ontology:Q502895 }
Donald Cressey Dan Skogen Marcus Borg Bill Luther Wynn Roberts Cliff Sterrett Frank Albertson Gilbert O. Erickson Jacob Volkmann
9
action count
action filter_type
action find_reverse
entity Fergus Falls
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Fergus Falls']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:place_of_birth resource:Fergus_Falls . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2538035
P19
Q502895
USER
And what about Polje ob Sotli?
(c(Q502895),P19,Q2538035)
action count
action filter_type
action find_reverse
entity Q2538035
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q2538035']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P19 resource:Q2538035 . ?e rdf:type ontology:Q502895 }
Polje ob Sotli
action count
action filter_type
action find_reverse
entity Polje ob Sotli
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Polje ob Sotli']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:place_of_birth resource:Polje_ob_Sotli . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q17399821
(c(Q502895),P19,Q2538035)
action count
action filter_type
action find_reverse
entity Q2538035
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q2538035']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P19 resource:Q2538035 . ?e rdf:type ontology:Q502895 }
Januš Golec
1
action count
action filter_type
action find_reverse
entity Polje ob Sotli
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Polje ob Sotli']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:place_of_birth resource:Polje_ob_Sotli . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44255
P17
Q15617994
USER
Which administrative territory does San Miguel de Tucumán belong to ?
(Q44255,P17,c(Q15617994))
action filter_type
action find
entity Q44255
relation P17
type Q15617994
['Q44255', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q44255 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
San Miguel de Tucumán
action filter_type
action find
entity San Miguel de Tucumán
relation country
type designation for an administrative territorial entity
['San Miguel de Tucumán', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:San_Miguel_de_Tucumán property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q44255,P17,c(Q15617994))
action filter_type
action find
entity Q44255
relation P17
type Q15617994
San Miguel de Tucumán belongs to Republic [ANSWER]
['Q44255', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q44255 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Argentina
San Miguel de Tucumán belongs to Republic Argentina
Argentina
action filter_type
action find
entity San Miguel de Tucumán
relation country
type designation for an administrative territorial entity
['San Miguel de Tucumán', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:San_Miguel_de_Tucumán property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44255
P190
Q56061
USER
Which administrative territories are twin town of San Miguel de Tucumán ?
(c(Q56061),P190,Q44255)
action filter_type
action find
entity Q44255
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q44255']
SELECT DISTINCT ?s WHERE { resource:Q44255 property:P190 ?s . ?s rdf:type ontology:Q56061 }
San Miguel de Tucumán
action filter_type
action find
entity San Miguel de Tucumán
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'San Miguel de Tucumán']
SELECT DISTINCT ?s WHERE { resource:San_Miguel_de_Tucumán property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q167659 Q34404 Q1729
SYSTEM
Nazareth Illit, New Orleans, Erfurt
Q167659 Q34404 Q1729
(c(Q56061),P190,Q44255)
action filter_type
action find
entity Q44255
relation P190
type Q56061
[ANSWERS] are twin town of San Miguel de Tucumán
[{'concept': 'Q56061'}, 'P190', 'Q44255']
SELECT DISTINCT ?s WHERE { resource:Q44255 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Nazareth Illit New Orleans Erfurt
Nazareth Illit, New Orleans and Erfurt are twin town of San Miguel de Tucumán
Nazareth Illit New Orleans Erfurt
action filter_type
action find
entity San Miguel de Tucumán
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'San Miguel de Tucumán']
SELECT DISTINCT ?s WHERE { resource:San_Miguel_de_Tucumán property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1729
P1376
Q1048835
USER
Which political territory has that administrative territory as its county seat ?
(Q1729,P1376,c(Q1048835))
action filter_type
action find
entity Q1729
relation P1376
type Q1048835
['Q1729', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q1729 property:P1376 ?r . ?r rdf:type ontology:Q1048835 }
Erfurt
action filter_type
action find
entity Erfurt
relation capital of
type political territorial entity
['Erfurt', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Erfurt property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q1729
SYSTEM
Did you mean Erfurt ?
Q167659 Q34404 Q1729
(Q167659,P1376,c(Q1048835)) (Q34404,P1376,c(Q1048835)) (Q1729,P1376,c(Q1048835))
[ANSWER]
['Q167659', 'P1376', {'concept': 'Q1048835'}] ['Q34404', 'P1376', {'concept': 'Q1048835'}] ['Q1729', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q1729 property:P1376 ?r . ?r rdf:type ontology:Q1048835 }
Nazareth Illit New Orleans Erfurt
Did you mean Erfurt ?
Erfurt
['Nazareth Illit', 'capital of', {'concept': 'political territorial entity'}] ['New Orleans', 'capital of', {'concept': 'political territorial entity'}] ['Erfurt', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Erfurt property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1729,P1376,c(Q1048835))
['Q1729', 'P1376', {'concept': 'Q1048835'}]
['Erfurt', 'capital of', {'concept': 'political territorial entity'}]
[]
Q48054
SYSTEM
Erfurt
Q48054
(Q1729,P1376,c(Q1048835))
action filter_type
action find
entity Q1729
relation P1376
type Q1048835
Of [ANSWER] has that administrative territory as its county seat
['Q1729', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q1729 property:P1376 ?r . ?r rdf:type ontology:Q1048835 }
Erfurt
Of Erfurt has that administrative territory as its county seat
Erfurt
action filter_type
action find
entity Erfurt
relation capital of
type political territorial entity
['Erfurt', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Erfurt property:capital_of ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q48054 Q5799183 Q4062981
P36
Q56061
USER
Does that political territory have Seyyed Hoseyn, Rostam and Altmore as its capital ?
(Q48054,P36,Q5799183) (Q48054,P36,Q4062981)
action is_in
entity Q48054
action intersection
action find_reverse
entity Q5799183
relation P36
action find_reverse
entity Q4062981
relation P36
['Q48054', 'P36', 'Q5799183'] ['Q48054', 'P36', 'Q4062981']
ASK WHERE { resource:Q48054 property:P36 resource:Q5799183 . resource:Q48054 property:P36 resource:Q4062981 }
Erfurt Seyyed Hoseyn, Rostam Altmore
action is_in
entity Erfurt
action intersection
action find_reverse
entity Seyyed Hoseyn, Rostam
relation capital
action find_reverse
entity Altmore
relation capital
['Erfurt', 'capital', 'Seyyed Hoseyn, Rostam'] ['Erfurt', 'capital', 'Altmore']
ASK WHERE { resource:Erfurt property:capital resource:Seyyed_Hoseyn,_Rostam . resource:Erfurt property:capital resource:Altmore }
[]
administrative territorial entity
SYSTEM
NO
(Q48054,P36,Q5799183) (Q48054,P36,Q4062981)
action is_in
entity Q48054
action intersection
action find_reverse
entity Q5799183
relation P36
action find_reverse
entity Q4062981
relation P36
[ANSWER]
['Q48054', 'P36', 'Q5799183'] ['Q48054', 'P36', 'Q4062981']
ASK WHERE { resource:Q48054 property:P36 resource:Q5799183 . resource:Q48054 property:P36 resource:Q4062981 }
No
action is_in
entity Erfurt
action intersection
action find_reverse
entity Seyyed Hoseyn, Rostam
relation capital
action find_reverse
entity Altmore
relation capital
['Erfurt', 'capital', 'Seyyed Hoseyn, Rostam'] ['Erfurt', 'capital', 'Altmore']
ASK WHERE { resource:Erfurt property:capital resource:Seyyed_Hoseyn,_Rostam . resource:Erfurt property:capital resource:Altmore }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q16
P530
Q1048835 Q1048835
USER
Which political territories have a diplomatic relationship with lesser number of political territories than Canada ?
(c(Q1048835),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?i ) WHERE { ?w property:P530 ?p . ?w rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q16 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?i < ?h ) }
Canada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?i ) WHERE { ?w property:diplomatic_relation ?p . ?w rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Canada property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?i < ?h ) }
[]
political territorial entity political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWERS] have a diplomatic relationship with lesser number of political territories than Canada
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?i ) WHERE { ?w property:P530 ?p . ?w rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Q16 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?i < ?h ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand have a diplomatic relationship with lesser number of political territories than Canada
Denmark Austria New Zealand
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?i ) WHERE { ?w property:diplomatic_relation ?p . ?w rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { resource:Canada property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?i < ?h ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P530
Q1048835
USER
How many political territories have diplomatic relationships with that political territory ?
(Q664,P530,c(Q1048835))
['Q664', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21470645 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:New_Zealand property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q664
SYSTEM
Did you mean New Zealand ?
(Q35,P530,c(Q1048835)) (Q40,P530,c(Q1048835)) (Q664,P530,c(Q1048835))
[ANSWER]
['Q35', 'P530', {'concept': 'Q1048835'}] ['Q40', 'P530', {'concept': 'Q1048835'}] ['Q664', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21470645 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean New Zealand ?
New Zealand
['Denmark', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}] ['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:New_Zealand property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q664,P530,c(Q1048835))
['Q664', 'P530', {'concept': 'Q1048835'}]
['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
SYSTEM
3
Q408 Q16 Q183
(Q664,P530,c(Q1048835))
[ANSWER]
['Q664', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q21470645 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Australia Canada Germany
3
['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:New_Zealand property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q1048835
USER
Which political territories are located next to atmost 1 bodies of water or waterways ?
(c(Q1048835),P206,c(Q15324)|c(Q1267889))
action atmost
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
value 1
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?o WHERE { VALUES ( ?s ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?t rdf:type ?s } GROUP BY ?o } . FILTER ( ?y <= 1 ) }
action atmost
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
value 1
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?o WHERE { VALUES ( ?s ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?t rdf:type ?s } GROUP BY ?o } . FILTER ( ?y <= 1 ) }
[]
body of water waterway political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1649616 Q736872 Q434192 Q691567 Q1228773 Q21590062 Q657407 Q434053 Q782910 Q1447512 Q1628271 Q2044159 Q49562 Q844784 Q2012050 Q52626 Q677038 Q540185 Q484552 Q433632 Q1614800 Q1470810 Q492312 Q7206212 Q983556 Q193780 Q635308 Q741749 Q5067 Q983465 Q2772 Q4359878 Q353618 Q4524665 Q18356359 Q983628 Q147774 Q846153 Q217829 Q925913 Q7451347 Q830969 Q846159 Q1324548 Q40 Q962773 Q5095 Q12071 Q985601 Q615809 Q565002 Q1905388 Q16 Q390069 Q18350152 Q11339 Q55845 Q3557 Q210887 Q804466 Q2323549 Q594892 Q582901 Q5096 Q898856 Q1853429 Q4408930 Q587114 Q434321 Q492420 Q11492 Q11263 Q915283 Q11294004 Q4321529 Q661198 Q741765 Q35 Q5017377 Q985598 Q917886 Q1617562 Q493933 Q913483 Q572542 Q13148 Q13149 Q6674900 Q7521776 Q716384 Q499184 Q616847 Q13462 Q986364 Q1637424 Q956757 Q1443906 Q1798827 Q2244278 Q693258 Q736926 Q13751 Q433918 Q434019 Q986359 Q575670 Q847329 Q817971 Q926410 Q1768232 Q698246 Q16851746 Q15907 Q624967 Q1606460 Q1634820 Q832984 Q11286 Q1447802 Q13150 Q913492 Q1628788 Q13154 Q217840 Q7130989 Q100166 Q176624 Q2451327 Q24342199 Q11811 Q163271 Q5437809 Q426350 Q738674 Q7165 Q983433 Q524431 Q985586 Q1443992 Q1248474 Q11296 Q1631163 Q13424648 Q277302 Q628446 Q1637406 Q743849 Q366948 Q492741 Q650682 Q748078 Q11822 Q932914 Q492748 Q4481 Q904566 Q1645555 Q434150 Q5939706 Q944264 Q943431 Q920391 Q3903 Q399702 Q4673688 Q491786 Q2140 Q3724 Q985599 Q983635 Q1391437 Q18359182 Q706892 Q171334 Q615061 Q847127 Q5616614 Q953876 Q3741 Q657800 Q47134 Q638013 Q492737 Q433958 Q492735 Q1588135 Q1623000 Q18357018 Q4469165 Q827393 Q505610 Q11304 Q1260011 Q607474 Q737440 Q657738 Q3891 Q584446 Q427330 Q682964 Q171852 Q1607872 Q2110 Q18351821 Q433986 Q501077 Q80967 Q936264 Q994034 Q586584 Q983577 Q42314 Q611250 Q615916 Q986727 Q181633 Q7684726 Q643919 Q487268 Q5197069 Q207176 Q736888 Q824076 Q175057 Q398588 Q1110355 Q434173 Q575639 Q597201 Q6298722 Q434286 Q697126 Q594961 Q613832 Q491929 Q947285
(c(Q1048835),P206,c(Q15324)|c(Q1267889))
action atmost
action union
action find_tuple_counts
relation P206
type Q1048835
type Q15324
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
value 1
[ANSWERS] are located next to atmost 1 bodies of water or waterways
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?o WHERE { VALUES ( ?s ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?t rdf:type ?s } GROUP BY ?o } . FILTER ( ?y <= 1 ) }
Orio Ayamonte San Andrés y Sauces Les Dirouilles Plentzia Antarctic Treaty area Sopela Garafía El Sauzal Chantada Soutomaior Llanybydder Adra Vale of Glamorgan Donetsk Oblast Formentera San Miguel de Abona Puerto del Rosario Algeciras Santa Cruz de La Palma Val de San Vicente Pierres de Lecq Hondarribia Poblacion La Guancha Almuñécar Vallehermoso, Santa Cruz de Tenerife Chipiona Gorontalo Province Santa Eulària des Riu West Sumatra Pisocine Adeje Szychtory Manipulon Sant Joan de Labritja Zarautz San Roque Ceredigion Los Barrios Sentinela Betancuria Puerto Real El Pinar, Canary Islands Austria San Bartolomé, Las Palmas Papua Vilassar de Mar La Victoria de Acentejo Sorvilán Albuñol L'Alcúdia de Crespins Canada Agaete Loguingot Llançà Telde Central Java Province Sanlúcar de Barrameda Bakio Yaiza, Las Palmas La Oliva Lújar West Papua Jethou Valverde Sasiv Itamaracá Villa de Mazo Getxo Mataró Cadaqués Santiago del Teide Newport City Nuśmice Pájara San Fernando Denmark Cagting Moya, Las Palmas Santurtzi Nigrán El Ejido Casares Icod de los Vinos La Línea de la Concepción Nerja Looc, Mandaue Sinandigan Arucas, Las Palmas Roquetas de Mar Ribamontán al Mar Begur San Juan de la Rambla, Santa Cruz de Tenerife Miengo Gáldar, Las Palmas Arnuero La Frontera Tías, Las Palmas San Bartolomé de Tirajana Isla Cristina Biliran Barlovento, Santa Cruz de Tenerife Fuencaliente Santa María de Guía de Gran Canaria Antigua, Fuerteventura Comillas Conwy County Borough Algarrobo Trillo Arona, Tenerife Caparangasan Rota Arafo Malpica de Tajo Barreiros Conil de la Frontera Castelló d'Empúries Noja Torrox Manilva El Puente del Arzobispo Barbate Carmarthenshire Pangpang Orkney Islands El Rosario, Tenerife Sé City and County of Cardiff El Port de la Selva Kherson Oblast Fatima Tazacorte Santa Lucía de Tirajana Portbou Güímar Fasnia Tuineje, Las Palmas Bareyo Rincón de la Victoria Colera Aia Troitske Chiclana de la Frontera Mogán, Las Palmas Ruiloba Valdáliga Los Llanos de Aridane Vélez-Málaga Denbighshire Neath Port Talbot County Borough Roses Alajeró, Santa Cruz de Tenerife Estepona Barrika Brecqhou Liendo Puntagorda Humayhumay Tacoronte, Santa Cruz de Tenerife Granadilla de Abona La Orotava North Kalimantan Agüimes, Las Palmas Achila Calvià North Sumatra Province West Java Province Ingenio, Las Palmas Sant Josep de sa Talaia Alfoz de Lloredo Botlog Island Artenara, Las Palmas Zaporizhzhya Oblast Rubite Pasaia Guintabo-an Los Realejos Special Region of Yogyakarta Santa Úrsula Shetland Tinajo, Las Palmas Torremolinos Breña Alta Fuengirola Haría, Las Palmas Piélagos Bayas Island Uhrynów Vejer de la Frontera Flintshire L'Escala Hermigua Muskiz Teguise Arico Kalimantan Tengah Valle Gran Rey Salobreña Los Silos Odessa Oblast Piedralaves Lampung Province Malangabang Breña Baja Lepe Outer Hebrides Lemoiz Variazh Nînovîci, La Matanza de Acentejo Channel Islands Polopos Vasilivka La Aldea de San Nicolás Mykolaiv Oblast Tapon Torfaen County Borough Candelaria Cuya Monmouthshire Punta Umbría Ribadeo Fernando de Noronha Agulo Níjar Puntallana Gualchos Lake of the Woods, Ontario Juagdan Tijarafe Bridgend County Borough Buenavista del Norte Mañón Berja Enix, Spain
Denmark, Canada and Austria are located next to atmost 1 bodies of water or waterways
Denmark Canada Austria
action atmost
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
value 1
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) ?o WHERE { VALUES ( ?s ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?t rdf:type ?s } GROUP BY ?o } . FILTER ( ?y <= 1 ) }
[]