Simple Question (Direct)
Simple Question
Q6378490
P27
Q1048835
USER
Which political territory is the native country of Katy Coghlan ?
(Q6378490,P27,c(Q1048835))
action filter_type
action find
entity Q6378490
relation P27
type Q1048835
['Q6378490', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q6378490 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Katy Coghlan
action filter_type
action find
entity Katy Coghlan
relation country of citizenship
type political territorial entity
['Katy Coghlan', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Katy_Coghlan property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q6378490,P27,c(Q1048835))
action filter_type
action find
entity Q6378490
relation P27
type Q1048835
[ANSWER] is the native country of Katy Coghlan
['Q6378490', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q6378490 property:P27 ?s . ?s rdf:type ontology:Q1048835 }
Australia
Australia is the native country of Katy Coghlan
Australia
action filter_type
action find
entity Katy Coghlan
relation country of citizenship
type political territorial entity
['Katy Coghlan', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Katy_Coghlan property:country_of_citizenship ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6378490
P21
Q290
USER
What is the sex of that person ?
(Q408,P21,c(Q290))
action filter_type
action find
entity Q6378490
relation P21
type Q290
['Q408', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6378490 property:P21 ?p . ?p rdf:type ontology:Q290 }
Katy Coghlan
action filter_type
action find
entity Katy Coghlan
relation gender
type sex
['Australia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Katy_Coghlan property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q408,P21,c(Q290))
action filter_type
action find
entity Q6378490
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q408', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q6378490 property:P21 ?p . ?p rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Katy Coghlan
relation gender
type sex
['Australia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Katy_Coghlan property:gender ?p . ?p rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q332521 Q6378490
P21
Q290
USER
Or George Spencer, 2nd Earl Spencer?
OR((Q6378490,P21,c(Q290)), (Q332521,P21,c(Q290)))
action filter_type
action union
action find
entity Q6378490
relation P21
action find
entity Q332521
relation P21
type Q290
{'OR': [['Q6378490', 'P21', {'concept': 'Q290'}], ['Q332521', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?h ) { ( resource:Q6378490 ) ( resource:Q332521 ) } . ?h property:P21 ?p } . ?p rdf:type ontology:Q290 }
George Spencer, 2nd Earl Spencer Katy Coghlan
action filter_type
action union
action find
entity Katy Coghlan
relation gender
action find
entity George Spencer, 2nd Earl Spencer
relation gender
type sex
{'OR': [['Katy Coghlan', 'gender', {'concept': 'sex'}], ['George Spencer, 2nd Earl Spencer', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?h ) { ( resource:Katy_Coghlan ) ( resource:George_Spencer,_2nd_Earl_Spencer ) } . ?h property:gender ?p } . ?p rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q6378490,P21,c(Q290)), (Q332521,P21,c(Q290)))
action filter_type
action union
action find
entity Q6378490
relation P21
action find
entity Q332521
relation P21
type Q290
[ANSWERS]
{'OR': [['Q6378490', 'P21', {'concept': 'Q290'}], ['Q332521', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?h ) { ( resource:Q6378490 ) ( resource:Q332521 ) } . ?h property:P21 ?p } . ?p rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Katy Coghlan
relation gender
action find
entity George Spencer, 2nd Earl Spencer
relation gender
type sex
{'OR': [['Katy Coghlan', 'gender', {'concept': 'sex'}], ['George Spencer, 2nd Earl Spencer', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?h ) { ( resource:Katy_Coghlan ) ( resource:George_Spencer,_2nd_Earl_Spencer ) } . ?h property:gender ?p } . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6581097 Q6581072
P136
Q502895
USER
Which people as those sexes as their class ?
(c(Q502895),P136,Q6581097) (c(Q502895),P136,Q6581072)
action filter_type
action find_reverse
entity prev_answer
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097'] [{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?r WHERE { ?r property:P136 ?f . ?r rdf:type ontology:Q502895 . VALUES ( ?f ) { ( resource:Q6581097 ) ( resource:Q6581072 ) } }
male female
action filter_type
action find_reverse
entity prev_answer
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male'] [{'concept': 'common name'}, 'genre', 'female']
SELECT DISTINCT ?r WHERE { ?r property:genre ?f . ?r rdf:type ontology:common_name . VALUES ( ?f ) { ( resource:male ) ( resource:female ) } }
[]
common name
Q313288 Q18221191 Q23688633
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Eva Jospin
Q19796723 Q313288 Q23766532 Q18221191 Q23688633 Q19831537
(c(Q502895),P136,Q6581097) (c(Q502895),P136,Q6581072)
action filter_type
action find_reverse
entity prev_answer
relation P136
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P136', 'Q6581097'] [{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?r WHERE { ?r property:P136 ?f . ?r rdf:type ontology:Q502895 . VALUES ( ?f ) { ( resource:Q6581097 ) ( resource:Q6581072 ) } }
Francesc Xavier Avilés i Puigvert Augustus Pugin Pierre Laviron Alessandro Gregorio Capponi Eva Jospin Luisa María Martí García
Augustus Pugin Alessandro Gregorio Capponi Eva Jospin
action filter_type
action find_reverse
entity prev_answer
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male'] [{'concept': 'common name'}, 'genre', 'female']
SELECT DISTINCT ?r WHERE { ?r property:genre ?f . ?r rdf:type ontology:common_name . VALUES ( ?f ) { ( resource:male ) ( resource:female ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q313288 Q18221191 Q23688633
P106
Q12737077
USER
Which occupations have Augustus Pugin, Alessandro Gregorio Capponi and Eva Jospin as his/her 's career ?
(Q313288,P106,c(Q12737077)) (Q18221191,P106,c(Q12737077)) (Q23688633,P106,c(Q12737077))
action union
action filter_type
action find
entity Q313288
relation P106
type Q12737077
action filter_type
action find
entity Q18221191
relation P106
type Q12737077
action filter_type
action find
entity Q23688633
relation P106
type Q12737077
['Q313288', 'P106', {'concept': 'Q12737077'}] ['Q18221191', 'P106', {'concept': 'Q12737077'}] ['Q23688633', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?a ) { ( resource:Q313288 ) ( resource:Q18221191 ) } . ?a property:P106 ?j }
Augustus Pugin Alessandro Gregorio Capponi Eva Jospin
action union
action filter_type
action find
entity Augustus Pugin
relation occupation
type occupation
action filter_type
action find
entity Alessandro Gregorio Capponi
relation occupation
type occupation
action filter_type
action find
entity Eva Jospin
relation occupation
type occupation
['Augustus Pugin', 'occupation', {'concept': 'occupation'}] ['Alessandro Gregorio Capponi', 'occupation', {'concept': 'occupation'}] ['Eva Jospin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?a ) { ( resource:Augustus_Pugin ) ( resource:Alessandro_Gregorio_Capponi ) } . ?a property:occupation ?j }
[]
occupation
Q42973 Q3621491 Q3391743
SYSTEM
architect, archaeologist, visual artist
Q42973 Q17145081 Q3621491 Q3391743
(Q313288,P106,c(Q12737077)) (Q18221191,P106,c(Q12737077)) (Q23688633,P106,c(Q12737077))
action union
action filter_type
action find
entity Q313288
relation P106
type Q12737077
action filter_type
action find
entity Q18221191
relation P106
type Q12737077
action filter_type
action find
entity Q23688633
relation P106
type Q12737077
The [ANSWERS] have Augustus Pugin, Alessandro Gregorio Capponi and Eva Jospin as his/her 's career
['Q313288', 'P106', {'concept': 'Q12737077'}] ['Q18221191', 'P106', {'concept': 'Q12737077'}] ['Q23688633', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?a ) { ( resource:Q313288 ) ( resource:Q18221191 ) } . ?a property:P106 ?j }
architect museologist archaeologist visual artist
The architect, archaeologist and visual artist have Augustus Pugin, Alessandro Gregorio Capponi and Eva Jospin as his/her 's career
architect archaeologist visual artist
action union
action filter_type
action find
entity Augustus Pugin
relation occupation
type occupation
action filter_type
action find
entity Alessandro Gregorio Capponi
relation occupation
type occupation
action filter_type
action find
entity Eva Jospin
relation occupation
type occupation
['Augustus Pugin', 'occupation', {'concept': 'occupation'}] ['Alessandro Gregorio Capponi', 'occupation', {'concept': 'occupation'}] ['Eva Jospin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?a ) { ( resource:Augustus_Pugin ) ( resource:Alessandro_Gregorio_Capponi ) } . ?a property:occupation ?j }
[]