Simple Question (Direct)
Simple Question
Q2857394
P19
Q56061
USER
Which administrative territory is the birthplace of Antonio Payer ?
(Q2857394,P19,c(Q56061))
action filter_type
action find
entity Q2857394
relation P19
type Q56061
['Q2857394', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q2857394 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Antonio Payer
action filter_type
action find
entity Antonio Payer
relation place of birth
type administrative territorial entity
['Antonio Payer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Antonio_Payer property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q2857394,P19,c(Q56061))
action filter_type
action find
entity Q2857394
relation P19
type Q56061
[ANSWER] is the birthplace of Antonio Payer
['Q2857394', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q2857394 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Milan
Milan is the birthplace of Antonio Payer
Milan
action filter_type
action find
entity Antonio Payer
relation place of birth
type administrative territorial entity
['Antonio Payer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Antonio_Payer property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q490
P417
Q502895
USER
Who is the patron saint of that administrative territory ?
(Q490,P417,c(Q502895))
action filter_type
action find
entity Q490
relation P417
type Q502895
['Q490', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q490 property:P417 ?z . ?z rdf:type ontology:Q502895 }
Milan
action filter_type
action find
entity Milan
relation patron saint
type common name
['Milan', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Milan property:patron_saint ?z . ?z rdf:type ontology:common_name }
[]
common name
Q43689
SYSTEM
Ambrose
Q43689
(Q490,P417,c(Q502895))
action filter_type
action find
entity Q490
relation P417
type Q502895
The patron saint of that administrative territory is Bishop [ANSWER]
['Q490', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q490 property:P417 ?z . ?z rdf:type ontology:Q502895 }
Ambrose
The patron saint of that administrative territory is Bishop Ambrose
Ambrose
action filter_type
action find
entity Milan
relation patron saint
type common name
['Milan', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Milan property:patron_saint ?z . ?z rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q43689 Q490
P20
Q56061
USER
Is Milan the place of death of Ambrose ?
(Q43689,P20,Q490)
action is_in
entity Q490
action find
entity Q43689
relation P20
['Q43689', 'P20', 'Q490']
ASK WHERE { resource:Q43689 property:P20 resource:Q490 }
Ambrose Milan
action is_in
entity Milan
action find
entity Ambrose
relation place of death
['Ambrose', 'place of death', 'Milan']
ASK WHERE { resource:Ambrose property:place_of_death resource:Milan }
[]
administrative territorial entity
SYSTEM
YES
(Q43689,P20,Q490)
action is_in
entity Q490
action find
entity Q43689
relation P20
[ANSWER]
['Q43689', 'P20', 'Q490']
ASK WHERE { resource:Q43689 property:P20 resource:Q490 }
Yes
action is_in
entity Milan
action find
entity Ambrose
relation place of death
['Ambrose', 'place of death', 'Milan']
ASK WHERE { resource:Ambrose property:place_of_death resource:Milan }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1361413
P725
Q502895 Q15416
USER
How many television programs did more number of people dub for than Night Raid 1931 ?
(c(Q15416),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q1361413
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?o ) WHERE { ?t property:P725 ?b . ?t rdf:type ontology:Q15416 . ?b rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Q1361413 property:P725 ?s . ?s rdf:type ontology:Q15416 } } . FILTER ( ?o > ?m ) }
Night Raid 1931
action count
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Night Raid 1931
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?o ) WHERE { ?t property:voice_actor ?b . ?t rdf:type ontology:television_program . ?b rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Night_Raid_1931 property:voice_actor ?s . ?s rdf:type ontology:television_program } } . FILTER ( ?o > ?m ) }
[]
common name television program
SYSTEM
40
Q689114 Q467722 Q2042834 Q239937 Q23558 Q15863567 Q1857269 Q951078 Q15176855 Q18571935 Q165515 Q10358973 Q3596105 Q757148 Q543203 Q2275664 Q962132 Q18579178 Q20669175 Q25000347 Q1050091 Q18553975 Q18577675 Q1002254 Q550555 Q20899576 Q483106 Q633432 Q12019559 Q18558839 Q428130 Q5139461 Q18559016 Q17183708 Q18575654 Q15039539 Q3492143 Q1143800 Q15863577 Q331031
(c(Q15416),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q1361413
relation P725
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?o ) WHERE { ?t property:P725 ?b . ?t rdf:type ontology:Q15416 . ?b rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Q1361413 property:P725 ?s . ?s rdf:type ontology:Q15416 } } . FILTER ( ?o > ?m ) }
Digimon Adventure The Puppy's Further Adventures The Proud Family Movie Pokémon House K-On! Rio: Rainbow Gate! Hellsing Wizard Barristers: Benmashi Cecil The Big O 101 Dalmatians: The Series Reynard the Fox Popeye the Sailor Rocko's Modern Life Chip 'n Dale Rescue Rangers Kim Possible: A Sitch in Time Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Pirate Express Dastardly and Muttley in Their Flying Machines Soul Eater Darker than Black Wacky Races Gravity Falls Shimmer and Shine Freezing The Emperor's New School Free! Soul Eater Not! Sonic X Engage Planet Kiss Dum Berserk The 7D Trigun The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos Postman Pat K-On!! Dora the Explorer
40
action count
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Night Raid 1931
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?o ) WHERE { ?t property:voice_actor ?b . ?t rdf:type ontology:television_program . ?b rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { resource:Night_Raid_1931 property:voice_actor ?s . ?s rdf:type ontology:television_program } } . FILTER ( ?o > ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q4033639
P725
Q502895 Q15416
USER
And how about Akahori Gedou Hour Rabuge?
(c(Q15416),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q4033639
relation P725
type Q15416
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:Q15416 . resource:Q4033639 property:P725 ?c } } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?t ) WHERE { ?q property:P725 ?j . ?j rdf:type ontology:Q502895 . ?q rdf:type ontology:Q15416 } GROUP BY ?q } }
Akahori Gedou Hour Rabuge
action count
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Akahori Gedou Hour Rabuge
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:television_program . resource:Akahori_Gedou_Hour_Rabuge property:voice_actor ?c } } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?t ) WHERE { ?q property:voice_actor ?j . ?j rdf:type ontology:common_name . ?q rdf:type ontology:television_program } GROUP BY ?q } }
[]
common name television program
SYSTEM
40
Q689114 Q467722 Q2042834 Q239937 Q23558 Q15863567 Q1857269 Q951078 Q15176855 Q18571935 Q165515 Q10358973 Q3596105 Q757148 Q543203 Q2275664 Q962132 Q18579178 Q20669175 Q25000347 Q1050091 Q18553975 Q18577675 Q1002254 Q550555 Q20899576 Q483106 Q633432 Q12019559 Q18558839 Q428130 Q5139461 Q18559016 Q17183708 Q18575654 Q15039539 Q3492143 Q1143800 Q15863577 Q331031
(c(Q15416),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q4033639
relation P725
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:Q15416 . resource:Q4033639 property:P725 ?c } } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?t ) WHERE { ?q property:P725 ?j . ?j rdf:type ontology:Q502895 . ?q rdf:type ontology:Q15416 } GROUP BY ?q } }
Digimon Adventure The Puppy's Further Adventures The Proud Family Movie Pokémon House K-On! Rio: Rainbow Gate! Hellsing Wizard Barristers: Benmashi Cecil The Big O 101 Dalmatians: The Series Reynard the Fox Popeye the Sailor Rocko's Modern Life Chip 'n Dale Rescue Rangers Kim Possible: A Sitch in Time Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Pirate Express Dastardly and Muttley in Their Flying Machines Soul Eater Darker than Black Wacky Races Gravity Falls Shimmer and Shine Freezing The Emperor's New School Free! Soul Eater Not! Sonic X Engage Planet Kiss Dum Berserk The 7D Trigun The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos Postman Pat K-On!! Dora the Explorer
40
action count
action greater
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Akahori Gedou Hour Rabuge
relation voice actor
type television program
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:television_program . resource:Akahori_Gedou_Hour_Rabuge property:voice_actor ?c } } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?t ) WHERE { ?q property:voice_actor ?j . ?j rdf:type ontology:common_name . ?q rdf:type ontology:television_program } GROUP BY ?q } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have approximately 2 people or holidays as their patron saint ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 2
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?i WHERE { { ?i rdf:type ontology:Q56061 . ?l rdf:type ontology:Q502895 . ?i property:P417 ?l } UNION { ?i rdf:type ontology:Q56061 . ?l rdf:type ontology:Q1445650 . ?i property:P417 ?l } } GROUP BY ?i } . FILTER ( ?d = 2 ) }
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?i WHERE { { ?i rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:common_name . ?i property:patron_saint ?l } UNION { ?i rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:holiday . ?i property:patron_saint ?l } } GROUP BY ?i } . FILTER ( ?d = 2 ) }
[]
common name holiday administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 2
[ANSWERS] have approximately 2 people or holidays as their patron saint
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?i WHERE { { ?i rdf:type ontology:Q56061 . ?l rdf:type ontology:Q502895 . ?i property:P417 ?l } UNION { ?i rdf:type ontology:Q56061 . ?l rdf:type ontology:Q1445650 . ?i property:P417 ?l } } GROUP BY ?i } . FILTER ( ?d = 2 ) }
Brinzio Rome
Brinzio and Rome have approximately 2 people or holidays as their patron saint
Brinzio Rome
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?i WHERE { { ?i rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:common_name . ?i property:patron_saint ?l } UNION { ?i rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:holiday . ?i property:patron_saint ?l } } GROUP BY ?i } . FILTER ( ?d = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q355304 Q1267889 Q56061
USER
Which administrative territories are situated close to max number of watercourses or waterways ?
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action argmax
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?t WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } GROUP BY ?t } . FILTER ( ?e = ?f ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { { ?l property:P206 ?a . ?l rdf:type ontology:Q56061 . ?a rdf:type ontology:Q355304 } UNION { ?l property:P206 ?a . ?l rdf:type ontology:Q56061 . ?a rdf:type ontology:Q1267889 } } GROUP BY ?l } } }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?t WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:watercourse ) ( ontology:waterway ) } } GROUP BY ?t } . FILTER ( ?e = ?f ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { { ?l property:located_next_to_body_of_water ?a . ?l rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:watercourse } UNION { ?l property:located_next_to_body_of_water ?a . ?l rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:waterway } } GROUP BY ?l } } }
[]
watercourse waterway administrative territorial entity
Q2103
SYSTEM
Bochum
Q2103
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action argmax
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
[ANSWER] is situated close to max number of watercourses or waterways
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?t WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } } GROUP BY ?t } . FILTER ( ?e = ?f ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { { ?l property:P206 ?a . ?l rdf:type ontology:Q56061 . ?a rdf:type ontology:Q355304 } UNION { ?l property:P206 ?a . ?l rdf:type ontology:Q56061 . ?a rdf:type ontology:Q1267889 } } GROUP BY ?l } } }
Bochum
Bochum is situated close to max number of watercourses or waterways
Bochum
action argmax
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) ?t WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:watercourse ) ( ontology:waterway ) } } GROUP BY ?t } . FILTER ( ?e = ?f ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) ?l WHERE { { ?l property:located_next_to_body_of_water ?a . ?l rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:watercourse } UNION { ?l property:located_next_to_body_of_water ?a . ?l rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:waterway } } GROUP BY ?l } } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2103 Q26155061
P19
Q502895
USER
Was Robin Fechner born at that administrative territory ?
(Q26155061,P19,Q2103)
action is_in
entity Q2103
action find
entity Q26155061
relation P19
['Q26155061', 'P19', 'Q2103']
ASK WHERE { resource:Q26155061 property:P19 resource:Q2103 }
Bochum Robin Fechner
action is_in
entity Bochum
action find
entity Robin Fechner
relation place of birth
['Robin Fechner', 'place of birth', 'Bochum']
ASK WHERE { resource:Robin_Fechner property:place_of_birth resource:Bochum }
[]
common name
SYSTEM
YES
(Q26155061,P19,Q2103)
action is_in
entity Q2103
action find
entity Q26155061
relation P19
[ANSWER]
['Q26155061', 'P19', 'Q2103']
ASK WHERE { resource:Q26155061 property:P19 resource:Q2103 }
Yes
action is_in
entity Bochum
action find
entity Robin Fechner
relation place of birth
['Robin Fechner', 'place of birth', 'Bochum']
ASK WHERE { resource:Robin_Fechner property:place_of_birth resource:Bochum }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q120279 Q2103
P19 P190
Q56061
USER
Which administrative territories are partner towns of Bochum or are the places of birth of Ludwig Hirzel ?
OR((Q2103,P190,c(Q56061)), (Q120279,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2103
relation P190
action find
entity Q120279
relation P19
type Q56061
{'OR': [['Q2103', 'P190', {'concept': 'Q56061'}], ['Q120279', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2103 property:P190 ?u } UNION { resource:Q120279 property:P19 ?u } } . ?u rdf:type ontology:Q56061 }
Ludwig Hirzel Bochum
action filter_type
action union
action find
entity Bochum
relation sister city
action find
entity Ludwig Hirzel
relation place of birth
type administrative territorial entity
{'OR': [['Bochum', 'sister city', {'concept': 'administrative territorial entity'}], ['Ludwig Hirzel', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Bochum property:sister_city ?u } UNION { resource:Ludwig_Hirzel property:place_of_birth ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42448 Q43070 Q72
SYSTEM
Sheffield, Donetsk, Zürich
Q42448 Q43070 Q72
OR((Q2103,P190,c(Q56061)), (Q120279,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2103
relation P190
action find
entity Q120279
relation P19
type Q56061
[ANSWERS] are partner towns of Bochum or are the places of birth of Ludwig Hirzel
{'OR': [['Q2103', 'P190', {'concept': 'Q56061'}], ['Q120279', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2103 property:P190 ?u } UNION { resource:Q120279 property:P19 ?u } } . ?u rdf:type ontology:Q56061 }
Sheffield Donetsk Zürich
Sheffield, Donetsk and Zürich are partner towns of Bochum or are the places of birth of Ludwig Hirzel
Sheffield Donetsk Zürich
action filter_type
action union
action find
entity Bochum
relation sister city
action find
entity Ludwig Hirzel
relation place of birth
type administrative territorial entity
{'OR': [['Bochum', 'sister city', {'concept': 'administrative territorial entity'}], ['Ludwig Hirzel', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Bochum property:sister_city ?u } UNION { resource:Ludwig_Hirzel property:place_of_birth ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]