Simple Question (Direct)
Simple Question
Q10394850
P27
Q15617994
USER
Which administrative territory does Zada belong to ?
(Q10394850,P27,c(Q15617994))
action filter_type
action find
entity Q10394850
relation P27
type Q15617994
['Q10394850', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q10394850 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Zada
action filter_type
action find
entity Zada
relation country of citizenship
type designation for an administrative territorial entity
['Zada', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Zada property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q10394850,P27,c(Q15617994))
action filter_type
action find
entity Q10394850
relation P27
type Q15617994
Zada belongs to [ANSWER]
['Q10394850', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q10394850 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Brazil
Zada belongs to Brazil
Brazil
action filter_type
action find
entity Zada
relation country of citizenship
type designation for an administrative territorial entity
['Zada', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Zada property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10394850
P54
Q618123
USER
What is the team that Zada is a member of ?
(Q10394850,P54,c(Q618123))
action filter_type
action find
entity Q10394850
relation P54
type Q618123
['Q10394850', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?z WHERE { resource:Q10394850 property:P54 ?z . ?z rdf:type ontology:Q618123 }
Zada
action filter_type
action find
entity Zada
relation member of sports team
type geographical object
['Zada', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?z WHERE { resource:Zada property:member_of_sports_team ?z . ?z rdf:type ontology:geographical_object }
[]
geographical object
Q5014111
SYSTEM
CR Vasco da Gama
Q5014111
(Q10394850,P54,c(Q618123))
action filter_type
action find
entity Q10394850
relation P54
type Q618123
The team that Zada is a member of is the [ANSWER]
['Q10394850', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?z WHERE { resource:Q10394850 property:P54 ?z . ?z rdf:type ontology:Q618123 }
CR Vasco da Gama
The team that Zada is a member of is the CR Vasco da Gama
CR Vasco da Gama
action filter_type
action find
entity Zada
relation member of sports team
type geographical object
['Zada', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?z WHERE { resource:Zada property:member_of_sports_team ?z . ?z rdf:type ontology:geographical_object }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5014111 Q3928970
P54
Q502895
USER
Is Rafael Pereira da Silva one of the members of that geographical object ?
(Q3928970,P54,Q5014111)
action is_in
entity Q5014111
action find
entity Q3928970
relation P54
['Q3928970', 'P54', 'Q5014111']
ASK WHERE { resource:Q3928970 property:P54 resource:Q5014111 }
CR Vasco da Gama Rafael Pereira da Silva
action is_in
entity CR Vasco da Gama
action find
entity Rafael Pereira da Silva
relation member of sports team
['Rafael Pereira da Silva', 'member of sports team', 'CR Vasco da Gama']
ASK WHERE { resource:Rafael_Pereira_da_Silva property:member_of_sports_team resource:CR_Vasco_da_Gama }
[]
common name
SYSTEM
YES
(Q3928970,P54,Q5014111)
action is_in
entity Q5014111
action find
entity Q3928970
relation P54
[ANSWER]
['Q3928970', 'P54', 'Q5014111']
ASK WHERE { resource:Q3928970 property:P54 resource:Q5014111 }
Yes
action is_in
entity CR Vasco da Gama
action find
entity Rafael Pereira da Silva
relation member of sports team
['Rafael Pereira da Silva', 'member of sports team', 'CR Vasco da Gama']
ASK WHERE { resource:Rafael_Pereira_da_Silva property:member_of_sports_team resource:CR_Vasco_da_Gama }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q155 Q1049 Q2402484
P530
Q15617994
USER
Does Brazil have diplomatic associations with Sudan and Pachalum ?
(Q155,P530,Q1049) (Q155,P530,Q2402484)
action is_in
entity Q155
action intersection
action find_reverse
entity Q1049
relation P530
action find_reverse
entity Q2402484
relation P530
['Q155', 'P530', 'Q1049'] ['Q155', 'P530', 'Q2402484']
ASK WHERE { resource:Q155 property:P530 resource:Q1049 . resource:Q155 property:P530 resource:Q2402484 }
Brazil Sudan Pachalum
action is_in
entity Brazil
action intersection
action find_reverse
entity Sudan
relation diplomatic relation
action find_reverse
entity Pachalum
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Sudan'] ['Brazil', 'diplomatic relation', 'Pachalum']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Sudan . resource:Brazil property:diplomatic_relation resource:Pachalum }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q155,P530,Q1049) (Q155,P530,Q2402484)
action is_in
entity Q155
action intersection
action find_reverse
entity Q1049
relation P530
action find_reverse
entity Q2402484
relation P530
[ANSWER]
['Q155', 'P530', 'Q1049'] ['Q155', 'P530', 'Q2402484']
ASK WHERE { resource:Q155 property:P530 resource:Q1049 . resource:Q155 property:P530 resource:Q2402484 }
YES and NO respectively
action is_in
entity Brazil
action intersection
action find_reverse
entity Sudan
relation diplomatic relation
action find_reverse
entity Pachalum
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Sudan'] ['Brazil', 'diplomatic relation', 'Pachalum']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Sudan . resource:Brazil property:diplomatic_relation resource:Pachalum }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q10394850 Q8678 Q10948727
P19
Q56061
USER
Does Zada have place of birth as Rio de Janeiro and Dvareliškiai ?
(Q10394850,P19,Q8678) (Q10394850,P19,Q10948727)
action is_in
entity Q10394850
action intersection
action find_reverse
entity Q8678
relation P19
action find_reverse
entity Q10948727
relation P19
['Q10394850', 'P19', 'Q8678'] ['Q10394850', 'P19', 'Q10948727']
ASK WHERE { resource:Q10394850 property:P19 resource:Q8678 . resource:Q10394850 property:P19 resource:Q10948727 }
Zada Rio de Janeiro Dvareliškiai
action is_in
entity Zada
action intersection
action find_reverse
entity Rio de Janeiro
relation place of birth
action find_reverse
entity Dvareliškiai
relation place of birth
['Zada', 'place of birth', 'Rio de Janeiro'] ['Zada', 'place of birth', 'Dvareliškiai']
ASK WHERE { resource:Zada property:place_of_birth resource:Rio_de_Janeiro . resource:Zada property:place_of_birth resource:Dvareliškiai }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q10394850,P19,Q8678) (Q10394850,P19,Q10948727)
action is_in
entity Q10394850
action intersection
action find_reverse
entity Q8678
relation P19
action find_reverse
entity Q10948727
relation P19
[ANSWER]
['Q10394850', 'P19', 'Q8678'] ['Q10394850', 'P19', 'Q10948727']
ASK WHERE { resource:Q10394850 property:P19 resource:Q8678 . resource:Q10394850 property:P19 resource:Q10948727 }
YES and NO respectively
action is_in
entity Zada
action intersection
action find_reverse
entity Rio de Janeiro
relation place of birth
action find_reverse
entity Dvareliškiai
relation place of birth
['Zada', 'place of birth', 'Rio de Janeiro'] ['Zada', 'place of birth', 'Dvareliškiai']
ASK WHERE { resource:Zada property:place_of_birth resource:Rio_de_Janeiro . resource:Zada property:place_of_birth resource:Dvareliškiai }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5014111 Q155 Q552268
P17
Q15617994
USER
Is CR Vasco da Gama located in Brazil and Walschleben ?
(Q5014111,P17,Q155) (Q5014111,P17,Q552268)
action is_in
entity Q5014111
action intersection
action find_reverse
entity Q155
relation P17
action find_reverse
entity Q552268
relation P17
['Q5014111', 'P17', 'Q155'] ['Q5014111', 'P17', 'Q552268']
ASK WHERE { resource:Q5014111 property:P17 resource:Q155 . resource:Q5014111 property:P17 resource:Q552268 }
CR Vasco da Gama Brazil Walschleben
action is_in
entity CR Vasco da Gama
action intersection
action find_reverse
entity Brazil
relation country
action find_reverse
entity Walschleben
relation country
['CR Vasco da Gama', 'country', 'Brazil'] ['CR Vasco da Gama', 'country', 'Walschleben']
ASK WHERE { resource:CR_Vasco_da_Gama property:country resource:Brazil . resource:CR_Vasco_da_Gama property:country resource:Walschleben }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q5014111,P17,Q155) (Q5014111,P17,Q552268)
action is_in
entity Q5014111
action intersection
action find_reverse
entity Q155
relation P17
action find_reverse
entity Q552268
relation P17
[ANSWER]
['Q5014111', 'P17', 'Q155'] ['Q5014111', 'P17', 'Q552268']
ASK WHERE { resource:Q5014111 property:P17 resource:Q155 . resource:Q5014111 property:P17 resource:Q552268 }
YES and NO respectively
action is_in
entity CR Vasco da Gama
action intersection
action find_reverse
entity Brazil
relation country
action find_reverse
entity Walschleben
relation country
['CR Vasco da Gama', 'country', 'Brazil'] ['CR Vasco da Gama', 'country', 'Walschleben']
ASK WHERE { resource:CR_Vasco_da_Gama property:country resource:Brazil . resource:CR_Vasco_da_Gama property:country resource:Walschleben }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q155 Q2065244 Q4061551
P530
Q1048835
USER
Does Brazil have ambassadorial relations with Sucupira do Riachão and Oleksandropil ?
(Q155,P530,Q2065244) (Q155,P530,Q4061551)
action is_in
entity Q155
action intersection
action find_reverse
entity Q2065244
relation P530
action find_reverse
entity Q4061551
relation P530
['Q155', 'P530', 'Q2065244'] ['Q155', 'P530', 'Q4061551']
ASK WHERE { resource:Q155 property:P530 resource:Q2065244 . resource:Q155 property:P530 resource:Q4061551 }
Brazil Sucupira do Riachão Oleksandropil
action is_in
entity Brazil
action intersection
action find_reverse
entity Sucupira do Riachão
relation diplomatic relation
action find_reverse
entity Oleksandropil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Sucupira do Riachão'] ['Brazil', 'diplomatic relation', 'Oleksandropil']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Sucupira_do_Riachão . resource:Brazil property:diplomatic_relation resource:Oleksandropil }
[]
political territorial entity
SYSTEM
NO
(Q155,P530,Q2065244) (Q155,P530,Q4061551)
action is_in
entity Q155
action intersection
action find_reverse
entity Q2065244
relation P530
action find_reverse
entity Q4061551
relation P530
[ANSWER]
['Q155', 'P530', 'Q2065244'] ['Q155', 'P530', 'Q4061551']
ASK WHERE { resource:Q155 property:P530 resource:Q2065244 . resource:Q155 property:P530 resource:Q4061551 }
No
action is_in
entity Brazil
action intersection
action find_reverse
entity Sucupira do Riachão
relation diplomatic relation
action find_reverse
entity Oleksandropil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Sucupira do Riachão'] ['Brazil', 'diplomatic relation', 'Oleksandropil']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Sucupira_do_Riachão . resource:Brazil property:diplomatic_relation resource:Oleksandropil }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q464798 Q10394850
P19
Q56061
USER
Which administrative territories are the places of birth of Zada or Yuri Koksharov ?
OR((Q10394850,P19,c(Q56061)), (Q464798,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10394850
relation P19
action find
entity Q464798
relation P19
type Q56061
{'OR': [['Q10394850', 'P19', {'concept': 'Q56061'}], ['Q464798', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?h ) { ( resource:Q10394850 ) ( resource:Q464798 ) } . ?h property:P19 ?s } . ?s rdf:type ontology:Q56061 }
Yuri Koksharov Zada
action filter_type
action union
action find
entity Zada
relation place of birth
action find
entity Yuri Koksharov
relation place of birth
type administrative territorial entity
{'OR': [['Zada', 'place of birth', {'concept': 'administrative territorial entity'}], ['Yuri Koksharov', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?h ) { ( resource:Zada ) ( resource:Yuri_Koksharov ) } . ?h property:place_of_birth ?s } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q906 Q8678
SYSTEM
Chelyabinsk, Rio de Janeiro
Q906 Q8678
OR((Q10394850,P19,c(Q56061)), (Q464798,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10394850
relation P19
action find
entity Q464798
relation P19
type Q56061
[ANSWERS] are the places of birth of Zada or Yuri Koksharov
{'OR': [['Q10394850', 'P19', {'concept': 'Q56061'}], ['Q464798', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?h ) { ( resource:Q10394850 ) ( resource:Q464798 ) } . ?h property:P19 ?s } . ?s rdf:type ontology:Q56061 }
Chelyabinsk Rio de Janeiro
Chelyabinsk and Rio de Janeiro are the places of birth of Zada or Yuri Koksharov
Chelyabinsk Rio de Janeiro
action filter_type
action union
action find
entity Zada
relation place of birth
action find
entity Yuri Koksharov
relation place of birth
type administrative territorial entity
{'OR': [['Zada', 'place of birth', {'concept': 'administrative territorial entity'}], ['Yuri Koksharov', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?h ) { ( resource:Zada ) ( resource:Yuri_Koksharov ) } . ?h property:place_of_birth ?s } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P163
Q14660 Q17335294 Q56061
USER
Which administrative territories have flag named greater number of flags and coats of arms than that administrative territory ?
(c(Q56061),P163,c(Q14660)|c(Q17335294))
[{'concept': 'Q56061'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q14660 ?y } UNION { ?z property:Q14660 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q14660 . ?x rdf:type ontology:Q17335294 }
[{'concept': 'administrative territorial entity'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:flag ?y } UNION { ?z property:flag ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag . ?x rdf:type ontology:flag_or_coat_of_arms }
[]
flag flag or coat of arms administrative territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q906
SYSTEM
Did you mean Chelyabinsk ?
(c(Q56061),P163,c(Q14660)|c(Q17335294))
[ANSWER]
[{'concept': 'Q56061'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q14660 ?y } UNION { ?z property:Q14660 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q14660 . ?x rdf:type ontology:Q17335294 }
Did you mean Chelyabinsk ?
Chelyabinsk
[{'concept': 'administrative territorial entity'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:flag ?y } UNION { ?z property:flag ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag . ?x rdf:type ontology:flag_or_coat_of_arms }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q56061),P163,c(Q14660)|c(Q17335294))
[{'concept': 'Q56061'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
[{'concept': 'administrative territorial entity'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
[]
SYSTEM
0
(c(Q56061),P163,c(Q14660)|c(Q17335294))
[ANSWER]
[{'concept': 'Q56061'}, 'P163', [{'concept': 'Q14660'}, {'concept': 'Q17335294'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q14660 ?y } UNION { ?z property:Q14660 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q14660 . ?x rdf:type ontology:Q17335294 }
0
[{'concept': 'administrative territorial entity'}, 'flag', [{'concept': 'flag'}, {'concept': 'flag or coat of arms'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:flag ?y } UNION { ?z property:flag ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:flag . ?x rdf:type ontology:flag_or_coat_of_arms }
[]