Simple Question (Direct)
Simple Question
Q473885
P22
Q502895
USER
Which person was the father of Christian Louis I, Duke of Mecklenburg ?
(Q473885,P22,c(Q502895))
action filter_type
action find
entity Q473885
relation P22
type Q502895
['Q473885', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q473885 property:P22 ?s . ?s rdf:type ontology:Q502895 }
Christian Louis I, Duke of Mecklenburg
action filter_type
action find
entity Christian Louis I, Duke of Mecklenburg
relation father
type common name
['Christian Louis I, Duke of Mecklenburg', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Christian_Louis_I,_Duke_of_Mecklenburg property:father ?s . ?s rdf:type ontology:common_name }
[]
common name
Q361663
SYSTEM
Adolf Frederick I, Duke of Mecklenburg
Q361663
(Q473885,P22,c(Q502895))
action filter_type
action find
entity Q473885
relation P22
type Q502895
[ANSWER] was the father of Christian Louis I, Duke of Mecklenburg
['Q473885', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q473885 property:P22 ?s . ?s rdf:type ontology:Q502895 }
Adolf Frederick I, Duke of Mecklenburg
Adolf Frederick I, Duke of Mecklenburg was the father of Christian Louis I, Duke of Mecklenburg
Adolf Frederick I, Duke of Mecklenburg
action filter_type
action find
entity Christian Louis I, Duke of Mecklenburg
relation father
type common name
['Christian Louis I, Duke of Mecklenburg', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Christian_Louis_I,_Duke_of_Mecklenburg property:father ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q361663
P26
Q502895
USER
Which people have that one as spouse ?
(c(Q502895),P26,Q361663)
action filter_type
action find
entity Q361663
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q361663']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q361663 property:P26 ?u }
Adolf Frederick I, Duke of Mecklenburg
action filter_type
action find
entity Adolf Frederick I, Duke of Mecklenburg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Adolf Frederick I, Duke of Mecklenburg']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Adolf_Frederick_I,_Duke_of_Mecklenburg property:spouse ?u }
[]
common name
Q6199593 Q3817463
SYSTEM
Marie Katharina of Brunswick-Dannenberg, Anna Maria of Ostfriesland
Q6199593 Q3817463
(c(Q502895),P26,Q361663)
action filter_type
action find
entity Q361663
relation P26
type Q502895
[ANSWERS] have that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q361663']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q361663 property:P26 ?u }
Marie Katharina of Brunswick-Dannenberg Anna Maria of Ostfriesland
Marie Katharina of Brunswick-Dannenberg and Anna Maria of Ostfriesland have that one as spouse
Marie Katharina of Brunswick-Dannenberg Anna Maria of Ostfriesland
action filter_type
action find
entity Adolf Frederick I, Duke of Mecklenburg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Adolf Frederick I, Duke of Mecklenburg']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Adolf_Frederick_I,_Duke_of_Mecklenburg property:spouse ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q361663
P40
Q502895
USER
Who have Adolf Frederick I, Duke of Mecklenburg as an offspring ?
(c(Q502895),P40,Q361663)
action filter_type
action find_reverse
entity Q361663
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q361663']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P40 resource:Q361663 }
Adolf Frederick I, Duke of Mecklenburg
action filter_type
action find_reverse
entity Adolf Frederick I, Duke of Mecklenburg
relation child
type common name
[{'concept': 'common name'}, 'child', 'Adolf Frederick I, Duke of Mecklenburg']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:child resource:Adolf_Frederick_I,_Duke_of_Mecklenburg }
[]
common name
Q571387 Q67764
SYSTEM
Johann VII, Duke of Mecklenburg, Sophia of Holstein-Gottorp
Q571387 Q67764
(c(Q502895),P40,Q361663)
action filter_type
action find_reverse
entity Q361663
relation P40
type Q502895
[ANSWERS] have Adolf Frederick I, Duke of Mecklenburg as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q361663']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P40 resource:Q361663 }
Johann VII, Duke of Mecklenburg Sophia of Holstein-Gottorp
Johann VII, Duke of Mecklenburg and Sophia of Holstein-Gottorp have Adolf Frederick I, Duke of Mecklenburg as an offspring
Johann VII, Duke of Mecklenburg Sophia of Holstein-Gottorp
action filter_type
action find_reverse
entity Adolf Frederick I, Duke of Mecklenburg
relation child
type common name
[{'concept': 'common name'}, 'child', 'Adolf Frederick I, Duke of Mecklenburg']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:child resource:Adolf_Frederick_I,_Duke_of_Mecklenburg }
[]
Clarification
Simple Question|Single Entity|Indirect
Q67764
P7
Q502895
USER
Who have that one as their sibling ?
(Q67764,P7,c(Q502895))
action filter_type
action find
entity Q67764
relation P7
type Q502895
['Q67764', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q67764 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Sophia of Holstein-Gottorp
action filter_type
action find
entity Sophia of Holstein-Gottorp
relation brother
type common name
['Sophia of Holstein-Gottorp', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Sophia_of_Holstein-Gottorp property:brother ?w . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q571387
SYSTEM
Did you mean Johann VII, Duke of Mecklenburg ?
Q571387 Q67764
(Q571387,P7,c(Q502895)) (Q67764,P7,c(Q502895))
[ANSWER]
['Q571387', 'P7', {'concept': 'Q502895'}] ['Q67764', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q67764 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Johann VII, Duke of Mecklenburg Sophia of Holstein-Gottorp
Did you mean Johann VII, Duke of Mecklenburg ?
Johann VII, Duke of Mecklenburg
['Johann VII, Duke of Mecklenburg', 'brother', {'concept': 'common name'}] ['Sophia of Holstein-Gottorp', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Sophia_of_Holstein-Gottorp property:brother ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Sophia of Holstein-Gottorp. Could you tell me the answer for that?
(Q67764,P7,c(Q502895))
Q67764
['Q67764', 'P7', {'concept': 'Q502895'}]
['Sophia of Holstein-Gottorp', 'brother', {'concept': 'common name'}]
[]
Q70705 Q64068 Q62160
SYSTEM
John Frederick of Holstein-Gottorp, Frederick II, Duke of Holstein-Gottorp, John Adolf, Duke of Holstein-Gottorp
Q70705 Q64068 Q62160 Q63588
(Q67764,P7,c(Q502895))
action filter_type
action find
entity Q67764
relation P7
type Q502895
[ANSWERS]
['Q67764', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q67764 property:P7 ?w . ?w rdf:type ontology:Q502895 }
John Frederick of Holstein-Gottorp Frederick II, Duke of Holstein-Gottorp John Adolf, Duke of Holstein-Gottorp Philip, Duke of Holstein-Gottorp
John Frederick of Holstein-Gottorp, Frederick II, Duke of Holstein-Gottorp and John Adolf, Duke of Holstein-Gottorp have that one as their sibling
John Frederick of Holstein-Gottorp Frederick II, Duke of Holstein-Gottorp John Adolf, Duke of Holstein-Gottorp
action filter_type
action find
entity Sophia of Holstein-Gottorp
relation brother
type common name
['Sophia of Holstein-Gottorp', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Sophia_of_Holstein-Gottorp property:brother ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q62160
P921
Q191067
USER
Which article is John Adolf, Duke of Holstein-Gottorp a main subject of ?
(c(Q191067),P921,Q62160)
action filter_type
action find_reverse
entity Q62160
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q62160']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q62160 . ?m rdf:type ontology:Q191067 }
John Adolf, Duke of Holstein-Gottorp
action filter_type
action find_reverse
entity John Adolf, Duke of Holstein-Gottorp
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'John Adolf, Duke of Holstein-Gottorp']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:John_Adolf,_Duke_of_Holstein-Gottorp . ?m rdf:type ontology:article }
[]
article
Q21205539
SYSTEM
Johann Adolf
Q21205539
(c(Q191067),P921,Q62160)
action filter_type
action find_reverse
entity Q62160
relation P921
type Q191067
[ANSWER] is John Adolf, Duke of Holstein-Gottorp a main subject of
[{'concept': 'Q191067'}, 'P921', 'Q62160']
SELECT DISTINCT ?m WHERE { ?m property:P921 resource:Q62160 . ?m rdf:type ontology:Q191067 }
Johann Adolf
Johann Adolf is John Adolf, Duke of Holstein-Gottorp a main subject of
Johann Adolf
action filter_type
action find_reverse
entity John Adolf, Duke of Holstein-Gottorp
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'John Adolf, Duke of Holstein-Gottorp']
SELECT DISTINCT ?m WHERE { ?m property:main_subject resource:John_Adolf,_Duke_of_Holstein-Gottorp . ?m rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21205539
P1433
Q571
USER
Where is that article published ?
(Q21205539,P1433,c(Q571))
action filter_type
action find
entity Q21205539
relation P1433
type Q571
['Q21205539', 'P1433', {'concept': 'Q571'}]
SELECT DISTINCT ?o WHERE { resource:Q21205539 property:P1433 ?o . ?o rdf:type ontology:Q571 }
Johann Adolf
action filter_type
action find
entity Johann Adolf
relation published in
type book
['Johann Adolf', 'published in', {'concept': 'book'}]
SELECT DISTINCT ?o WHERE { resource:Johann_Adolf property:published_in ?o . ?o rdf:type ontology:book }
[]
book
Q19969430
SYSTEM
Allgemeine Deutsche Biographie, 14th volume
Q19969430
(Q21205539,P1433,c(Q571))
action filter_type
action find
entity Q21205539
relation P1433
type Q571
That article is published in [ANSWER]
['Q21205539', 'P1433', {'concept': 'Q571'}]
SELECT DISTINCT ?o WHERE { resource:Q21205539 property:P1433 ?o . ?o rdf:type ontology:Q571 }
Allgemeine Deutsche Biographie, 14th volume
That article is published in Allgemeine Deutsche Biographie, 14th volume
Allgemeine Deutsche Biographie, 14th volume
action filter_type
action find
entity Johann Adolf
relation published in
type book
['Johann Adolf', 'published in', {'concept': 'book'}]
SELECT DISTINCT ?o WHERE { resource:Johann_Adolf property:published_in ?o . ?o rdf:type ontology:book }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q67764
P27
Q1048835
USER
How many political territories are the countries of citizenship of Sophia of Holstein-Gottorp ?
(Q67764,P27,c(Q1048835))
action count
action filter_type
action find
entity Q67764
relation P27
type Q1048835
['Q67764', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Q67764 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Sophia of Holstein-Gottorp
action count
action filter_type
action find
entity Sophia of Holstein-Gottorp
relation country of citizenship
type political territorial entity
['Sophia of Holstein-Gottorp', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Sophia_of_Holstein-Gottorp property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q67764,P27,c(Q1048835))
action count
action filter_type
action find
entity Q67764
relation P27
type Q1048835
[ANSWER]
['Q67764', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Q67764 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Sophia of Holstein-Gottorp
relation country of citizenship
type political territorial entity
['Sophia of Holstein-Gottorp', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Sophia_of_Holstein-Gottorp property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19969430
P291
Q515
USER
Which city is the location of publication of Allgemeine Deutsche Biographie, 14th volume ?
(Q19969430,P291,c(Q515))
action filter_type
action find
entity Q19969430
relation P291
type Q515
['Q19969430', 'P291', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q19969430 property:P291 ?w . ?w rdf:type ontology:Q515 }
Allgemeine Deutsche Biographie, 14th volume
action filter_type
action find
entity Allgemeine Deutsche Biographie, 14th volume
relation place of publication
type city
['Allgemeine Deutsche Biographie, 14th volume', 'place of publication', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Allgemeine_Deutsche_Biographie,_14th_volume property:place_of_publication ?w . ?w rdf:type ontology:city }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
(Q19969430,P291,c(Q515))
action filter_type
action find
entity Q19969430
relation P291
type Q515
[ANSWER] is the location of publication of Allgemeine Deutsche Biographie, 14th volume
['Q19969430', 'P291', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { resource:Q19969430 property:P291 ?w . ?w rdf:type ontology:Q515 }
Leipzig
Leipzig is the location of publication of Allgemeine Deutsche Biographie, 14th volume
Leipzig
action filter_type
action find
entity Allgemeine Deutsche Biographie, 14th volume
relation place of publication
type city
['Allgemeine Deutsche Biographie, 14th volume', 'place of publication', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { resource:Allgemeine_Deutsche_Biographie,_14th_volume property:place_of_publication ?w . ?w rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q25300883
Q515
USER
And how about Allgemeine Deutsche Biographie, 48th volume?
(Q25300883,P291,c(Q515))
action filter_type
action find
entity Q25300883
relation P291
type Q515
['Q25300883', 'P291', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q25300883 property:P291 ?r . ?r rdf:type ontology:Q515 }
Allgemeine Deutsche Biographie, 48th volume
action filter_type
action find
entity Allgemeine Deutsche Biographie, 48th volume
relation place of publication
type city
['Allgemeine Deutsche Biographie, 48th volume', 'place of publication', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Allgemeine_Deutsche_Biographie,_48th_volume property:place_of_publication ?r . ?r rdf:type ontology:city }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
(Q25300883,P291,c(Q515))
action filter_type
action find
entity Q25300883
relation P291
type Q515
[ANSWER]
['Q25300883', 'P291', {'concept': 'Q515'}]
SELECT DISTINCT ?r WHERE { resource:Q25300883 property:P291 ?r . ?r rdf:type ontology:Q515 }
Leipzig
Leipzig
action filter_type
action find
entity Allgemeine Deutsche Biographie, 48th volume
relation place of publication
type city
['Allgemeine Deutsche Biographie, 48th volume', 'place of publication', {'concept': 'city'}]
SELECT DISTINCT ?r WHERE { resource:Allgemeine_Deutsche_Biographie,_48th_volume property:place_of_publication ?r . ?r rdf:type ontology:city }
[]