Simple Question (Direct)
Simple Question
Q13219026
P1412
Q34770
USER
Which language can Àngel Mifsud i Ciscar read ?
(Q13219026,P1412,c(Q34770))
action filter_type
action find
entity Q13219026
relation P1412
type Q34770
['Q13219026', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q13219026 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Àngel Mifsud i Ciscar
action filter_type
action find
entity Àngel Mifsud i Ciscar
relation languages spoken, written or signed
type language
['Àngel Mifsud i Ciscar', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Àngel_Mifsud_i_Ciscar property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q13219026,P1412,c(Q34770))
action filter_type
action find
entity Q13219026
relation P1412
type Q34770
Àngel Mifsud i Ciscar can read in [ANSWER]
['Q13219026', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q13219026 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Spanish
Àngel Mifsud i Ciscar can read in Spanish
Spanish
action filter_type
action find
entity Àngel Mifsud i Ciscar
relation languages spoken, written or signed
type language
['Àngel Mifsud i Ciscar', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Àngel_Mifsud_i_Ciscar property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13219026
P136
Q1792379
USER
What can be considered as category for Àngel Mifsud i Ciscar ?
(Q13219026,P136,c(Q1792379))
action filter_type
action find
entity Q13219026
relation P136
type Q1792379
['Q13219026', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { resource:Q13219026 property:P136 ?p . ?p rdf:type ontology:Q1792379 }
Àngel Mifsud i Ciscar
action filter_type
action find
entity Àngel Mifsud i Ciscar
relation genre
type art genre
['Àngel Mifsud i Ciscar', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { resource:Àngel_Mifsud_i_Ciscar property:genre ?p . ?p rdf:type ontology:art_genre }
[]
art genre
Q482
SYSTEM
poetry
Q482
(Q13219026,P136,c(Q1792379))
action filter_type
action find
entity Q13219026
relation P136
type Q1792379
[ANSWER] can be considered as category for Àngel Mifsud i Ciscar
['Q13219026', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { resource:Q13219026 property:P136 ?p . ?p rdf:type ontology:Q1792379 }
poetry
Poetry can be considered as category for Àngel Mifsud i Ciscar
poetry
action filter_type
action find
entity Àngel Mifsud i Ciscar
relation genre
type art genre
['Àngel Mifsud i Ciscar', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { resource:Àngel_Mifsud_i_Ciscar property:genre ?p . ?p rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q482 Q2342949
P136
Q502895
USER
Does Gerrit van den Vliet a that art genre as its type ?
(Q2342949,P136,Q482)
action is_in
entity Q2342949
action find
entity Q482
relation P136
['Q2342949', 'P136', 'Q482']
ASK WHERE { resource:Q482 property:P136 resource:Q2342949 }
poetry Gerrit van den Vliet
action is_in
entity Gerrit van den Vliet
action find
entity poetry
relation genre
['Gerrit van den Vliet', 'genre', 'poetry']
ASK WHERE { resource:poetry property:genre resource:Gerrit_van_den_Vliet }
[]
common name
SYSTEM
NO
(Q2342949,P136,Q482)
action is_in
entity Q2342949
action find
entity Q482
relation P136
[ANSWER]
['Q2342949', 'P136', 'Q482']
ASK WHERE { resource:Q482 property:P136 resource:Q2342949 }
No
action is_in
entity Gerrit van den Vliet
action find
entity poetry
relation genre
['Gerrit van den Vliet', 'genre', 'poetry']
ASK WHERE { resource:poetry property:genre resource:Gerrit_van_den_Vliet }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q13219026
P27
Q15617994
USER
How many administrative territories do Àngel Mifsud i Ciscar belong to ?
(Q13219026,P27,c(Q15617994))
action count
action filter_type
action find
entity Q13219026
relation P27
type Q15617994
['Q13219026', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q13219026 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Àngel Mifsud i Ciscar
action count
action filter_type
action find
entity Àngel Mifsud i Ciscar
relation country of citizenship
type designation for an administrative territorial entity
['Àngel Mifsud i Ciscar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Àngel_Mifsud_i_Ciscar property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q13219026,P27,c(Q15617994))
action count
action filter_type
action find
entity Q13219026
relation P27
type Q15617994
[ANSWER]
['Q13219026', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q13219026 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity Àngel Mifsud i Ciscar
relation country of citizenship
type designation for an administrative territorial entity
['Àngel Mifsud i Ciscar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Àngel_Mifsud_i_Ciscar property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13219026
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
action filter_type
action find
entity Q13219026
relation P27
type Q15617994
SELECT DISTINCT ?q WHERE { resource:Q13219026 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Àngel Mifsud i Ciscar
action filter_type
action find
entity Àngel Mifsud i Ciscar
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?q WHERE { resource:Àngel_Mifsud_i_Ciscar property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
action filter_type
action find
entity Q13219026
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
SELECT DISTINCT ?q WHERE { resource:Q13219026 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Spain
Spain is the country of citizenship of that person
Spain
action filter_type
action find
entity Àngel Mifsud i Ciscar
relation country of citizenship
type designation for an administrative territorial entity
SELECT DISTINCT ?q WHERE { resource:Àngel_Mifsud_i_Ciscar property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29 Q14142336
P27
Q502895
USER
Is Emilio Lorenzo Jorge de Ana a civilian of that administrative territory ?
(Q14142336,P27,Q29)
action is_in
entity Q29
action find
entity Q14142336
relation P27
['Q14142336', 'P27', 'Q29']
ASK WHERE { resource:Q14142336 property:P27 resource:Q29 }
Spain Emilio Lorenzo Jorge de Ana
action is_in
entity Spain
action find
entity Emilio Lorenzo Jorge de Ana
relation country of citizenship
['Emilio Lorenzo Jorge de Ana', 'country of citizenship', 'Spain']
ASK WHERE { resource:Emilio_Lorenzo_Jorge_de_Ana property:country_of_citizenship resource:Spain }
[]
common name
SYSTEM
YES
(Q14142336,P27,Q29)
action is_in
entity Q29
action find
entity Q14142336
relation P27
[ANSWER]
['Q14142336', 'P27', 'Q29']
ASK WHERE { resource:Q14142336 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Emilio Lorenzo Jorge de Ana
relation country of citizenship
['Emilio Lorenzo Jorge de Ana', 'country of citizenship', 'Spain']
ASK WHERE { resource:Emilio_Lorenzo_Jorge_de_Ana property:country_of_citizenship resource:Spain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P47
Q15617994 Q515
USER
How many administrative territories and cities have a shared border with Spain ?
(Q29,P47,c(Q15617994)) (Q29,P47,c(Q515))
action count
action union
action filter_type
action find
entity Q29
relation P47
type Q15617994
action filter_type
action find
entity Q29
relation P47
type Q515
['Q29', 'P47', {'concept': 'Q15617994'}] ['Q29', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { resource:Q29 property:P47 ?t . ?t rdf:type ontology:Q15617994 } UNION { resource:Q29 property:P47 ?t . ?t rdf:type ontology:Q515 } }
Spain
action count
action union
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Spain
relation shares border with
type city
['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Spain', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { resource:Spain property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Spain property:shares_border_with ?t . ?t rdf:type ontology:city } }
[]
designation for an administrative territorial entity city
SYSTEM
5 administrative territories and 1 cities
Q142 Q1025 Q45 Q1028 Q228 Q1410
(Q29,P47,c(Q15617994)) (Q29,P47,c(Q515))
action count
action union
action filter_type
action find
entity Q29
relation P47
type Q15617994
action filter_type
action find
entity Q29
relation P47
type Q515
[ANSWER]
['Q29', 'P47', {'concept': 'Q15617994'}] ['Q29', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { resource:Q29 property:P47 ?t . ?t rdf:type ontology:Q15617994 } UNION { resource:Q29 property:P47 ?t . ?t rdf:type ontology:Q515 } }
France Mauritania Portugal Morocco Andorra Gibraltar
5 administrative territories and 1 cities
action count
action union
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Spain
relation shares border with
type city
['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Spain', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { resource:Spain property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Spain property:shares_border_with ?t . ?t rdf:type ontology:city } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with atleast 57 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 57
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?h >= 57 ) . { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?h ) WHERE { ?l property:P530 ?p . ?l rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?l } }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 57
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?h >= 57 ) . { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?h ) WHERE { ?l property:diplomatic_relation ?p . ?l rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 57
[ANSWERS] have diplomatic relations with atleast 57 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?h >= 57 ) . { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?h ) WHERE { ?l property:P530 ?p . ?l rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?l } }
Germany Australia
Germany and Australia have diplomatic relations with atleast 57 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 57
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?h >= 57 ) . { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?h ) WHERE { ?l property:diplomatic_relation ?p . ?l rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q57395
P27
Q502895
USER
Are Helmut Newton a citizen of those political territories ?
(Q57395,P27,Q183) (Q57395,P27,Q408)
action is_in
entity prev_answer
action find
entity Q57395
relation P27
['Q57395', 'P27', 'Q183'] ['Q57395', 'P27', 'Q408']
ASK WHERE { VALUES ( ?n ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q57395 property:P27 ?n }
Helmut Newton
action is_in
entity prev_answer
action find
entity Helmut Newton
relation country of citizenship
['Helmut Newton', 'country of citizenship', 'Germany'] ['Helmut Newton', 'country of citizenship', 'Australia']
ASK WHERE { VALUES ( ?n ) { ( resource:Germany ) ( resource:Australia ) } . resource:Helmut_Newton property:country_of_citizenship ?n }
[]
common name
SYSTEM
YES
(Q57395,P27,Q183) (Q57395,P27,Q408)
action is_in
entity prev_answer
action find
entity Q57395
relation P27
[ANSWER]
['Q57395', 'P27', 'Q183'] ['Q57395', 'P27', 'Q408']
ASK WHERE { VALUES ( ?n ) { ( resource:Q183 ) ( resource:Q408 ) } . resource:Q57395 property:P27 ?n }
Yes
action is_in
entity prev_answer
action find
entity Helmut Newton
relation country of citizenship
['Helmut Newton', 'country of citizenship', 'Germany'] ['Helmut Newton', 'country of citizenship', 'Australia']
ASK WHERE { VALUES ( ?n ) { ( resource:Germany ) ( resource:Australia ) } . resource:Helmut_Newton property:country_of_citizenship ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q13219026 Q1782975
P106
Q12737077
USER
Does Àngel Mifsud i Ciscar do for a living constitutional bishop ?
(Q13219026,P106,Q1782975)
action is_in
entity Q1782975
action find
entity Q13219026
relation P106
['Q13219026', 'P106', 'Q1782975']
ASK WHERE { resource:Q13219026 property:P106 resource:Q1782975 }
Àngel Mifsud i Ciscar constitutional bishop
action is_in
entity constitutional bishop
action find
entity Àngel Mifsud i Ciscar
relation occupation
['Àngel Mifsud i Ciscar', 'occupation', 'constitutional bishop']
ASK WHERE { resource:Àngel_Mifsud_i_Ciscar property:occupation resource:constitutional_bishop }
[]
occupation
SYSTEM
NO
(Q13219026,P106,Q1782975)
action is_in
entity Q1782975
action find
entity Q13219026
relation P106
[ANSWER]
['Q13219026', 'P106', 'Q1782975']
ASK WHERE { resource:Q13219026 property:P106 resource:Q1782975 }
No
action is_in
entity constitutional bishop
action find
entity Àngel Mifsud i Ciscar
relation occupation
['Àngel Mifsud i Ciscar', 'occupation', 'constitutional bishop']
ASK WHERE { resource:Àngel_Mifsud_i_Ciscar property:occupation resource:constitutional_bishop }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q408 Q668 Q388325
P530
Q15617994
USER
Does Australia have diplomatic relations with India and Siamaggiore ?
(Q408,P530,Q668) (Q408,P530,Q388325)
action is_in
entity Q408
action intersection
action find_reverse
entity Q668
relation P530
action find_reverse
entity Q388325
relation P530
['Q408', 'P530', 'Q668'] ['Q408', 'P530', 'Q388325']
ASK WHERE { resource:Q408 property:P530 resource:Q668 . resource:Q408 property:P530 resource:Q388325 }
Australia India Siamaggiore
action is_in
entity Australia
action intersection
action find_reverse
entity India
relation diplomatic relation
action find_reverse
entity Siamaggiore
relation diplomatic relation
['Australia', 'diplomatic relation', 'India'] ['Australia', 'diplomatic relation', 'Siamaggiore']
ASK WHERE { resource:Australia property:diplomatic_relation resource:India . resource:Australia property:diplomatic_relation resource:Siamaggiore }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q408,P530,Q668) (Q408,P530,Q388325)
action is_in
entity Q408
action intersection
action find_reverse
entity Q668
relation P530
action find_reverse
entity Q388325
relation P530
[ANSWER]
['Q408', 'P530', 'Q668'] ['Q408', 'P530', 'Q388325']
ASK WHERE { resource:Q408 property:P530 resource:Q668 . resource:Q408 property:P530 resource:Q388325 }
YES and NO respectively
action is_in
entity Australia
action intersection
action find_reverse
entity India
relation diplomatic relation
action find_reverse
entity Siamaggiore
relation diplomatic relation
['Australia', 'diplomatic relation', 'India'] ['Australia', 'diplomatic relation', 'Siamaggiore']
ASK WHERE { resource:Australia property:diplomatic_relation resource:India . resource:Australia property:diplomatic_relation resource:Siamaggiore }
[]