Simple Question (Direct)
Simple Question
Q1085190
P27
Q1048835
USER
Which political territory is Christoph Horn an inhabitant of ?
(Q1085190,P27,c(Q1048835))
action filter_type
action find
entity Q1085190
relation P27
type Q1048835
['Q1085190', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q1085190 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Christoph Horn
action filter_type
action find
entity Christoph Horn
relation country of citizenship
type political territorial entity
['Christoph Horn', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Christoph_Horn property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1085190,P27,c(Q1048835))
action filter_type
action find
entity Q1085190
relation P27
type Q1048835
[ANSWER] is Christoph Horn an inhabitant of
['Q1085190', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q1085190 property:P27 ?u . ?u rdf:type ontology:Q1048835 }
Germany
Germany is Christoph Horn an inhabitant of
Germany
action filter_type
action find
entity Christoph Horn
relation country of citizenship
type political territorial entity
['Christoph Horn', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Christoph_Horn property:country_of_citizenship ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1085190
P21
Q290
USER
Which sex does Christoph Horn possess ?
(Q1085190,P21,c(Q290))
action filter_type
action find
entity Q1085190
relation P21
type Q290
['Q1085190', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1085190 property:P21 ?m . ?m rdf:type ontology:Q290 }
Christoph Horn
action filter_type
action find
entity Christoph Horn
relation gender
type sex
['Christoph Horn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Christoph_Horn property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1085190,P21,c(Q290))
action filter_type
action find
entity Q1085190
relation P21
type Q290
Christoph Horn possesses a [ANSWER]
['Q1085190', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1085190 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Christoph Horn possesses a male
male
action filter_type
action find
entity Christoph Horn
relation gender
type sex
['Christoph Horn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Christoph_Horn property:gender ?m . ?m rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q334
P530
Q1048835
USER
How many political territories holds diplomatic relationship with Germany or Singapore ?
(Q183,P530,c(Q1048835)) (Q334,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q183
relation P530
type Q1048835
action filter_type
action find
entity Q334
relation P530
type Q1048835
['Q183', 'P530', {'concept': 'Q1048835'}] ['Q334', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { resource:Q183 property:P530 ?q . ?q rdf:type ontology:Q1048835 } UNION { resource:Q334 property:P530 ?q . ?q rdf:type ontology:Q1048835 } }
Germany Singapore
action count
action union
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Singapore
relation diplomatic relation
type political territorial entity
['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Singapore', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { resource:Germany property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } UNION { resource:Singapore property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
7
Q408 Q1000 Q35 Q40 Q16 Q664 Q183
(Q183,P530,c(Q1048835)) (Q334,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q183
relation P530
type Q1048835
action filter_type
action find
entity Q334
relation P530
type Q1048835
[ANSWER]
['Q183', 'P530', {'concept': 'Q1048835'}] ['Q334', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { resource:Q183 property:P530 ?q . ?q rdf:type ontology:Q1048835 } UNION { resource:Q334 property:P530 ?q . ?q rdf:type ontology:Q1048835 } }
Australia Gabon Denmark Austria Canada New Zealand Germany
7
action count
action union
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Singapore
relation diplomatic relation
type political territorial entity
['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Singapore', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { resource:Germany property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } UNION { resource:Singapore property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1747689
P706
Q56061 Q553036 Q1048835
USER
Which political territories are located in lesser number of administrative territories or natural region of Germanys than Ancient Rome ?
(c(Q1048835),P706,c(Q56061)|c(Q553036))
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action find_tuple_counts
relation P706
type Q1048835
type Q553036
action count
action filter_multi_types
action find
entity Q1747689
relation P706
type Q56061
type Q553036
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q56061 ) ( ontology:Q553036 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ?b . VALUES ( ?b ) { ( ontology:Q56061 ) ( ontology:Q553036 ) } } . resource:Q1747689 property:P706 ?a } } . FILTER ( ?f < ?p ) }
Ancient Rome
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Ancient Rome
relation located on terrain feature
type administrative territorial entity
type natural region of Germany
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:administrative_territorial_entity ) ( ontology:natural_region_of_Germany ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ?b . VALUES ( ?b ) { ( ontology:administrative_territorial_entity ) ( ontology:natural_region_of_Germany ) } } . resource:Ancient_Rome property:located_on_terrain_feature ?a } } . FILTER ( ?f < ?p ) }
[]
administrative territorial entity natural region of Germany political territorial entity
Q691 Q769 Q766
SYSTEM
Papua New Guinea, Grenada, Jamaica
Q927498 Q6661154 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q13353 Q6139 Q847324 Q785 Q847321 Q850989 Q983467 Q743716 Q734805 Q904566 Q555140 Q983463 Q13737 Q493017 Q42314 Q950940 Q669078 Q851224 Q898856 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q168856 Q5785 Q3405693 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q25228 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q202023 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q652988 Q832967 Q185409 Q769 Q170213 Q766 Q9676 Q984485 Q168159 Q983625 Q983628 Q656449 Q988688 Q18221 Q778 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q5700 Q988696 Q943948 Q697126 Q25305 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q56061)|c(Q553036))
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action find_tuple_counts
relation P706
type Q1048835
type Q553036
action count
action filter_multi_types
action find
entity Q1747689
relation P706
type Q56061
type Q553036
[ANSWERS] are located in lesser number of administrative territories or natural region of Germanys than Ancient Rome
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:Q56061 ) ( ontology:Q553036 ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ?b . VALUES ( ?b ) { ( ontology:Q56061 ) ( ontology:Q553036 ) } } . resource:Q1747689 property:P706 ?a } } . FILTER ( ?f < ?p ) }
Llucmajor Llanddeusant, Carmarthenshire Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Montserrat Havelland Alaior Jersey Esporles Campanet Montuïri Campos Sant Antoni de Portmany Brecqhou Capileira Sant Llorenç des Cardassar Basilan Andratx Channel Islands Marratxí Maria de la Salut Costitx Jethou Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Chernivtsi Oblast Cayman Islands Sark Pistyll Sóller Biliran Bohol Vilafranca de Bonany Pollença Selva Felanitx Lloret de Vistalegre Anguilla Blaenau Gwent County Borough Es Castell Ses Salines Sant Joan Alaró Estellencs Sé Porreres Algaida Aceh Leyte Petra, Majorca Deià Herm Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Búger Valldemossa Llubí Grenada Zakarpattia Oblast Jamaica Isle of Man Es Migjorn Gran Anglesey Puigpunyent Sant Joan de Labritja Ariany, Majorca Inca Turks and Caicos Islands The Bahamas Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog Flemish Region Lapland Mancor de la Vall Santa Maria del Camí Bridgend County Borough British Virgin Islands Banyalbufar Son Servera Capdepera
Papua New Guinea, Grenada and Jamaica are located in lesser number of administrative territories or natural region of Germanys than Ancient Rome
Papua New Guinea Grenada Jamaica
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Ancient Rome
relation located on terrain feature
type administrative territorial entity
type natural region of Germany
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ?n . VALUES ( ?n ) { ( ontology:administrative_territorial_entity ) ( ontology:natural_region_of_Germany ) } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ?b . VALUES ( ?b ) { ( ontology:administrative_territorial_entity ) ( ontology:natural_region_of_Germany ) } } . resource:Ancient_Rome property:located_on_terrain_feature ?a } } . FILTER ( ?f < ?p ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4333194
P530
Q1048835
USER
Are Stritenka known to have diplomatic connections with those ones ?
(Q4333194,P530,Q691) (Q4333194,P530,Q769) (Q4333194,P530,Q766)
action is_in
entity prev_answer
action find
entity Q4333194
relation P530
['Q4333194', 'P530', 'Q691'] ['Q4333194', 'P530', 'Q769'] ['Q4333194', 'P530', 'Q766']
ASK WHERE { VALUES ( ?d ) { ( resource:Q927498 ) ( resource:Q6661154 ) ( resource:Q983465 ) } . resource:Q4333194 property:P530 ?d }
Stritenka
action is_in
entity prev_answer
action find
entity Stritenka
relation diplomatic relation
['Stritenka', 'diplomatic relation', 'Papua New Guinea'] ['Stritenka', 'diplomatic relation', 'Grenada'] ['Stritenka', 'diplomatic relation', 'Jamaica']
ASK WHERE { VALUES ( ?d ) { ( resource:Llucmajor ) ( resource:Llanddeusant,_Carmarthenshire ) ( resource:Santa_Eulària_des_Riu ) } . resource:Stritenka property:diplomatic_relation ?d }
[]
political territorial entity
SYSTEM
NO
(Q4333194,P530,Q691) (Q4333194,P530,Q769) (Q4333194,P530,Q766)
action is_in
entity prev_answer
action find
entity Q4333194
relation P530
[ANSWER]
['Q4333194', 'P530', 'Q691'] ['Q4333194', 'P530', 'Q769'] ['Q4333194', 'P530', 'Q766']
ASK WHERE { VALUES ( ?d ) { ( resource:Q927498 ) ( resource:Q6661154 ) ( resource:Q983465 ) } . resource:Q4333194 property:P530 ?d }
No
action is_in
entity prev_answer
action find
entity Stritenka
relation diplomatic relation
['Stritenka', 'diplomatic relation', 'Papua New Guinea'] ['Stritenka', 'diplomatic relation', 'Grenada'] ['Stritenka', 'diplomatic relation', 'Jamaica']
ASK WHERE { VALUES ( ?d ) { ( resource:Llucmajor ) ( resource:Llanddeusant,_Carmarthenshire ) ( resource:Santa_Eulària_des_Riu ) } . resource:Stritenka property:diplomatic_relation ?d }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q766 Q16326026 Q19561360
P35
Q502895
USER
Is Sanjaya Baru and Mansingh Khadka Magar the head of state of Jamaica ?
(Q766,P35,Q16326026) (Q766,P35,Q19561360)
action is_in
entity Q766
action intersection
action find_reverse
entity Q16326026
relation P35
action find_reverse
entity Q19561360
relation P35
['Q766', 'P35', 'Q16326026'] ['Q766', 'P35', 'Q19561360']
ASK WHERE { resource:Q766 property:P35 resource:Q19561360 . resource:Q766 property:P35 resource:Q16326026 }
Jamaica Sanjaya Baru Mansingh Khadka Magar
action is_in
entity Jamaica
action intersection
action find_reverse
entity Sanjaya Baru
relation head of state
action find_reverse
entity Mansingh Khadka Magar
relation head of state
['Jamaica', 'head of state', 'Sanjaya Baru'] ['Jamaica', 'head of state', 'Mansingh Khadka Magar']
ASK WHERE { resource:Jamaica property:head_of_state resource:Mansingh_Khadka_Magar . resource:Jamaica property:head_of_state resource:Sanjaya_Baru }
[]
common name
SYSTEM
NO
(Q766,P35,Q16326026) (Q766,P35,Q19561360)
action is_in
entity Q766
action intersection
action find_reverse
entity Q16326026
relation P35
action find_reverse
entity Q19561360
relation P35
[ANSWER]
['Q766', 'P35', 'Q16326026'] ['Q766', 'P35', 'Q19561360']
ASK WHERE { resource:Q766 property:P35 resource:Q19561360 . resource:Q766 property:P35 resource:Q16326026 }
No
action is_in
entity Jamaica
action intersection
action find_reverse
entity Sanjaya Baru
relation head of state
action find_reverse
entity Mansingh Khadka Magar
relation head of state
['Jamaica', 'head of state', 'Sanjaya Baru'] ['Jamaica', 'head of state', 'Mansingh Khadka Magar']
ASK WHERE { resource:Jamaica property:head_of_state resource:Mansingh_Khadka_Magar . resource:Jamaica property:head_of_state resource:Sanjaya_Baru }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q766
P85
Q484692
USER
Which is the national anthem of Jamaica ?
(Q766,P85,c(Q484692))
action filter_type
action find
entity Q766
relation P85
type Q484692
['Q766', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?a WHERE { resource:Q766 property:P85 ?a . ?a rdf:type ontology:Q484692 }
Jamaica
action filter_type
action find
entity Jamaica
relation anthem
type hymn
['Jamaica', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?a WHERE { resource:Jamaica property:anthem ?a . ?a rdf:type ontology:hymn }
[]
hymn
Q204643
SYSTEM
Jamaica, Land We Love
Q204643
(Q766,P85,c(Q484692))
action filter_type
action find
entity Q766
relation P85
type Q484692
The national anthem of Jamaica is [ANSWER]
['Q766', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?a WHERE { resource:Q766 property:P85 ?a . ?a rdf:type ontology:Q484692 }
Jamaica, Land We Love
The national anthem of Jamaica is Jamaica, Land We Love
Jamaica, Land We Love
action filter_type
action find
entity Jamaica
relation anthem
type hymn
['Jamaica', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?a WHERE { resource:Jamaica property:anthem ?a . ?a rdf:type ontology:hymn }
[]