Simple Question (Direct)
Simple Question
Q4131378
P40
Q502895
USER
Who are an offsprings of Fëdor Sergeevič Gagarin ?
(Q4131378,P40,c(Q502895))
action filter_type
action find
entity Q4131378
relation P40
type Q502895
['Q4131378', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q4131378 property:P40 ?j }
Fëdor Sergeevič Gagarin
action filter_type
action find
entity Fëdor Sergeevič Gagarin
relation child
type common name
['Fëdor Sergeevič Gagarin', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Fëdor_Sergeevič_Gagarin property:child ?j }
[]
common name
Q4130208 Q4131379
SYSTEM
Vera Fedorovna Gagarina, Fedor Feodorovich Gagarin
Q4130208 Q4131379
(Q4131378,P40,c(Q502895))
action filter_type
action find
entity Q4131378
relation P40
type Q502895
An offsprings of Fëdor Sergeevič Gagarin are named [ANSWERS]
['Q4131378', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q4131378 property:P40 ?j }
Vera Fedorovna Gagarina Fedor Feodorovich Gagarin
An offsprings of Fëdor Sergeevič Gagarin are named Vera Fedorovna Gagarina and Fedor Feodorovich Gagarin
Vera Fedorovna Gagarina Fedor Feodorovich Gagarin
action filter_type
action find
entity Fëdor Sergeevič Gagarin
relation child
type common name
['Fëdor Sergeevič Gagarin', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Fëdor_Sergeevič_Gagarin property:child ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4130208
P22
Q502895
USER
Who was the father of that one ?
(Q4130208,P22,c(Q502895))
action filter_type
action find
entity Q4130208
relation P22
type Q502895
['Q4130208', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q4130208 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Vera Fedorovna Gagarina
action filter_type
action find
entity Vera Fedorovna Gagarina
relation father
type common name
['Vera Fedorovna Gagarina', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Vera_Fedorovna_Gagarina property:father ?p . ?p rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4131379
SYSTEM
Did you mean Fedor Feodorovich Gagarin ?
Q4130208 Q4131379
(Q4130208,P22,c(Q502895)) (Q4131379,P22,c(Q502895))
[ANSWER]
['Q4130208', 'P22', {'concept': 'Q502895'}] ['Q4131379', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q4130208 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Vera Fedorovna Gagarina Fedor Feodorovich Gagarin
Did you mean Fedor Feodorovich Gagarin ?
Fedor Feodorovich Gagarin
['Vera Fedorovna Gagarina', 'father', {'concept': 'common name'}] ['Fedor Feodorovich Gagarin', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Vera_Fedorovna_Gagarina property:father ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Vera Fedorovna Gagarina. Could you tell me the answer for that?
(Q4130208,P22,c(Q502895))
Q4130208
['Q4130208', 'P22', {'concept': 'Q502895'}]
['Vera Fedorovna Gagarina', 'father', {'concept': 'common name'}]
[]
Q4131378
SYSTEM
Fëdor Sergeevič Gagarin
Q4131378
(Q4130208,P22,c(Q502895))
action filter_type
action find
entity Q4130208
relation P22
type Q502895
The father of that one was the [ANSWER]
['Q4130208', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q4130208 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Fëdor Sergeevič Gagarin
The father of that one was the Fëdor Sergeevič Gagarin
Fëdor Sergeevič Gagarin
action filter_type
action find
entity Vera Fedorovna Gagarina
relation father
type common name
['Vera Fedorovna Gagarina', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Vera_Fedorovna_Gagarina property:father ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4130208
P25
Q502895
USER
Who is the offspring of Vera Fedorovna Gagarina ?
(c(Q502895),P25,Q4130208)
action filter_type
action find_reverse
entity Q4130208
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q4130208']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P25 resource:Q4130208 }
Vera Fedorovna Gagarina
action filter_type
action find_reverse
entity Vera Fedorovna Gagarina
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Vera Fedorovna Gagarina']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:mother resource:Vera_Fedorovna_Gagarina }
[]
common name
Q4130217
SYSTEM
Pavel Petrovič Vjazemskij
Q4130217
(c(Q502895),P25,Q4130208)
action filter_type
action find_reverse
entity Q4130208
relation P25
type Q502895
The offspring of Vera Fedorovna Gagarina is [ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q4130208']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P25 resource:Q4130208 }
Pavel Petrovič Vjazemskij
The offspring of Vera Fedorovna Gagarina is Pavel Petrovič Vjazemskij
Pavel Petrovič Vjazemskij
action filter_type
action find_reverse
entity Vera Fedorovna Gagarina
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Vera Fedorovna Gagarina']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:mother resource:Vera_Fedorovna_Gagarina }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4130217
P27
Q3024240
USER
Which former country does that person belong to ?
(Q4130217,P27,c(Q3024240))
action filter_type
action find
entity Q4130217
relation P27
type Q3024240
['Q4130217', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?k WHERE { resource:Q4130217 property:P27 ?k . ?k rdf:type ontology:Q3024240 }
Pavel Petrovič Vjazemskij
action filter_type
action find
entity Pavel Petrovič Vjazemskij
relation country of citizenship
type former country
['Pavel Petrovič Vjazemskij', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?k WHERE { resource:Pavel_Petrovič_Vjazemskij property:country_of_citizenship ?k . ?k rdf:type ontology:former_country }
[]
former country
Q34266
SYSTEM
Russian Empire
Q34266
(Q4130217,P27,c(Q3024240))
action filter_type
action find
entity Q4130217
relation P27
type Q3024240
That person belongs to the [ANSWER]
['Q4130217', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?k WHERE { resource:Q4130217 property:P27 ?k . ?k rdf:type ontology:Q3024240 }
Russian Empire
That person belongs to the Russian Empire
Russian Empire
action filter_type
action find
entity Pavel Petrovič Vjazemskij
relation country of citizenship
type former country
['Pavel Petrovič Vjazemskij', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?k WHERE { resource:Pavel_Petrovič_Vjazemskij property:country_of_citizenship ?k . ?k rdf:type ontology:former_country }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4130208 Q175833
P7
Q502895
USER
How many people are Vera Fedorovna Gagarina or Wenceslaus I of Bohemia a sibling of ?
(Q4130208,P7,c(Q502895)) (Q175833,P7,c(Q502895))
action count
action union
action filter_type
action find
entity Q4130208
relation P7
type Q502895
action filter_type
action find
entity Q175833
relation P7
type Q502895
['Q4130208', 'P7', {'concept': 'Q502895'}] ['Q175833', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { ?k rdf:type ontology:Q502895 . resource:Q175833 property:P7 ?k } UNION { resource:Q4130208 property:P7 ?k . ?k rdf:type ontology:Q502895 } }
Vera Fedorovna Gagarina Wenceslaus I of Bohemia
action count
action union
action filter_type
action find
entity Vera Fedorovna Gagarina
relation brother
type common name
action filter_type
action find
entity Wenceslaus I of Bohemia
relation brother
type common name
['Vera Fedorovna Gagarina', 'brother', {'concept': 'common name'}] ['Wenceslaus I of Bohemia', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { ?k rdf:type ontology:common_name . resource:Wenceslaus_I_of_Bohemia property:brother ?k } UNION { resource:Vera_Fedorovna_Gagarina property:brother ?k . ?k rdf:type ontology:common_name } }
[]
common name
SYSTEM
3
Q2270266 Q1368797 Q4131379
(Q4130208,P7,c(Q502895)) (Q175833,P7,c(Q502895))
action count
action union
action filter_type
action find
entity Q4130208
relation P7
type Q502895
action filter_type
action find
entity Q175833
relation P7
type Q502895
[ANSWER]
['Q4130208', 'P7', {'concept': 'Q502895'}] ['Q175833', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { ?k rdf:type ontology:Q502895 . resource:Q175833 property:P7 ?k } UNION { resource:Q4130208 property:P7 ?k . ?k rdf:type ontology:Q502895 } }
Vladislaus, Margrave of Moravia Přemyslid, Margrave of Moravia Fedor Feodorovich Gagarin
3
action count
action union
action filter_type
action find
entity Vera Fedorovna Gagarina
relation brother
type common name
action filter_type
action find
entity Wenceslaus I of Bohemia
relation brother
type common name
['Vera Fedorovna Gagarina', 'brother', {'concept': 'common name'}] ['Wenceslaus I of Bohemia', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { ?k rdf:type ontology:common_name . resource:Wenceslaus_I_of_Bohemia property:brother ?k } UNION { resource:Vera_Fedorovna_Gagarina property:brother ?k . ?k rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34266
P710
Q1190554
USER
What event did Russian Empire particiate in ?
(c(Q1190554),P710,Q34266)
action filter_type
action find_reverse
entity Q34266
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q34266']
SELECT DISTINCT ?f WHERE { ?f property:P710 resource:Q34266 . ?f rdf:type ontology:Q1190554 }
Russian Empire
action filter_type
action find_reverse
entity Russian Empire
relation participant
type event
[{'concept': 'event'}, 'participant', 'Russian Empire']
SELECT DISTINCT ?f WHERE { ?f property:participant resource:Russian_Empire . ?f rdf:type ontology:event }
[]
event
Q254106 Q1694094 Q3500708
SYSTEM
Crimean War, Second Battle of the Aisne, Battle of Stäket
Q3500708 Q18408564 Q138025 Q254106 Q736268 Q682482 Q1694094 Q699665
(c(Q1190554),P710,Q34266)
action filter_type
action find_reverse
entity Q34266
relation P710
type Q1190554
Russian Empire particiated [ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q34266']
SELECT DISTINCT ?f WHERE { ?f property:P710 resource:Q34266 . ?f rdf:type ontology:Q1190554 }
Battle of Stäket Annexation of Crimea by the Russian Empire Siege of Veprik Crimean War Finnish War Russo-Swedish War Second Battle of the Aisne Battle of Dürenstein
Russian Empire particiated Crimean War, Second Battle of the Aisne and Battle of Stäket
Crimean War Second Battle of the Aisne Battle of Stäket
action filter_type
action find_reverse
entity Russian Empire
relation participant
type event
[{'concept': 'event'}, 'participant', 'Russian Empire']
SELECT DISTINCT ?f WHERE { ?f property:participant resource:Russian_Empire . ?f rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q254106
P276
Q2221906
USER
Where is that event situated ?
(Q254106,P276,c(Q2221906))
action filter_type
action find
entity Q254106
relation P276
type Q2221906
['Q254106', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q254106 property:P276 ?e . ?e rdf:type ontology:Q2221906 }
Crimean War
action filter_type
action find
entity Crimean War
relation location
type geographic location
['Crimean War', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Crimean_War property:location ?e . ?e rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q1694094
SYSTEM
Did you mean Second Battle of the Aisne ?
Q254106 Q1694094 Q3500708
(Q254106,P276,c(Q2221906)) (Q1694094,P276,c(Q2221906)) (Q3500708,P276,c(Q2221906))
[ANSWER]
['Q254106', 'P276', {'concept': 'Q2221906'}] ['Q1694094', 'P276', {'concept': 'Q2221906'}] ['Q3500708', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q254106 property:P276 ?e . ?e rdf:type ontology:Q2221906 }
Crimean War Second Battle of the Aisne Battle of Stäket
Did you mean Second Battle of the Aisne ?
Second Battle of the Aisne
['Crimean War', 'location', {'concept': 'geographic location'}] ['Second Battle of the Aisne', 'location', {'concept': 'geographic location'}] ['Battle of Stäket', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Crimean_War property:location ?e . ?e rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
No, I meant Crimean War. Could you tell me the answer for that?
(Q254106,P276,c(Q2221906))
Q254106
['Q254106', 'P276', {'concept': 'Q2221906'}]
['Crimean War', 'location', {'concept': 'geographic location'}]
[]
Q18869
SYSTEM
Caucasus
Q18869
(Q254106,P276,c(Q2221906))
action filter_type
action find
entity Q254106
relation P276
type Q2221906
That event is situated in [ANSWER]
['Q254106', 'P276', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q254106 property:P276 ?e . ?e rdf:type ontology:Q2221906 }
Caucasus
That event is situated in Caucasus
Caucasus
action filter_type
action find
entity Crimean War
relation location
type geographic location
['Crimean War', 'location', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Crimean_War property:location ?e . ?e rdf:type ontology:geographic_location }
[]