Simple Question (Direct)
Simple Question
Q1824550
P641
Q349
USER
What did Yoshihiko Matsuoka participate in ?
(Q1824550,P641,c(Q349))
action filter_type
action find
entity Q1824550
relation P641
type Q349
['Q1824550', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q1824550 property:P641 ?c . ?c rdf:type ontology:Q349 }
Yoshihiko Matsuoka
action filter_type
action find
entity Yoshihiko Matsuoka
relation sport
type sport
['Yoshihiko Matsuoka', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Yoshihiko_Matsuoka property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1824550,P641,c(Q349))
action filter_type
action find
entity Q1824550
relation P641
type Q349
Yoshihiko Matsuoka participated in [ANSWER]
['Q1824550', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q1824550 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Yoshihiko Matsuoka participated in association football
association football
action filter_type
action find
entity Yoshihiko Matsuoka
relation sport
type sport
['Yoshihiko Matsuoka', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Yoshihiko_Matsuoka property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?r WHERE { resource:Q2736 property:P495 ?r . ?r rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:association_football property:country_of_origin ?r . ?r rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?r WHERE { resource:Q2736 property:P495 ?r . ?r rdf:type ontology:Q1496967 }
England
The origin of that sport is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:association_football property:country_of_origin ?r . ?r rdf:type ontology:territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21 Q25825074 Q84
P36
Q56061
USER
Does England have Bundzene and London as its administrative centre ?
(Q21,P36,Q25825074) (Q21,P36,Q84)
action is_in
entity Q21
action intersection
action find_reverse
entity Q25825074
relation P36
action find_reverse
entity Q84
relation P36
['Q21', 'P36', 'Q25825074'] ['Q21', 'P36', 'Q84']
ASK WHERE { resource:Q21 property:P36 resource:Q25825074 . resource:Q21 property:P36 resource:Q84 }
England Bundzene London
action is_in
entity England
action intersection
action find_reverse
entity Bundzene
relation capital
action find_reverse
entity London
relation capital
['England', 'capital', 'Bundzene'] ['England', 'capital', 'London']
ASK WHERE { resource:England property:capital resource:Bundzene . resource:England property:capital resource:London }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q21,P36,Q25825074) (Q21,P36,Q84)
action is_in
entity Q21
action intersection
action find_reverse
entity Q25825074
relation P36
action find_reverse
entity Q84
relation P36
[ANSWER]
['Q21', 'P36', 'Q25825074'] ['Q21', 'P36', 'Q84']
ASK WHERE { resource:Q21 property:P36 resource:Q25825074 . resource:Q21 property:P36 resource:Q84 }
NO and YES respectively
action is_in
entity England
action intersection
action find_reverse
entity Bundzene
relation capital
action find_reverse
entity London
relation capital
['England', 'capital', 'Bundzene'] ['England', 'capital', 'London']
ASK WHERE { resource:England property:capital resource:Bundzene . resource:England property:capital resource:London }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1824550 Q17
P27
Q15617994
USER
Is Yoshihiko Matsuoka a civilian of Japan ?
(Q1824550,P27,Q17)
action is_in
entity Q17
action find
entity Q1824550
relation P27
['Q1824550', 'P27', 'Q17']
ASK WHERE { resource:Q1824550 property:P27 resource:Q17 }
Yoshihiko Matsuoka Japan
action is_in
entity Japan
action find
entity Yoshihiko Matsuoka
relation country of citizenship
['Yoshihiko Matsuoka', 'country of citizenship', 'Japan']
ASK WHERE { resource:Yoshihiko_Matsuoka property:country_of_citizenship resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1824550,P27,Q17)
action is_in
entity Q17
action find
entity Q1824550
relation P27
[ANSWER]
['Q1824550', 'P27', 'Q17']
ASK WHERE { resource:Q1824550 property:P27 resource:Q17 }
Yes
action is_in
entity Japan
action find
entity Yoshihiko Matsuoka
relation country of citizenship
['Yoshihiko Matsuoka', 'country of citizenship', 'Japan']
ASK WHERE { resource:Yoshihiko_Matsuoka property:country_of_citizenship resource:Japan }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q41466
P366
Q349 Q6671777 Q1875621
USER
How many sports are the main uses of approximately the same number of structures or aircraft classes as ice hockey ?
(c(Q6671777)|c(Q1875621),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P366
type Q6671777
type Q1875621
[[{'concept': 'Q6671777'}, {'concept': 'Q1875621'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q6671777 ) ( ontology:Q1875621 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P366 resource:Q41466 . { { ?h rdf:type ontology:Q6671777 } UNION { ?h rdf:type ontology:Q1875621 } } } } . FILTER ( ?g = ?d ) }
ice hockey
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation use
type structure
type aircraft class
[[{'concept': 'structure'}, {'concept': 'aircraft class'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:structure ) ( ontology:aircraft_class ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:use resource:ice_hockey . { { ?h rdf:type ontology:structure } UNION { ?h rdf:type ontology:aircraft_class } } } } . FILTER ( ?g = ?d ) }
[]
sport structure aircraft class
SYSTEM
20
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q6671777)|c(Q1875621),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P366
type Q6671777
type Q1875621
[ANSWER]
[[{'concept': 'Q6671777'}, {'concept': 'Q1875621'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q6671777 ) ( ontology:Q1875621 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:P366 resource:Q41466 . { { ?h rdf:type ontology:Q6671777 } UNION { ?h rdf:type ontology:Q1875621 } } } } . FILTER ( ?g = ?d ) }
rallying basketball handball volleyball shooting sport skating bandy cross country running archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
20
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation use
type structure
type aircraft class
[[{'concept': 'structure'}, {'concept': 'aircraft class'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?g ) WHERE { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:structure ) ( ontology:aircraft_class ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { ?h property:use resource:ice_hockey . { { ?h rdf:type ontology:structure } UNION { ?h rdf:type ontology:aircraft_class } } } } . FILTER ( ?g = ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q14300548
P366
Q349 Q6671777 Q1875621
USER
And how about skating?
(c(Q6671777)|c(Q1875621),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q14300548
relation P366
type Q6671777
type Q1875621
[[{'concept': 'Q6671777'}, {'concept': 'Q1875621'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:Q6671777 ) ( ontology:Q1875621 ) } . ?t rdf:type ?e } GROUP BY ?m } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:P366 resource:Q14300548 . { { ?r rdf:type ontology:Q6671777 } UNION { ?r rdf:type ontology:Q1875621 } } } } }
skating
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action count
action filter_multi_types
action find_reverse
entity skating
relation use
type structure
type aircraft class
[[{'concept': 'structure'}, {'concept': 'aircraft class'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:structure ) ( ontology:aircraft_class ) } . ?t rdf:type ?e } GROUP BY ?m } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:use resource:skating . { { ?r rdf:type ontology:structure } UNION { ?r rdf:type ontology:aircraft_class } } } } }
[]
sport structure aircraft class
SYSTEM
20
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q1194269 Q41323 Q7291
(c(Q6671777)|c(Q1875621),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q14300548
relation P366
type Q6671777
type Q1875621
[ANSWER]
[[{'concept': 'Q6671777'}, {'concept': 'Q1875621'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:Q6671777 ) ( ontology:Q1875621 ) } . ?t rdf:type ?e } GROUP BY ?m } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:P366 resource:Q14300548 . { { ?r rdf:type ontology:Q6671777 } UNION { ?r rdf:type ontology:Q1875621 } } } } }
rallying basketball handball volleyball shooting sport skating bandy cross country running archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey harness racing American football badminton
20
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action count
action filter_multi_types
action find_reverse
entity skating
relation use
type structure
type aircraft class
[[{'concept': 'structure'}, {'concept': 'aircraft class'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?e ) { ( ontology:structure ) ( ontology:aircraft_class ) } . ?t rdf:type ?e } GROUP BY ?m } . FILTER ( ?c = ?z ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:use resource:skating . { { ?r rdf:type ontology:structure } UNION { ?r rdf:type ontology:aircraft_class } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P530
Q15617994
USER
Which administrative territory has diplomatic associations with England ?
(c(Q15617994),P530,Q21)
action filter_type
action find_reverse
entity Q21
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q21']
SELECT DISTINCT ?u WHERE { ?u property:P530 resource:Q21 . ?u rdf:type ontology:Q15617994 }
England
action filter_type
action find_reverse
entity England
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'England']
SELECT DISTINCT ?u WHERE { ?u property:diplomatic_relation resource:England . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q225
SYSTEM
Bosnia and Herzegovina
Q225
(c(Q15617994),P530,Q21)
action filter_type
action find_reverse
entity Q21
relation P530
type Q15617994
And [ANSWER] has diplomatic associations with England
[{'concept': 'Q15617994'}, 'P530', 'Q21']
SELECT DISTINCT ?u WHERE { ?u property:P530 resource:Q21 . ?u rdf:type ontology:Q15617994 }
Bosnia and Herzegovina
And Bosnia and Herzegovina has diplomatic associations with England
Bosnia and Herzegovina
action filter_type
action find_reverse
entity England
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'England']
SELECT DISTINCT ?u WHERE { ?u property:diplomatic_relation resource:England . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P163
Q14660
USER
What is associated with that territory ?
(Q225,P163,c(Q14660))
action filter_type
action find
entity Q21
relation P163
type Q14660
['Q225', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?c WHERE { resource:Q21 property:P163 ?c . ?c rdf:type ontology:Q14660 }
England
action filter_type
action find
entity England
relation flag
type flag
['Bosnia and Herzegovina', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?c WHERE { resource:England property:flag ?c . ?c rdf:type ontology:flag }
[]
flag
Q171117
SYSTEM
flag of England
Q171117
(Q225,P163,c(Q14660))
action filter_type
action find
entity Q21
relation P163
type Q14660
The [ANSWER] is associated with that territory
['Q225', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?c WHERE { resource:Q21 property:P163 ?c . ?c rdf:type ontology:Q14660 }
flag of England
The flag of England is associated with that territory
flag of England
action filter_type
action find
entity England
relation flag
type flag
['Bosnia and Herzegovina', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?c WHERE { resource:England property:flag ?c . ?c rdf:type ontology:flag }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q697262 Q84
P19 P190
Q515
USER
Which cities are sister towns of London or are the birthplace of Baron Johann von Wessenberg-Ampringen ?
OR((Q84,P190,c(Q515)), (Q697262,P19,c(Q515)))
action filter_type
action union
action find
entity Q84
relation P190
action find
entity Q697262
relation P19
type Q515
{'OR': [['Q84', 'P190', {'concept': 'Q515'}], ['Q697262', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q84 property:P190 ?l } UNION { resource:Q697262 property:P19 ?l } } . ?l rdf:type ontology:Q515 }
Baron Johann von Wessenberg-Ampringen London
action filter_type
action union
action find
entity London
relation sister city
action find
entity Baron Johann von Wessenberg-Ampringen
relation place of birth
type city
{'OR': [['London', 'sister city', {'concept': 'city'}], ['Baron Johann von Wessenberg-Ampringen', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?l WHERE { { { resource:London property:sister_city ?l } UNION { resource:Baron_Johann_von_Wessenberg-Ampringen property:place_of_birth ?l } } . ?l rdf:type ontology:city }
[]
city
Q1486 Q3616 Q19660 Q1865 Q1731
SYSTEM
Buenos Aires, Tehran, Bucharest, Kuala Lumpur, Dresden
Q1486 Q3616 Q19660 Q1865 Q1731
OR((Q84,P190,c(Q515)), (Q697262,P19,c(Q515)))
action filter_type
action union
action find
entity Q84
relation P190
action find
entity Q697262
relation P19
type Q515
[ANSWERS] are sister towns of London or are the birthplace of Baron Johann von Wessenberg-Ampringen
{'OR': [['Q84', 'P190', {'concept': 'Q515'}], ['Q697262', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q84 property:P190 ?l } UNION { resource:Q697262 property:P19 ?l } } . ?l rdf:type ontology:Q515 }
Buenos Aires Tehran Bucharest Kuala Lumpur Dresden
Buenos Aires, Tehran, Bucharest, Kuala Lumpur and Dresden are sister towns of London or are the birthplace of Baron Johann von Wessenberg-Ampringen
Buenos Aires Tehran Bucharest Kuala Lumpur Dresden
action filter_type
action union
action find
entity London
relation sister city
action find
entity Baron Johann von Wessenberg-Ampringen
relation place of birth
type city
{'OR': [['London', 'sister city', {'concept': 'city'}], ['Baron Johann von Wessenberg-Ampringen', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?l WHERE { { { resource:London property:sister_city ?l } UNION { resource:Baron_Johann_von_Wessenberg-Ampringen property:place_of_birth ?l } } . ?l rdf:type ontology:city }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P163
Q14660 Q515
USER
How many cities have flag named more number of flags than that city ?
(c(Q515),P163,c(Q14660))
[{'concept': 'Q515'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q14660 }
[{'concept': 'city'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:flag ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:flag }
[]
flag city
Comparative|Count over More/Less|Single entity type|Clarification
Q1731
SYSTEM
Did you mean Dresden ?
(c(Q515),P163,c(Q14660))
[ANSWER]
[{'concept': 'Q515'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q14660 }
Did you mean Dresden ?
Dresden
[{'concept': 'city'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:flag ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:flag }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Buenos Aires. Could you tell me the answer for that?
(c(Q515),P163,c(Q14660))
Q1486
[{'concept': 'Q515'}, 'P163', {'concept': 'Q14660'}]
[{'concept': 'city'}, 'flag', {'concept': 'flag'}]
[]
SYSTEM
3
Q1410 Q235 Q1486
(c(Q515),P163,c(Q14660))
[ANSWER]
[{'concept': 'Q515'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q14660 ?y . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q14660 }
Gibraltar Monaco Buenos Aires
3
[{'concept': 'city'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:flag ?y . ?z rdf:type ontology:city . ?y rdf:type ontology:flag }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3565894 Q1486
P19 P190
Q56061
USER
Which administrative territories are partner towns of Buenos Aires and were Walter Steiger born ?
AND((Q1486,P190,c(Q56061)), (Q3565894,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q1486
relation P190
action find
entity Q3565894
relation P19
type Q56061
{'AND': [['Q1486', 'P190', {'concept': 'Q56061'}], ['Q3565894', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { resource:Q3565894 property:P19 ?q . resource:Q1486 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Walter Steiger Buenos Aires
action filter_type
action intersection
action find
entity Buenos Aires
relation sister city
action find
entity Walter Steiger
relation place of birth
type administrative territorial entity
{'AND': [['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}], ['Walter Steiger', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Walter_Steiger property:place_of_birth ?q . resource:Buenos_Aires property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q71
SYSTEM
Geneva
Q71
AND((Q1486,P190,c(Q56061)), (Q3565894,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q1486
relation P190
action find
entity Q3565894
relation P19
type Q56061
[ANSWER] is partner towns of Buenos Aires and were Walter Steiger born
{'AND': [['Q1486', 'P190', {'concept': 'Q56061'}], ['Q3565894', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { resource:Q3565894 property:P19 ?q . resource:Q1486 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Geneva
Geneva is partner towns of Buenos Aires and were Walter Steiger born
Geneva
action filter_type
action intersection
action find
entity Buenos Aires
relation sister city
action find
entity Walter Steiger
relation place of birth
type administrative territorial entity
{'AND': [['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}], ['Walter Steiger', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Walter_Steiger property:place_of_birth ?q . resource:Buenos_Aires property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]