Simple Question (Direct)
Simple Question
Q1583143
P19
Q56061
USER
Which administrative territory was Peter Struhár born in ?
(Q1583143,P19,c(Q56061))
action filter_type
action find
entity Q1583143
relation P19
type Q56061
['Q1583143', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q1583143 property:P19 ?p }
Peter Struhár
action filter_type
action find
entity Peter Struhár
relation place of birth
type administrative territorial entity
['Peter Struhár', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Peter_Struhár property:place_of_birth ?p }
[]
administrative territorial entity
Q1780
SYSTEM
Bratislava
Q1780
(Q1583143,P19,c(Q56061))
action filter_type
action find
entity Q1583143
relation P19
type Q56061
Peter Struhár was born in [ANSWER]
['Q1583143', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q1583143 property:P19 ?p }
Bratislava
Peter Struhár was born in Bratislava
Bratislava
action filter_type
action find
entity Peter Struhár
relation place of birth
type administrative territorial entity
['Peter Struhár', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Peter_Struhár property:place_of_birth ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1583143
P106
Q12737077
USER
What is the profession of Peter Struhár ?
(Q1583143,P106,c(Q12737077))
action filter_type
action find
entity Q1583143
relation P106
type Q12737077
['Q1583143', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1583143 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Peter Struhár
action filter_type
action find
entity Peter Struhár
relation occupation
type occupation
['Peter Struhár', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Peter_Struhár property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1583143,P106,c(Q12737077))
action filter_type
action find
entity Q1583143
relation P106
type Q12737077
The profession of Peter Struhár is an [ANSWER]
['Q1583143', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1583143 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
The profession of Peter Struhár is an association football player
association football player
action filter_type
action find
entity Peter Struhár
relation occupation
type occupation
['Peter Struhár', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Peter_Struhár property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1780
P1376
Q7275
USER
What have Bratislava as their capital ?
(Q1780,P1376,c(Q7275))
action filter_type
action find
entity Q1780
relation P1376
type Q7275
['Q1780', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?o WHERE { resource:Q1780 property:P1376 ?o . ?o rdf:type ontology:Q7275 }
Bratislava
action filter_type
action find
entity Bratislava
relation capital of
type state
['Bratislava', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?o WHERE { resource:Bratislava property:capital_of ?o . ?o rdf:type ontology:state }
[]
state
Q171150 Q1751495
SYSTEM
Kingdom of Hungary, Slovak Socialist Republic
Q171150 Q1751495
(Q1780,P1376,c(Q7275))
action filter_type
action find
entity Q1780
relation P1376
type Q7275
[ANSWERS] have Bratislava as their capital
['Q1780', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?o WHERE { resource:Q1780 property:P1376 ?o . ?o rdf:type ontology:Q7275 }
Kingdom of Hungary Slovak Socialist Republic
Kingdom of Hungary and Slovak Socialist Republic have Bratislava as their capital
Kingdom of Hungary Slovak Socialist Republic
action filter_type
action find
entity Bratislava
relation capital of
type state
['Bratislava', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?o WHERE { resource:Bratislava property:capital_of ?o . ?o rdf:type ontology:state }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q270
Q7275
USER
And how about Warsaw?
(Q270,P1376,c(Q7275))
action filter_type
action find
entity Q270
relation P1376
type Q7275
['Q270', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q270 property:P1376 ?q . ?q rdf:type ontology:Q7275 }
Warsaw
action filter_type
action find
entity Warsaw
relation capital of
type state
['Warsaw', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Warsaw property:capital_of ?q . ?q rdf:type ontology:state }
[]
state
Q172107 Q207272 Q211274
SYSTEM
Polish–Lithuanian Commonwealth, Second Polish Republic, People's Republic of Poland
Q172107 Q207272 Q211274
(Q270,P1376,c(Q7275))
action filter_type
action find
entity Q270
relation P1376
type Q7275
[ANSWERS]
['Q270', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { resource:Q270 property:P1376 ?q . ?q rdf:type ontology:Q7275 }
Polish–Lithuanian Commonwealth Second Polish Republic People's Republic of Poland
Polish–Lithuanian Commonwealth Second Polish Republic People's Republic of Poland
action filter_type
action find
entity Warsaw
relation capital of
type state
['Warsaw', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { resource:Warsaw property:capital_of ?q . ?q rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q854214
P1376
Q56061
USER
Are Beliu the capital of those states ?
(Q854214,P1376,Q172107) (Q854214,P1376,Q207272) (Q854214,P1376,Q211274)
action is_in
entity prev_answer
action find
entity Q854214
relation P1376
['Q854214', 'P1376', 'Q172107'] ['Q854214', 'P1376', 'Q207272'] ['Q854214', 'P1376', 'Q211274']
ASK WHERE { VALUES ( ?z ) { ( resource:Q172107 ) ( resource:Q207272 ) ( resource:Q211274 ) } . resource:Q854214 property:P1376 ?z }
Beliu
action is_in
entity prev_answer
action find
entity Beliu
relation capital of
['Beliu', 'capital of', 'Polish–Lithuanian Commonwealth'] ['Beliu', 'capital of', 'Second Polish Republic'] ['Beliu', 'capital of', "People's Republic of Poland"]
ASK WHERE { VALUES ( ?z ) { ( resource:Polish–Lithuanian_Commonwealth ) ( resource:Second_Polish_Republic ) ( resource:People's_Republic_of_Poland ) } . resource:Beliu property:capital_of ?z }
[]
administrative territorial entity
SYSTEM
NO
(Q854214,P1376,Q172107) (Q854214,P1376,Q207272) (Q854214,P1376,Q211274)
action is_in
entity prev_answer
action find
entity Q854214
relation P1376
[ANSWER]
['Q854214', 'P1376', 'Q172107'] ['Q854214', 'P1376', 'Q207272'] ['Q854214', 'P1376', 'Q211274']
ASK WHERE { VALUES ( ?z ) { ( resource:Q172107 ) ( resource:Q207272 ) ( resource:Q211274 ) } . resource:Q854214 property:P1376 ?z }
No
action is_in
entity prev_answer
action find
entity Beliu
relation capital of
['Beliu', 'capital of', 'Polish–Lithuanian Commonwealth'] ['Beliu', 'capital of', 'Second Polish Republic'] ['Beliu', 'capital of', "People's Republic of Poland"]
ASK WHERE { VALUES ( ?z ) { ( resource:Polish–Lithuanian_Commonwealth ) ( resource:Second_Polish_Republic ) ( resource:People's_Republic_of_Poland ) } . resource:Beliu property:capital_of ?z }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1751495 Q755214 Q1780
P36
Q56061
USER
Is Posmuș and Bratislava the capital of Slovak Socialist Republic ?
(Q1751495,P36,Q755214) (Q1751495,P36,Q1780)
action is_in
entity Q1751495
action intersection
action find_reverse
entity Q755214
relation P36
action find_reverse
entity Q1780
relation P36
['Q1751495', 'P36', 'Q755214'] ['Q1751495', 'P36', 'Q1780']
ASK WHERE { resource:Q1751495 property:P36 resource:Q1780 . resource:Q1751495 property:P36 resource:Q755214 }
Slovak Socialist Republic Posmuș Bratislava
action is_in
entity Slovak Socialist Republic
action intersection
action find_reverse
entity Posmuș
relation capital
action find_reverse
entity Bratislava
relation capital
['Slovak Socialist Republic', 'capital', 'Posmuș'] ['Slovak Socialist Republic', 'capital', 'Bratislava']
ASK WHERE { resource:Slovak_Socialist_Republic property:capital resource:Bratislava . resource:Slovak_Socialist_Republic property:capital resource:Posmuș }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q1751495,P36,Q755214) (Q1751495,P36,Q1780)
action is_in
entity Q1751495
action intersection
action find_reverse
entity Q755214
relation P36
action find_reverse
entity Q1780
relation P36
[ANSWER]
['Q1751495', 'P36', 'Q755214'] ['Q1751495', 'P36', 'Q1780']
ASK WHERE { resource:Q1751495 property:P36 resource:Q1780 . resource:Q1751495 property:P36 resource:Q755214 }
NO and YES respectively
action is_in
entity Slovak Socialist Republic
action intersection
action find_reverse
entity Posmuș
relation capital
action find_reverse
entity Bratislava
relation capital
['Slovak Socialist Republic', 'capital', 'Posmuș'] ['Slovak Socialist Republic', 'capital', 'Bratislava']
ASK WHERE { resource:Slovak_Socialist_Republic property:capital resource:Bratislava . resource:Slovak_Socialist_Republic property:capital resource:Posmuș }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q171150 Q3435130
P36
Q56061
USER
Is Putniković known as the capital of Kingdom of Hungary ?
(Q171150,P36,Q3435130)
action is_in
entity Q3435130
action find
entity Q171150
relation P36
['Q171150', 'P36', 'Q3435130']
ASK WHERE { resource:Q171150 property:P36 resource:Q3435130 }
Kingdom of Hungary Putniković
action is_in
entity Putniković
action find
entity Kingdom of Hungary
relation capital
['Kingdom of Hungary', 'capital', 'Putniković']
ASK WHERE { resource:Kingdom_of_Hungary property:capital resource:Putniković }
[]
administrative territorial entity
SYSTEM
NO
(Q171150,P36,Q3435130)
action is_in
entity Q3435130
action find
entity Q171150
relation P36
[ANSWER]
['Q171150', 'P36', 'Q3435130']
ASK WHERE { resource:Q171150 property:P36 resource:Q3435130 }
No
action is_in
entity Putniković
action find
entity Kingdom of Hungary
relation capital
['Kingdom of Hungary', 'capital', 'Putniković']
ASK WHERE { resource:Kingdom_of_Hungary property:capital resource:Putniković }
[]