Simple Question (Direct)
Simple Question
Q2900128
P39
Q12737077
USER
What was the position for which Daniel Rosolio was appointed ?
(Q2900128,P39,c(Q12737077))
action filter_type
action find
entity Q2900128
relation P39
type Q12737077
['Q2900128', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q2900128 property:P39 ?t }
Daniel Rosolio
action filter_type
action find
entity Daniel Rosolio
relation position held
type occupation
['Daniel Rosolio', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Daniel_Rosolio property:position_held ?t }
[]
occupation
Q4047513
SYSTEM
Knesset member
Q4047513
(Q2900128,P39,c(Q12737077))
action filter_type
action find
entity Q2900128
relation P39
type Q12737077
[ANSWER]
['Q2900128', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q2900128 property:P39 ?t }
Knesset member
Knesset member
Knesset member
action filter_type
action find
entity Daniel Rosolio
relation position held
type occupation
['Daniel Rosolio', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Daniel_Rosolio property:position_held ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2900128
P937
Q56061
USER
Which is the work location of Daniel Rosolio ?
(Q2900128,P937,c(Q56061))
action filter_type
action find
entity Q2900128
relation P937
type Q56061
['Q2900128', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2900128 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Daniel Rosolio
action filter_type
action find
entity Daniel Rosolio
relation work location
type administrative territorial entity
['Daniel Rosolio', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Daniel_Rosolio property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1218
SYSTEM
Jerusalem
Q1218
(Q2900128,P937,c(Q56061))
action filter_type
action find
entity Q2900128
relation P937
type Q56061
Is the work location of Daniel Rosolio in [ANSWER]
['Q2900128', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2900128 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Jerusalem
Is the work location of Daniel Rosolio in Jerusalem
Jerusalem
action filter_type
action find
entity Daniel Rosolio
relation work location
type administrative territorial entity
['Daniel Rosolio', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Daniel_Rosolio property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2900128
P1412
Q25295
USER
Which language family can Daniel Rosolio understand ?
(Q2900128,P1412,c(Q25295))
action filter_type
action find
entity Q2900128
relation P1412
type Q25295
['Q2900128', 'P1412', {'concept': 'Q25295'}]
SELECT DISTINCT ?k WHERE { resource:Q2900128 property:P1412 ?k . ?k rdf:type ontology:Q25295 }
Daniel Rosolio
action filter_type
action find
entity Daniel Rosolio
relation languages spoken, written or signed
type language family
['Daniel Rosolio', 'languages spoken, written or signed', {'concept': 'language family'}]
SELECT DISTINCT ?k WHERE { resource:Daniel_Rosolio property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language_family }
[]
language family
Q9288
SYSTEM
Hebrew
Q9288
(Q2900128,P1412,c(Q25295))
action filter_type
action find
entity Q2900128
relation P1412
type Q25295
Daniel Rosolio can understand in [ANSWER]
['Q2900128', 'P1412', {'concept': 'Q25295'}]
SELECT DISTINCT ?k WHERE { resource:Q2900128 property:P1412 ?k . ?k rdf:type ontology:Q25295 }
Hebrew
Daniel Rosolio can understand in Hebrew
Hebrew
action filter_type
action find
entity Daniel Rosolio
relation languages spoken, written or signed
type language family
['Daniel Rosolio', 'languages spoken, written or signed', {'concept': 'language family'}]
SELECT DISTINCT ?k WHERE { resource:Daniel_Rosolio property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language_family }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4504390
Q25295
USER
And what about Gabriel Talphir?
(Q4504390,P1412,c(Q25295))
action filter_type
action find
entity Q4504390
relation P1412
type Q25295
['Q4504390', 'P1412', {'concept': 'Q25295'}]
SELECT DISTINCT ?h WHERE { resource:Q4504390 property:P1412 ?h . ?h rdf:type ontology:Q25295 }
Gabriel Talphir
action filter_type
action find
entity Gabriel Talphir
relation languages spoken, written or signed
type language family
['Gabriel Talphir', 'languages spoken, written or signed', {'concept': 'language family'}]
SELECT DISTINCT ?h WHERE { resource:Gabriel_Talphir property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language_family }
[]
language family
Q9288
SYSTEM
Hebrew
Q9288
(Q4504390,P1412,c(Q25295))
action filter_type
action find
entity Q4504390
relation P1412
type Q25295
[ANSWER]
['Q4504390', 'P1412', {'concept': 'Q25295'}]
SELECT DISTINCT ?h WHERE { resource:Q4504390 property:P1412 ?h . ?h rdf:type ontology:Q25295 }
Hebrew
Hebrew
action filter_type
action find
entity Gabriel Talphir
relation languages spoken, written or signed
type language family
['Gabriel Talphir', 'languages spoken, written or signed', {'concept': 'language family'}]
SELECT DISTINCT ?h WHERE { resource:Gabriel_Talphir property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language_family }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q9288 Q16130712
P103
Q502895
USER
Does Dan Allon speak that one as his/her native language ?
(Q16130712,P103,Q9288)
action is_in
entity Q9288
action find
entity Q16130712
relation P103
['Q16130712', 'P103', 'Q9288']
ASK WHERE { resource:Q16130712 property:P103 resource:Q9288 }
Hebrew Dan Allon
action is_in
entity Hebrew
action find
entity Dan Allon
relation native language
['Dan Allon', 'native language', 'Hebrew']
ASK WHERE { resource:Dan_Allon property:native_language resource:Hebrew }
[]
common name
SYSTEM
YES
(Q16130712,P103,Q9288)
action is_in
entity Q9288
action find
entity Q16130712
relation P103
[ANSWER]
['Q16130712', 'P103', 'Q9288']
ASK WHERE { resource:Q16130712 property:P103 resource:Q9288 }
Yes
action is_in
entity Hebrew
action find
entity Dan Allon
relation native language
['Dan Allon', 'native language', 'Hebrew']
ASK WHERE { resource:Dan_Allon property:native_language resource:Hebrew }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4047513 Q6116851
P17
Q15617994
USER
Is Knesset member located in Jacksboro Independent School District ?
(Q4047513,P17,Q6116851)
action is_in
entity Q6116851
action find
entity Q4047513
relation P17
['Q4047513', 'P17', 'Q6116851']
ASK WHERE { resource:Q4047513 property:P17 resource:Q6116851 }
Knesset member Jacksboro Independent School District
action is_in
entity Jacksboro Independent School District
action find
entity Knesset member
relation country
['Knesset member', 'country', 'Jacksboro Independent School District']
ASK WHERE { resource:Knesset_member property:country resource:Jacksboro_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4047513,P17,Q6116851)
action is_in
entity Q6116851
action find
entity Q4047513
relation P17
[ANSWER]
['Q4047513', 'P17', 'Q6116851']
ASK WHERE { resource:Q4047513 property:P17 resource:Q6116851 }
No
action is_in
entity Jacksboro Independent School District
action find
entity Knesset member
relation country
['Knesset member', 'country', 'Jacksboro Independent School District']
ASK WHERE { resource:Knesset_member property:country resource:Jacksboro_Independent_School_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2900128
P21
Q290
USER
What is the sex of Daniel Rosolio ?
(Q2900128,P21,c(Q290))
action filter_type
action find
entity Q2900128
relation P21
type Q290
['Q2900128', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q2900128 property:P21 ?o . ?o rdf:type ontology:Q290 }
Daniel Rosolio
action filter_type
action find
entity Daniel Rosolio
relation gender
type sex
['Daniel Rosolio', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Daniel_Rosolio property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2900128,P21,c(Q290))
action filter_type
action find
entity Q2900128
relation P21
type Q290
The sex of Daniel Rosolio is the [ANSWER]
['Q2900128', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q2900128 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of Daniel Rosolio is the male
male
action filter_type
action find
entity Daniel Rosolio
relation gender
type sex
['Daniel Rosolio', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Daniel_Rosolio property:gender ?o . ?o rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5686947 Q2900128
P19
Q56061
USER
Which administrative territories were Daniel Rosolio or Hayma Ne Win born in ?
OR((Q2900128,P19,c(Q56061)), (Q5686947,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2900128
relation P19
action find
entity Q5686947
relation P19
type Q56061
{'OR': [['Q2900128', 'P19', {'concept': 'Q56061'}], ['Q5686947', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2900128 property:P19 ?q } UNION { resource:Q5686947 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Hayma Ne Win Daniel Rosolio
action filter_type
action union
action find
entity Daniel Rosolio
relation place of birth
action find
entity Hayma Ne Win
relation place of birth
type administrative territorial entity
{'OR': [['Daniel Rosolio', 'place of birth', {'concept': 'administrative territorial entity'}], ['Hayma Ne Win', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Daniel_Rosolio property:place_of_birth ?q } UNION { resource:Hayma_Ne_Win property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q33935 Q37995
SYSTEM
Tel Aviv, Yangon
Q33935 Q37995
OR((Q2900128,P19,c(Q56061)), (Q5686947,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2900128
relation P19
action find
entity Q5686947
relation P19
type Q56061
Daniel Rosolio or Hayma Ne Win were born in [ANSWERS]
{'OR': [['Q2900128', 'P19', {'concept': 'Q56061'}], ['Q5686947', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2900128 property:P19 ?q } UNION { resource:Q5686947 property:P19 ?q } } . ?q rdf:type ontology:Q56061 }
Tel Aviv Yangon
Daniel Rosolio or Hayma Ne Win were born in Tel Aviv and Yangon
Tel Aviv Yangon
action filter_type
action union
action find
entity Daniel Rosolio
relation place of birth
action find
entity Hayma Ne Win
relation place of birth
type administrative territorial entity
{'OR': [['Daniel Rosolio', 'place of birth', {'concept': 'administrative territorial entity'}], ['Hayma Ne Win', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Daniel_Rosolio property:place_of_birth ?q } UNION { resource:Hayma_Ne_Win property:place_of_birth ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1218
P17
Q5589178 Q3024240
USER
How many regimes and former countries are Jerusalem situated in ?
(Q1218,P17,c(Q5589178)) (Q1218,P17,c(Q3024240))
action count
action union
action filter_type
action find
entity Q1218
relation P17
type Q5589178
action filter_type
action find
entity Q1218
relation P17
type Q3024240
['Q1218', 'P17', {'concept': 'Q5589178'}] ['Q1218', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { resource:Q1218 property:P17 ?q . ?q rdf:type ontology:Q3024240 } UNION { resource:Q1218 property:P17 ?q . ?q rdf:type ontology:Q5589178 } }
Jerusalem
action count
action union
action filter_type
action find
entity Jerusalem
relation country
type regime
action filter_type
action find
entity Jerusalem
relation country
type former country
['Jerusalem', 'country', {'concept': 'regime'}] ['Jerusalem', 'country', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { resource:Jerusalem property:country ?q . ?q rdf:type ontology:former_country } UNION { resource:Jerusalem property:country ?q . ?q rdf:type ontology:regime } }
[]
regime former country
SYSTEM
1 regimes and 1 former countries
Q12560 Q219060
(Q1218,P17,c(Q5589178)) (Q1218,P17,c(Q3024240))
action count
action union
action filter_type
action find
entity Q1218
relation P17
type Q5589178
action filter_type
action find
entity Q1218
relation P17
type Q3024240
[ANSWER]
['Q1218', 'P17', {'concept': 'Q5589178'}] ['Q1218', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { resource:Q1218 property:P17 ?q . ?q rdf:type ontology:Q3024240 } UNION { resource:Q1218 property:P17 ?q . ?q rdf:type ontology:Q5589178 } }
Ottoman Empire Palestine
1 regimes and 1 former countries
action count
action union
action filter_type
action find
entity Jerusalem
relation country
type regime
action filter_type
action find
entity Jerusalem
relation country
type former country
['Jerusalem', 'country', {'concept': 'regime'}] ['Jerusalem', 'country', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { resource:Jerusalem property:country ?q . ?q rdf:type ontology:former_country } UNION { resource:Jerusalem property:country ?q . ?q rdf:type ontology:regime } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1218 Q220982
P163
Q17335294
USER
How many coats of arms are associated with Jerusalem or Tristan da Cunha ?
(Q1218,P163,c(Q17335294)) (Q220982,P163,c(Q17335294))
action count
action union
action filter_type
action find
entity Q1218
relation P163
type Q17335294
action filter_type
action find
entity Q220982
relation P163
type Q17335294
['Q1218', 'P163', {'concept': 'Q17335294'}] ['Q220982', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b rdf:type ontology:Q17335294 . resource:Q1218 property:P163 ?b } UNION { resource:Q220982 property:P163 ?b . ?b rdf:type ontology:Q17335294 } }
Jerusalem Tristan da Cunha
action count
action union
action filter_type
action find
entity Jerusalem
relation flag
type flag or coat of arms
action filter_type
action find
entity Tristan da Cunha
relation flag
type flag or coat of arms
['Jerusalem', 'flag', {'concept': 'flag or coat of arms'}] ['Tristan da Cunha', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b rdf:type ontology:flag_or_coat_of_arms . resource:Jerusalem property:flag ?b } UNION { resource:Tristan_da_Cunha property:flag ?b . ?b rdf:type ontology:flag_or_coat_of_arms } }
[]
flag or coat of arms
SYSTEM
2
Q818665 Q44936
(Q1218,P163,c(Q17335294)) (Q220982,P163,c(Q17335294))
action count
action union
action filter_type
action find
entity Q1218
relation P163
type Q17335294
action filter_type
action find
entity Q220982
relation P163
type Q17335294
[ANSWER]
['Q1218', 'P163', {'concept': 'Q17335294'}] ['Q220982', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b rdf:type ontology:Q17335294 . resource:Q1218 property:P163 ?b } UNION { resource:Q220982 property:P163 ?b . ?b rdf:type ontology:Q17335294 } }
Flag of Tristan da Cunha Flag of Jerusalem
2
action count
action union
action filter_type
action find
entity Jerusalem
relation flag
type flag or coat of arms
action filter_type
action find
entity Tristan da Cunha
relation flag
type flag or coat of arms
['Jerusalem', 'flag', {'concept': 'flag or coat of arms'}] ['Tristan da Cunha', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { ?b rdf:type ontology:flag_or_coat_of_arms . resource:Jerusalem property:flag ?b } UNION { resource:Tristan_da_Cunha property:flag ?b . ?b rdf:type ontology:flag_or_coat_of_arms } }
[]