Simple Question (Direct)
Simple Question
Q9070791
P140
Q879146
USER
Which Christian denomination does Infante Henrique, Duke of Coimbra correspond to ?
(Q9070791,P140,c(Q879146))
action filter_type
action find
entity Q9070791
relation P140
type Q879146
['Q9070791', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?f WHERE { resource:Q9070791 property:P140 ?f . ?f rdf:type ontology:Q879146 }
Infante Henrique, Duke of Coimbra
action filter_type
action find
entity Infante Henrique, Duke of Coimbra
relation religion
type Christian denomination
['Infante Henrique, Duke of Coimbra', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?f WHERE { resource:Infante_Henrique,_Duke_of_Coimbra property:religion ?f . ?f rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q9070791,P140,c(Q879146))
action filter_type
action find
entity Q9070791
relation P140
type Q879146
Infante Henrique , Duke of Coimbra corresponds to the [ANSWER]
['Q9070791', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?f WHERE { resource:Q9070791 property:P140 ?f . ?f rdf:type ontology:Q879146 }
Roman Catholic Church
Infante Henrique , Duke of Coimbra corresponds to the Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Infante Henrique, Duke of Coimbra
relation religion
type Christian denomination
['Infante Henrique, Duke of Coimbra', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?f WHERE { resource:Infante_Henrique,_Duke_of_Coimbra property:religion ?f . ?f rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9070791
P7
Q502895
USER
Who are that one a brother of ?
(c(Q502895),P7,Q9592)
action filter_type
action find
entity Q9070791
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q9592']
SELECT DISTINCT ?w WHERE { resource:Q9070791 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Infante Henrique, Duke of Coimbra
action filter_type
action find
entity Infante Henrique, Duke of Coimbra
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Roman Catholic Church']
SELECT DISTINCT ?w WHERE { resource:Infante_Henrique,_Duke_of_Coimbra property:brother ?w . ?w rdf:type ontology:common_name }
[]
common name
Q1262756 Q9071096
SYSTEM
Duarte Pio, Duke of Braganza, Infante Miguel, Duke of Viseu
Q1262756 Q9071096
(c(Q502895),P7,Q9592)
action filter_type
action find
entity Q9070791
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q9592']
SELECT DISTINCT ?w WHERE { resource:Q9070791 property:P7 ?w . ?w rdf:type ontology:Q502895 }
Duarte Pio, Duke of Braganza Infante Miguel, Duke of Viseu
That one a brother of are Duarte Pio, Duke of Braganza and Infante Miguel, Duke of Viseu
Duarte Pio, Duke of Braganza Infante Miguel, Duke of Viseu
action filter_type
action find
entity Infante Henrique, Duke of Coimbra
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Roman Catholic Church']
SELECT DISTINCT ?w WHERE { resource:Infante_Henrique,_Duke_of_Coimbra property:brother ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9592 Q22906047
P112
Q502895
USER
How many people are the names of the founders of Roman Catholic Church or Kadenze ?
(Q9592,P112,c(Q502895)) (Q22906047,P112,c(Q502895))
action count
action union
action filter_type
action find
entity Q9592
relation P112
type Q502895
action filter_type
action find
entity Q22906047
relation P112
type Q502895
['Q9592', 'P112', {'concept': 'Q502895'}] ['Q22906047', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?f property:P112 ?r . VALUES ( ?f ) { ( resource:Q22906047 ) ( resource:Q9592 ) } }
Roman Catholic Church Kadenze
action count
action union
action filter_type
action find
entity Roman Catholic Church
relation founder
type common name
action filter_type
action find
entity Kadenze
relation founder
type common name
['Roman Catholic Church', 'founder', {'concept': 'common name'}] ['Kadenze', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?f property:founder ?r . VALUES ( ?f ) { ( resource:Kadenze ) ( resource:Roman_Catholic_Church ) } }
[]
common name
SYSTEM
2
Q4699639 Q7169879
(Q9592,P112,c(Q502895)) (Q22906047,P112,c(Q502895))
action count
action union
action filter_type
action find
entity Q9592
relation P112
type Q502895
action filter_type
action find
entity Q22906047
relation P112
type Q502895
[ANSWER]
['Q9592', 'P112', {'concept': 'Q502895'}] ['Q22906047', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?f property:P112 ?r . VALUES ( ?f ) { ( resource:Q22906047 ) ( resource:Q9592 ) } }
Ajay Kapur Perry R. Cook
2
action count
action union
action filter_type
action find
entity Roman Catholic Church
relation founder
type common name
action filter_type
action find
entity Kadenze
relation founder
type common name
['Roman Catholic Church', 'founder', {'concept': 'common name'}] ['Kadenze', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { ?f property:founder ?r . VALUES ( ?f ) { ( resource:Kadenze ) ( resource:Roman_Catholic_Church ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q451110
P991
Q502895
USER
Who was the elected person from German presidential election, 1999 ?
(Q451110,P991,c(Q502895))
action filter_type
action find
entity Q451110
relation P991
type Q502895
['Q451110', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q451110 property:P991 ?x . ?x rdf:type ontology:Q502895 }
German presidential election, 1999
action filter_type
action find
entity German presidential election, 1999
relation successful candidate
type common name
['German presidential election, 1999', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:German_presidential_election,_1999 property:successful_candidate ?x . ?x rdf:type ontology:common_name }
[]
common name
Q2551
SYSTEM
Johannes Rau
Q2551
(Q451110,P991,c(Q502895))
action filter_type
action find
entity Q451110
relation P991
type Q502895
The elected person from German presidential election , 1999 was elected [ANSWER]
['Q451110', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q451110 property:P991 ?x . ?x rdf:type ontology:Q502895 }
Johannes Rau
The elected person from German presidential election , 1999 was elected Johannes Rau
Johannes Rau
action filter_type
action find
entity German presidential election, 1999
relation successful candidate
type common name
['German presidential election, 1999', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:German_presidential_election,_1999 property:successful_candidate ?x . ?x rdf:type ontology:common_name }
[]