Simple Question (Direct)
Simple Question
Q16844835
P97
Q355567
USER
What title was held by Sir William Owen, 4th Baronet ?
(Q16844835,P97,c(Q355567))
action filter_type
action find
entity Q16844835
relation P97
type Q355567
['Q16844835', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?y WHERE { resource:Q16844835 property:P97 ?y . ?y rdf:type ontology:Q355567 }
Sir William Owen, 4th Baronet
action filter_type
action find
entity Sir William Owen, 4th Baronet
relation noble title
type royal or noble rank
['Sir William Owen, 4th Baronet', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?y WHERE { resource:Sir_William_Owen,_4th_Baronet property:noble_title ?y . ?y rdf:type ontology:royal_or_noble_rank }
[]
royal or noble rank
Q282019
SYSTEM
baronet
Q282019
(Q16844835,P97,c(Q355567))
action filter_type
action find
entity Q16844835
relation P97
type Q355567
A [ANSWER] was held by Sir William Owen, 4th [ANSWER]
['Q16844835', 'P97', {'concept': 'Q355567'}]
SELECT DISTINCT ?y WHERE { resource:Q16844835 property:P97 ?y . ?y rdf:type ontology:Q355567 }
baronet
A baronet was held by Sir William Owen, 4th Baronet
baronet
action filter_type
action find
entity Sir William Owen, 4th Baronet
relation noble title
type royal or noble rank
['Sir William Owen, 4th Baronet', 'noble title', {'concept': 'royal or noble rank'}]
SELECT DISTINCT ?y WHERE { resource:Sir_William_Owen,_4th_Baronet property:noble_title ?y . ?y rdf:type ontology:royal_or_noble_rank }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16844835
P39
Q12737077
USER
What was the position held by that person ?
(Q282019,P39,c(Q12737077))
action filter_type
action find
entity Q16844835
relation P39
type Q12737077
['Q282019', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q16844835 property:P39 ?y }
Sir William Owen, 4th Baronet
action filter_type
action find
entity Sir William Owen, 4th Baronet
relation position held
type occupation
['baronet', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Sir_William_Owen,_4th_Baronet property:position_held ?y }
[]
occupation
Q18015642
SYSTEM
Member of Parliament in the Parliament of Great Britain
Q18015642
(Q282019,P39,c(Q12737077))
action filter_type
action find
entity Q16844835
relation P39
type Q12737077
The position held by that person was [ANSWER]
['Q282019', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q16844835 property:P39 ?y }
Member of Parliament in the Parliament of Great Britain
The position held by that person was Member of Parliament in the Parliament of Great Britain
Member of Parliament in the Parliament of Great Britain
action filter_type
action find
entity Sir William Owen, 4th Baronet
relation position held
type occupation
['baronet', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Sir_William_Owen,_4th_Baronet property:position_held ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16844835
P1412
Q34770
USER
Which language can that person understand ?
(Q18015642,P1412,c(Q34770))
action filter_type
action find
entity Q16844835
relation P1412
type Q34770
['Q18015642', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q16844835 property:P1412 ?y }
Sir William Owen, 4th Baronet
action filter_type
action find
entity Sir William Owen, 4th Baronet
relation languages spoken, written or signed
type language
['Member of Parliament in the Parliament of Great Britain', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Sir_William_Owen,_4th_Baronet property:languages_spoken,_written_or_signed ?y }
[]
language
Q1860
SYSTEM
English
Q1860
(Q18015642,P1412,c(Q34770))
action filter_type
action find
entity Q16844835
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q18015642', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q16844835 property:P1412 ?y }
English
That person can understand the English
English
action filter_type
action find
entity Sir William Owen, 4th Baronet
relation languages spoken, written or signed
type language
['Member of Parliament in the Parliament of Great Britain', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Sir_William_Owen,_4th_Baronet property:languages_spoken,_written_or_signed ?y }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q1998595 Q1346342
P361
Q5962346
USER
Is that language a component of Batak languages and Anglic languages ?
(Q1860,P361,Q1998595) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1998595
relation P361
action find_reverse
entity Q1346342
relation P361
['Q1860', 'P361', 'Q1998595'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q1998595 . resource:Q1860 property:P361 resource:Q1346342 }
English Batak languages Anglic languages
action is_in
entity English
action intersection
action find_reverse
entity Batak languages
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Batak languages'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Batak_languages . resource:English property:part_of resource:Anglic_languages }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q1860,P361,Q1998595) (Q1860,P361,Q1346342)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1998595
relation P361
action find_reverse
entity Q1346342
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1998595'] ['Q1860', 'P361', 'Q1346342']
ASK WHERE { resource:Q1860 property:P361 resource:Q1998595 . resource:Q1860 property:P361 resource:Q1346342 }
NO and YES respectively
action is_in
entity English
action intersection
action find_reverse
entity Batak languages
relation part of
action find_reverse
entity Anglic languages
relation part of
['English', 'part of', 'Batak languages'] ['English', 'part of', 'Anglic languages']
ASK WHERE { resource:English property:part_of resource:Batak_languages . resource:English property:part_of resource:Anglic_languages }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16844835 Q82955
P106
Q12737077
USER
Does Sir William Owen, 4th Baronet do for a living politician ?
(Q16844835,P106,Q82955)
action is_in
entity Q82955
action find
entity Q16844835
relation P106
['Q16844835', 'P106', 'Q82955']
ASK WHERE { resource:Q16844835 property:P106 resource:Q82955 }
Sir William Owen, 4th Baronet politician
action is_in
entity politician
action find
entity Sir William Owen, 4th Baronet
relation occupation
['Sir William Owen, 4th Baronet', 'occupation', 'politician']
ASK WHERE { resource:Sir_William_Owen,_4th_Baronet property:occupation resource:politician }
[]
occupation
SYSTEM
YES
(Q16844835,P106,Q82955)
action is_in
entity Q82955
action find
entity Q16844835
relation P106
[ANSWER]
['Q16844835', 'P106', 'Q82955']
ASK WHERE { resource:Q16844835 property:P106 resource:Q82955 }
Yes
action is_in
entity politician
action find
entity Sir William Owen, 4th Baronet
relation occupation
['Sir William Owen, 4th Baronet', 'occupation', 'politician']
ASK WHERE { resource:Sir_William_Owen,_4th_Baronet property:occupation resource:politician }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q7085403 Q7863249
P361
Q5962346
USER
Is English a component of Old Welsh Grey Sheepdog and U.S. National Vegetation Classification ?
(Q1860,P361,Q7085403) (Q1860,P361,Q7863249)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q7085403
relation P361
action find_reverse
entity Q7863249
relation P361
['Q1860', 'P361', 'Q7085403'] ['Q1860', 'P361', 'Q7863249']
ASK WHERE { resource:Q1860 property:P361 resource:Q7085403 . resource:Q1860 property:P361 resource:Q7863249 }
English Old Welsh Grey Sheepdog U.S. National Vegetation Classification
action is_in
entity English
action intersection
action find_reverse
entity Old Welsh Grey Sheepdog
relation part of
action find_reverse
entity U.S. National Vegetation Classification
relation part of
['English', 'part of', 'Old Welsh Grey Sheepdog'] ['English', 'part of', 'U.S. National Vegetation Classification']
ASK WHERE { resource:English property:part_of resource:Old_Welsh_Grey_Sheepdog . resource:English property:part_of resource:U.S._National_Vegetation_Classification }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q7085403) (Q1860,P361,Q7863249)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q7085403
relation P361
action find_reverse
entity Q7863249
relation P361
[ANSWER]
['Q1860', 'P361', 'Q7085403'] ['Q1860', 'P361', 'Q7863249']
ASK WHERE { resource:Q1860 property:P361 resource:Q7085403 . resource:Q1860 property:P361 resource:Q7863249 }
No
action is_in
entity English
action intersection
action find_reverse
entity Old Welsh Grey Sheepdog
relation part of
action find_reverse
entity U.S. National Vegetation Classification
relation part of
['English', 'part of', 'Old Welsh Grey Sheepdog'] ['English', 'part of', 'U.S. National Vegetation Classification']
ASK WHERE { resource:English property:part_of resource:Old_Welsh_Grey_Sheepdog . resource:English property:part_of resource:U.S._National_Vegetation_Classification }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q1048835
USER
Which political territories designates atleast 1 language as their official language ?
(c(Q1048835),P37,c(Q34770))
action atleast
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 1
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?r ) WHERE { ?s property:P37 ?c . ?s rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q34770 } GROUP BY ?s } . FILTER ( ?r >= 1 ) }
action atleast
action find_tuple_counts
relation official language
type political territorial entity
type language
value 1
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?r ) WHERE { ?s property:official_language ?c . ?s rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:language } GROUP BY ?s } . FILTER ( ?r >= 1 ) }
[]
language political territorial entity
Q408 Q16 Q5705
SYSTEM
Australia, Canada, Catalonia
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q757 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action atleast
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 1
[ANSWERS] designate atleast 1 language as their official language
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?r ) WHERE { ?s property:P37 ?c . ?s rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q34770 } GROUP BY ?s } . FILTER ( ?r >= 1 ) }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Saint Vincent and the Grenadines Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
Australia, Canada and Catalonia designate atleast 1 language as their official language
Australia Canada Catalonia
action atleast
action find_tuple_counts
relation official language
type political territorial entity
type language
value 1
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?r ) WHERE { ?s property:official_language ?c . ?s rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:language } GROUP BY ?s } . FILTER ( ?r >= 1 ) }
[]