Simple Question (Direct)
Simple Question
Q772631
P2348
Q451967
USER
Which human action was Aulus Cornelius Cossus associated with ?
(Q772631,P2348,c(Q451967))
action filter_type
action find
entity Q772631
relation P2348
type Q451967
['Q772631', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?d WHERE { resource:Q772631 property:P2348 ?d . ?d rdf:type ontology:Q451967 }
Aulus Cornelius Cossus
action filter_type
action find
entity Aulus Cornelius Cossus
relation period
type human action
['Aulus Cornelius Cossus', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?d WHERE { resource:Aulus_Cornelius_Cossus property:period ?d . ?d rdf:type ontology:human_action }
[]
human action
Q17167
SYSTEM
Roman Republic
Q17167
(Q772631,P2348,c(Q451967))
action filter_type
action find
entity Q772631
relation P2348
type Q451967
Which human action was Aulus Cornelius Cossus associated with
['Q772631', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?d WHERE { resource:Q772631 property:P2348 ?d . ?d rdf:type ontology:Q451967 }
Roman Republic
Which human action was Aulus Cornelius Cossus associated with
Roman Republic
action filter_type
action find
entity Aulus Cornelius Cossus
relation period
type human action
['Aulus Cornelius Cossus', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?d WHERE { resource:Aulus_Cornelius_Cossus property:period ?d . ?d rdf:type ontology:human_action }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q772631
P21
Q290
USER
Which sex does Aulus Cornelius Cossus have ?
(Q772631,P21,c(Q290))
action filter_type
action find
entity Q772631
relation P21
type Q290
['Q772631', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q772631 property:P21 ?f }
Aulus Cornelius Cossus
action filter_type
action find
entity Aulus Cornelius Cossus
relation gender
type sex
['Aulus Cornelius Cossus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Aulus_Cornelius_Cossus property:gender ?f }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q772631,P21,c(Q290))
action filter_type
action find
entity Q772631
relation P21
type Q290
Aulus Cornelius Cossus has a [ANSWER]
['Q772631', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . resource:Q772631 property:P21 ?f }
male
Aulus Cornelius Cossus has a male
male
action filter_type
action find
entity Aulus Cornelius Cossus
relation gender
type sex
['Aulus Cornelius Cossus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . resource:Aulus_Cornelius_Cossus property:gender ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16563315
Q290
USER
And also tell me about Joanna Konarzewska?
(Q16563315,P21,c(Q290))
action filter_type
action find
entity Q16563315
relation P21
type Q290
['Q16563315', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q16563315 property:P21 ?n . ?n rdf:type ontology:Q290 }
Joanna Konarzewska
action filter_type
action find
entity Joanna Konarzewska
relation gender
type sex
['Joanna Konarzewska', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Joanna_Konarzewska property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16563315,P21,c(Q290))
action filter_type
action find
entity Q16563315
relation P21
type Q290
[ANSWER]
['Q16563315', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q16563315 property:P21 ?n . ?n rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Joanna Konarzewska
relation gender
type sex
['Joanna Konarzewska', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Joanna_Konarzewska property:gender ?n . ?n rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q25711454
P21
Q502895
USER
Does Marcelle Krier-Lambrette have the gender as that sex ?
(Q25711454,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q25711454
relation P21
['Q25711454', 'P21', 'Q6581072']
ASK WHERE { resource:Q25711454 property:P21 resource:Q6581072 }
female Marcelle Krier-Lambrette
action is_in
entity female
action find
entity Marcelle Krier-Lambrette
relation gender
['Marcelle Krier-Lambrette', 'gender', 'female']
ASK WHERE { resource:Marcelle_Krier-Lambrette property:gender resource:female }
[]
common name
SYSTEM
YES
(Q25711454,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q25711454
relation P21
[ANSWER]
['Q25711454', 'P21', 'Q6581072']
ASK WHERE { resource:Q25711454 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Marcelle Krier-Lambrette
relation gender
['Marcelle Krier-Lambrette', 'gender', 'female']
ASK WHERE { resource:Marcelle_Krier-Lambrette property:gender resource:female }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q772631
P39
Q12737077
USER
Which occupations were the positions occupied by Aulus Cornelius Cossus ?
(Q772631,P39,c(Q12737077))
action filter_type
action find
entity Q772631
relation P39
type Q12737077
['Q772631', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q772631 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Aulus Cornelius Cossus
action filter_type
action find
entity Aulus Cornelius Cossus
relation position held
type occupation
['Aulus Cornelius Cossus', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Aulus_Cornelius_Cossus property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q20056508 Q21597597 Q109960
SYSTEM
Ancient Roman senator, consul of the Roman Republic, Master of the Horse
Q20056508 Q21597597 Q109960
(Q772631,P39,c(Q12737077))
action filter_type
action find
entity Q772631
relation P39
type Q12737077
[ANSWERS] were the positions occupied by Aulus Cornelius Cossus
['Q772631', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q772631 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Ancient Roman senator consul of the Roman Republic Master of the Horse
Ancient Roman senator, consul of the Roman Republic and Master of the Horse were the positions occupied by Aulus Cornelius Cossus
Ancient Roman senator consul of the Roman Republic Master of the Horse
action filter_type
action find
entity Aulus Cornelius Cossus
relation position held
type occupation
['Aulus Cornelius Cossus', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Aulus_Cornelius_Cossus property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5083776
Q12737077
USER
And also tell me about Charles Philip Yorke, 4th Earl of Hardwicke?
(Q5083776,P39,c(Q12737077))
action filter_type
action find
entity Q5083776
relation P39
type Q12737077
['Q5083776', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q5083776 property:P39 ?v }
Charles Philip Yorke, 4th Earl of Hardwicke
action filter_type
action find
entity Charles Philip Yorke, 4th Earl of Hardwicke
relation position held
type occupation
['Charles Philip Yorke, 4th Earl of Hardwicke', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Charles_Philip_Yorke,_4th_Earl_of_Hardwicke property:position_held ?v }
[]
occupation
Q16707842 Q910308 Q18952564
SYSTEM
Member of Parliament in the United Kingdom, Lord Privy Seal, Member of the House of Lords
Q910308 Q4581578 Q18952564 Q16707842
(Q5083776,P39,c(Q12737077))
action filter_type
action find
entity Q5083776
relation P39
type Q12737077
[ANSWERS]
['Q5083776', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q5083776 property:P39 ?v }
Lord Privy Seal Postmaster General of the United Kingdom Member of the House of Lords Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom Lord Privy Seal Member of the House of Lords
action filter_type
action find
entity Charles Philip Yorke, 4th Earl of Hardwicke
relation position held
type occupation
['Charles Philip Yorke, 4th Earl of Hardwicke', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Charles_Philip_Yorke,_4th_Earl_of_Hardwicke property:position_held ?v }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16707842 Q910308 Q18952564
P17
Q15617994
USER
Which administrative territories are those occupations present in ?
(Q16707842,P17,c(Q15617994)) (Q910308,P17,c(Q15617994)) (Q18952564,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q16707842', 'P17', {'concept': 'Q15617994'}] ['Q910308', 'P17', {'concept': 'Q15617994'}] ['Q18952564', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . ?a property:P17 ?h . VALUES ( ?a ) { ( resource:Q910308 ) ( resource:Q4581578 ) ( resource:Q18952564 ) } }
Member of Parliament in the United Kingdom Lord Privy Seal Member of the House of Lords
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Member of Parliament in the United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lord Privy Seal', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Member of the House of Lords', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:country ?h . VALUES ( ?a ) { ( resource:Lord_Privy_Seal ) ( resource:Postmaster_General_of_the_United_Kingdom ) ( resource:Member_of_the_House_of_Lords ) } }
[]
designation for an administrative territorial entity
Q145 Q145 Q145
SYSTEM
United Kingdom
Q145 Q145 Q145
(Q16707842,P17,c(Q15617994)) (Q910308,P17,c(Q15617994)) (Q18952564,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those occupations are in [ANSWER], [ANSWER] and [ANSWER]
['Q16707842', 'P17', {'concept': 'Q15617994'}] ['Q910308', 'P17', {'concept': 'Q15617994'}] ['Q18952564', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . ?a property:P17 ?h . VALUES ( ?a ) { ( resource:Q910308 ) ( resource:Q4581578 ) ( resource:Q18952564 ) } }
United Kingdom United Kingdom United Kingdom
Those occupations are in United Kingdom, United Kingdom and United Kingdom
United Kingdom United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Member of Parliament in the United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lord Privy Seal', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Member of the House of Lords', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:country ?h . VALUES ( ?a ) { ( resource:Lord_Privy_Seal ) ( resource:Postmaster_General_of_the_United_Kingdom ) ( resource:Member_of_the_House_of_Lords ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21597597
P793
Q12737077
USER
Which occupation is a significant event associated with consul of the Roman Republic ?
(Q21597597,P793,c(Q12737077))
action filter_type
action find
entity Q21597597
relation P793
type Q12737077
['Q21597597', 'P793', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q21597597 property:P793 ?f }
consul of the Roman Republic
action filter_type
action find
entity consul of the Roman Republic
relation significant event
type occupation
['consul of the Roman Republic', 'significant event', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:consul_of_the_Roman_Republic property:significant_event ?f }
[]
occupation
Q236885
SYSTEM
Roman dictator
Q236885
(Q21597597,P793,c(Q12737077))
action filter_type
action find
entity Q21597597
relation P793
type Q12737077
The [ANSWER] is a significant event associated with consul of the Roman Republic
['Q21597597', 'P793', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q21597597 property:P793 ?f }
Roman dictator
The Roman dictator is a significant event associated with consul of the Roman Republic
Roman dictator
action filter_type
action find
entity consul of the Roman Republic
relation significant event
type occupation
['consul of the Roman Republic', 'significant event', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:consul_of_the_Roman_Republic property:significant_event ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q236885
P1001
Q1048835
USER
Which political territory is linked to that occupation ?
(Q236885,P1001,c(Q1048835))
action filter_type
action find
entity Q236885
relation P1001
type Q1048835
['Q236885', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q236885 property:P1001 ?m . ?m rdf:type ontology:Q1048835 }
Roman dictator
action filter_type
action find
entity Roman dictator
relation applies to jurisdiction
type political territorial entity
['Roman dictator', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Roman_dictator property:applies_to_jurisdiction ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1747689
SYSTEM
Ancient Rome
Q1747689
(Q236885,P1001,c(Q1048835))
action filter_type
action find
entity Q236885
relation P1001
type Q1048835
[ANSWER] is linked to that occupation
['Q236885', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q236885 property:P1001 ?m . ?m rdf:type ontology:Q1048835 }
Ancient Rome
Ancient Rome is linked to that occupation
Ancient Rome
action filter_type
action find
entity Roman dictator
relation applies to jurisdiction
type political territorial entity
['Roman dictator', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Roman_dictator property:applies_to_jurisdiction ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q23276 Q16707842
P1001 P17
Q15617994
USER
Which administrative territories are judicially linked to Member of Parliament in the United Kingdom and are Surrey present in ?
AND((Q16707842,P1001,c(Q15617994)), (Q23276,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16707842
relation P1001
action find
entity Q23276
relation P17
type Q15617994
{'AND': [['Q16707842', 'P1001', {'concept': 'Q15617994'}], ['Q23276', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q16707842 property:P1001 ?q . resource:Q23276 property:P17 ?q }
Surrey Member of Parliament in the United Kingdom
action filter_type
action intersection
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
action find
entity Surrey
relation country
type designation for an administrative territorial entity
{'AND': [['Member of Parliament in the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Surrey', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction ?q . resource:Surrey property:country ?q }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q16707842,P1001,c(Q15617994)), (Q23276,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16707842
relation P1001
action find
entity Q23276
relation P17
type Q15617994
[ANSWER] is judicially linked to Member of Parliament in the [ANSWER] and is Surrey present in
{'AND': [['Q16707842', 'P1001', {'concept': 'Q15617994'}], ['Q23276', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q16707842 property:P1001 ?q . resource:Q23276 property:P17 ?q }
United Kingdom
United Kingdom is judicially linked to Member of Parliament in the United Kingdom and is Surrey present in
United Kingdom
action filter_type
action intersection
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
action find
entity Surrey
relation country
type designation for an administrative territorial entity
{'AND': [['Member of Parliament in the United Kingdom', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Surrey', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction ?q . resource:Surrey property:country ?q }
[]