Simple Question (Direct)
Simple Question
Q20631311
P140
Q874405
USER
What is the religious affiliation of Anne Aly ?
(Q20631311,P140,c(Q874405))
action filter_type
action find
entity Q20631311
relation P140
type Q874405
['Q20631311', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { resource:Q20631311 property:P140 ?p . ?p rdf:type ontology:Q874405 }
Anne Aly
action filter_type
action find
entity Anne Aly
relation religion
type social group
['Anne Aly', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { resource:Anne_Aly property:religion ?p . ?p rdf:type ontology:social_group }
[]
social group
Q432
SYSTEM
Islam
Q432
(Q20631311,P140,c(Q874405))
action filter_type
action find
entity Q20631311
relation P140
type Q874405
The religious affiliation of Anne Aly is of [ANSWER]
['Q20631311', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?p WHERE { resource:Q20631311 property:P140 ?p . ?p rdf:type ontology:Q874405 }
Islam
The religious affiliation of Anne Aly is of Islam
Islam
action filter_type
action find
entity Anne Aly
relation religion
type social group
['Anne Aly', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?p WHERE { resource:Anne_Aly property:religion ?p . ?p rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20631311
P106
Q12737077
USER
What are the professions of that person ?
(Q432,P106,c(Q12737077))
action filter_type
action find
entity Q20631311
relation P106
type Q12737077
['Q432', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q20631311 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Anne Aly
action filter_type
action find
entity Anne Aly
relation occupation
type occupation
['Islam', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Anne_Aly property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q82955 Q1622272
SYSTEM
politician, university teacher
Q82955 Q1622272
(Q432,P106,c(Q12737077))
action filter_type
action find
entity Q20631311
relation P106
type Q12737077
The professions of that person are a [ANSWERS]
['Q432', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q20631311 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
politician university teacher
The professions of that person are a politician and university teacher
politician university teacher
action filter_type
action find
entity Anne Aly
relation occupation
type occupation
['Islam', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Anne_Aly property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20631311
P102
Q7210356
USER
Which party does that person belong to ?
(Q82955,P102,c(Q7210356)) (Q1622272,P102,c(Q7210356))
action filter_type
action find
entity Q20631311
relation P102
type Q7210356
['Q82955', 'P102', {'concept': 'Q7210356'}] ['Q1622272', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q20631311 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Anne Aly
action filter_type
action find
entity Anne Aly
relation member of political party
type political organization
['politician', 'member of political party', {'concept': 'political organization'}] ['university teacher', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Anne_Aly property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q216082
SYSTEM
Australian Labor Party
Q216082
(Q82955,P102,c(Q7210356)) (Q1622272,P102,c(Q7210356))
action filter_type
action find
entity Q20631311
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q82955', 'P102', {'concept': 'Q7210356'}] ['Q1622272', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q20631311 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Australian Labor Party
That person belongs to Australian Labor Party
Australian Labor Party
action filter_type
action find
entity Anne Aly
relation member of political party
type political organization
['politician', 'member of political party', {'concept': 'political organization'}] ['university teacher', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Anne_Aly property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q216082
P1001
Q1048835
USER
Which political territory comes under the supervision of that political organization ?
(Q216082,P1001,c(Q1048835))
action filter_type
action find
entity Q216082
relation P1001
type Q1048835
['Q216082', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q216082 property:P1001 ?c . ?c rdf:type ontology:Q1048835 }
Australian Labor Party
action filter_type
action find
entity Australian Labor Party
relation applies to jurisdiction
type political territorial entity
['Australian Labor Party', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Australian_Labor_Party property:applies_to_jurisdiction ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q216082,P1001,c(Q1048835))
action filter_type
action find
entity Q216082
relation P1001
type Q1048835
[ANSWER] comes under the supervision of that political organization
['Q216082', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q216082 property:P1001 ?c . ?c rdf:type ontology:Q1048835 }
Australia
Australia comes under the supervision of that political organization
Australia
action filter_type
action find
entity Australian Labor Party
relation applies to jurisdiction
type political territorial entity
['Australian Labor Party', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Australian_Labor_Party property:applies_to_jurisdiction ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q153501 Q20631311
P27
Q1048835
USER
Which political territories are the native countriesof Anne Aly and Mae Busch ?
AND((Q20631311,P27,c(Q1048835)), (Q153501,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q20631311
relation P27
action find
entity Q153501
relation P27
type Q1048835
{'AND': [['Q20631311', 'P27', {'concept': 'Q1048835'}], ['Q153501', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { resource:Q153501 property:P27 ?d . resource:Q20631311 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Mae Busch Anne Aly
action filter_type
action intersection
action find
entity Anne Aly
relation country of citizenship
action find
entity Mae Busch
relation country of citizenship
type political territorial entity
{'AND': [['Anne Aly', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mae Busch', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Mae_Busch property:country_of_citizenship ?d . resource:Anne_Aly property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
AND((Q20631311,P27,c(Q1048835)), (Q153501,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q20631311
relation P27
action find
entity Q153501
relation P27
type Q1048835
[ANSWER] is the native countriesof Anne Aly and Mae Busch
{'AND': [['Q20631311', 'P27', {'concept': 'Q1048835'}], ['Q153501', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { resource:Q153501 property:P27 ?d . resource:Q20631311 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Australia
Australia is the native countriesof Anne Aly and Mae Busch
Australia
action filter_type
action intersection
action find
entity Anne Aly
relation country of citizenship
action find
entity Mae Busch
relation country of citizenship
type political territorial entity
{'AND': [['Anne Aly', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mae Busch', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Mae_Busch property:country_of_citizenship ?d . resource:Anne_Aly property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q153501
P161
Q838948
USER
How many works of art do Mae Busch star in ?
(c(Q838948),P161,Q153501)
action count
action filter_type
action find_reverse
entity Q153501
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q153501']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P161 resource:Q153501 . ?j rdf:type ontology:Q838948 }
Mae Busch
action count
action filter_type
action find_reverse
entity Mae Busch
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Mae Busch']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:cast_member resource:Mae_Busch . ?j rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
30
Q3297213 Q2036988 Q1217678 Q339796 Q1618533 Q17651304 Q1233890 Q3989054 Q3212841 Q3009093 Q3796162 Q1988100 Q1426953 Q374708 Q1427867 Q2082212 Q1825255 Q1169905 Q1217998 Q1897128 Q24041280 Q2207294 Q3604627 Q3012980 Q1217953 Q1217943 Q1862159 Q1724620 Q3012532 Q24905633
(c(Q838948),P161,Q153501)
action count
action filter_type
action find_reverse
entity Q153501
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q153501']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P161 resource:Q153501 . ?j rdf:type ontology:Q838948 }
Masquerade in Mexico Them Thar Hills Sons of the Desert The Live Ghost Alibi Women Won't Tell Doctor X The Road to Ruin The Water Nymph Their First Mistake The vessel bewitched West of Zanzibar The Buccaneer The Fixer Uppers The Bride Wore Boots Ziegfeld Girl Lilly Turner The Bohemian Girl Unaccustomed As We Are Marie Antoinette Fools of Fashion Chickens Come Home Hot Water Oliver the Eighth The Blue Dahlia Tit for Tat Daughter of Shanghai The Big Broadcast of 1938 Come Clean The Triflers
30
action count
action filter_type
action find_reverse
entity Mae Busch
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Mae Busch']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:cast_member resource:Mae_Busch . ?j rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q153501
P26
Q502895
USER
Who is the spouse of that one ?
action filter_type
action find
entity Q153501
relation P26
type Q502895
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q153501 property:P26 ?f }
Mae Busch
action filter_type
action find
entity Mae Busch
relation spouse
type common name
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Mae_Busch property:spouse ?f }
[]
common name
Q533315
SYSTEM
Francis McDonald
Q533315
action filter_type
action find
entity Q153501
relation P26
type Q502895
The spouse of that one is Sir [ANSWER]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q153501 property:P26 ?f }
Francis McDonald
The spouse of that one is Sir Francis McDonald
Francis McDonald
action filter_type
action find
entity Mae Busch
relation spouse
type common name
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Mae_Busch property:spouse ?f }
[]