Simple Question (Direct)
Simple Question
Q2890070
P937
Q56061
USER
Where did Tamar Gozansky work ?
(Q2890070,P937,c(Q56061))
action filter_type
action find
entity Q2890070
relation P937
type Q56061
['Q2890070', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2890070 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Tamar Gozansky
action filter_type
action find
entity Tamar Gozansky
relation work location
type administrative territorial entity
['Tamar Gozansky', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Tamar_Gozansky property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1218
SYSTEM
Jerusalem
Q1218
(Q2890070,P937,c(Q56061))
action filter_type
action find
entity Q2890070
relation P937
type Q56061
Tamar Gozansky worked in [ANSWER]
['Q2890070', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q2890070 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Jerusalem
Tamar Gozansky worked in Jerusalem
Jerusalem
action filter_type
action find
entity Tamar Gozansky
relation work location
type administrative territorial entity
['Tamar Gozansky', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Tamar_Gozansky property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2890070
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q1218,P102,c(Q7210356))
action filter_type
action find
entity Q2890070
relation P102
type Q7210356
['Q1218', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7210356 . resource:Q2890070 property:P102 ?w }
Tamar Gozansky
action filter_type
action find
entity Tamar Gozansky
relation member of political party
type political organization
['Jerusalem', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_organization . resource:Tamar_Gozansky property:member_of_political_party ?w }
[]
political organization
Q339706
SYSTEM
Hadash
Q339706
(Q1218,P102,c(Q7210356))
action filter_type
action find
entity Q2890070
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q1218', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q7210356 . resource:Q2890070 property:P102 ?w }
Hadash
That person is affiliated with Hadash
Hadash
action filter_type
action find
entity Tamar Gozansky
relation member of political party
type political organization
['Jerusalem', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_organization . resource:Tamar_Gozansky property:member_of_political_party ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q339706
P488
Q502895
USER
How many people chaired Hadash ?
(Q339706,P488,c(Q502895))
action count
action filter_type
action find
entity Q339706
relation P488
type Q502895
['Q339706', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q339706 property:P488 ?b . ?b rdf:type ontology:Q502895 }
Hadash
action count
action filter_type
action find
entity Hadash
relation chairperson
type common name
['Hadash', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Hadash property:chairperson ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q12181439
(Q339706,P488,c(Q502895))
action count
action filter_type
action find
entity Q339706
relation P488
type Q502895
[ANSWER]
['Q339706', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Q339706 property:P488 ?b . ?b rdf:type ontology:Q502895 }
Ayman Odeh
1
action count
action filter_type
action find
entity Hadash
relation chairperson
type common name
['Hadash', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { resource:Hadash property:chairperson ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q339706
P488
Q502895
USER
Who served as the chairperson of that political organization ?
action filter_type
action find
entity Q339706
relation P488
type Q502895
SELECT DISTINCT ?l WHERE { resource:Q339706 property:P488 ?l . ?l rdf:type ontology:Q502895 }
Hadash
action filter_type
action find
entity Hadash
relation chairperson
type common name
SELECT DISTINCT ?l WHERE { resource:Hadash property:chairperson ?l . ?l rdf:type ontology:common_name }
[]
common name
Q12181439
SYSTEM
Ayman Odeh
Q12181439
action filter_type
action find
entity Q339706
relation P488
type Q502895
[ANSWER] served as the chairperson of that political organization
SELECT DISTINCT ?l WHERE { resource:Q339706 property:P488 ?l . ?l rdf:type ontology:Q502895 }
Ayman Odeh
Ayman Odeh served as the chairperson of that political organization
Ayman Odeh
action filter_type
action find
entity Hadash
relation chairperson
type common name
SELECT DISTINCT ?l WHERE { resource:Hadash property:chairperson ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12181439
P21
Q290
USER
Which sex does that person have ?
(Q12181439,P21,c(Q290))
action filter_type
action find
entity Q12181439
relation P21
type Q290
['Q12181439', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q12181439 property:P21 ?k . ?k rdf:type ontology:Q290 }
Ayman Odeh
action filter_type
action find
entity Ayman Odeh
relation gender
type sex
['Ayman Odeh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Ayman_Odeh property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12181439,P21,c(Q290))
action filter_type
action find
entity Q12181439
relation P21
type Q290
That person has a [ANSWER]
['Q12181439', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q12181439 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Ayman Odeh
relation gender
type sex
['Ayman Odeh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Ayman_Odeh property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12181439
P1412
Q34770
USER
Which language does that person speak in ?
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q12181439
relation P1412
type Q34770
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q12181439 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Ayman Odeh
action filter_type
action find
entity Ayman Odeh
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Ayman_Odeh property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q12181439
relation P1412
type Q34770
That person speaks the [ANSWER]
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q12181439 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
That person speaks the English
English
action filter_type
action find
entity Ayman Odeh
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Ayman_Odeh property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q2307476 Q7129609
P361
Q5962346
USER
Is that language a part of Plateau Penutian languages and Caucasian race ?
(Q1860,P361,Q2307476) (Q1860,P361,Q7129609)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q2307476
relation P361
action find_reverse
entity Q7129609
relation P361
['Q1860', 'P361', 'Q2307476'] ['Q1860', 'P361', 'Q7129609']
ASK WHERE { resource:Q1860 property:P361 resource:Q2307476 . resource:Q1860 property:P361 resource:Q7129609 }
English Plateau Penutian languages Caucasian race
action is_in
entity English
action intersection
action find_reverse
entity Plateau Penutian languages
relation part of
action find_reverse
entity Caucasian race
relation part of
['English', 'part of', 'Plateau Penutian languages'] ['English', 'part of', 'Caucasian race']
ASK WHERE { resource:English property:part_of resource:Plateau_Penutian_languages . resource:English property:part_of resource:Caucasian_race }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q2307476) (Q1860,P361,Q7129609)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q2307476
relation P361
action find_reverse
entity Q7129609
relation P361
[ANSWER]
['Q1860', 'P361', 'Q2307476'] ['Q1860', 'P361', 'Q7129609']
ASK WHERE { resource:Q1860 property:P361 resource:Q2307476 . resource:Q1860 property:P361 resource:Q7129609 }
No
action is_in
entity English
action intersection
action find_reverse
entity Plateau Penutian languages
relation part of
action find_reverse
entity Caucasian race
relation part of
['English', 'part of', 'Plateau Penutian languages'] ['English', 'part of', 'Caucasian race']
ASK WHERE { resource:English property:part_of resource:Plateau_Penutian_languages . resource:English property:part_of resource:Caucasian_race }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12181439 Q801
P27
Q15617994
USER
Is Ayman Odeh an inhabitant of Israel ?
(Q12181439,P27,Q801)
action is_in
entity Q801
action find
entity Q12181439
relation P27
['Q12181439', 'P27', 'Q801']
ASK WHERE { resource:Q12181439 property:P27 resource:Q801 }
Ayman Odeh Israel
action is_in
entity Israel
action find
entity Ayman Odeh
relation country of citizenship
['Ayman Odeh', 'country of citizenship', 'Israel']
ASK WHERE { resource:Ayman_Odeh property:country_of_citizenship resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q12181439,P27,Q801)
action is_in
entity Q801
action find
entity Q12181439
relation P27
[ANSWER]
['Q12181439', 'P27', 'Q801']
ASK WHERE { resource:Q12181439 property:P27 resource:Q801 }
Yes
action is_in
entity Israel
action find
entity Ayman Odeh
relation country of citizenship
['Ayman Odeh', 'country of citizenship', 'Israel']
ASK WHERE { resource:Ayman_Odeh property:country_of_citizenship resource:Israel }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2890070 Q801
P27
Q15617994
USER
Does Tamar Gozansky belong to Israel ?
(Q2890070,P27,Q801)
action is_in
entity Q801
action find
entity Q2890070
relation P27
['Q2890070', 'P27', 'Q801']
ASK WHERE { resource:Q2890070 property:P27 resource:Q801 }
Tamar Gozansky Israel
action is_in
entity Israel
action find
entity Tamar Gozansky
relation country of citizenship
['Tamar Gozansky', 'country of citizenship', 'Israel']
ASK WHERE { resource:Tamar_Gozansky property:country_of_citizenship resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2890070,P27,Q801)
action is_in
entity Q801
action find
entity Q2890070
relation P27
[ANSWER]
['Q2890070', 'P27', 'Q801']
ASK WHERE { resource:Q2890070 property:P27 resource:Q801 }
Yes
action is_in
entity Israel
action find
entity Tamar Gozansky
relation country of citizenship
['Tamar Gozansky', 'country of citizenship', 'Israel']
ASK WHERE { resource:Tamar_Gozansky property:country_of_citizenship resource:Israel }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7626649 Q2890070
P19
Q56061
USER
Which administrative territories were Tamar Gozansky or Stuart Hicks born ?
OR((Q2890070,P19,c(Q56061)), (Q7626649,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2890070
relation P19
action find
entity Q7626649
relation P19
type Q56061
{'OR': [['Q2890070', 'P19', {'concept': 'Q56061'}], ['Q7626649', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?b ) { ( resource:Q2890070 ) ( resource:Q7626649 ) } . ?b property:P19 ?q } . ?q rdf:type ontology:Q56061 }
Stuart Hicks Tamar Gozansky
action filter_type
action union
action find
entity Tamar Gozansky
relation place of birth
action find
entity Stuart Hicks
relation place of birth
type administrative territorial entity
{'OR': [['Tamar Gozansky', 'place of birth', {'concept': 'administrative territorial entity'}], ['Stuart Hicks', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?b ) { ( resource:Tamar_Gozansky ) ( resource:Stuart_Hicks ) } . ?b property:place_of_birth ?q } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q190828 Q172438
SYSTEM
Petah Tikva, Peterborough
Q190828 Q172438
OR((Q2890070,P19,c(Q56061)), (Q7626649,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2890070
relation P19
action find
entity Q7626649
relation P19
type Q56061
[ANSWERS] were Tamar Gozansky or Stuart Hicks born
{'OR': [['Q2890070', 'P19', {'concept': 'Q56061'}], ['Q7626649', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?b ) { ( resource:Q2890070 ) ( resource:Q7626649 ) } . ?b property:P19 ?q } . ?q rdf:type ontology:Q56061 }
Petah Tikva Peterborough
Petah Tikva and Peterborough were Tamar Gozansky or Stuart Hicks born
Petah Tikva Peterborough
action filter_type
action union
action find
entity Tamar Gozansky
relation place of birth
action find
entity Stuart Hicks
relation place of birth
type administrative territorial entity
{'OR': [['Tamar Gozansky', 'place of birth', {'concept': 'administrative territorial entity'}], ['Stuart Hicks', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?b ) { ( resource:Tamar_Gozansky ) ( resource:Stuart_Hicks ) } . ?b property:place_of_birth ?q } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q7275 Q56061
USER
How many languages are the official languages of atmost 28 states or administrative territories ?
(c(Q7275)|c(Q56061),P37,c(Q34770))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
value 28
[[{'concept': 'Q7275'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?b WHERE { { ?j property:P37 ?b . ?j rdf:type ontology:Q7275 . ?b rdf:type ontology:Q34770 } UNION { ?j property:P37 ?b . ?j rdf:type ontology:Q56061 . ?b rdf:type ontology:Q34770 } } GROUP BY ?b } . FILTER ( ?l <= 28 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
value 28
[[{'concept': 'state'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?b WHERE { { ?j property:official_language ?b . ?j rdf:type ontology:state . ?b rdf:type ontology:language } UNION { ?j property:official_language ?b . ?j rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:language } } GROUP BY ?b } . FILTER ( ?l <= 28 ) }
[]
language state administrative territorial entity
SYSTEM
15
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q1321 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q7275)|c(Q56061),P37,c(Q34770))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
value 28
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?b WHERE { { ?j property:P37 ?b . ?j rdf:type ontology:Q7275 . ?b rdf:type ontology:Q34770 } UNION { ?j property:P37 ?b . ?j rdf:type ontology:Q56061 . ?b rdf:type ontology:Q34770 } } GROUP BY ?b } . FILTER ( ?l <= 28 ) }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Spanish Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
15
action count
action atmost
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
value 28
[[{'concept': 'state'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?b WHERE { { ?j property:official_language ?b . ?j rdf:type ontology:state . ?b rdf:type ontology:language } UNION { ?j property:official_language ?b . ?j rdf:type ontology:administrative_territorial_entity . ?b rdf:type ontology:language } } GROUP BY ?b } . FILTER ( ?l <= 28 ) }
[]