Simple Question (Direct)
Simple Question
Q2445355
P106
Q12737077
USER
Which occupations are the professions of Jan Ligthart ?
(Q2445355,P106,c(Q12737077))
action filter_type
action find
entity Q2445355
relation P106
type Q12737077
['Q2445355', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q2445355 property:P106 ?v }
Jan Ligthart
action filter_type
action find
entity Jan Ligthart
relation occupation
type occupation
['Jan Ligthart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Jan_Ligthart property:occupation ?v }
[]
occupation
Q37226 Q36180
SYSTEM
teacher, writer
Q37226 Q36180
(Q2445355,P106,c(Q12737077))
action filter_type
action find
entity Q2445355
relation P106
type Q12737077
The professions of Jan Ligthart are a [ANSWERS]
['Q2445355', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q2445355 property:P106 ?v }
teacher writer
The professions of Jan Ligthart are a teacher and writer
teacher writer
action filter_type
action find
entity Jan Ligthart
relation occupation
type occupation
['Jan Ligthart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Jan_Ligthart property:occupation ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2445355
P1196
Q1190554
USER
What situation did that person die in ?
(Q37226,P1196,c(Q1190554)) (Q36180,P1196,c(Q1190554))
action filter_type
action find
entity Q2445355
relation P1196
type Q1190554
['Q37226', 'P1196', {'concept': 'Q1190554'}] ['Q36180', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?g WHERE { resource:Q2445355 property:P1196 ?g . ?g rdf:type ontology:Q1190554 }
Jan Ligthart
action filter_type
action find
entity Jan Ligthart
relation manner of death
type event
['teacher', 'manner of death', {'concept': 'event'}] ['writer', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?g WHERE { resource:Jan_Ligthart property:manner_of_death ?g . ?g rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q37226,P1196,c(Q1190554)) (Q36180,P1196,c(Q1190554))
action filter_type
action find
entity Q2445355
relation P1196
type Q1190554
That person died an [ANSWER]
['Q37226', 'P1196', {'concept': 'Q1190554'}] ['Q36180', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?g WHERE { resource:Q2445355 property:P1196 ?g . ?g rdf:type ontology:Q1190554 }
accident
That person died an accident
accident
action filter_type
action find
entity Jan Ligthart
relation manner of death
type event
['teacher', 'manner of death', {'concept': 'event'}] ['writer', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?g WHERE { resource:Jan_Ligthart property:manner_of_death ?g . ?g rdf:type ontology:event }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q7743 Q12280
USER
Which people did the commissioning of exactly 1 homes or bridges ?
(c(Q7743)|c(Q12280),P88,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q7743
action find_reverse_tuple_counts
relation P88
type Q502895
type Q12280
value 1
[[{'concept': 'Q7743'}, {'concept': 'Q12280'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?a ) WHERE { { ?y rdf:type ontology:Q502895 . ?q rdf:type ontology:Q7743 . ?q property:P88 ?y } UNION { ?q property:P88 ?y . ?y rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12280 } } GROUP BY ?y } . FILTER ( ?a = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type home
action find_reverse_tuple_counts
relation commissioned by
type common name
type bridge
value 1
[[{'concept': 'home'}, {'concept': 'bridge'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?a ) WHERE { { ?y rdf:type ontology:common_name . ?q rdf:type ontology:home . ?q property:commissioned_by ?y } UNION { ?q property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?q rdf:type ontology:bridge } } GROUP BY ?y } . FILTER ( ?a = 1 ) }
[]
common name home bridge
Q102140 Q244852 Q53457
SYSTEM
Henry II of England, Gediminas, Casimir III the Great
Q16029902 Q658756 Q979358 Q19660038 Q5481257 Q2082616 Q7788054 Q244852 Q2129556 Q297194 Q6853636 Q2381189 Q8005725 Q102140 Q1396340 Q3048093 Q10382335 Q591851 Q19973598 Q53457 Q6861922 Q692189
(c(Q7743)|c(Q12280),P88,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q7743
action find_reverse_tuple_counts
relation P88
type Q502895
type Q12280
value 1
[ANSWERS] did the commissioning of exactly 1 homes or bridges
[[{'concept': 'Q7743'}, {'concept': 'Q12280'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?a ) WHERE { { ?y rdf:type ontology:Q502895 . ?q rdf:type ontology:Q7743 . ?q property:P88 ?y } UNION { ?q property:P88 ?y . ?y rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12280 } } GROUP BY ?y } . FILTER ( ?a = 1 ) }
Julius Drewe Alof de Wignacourt Roger de Montgomerie, 1st Earl of Shrewsbury Benedek Himfy Francis Hay, 9th Earl of Erroll Thomas Percy, 1st Earl of Worcester Thomas Burgh of Gainsborough Gediminas Ralph de Cromwell, 3rd Baron Cromwell Valdemar I of Denmark Nicholas III of Saint Omer James Beaton William Borthwick, 1st Lord Borthwick Henry II of England William Hastings, 1st Baron Hastings Edmund Dummer Tiago Gregório Homem da Costa Noronha Ralph von Merle Gubert Abraham von Salis Casimir III the Great Nicholas II of Saint Omer Guillaume de Menthonay
Henry II of England, Gediminas and Casimir III the Great did the commissioning of exactly 1 homes or bridges
Henry II of England Gediminas Casimir III the Great
action equal
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type home
action find_reverse_tuple_counts
relation commissioned by
type common name
type bridge
value 1
[[{'concept': 'home'}, {'concept': 'bridge'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?a ) WHERE { { ?y rdf:type ontology:common_name . ?q rdf:type ontology:home . ?q property:commissioned_by ?y } UNION { ?q property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?q rdf:type ontology:bridge } } GROUP BY ?y } . FILTER ( ?a = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2280239 Q244852
P19
Q56061
USER
Which administrative territories were Gediminas or Ottavio Bandini born at ?
OR((Q244852,P19,c(Q56061)), (Q2280239,P19,c(Q56061)))
action filter_type
action union
action find
entity Q244852
relation P19
action find
entity Q2280239
relation P19
type Q56061
{'OR': [['Q244852', 'P19', {'concept': 'Q56061'}], ['Q2280239', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { { resource:Q244852 property:P19 ?d } UNION { resource:Q2280239 property:P19 ?d } } }
Ottavio Bandini Gediminas
action filter_type
action union
action find
entity Gediminas
relation place of birth
action find
entity Ottavio Bandini
relation place of birth
type administrative territorial entity
{'OR': [['Gediminas', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ottavio Bandini', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { { resource:Gediminas property:place_of_birth ?d } UNION { resource:Ottavio_Bandini property:place_of_birth ?d } } }
[]
administrative territorial entity
Q216 Q2044
SYSTEM
Vilnius, Florence
Q216 Q2044
OR((Q244852,P19,c(Q56061)), (Q2280239,P19,c(Q56061)))
action filter_type
action union
action find
entity Q244852
relation P19
action find
entity Q2280239
relation P19
type Q56061
Gediminas or Ottavio Bandini were born in [ANSWERS]
{'OR': [['Q244852', 'P19', {'concept': 'Q56061'}], ['Q2280239', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . { { resource:Q244852 property:P19 ?d } UNION { resource:Q2280239 property:P19 ?d } } }
Vilnius Florence
Gediminas or Ottavio Bandini were born in Vilnius and Florence
Vilnius Florence
action filter_type
action union
action find
entity Gediminas
relation place of birth
action find
entity Ottavio Bandini
relation place of birth
type administrative territorial entity
{'OR': [['Gediminas', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ottavio Bandini', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . { { resource:Gediminas property:place_of_birth ?d } UNION { resource:Ottavio_Bandini property:place_of_birth ?d } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q168812
P190
Q486972
USER
Are Kitów a sister city of those administrative territories ?
(Q168812,P190,Q216) (Q168812,P190,Q2044)
action is_in
entity prev_answer
action find
entity Q168812
relation P190
['Q168812', 'P190', 'Q216'] ['Q168812', 'P190', 'Q2044']
ASK WHERE { VALUES ( ?f ) { ( resource:Q216 ) ( resource:Q2044 ) } . resource:Q168812 property:P190 ?f }
Kitów
action is_in
entity prev_answer
action find
entity Kitów
relation sister city
['Kitów', 'sister city', 'Vilnius'] ['Kitów', 'sister city', 'Florence']
ASK WHERE { VALUES ( ?f ) { ( resource:Vilnius ) ( resource:Florence ) } . resource:Kitów property:sister_city ?f }
[]
human settlement
SYSTEM
NO
(Q168812,P190,Q216) (Q168812,P190,Q2044)
action is_in
entity prev_answer
action find
entity Q168812
relation P190
[ANSWER]
['Q168812', 'P190', 'Q216'] ['Q168812', 'P190', 'Q2044']
ASK WHERE { VALUES ( ?f ) { ( resource:Q216 ) ( resource:Q2044 ) } . resource:Q168812 property:P190 ?f }
No
action is_in
entity prev_answer
action find
entity Kitów
relation sister city
['Kitów', 'sister city', 'Vilnius'] ['Kitów', 'sister city', 'Florence']
ASK WHERE { VALUES ( ?f ) { ( resource:Vilnius ) ( resource:Florence ) } . resource:Kitów property:sister_city ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102140
P112
Q7743
USER
Which home was founded by Henry II of England ?
(c(Q7743),P112,Q102140)
action filter_type
action find_reverse
entity Q102140
relation P112
type Q7743
[{'concept': 'Q7743'}, 'P112', 'Q102140']
SELECT DISTINCT ?k WHERE { ?k property:P112 resource:Q102140 . ?k rdf:type ontology:Q7743 }
Henry II of England
action filter_type
action find_reverse
entity Henry II of England
relation founder
type home
[{'concept': 'home'}, 'founder', 'Henry II of England']
SELECT DISTINCT ?k WHERE { ?k property:founder resource:Henry_II_of_England . ?k rdf:type ontology:home }
[]
home
Q1964047
SYSTEM
Orford Castle
Q1964047
(c(Q7743),P112,Q102140)
action filter_type
action find_reverse
entity Q102140
relation P112
type Q7743
[ANSWER] was founded by Henry II of England
[{'concept': 'Q7743'}, 'P112', 'Q102140']
SELECT DISTINCT ?k WHERE { ?k property:P112 resource:Q102140 . ?k rdf:type ontology:Q7743 }
Orford Castle
Orford Castle was founded by Henry II of England
Orford Castle
action filter_type
action find_reverse
entity Henry II of England
relation founder
type home
[{'concept': 'home'}, 'founder', 'Henry II of England']
SELECT DISTINCT ?k WHERE { ?k property:founder resource:Henry_II_of_England . ?k rdf:type ontology:home }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q102140
P466
Q41176
USER
Which building is inhabited by Henry II of England ?
(c(Q41176),P466,Q102140)
action filter_type
action find_reverse
entity Q102140
relation P466
type Q41176
[{'concept': 'Q41176'}, 'P466', 'Q102140']
SELECT DISTINCT ?x WHERE { ?x property:P466 resource:Q102140 . ?x rdf:type ontology:Q41176 }
Henry II of England
action filter_type
action find_reverse
entity Henry II of England
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'Henry II of England']
SELECT DISTINCT ?x WHERE { ?x property:occupant resource:Henry_II_of_England . ?x rdf:type ontology:building }
[]
building
Q42646
SYSTEM
Windsor Castle
Q42646
(c(Q41176),P466,Q102140)
action filter_type
action find_reverse
entity Q102140
relation P466
type Q41176
The [ANSWER] is inhabited by Henry II of England
[{'concept': 'Q41176'}, 'P466', 'Q102140']
SELECT DISTINCT ?x WHERE { ?x property:P466 resource:Q102140 . ?x rdf:type ontology:Q41176 }
Windsor Castle
The Windsor Castle is inhabited by Henry II of England
Windsor Castle
action filter_type
action find_reverse
entity Henry II of England
relation occupant
type building
[{'concept': 'building'}, 'occupant', 'Henry II of England']
SELECT DISTINCT ?x WHERE { ?x property:occupant resource:Henry_II_of_England . ?x rdf:type ontology:building }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2044
P26
Q502895
USER
Which people have Florence as spouse ?
(c(Q502895),P26,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2044']
SELECT DISTINCT ?r WHERE { ?r property:P26 resource:Q2044 . ?r rdf:type ontology:Q502895 }
Florence
action filter_type
action find_reverse
entity Florence
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Florence']
SELECT DISTINCT ?r WHERE { ?r property:spouse resource:Florence . ?r rdf:type ontology:common_name }
[]
common name
Q5236821 Q5568938
SYSTEM
David Luechtefeld, Glenn L. Howard
Q5236821 Q5568938
(c(Q502895),P26,Q2044)
action filter_type
action find_reverse
entity Q2044
relation P26
type Q502895
[ANSWERS] have Florence as spouse
[{'concept': 'Q502895'}, 'P26', 'Q2044']
SELECT DISTINCT ?r WHERE { ?r property:P26 resource:Q2044 . ?r rdf:type ontology:Q502895 }
David Luechtefeld Glenn L. Howard
David Luechtefeld and Glenn L. Howard have Florence as spouse
David Luechtefeld Glenn L. Howard
action filter_type
action find_reverse
entity Florence
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Florence']
SELECT DISTINCT ?r WHERE { ?r property:spouse resource:Florence . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5236821 Q5568938
P21
Q290
USER
Which sexes do David Luechtefeld and Glenn L. Howard belong to ?
(Q5236821,P21,c(Q290)) (Q5568938,P21,c(Q290))
action union
action filter_type
action find
entity Q5236821
relation P21
type Q290
action filter_type
action find
entity Q5568938
relation P21
type Q290
['Q5236821', 'P21', {'concept': 'Q290'}] ['Q5568938', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { { resource:Q5236821 property:P21 ?q . ?q rdf:type ontology:Q290 } UNION { resource:Q5568938 property:P21 ?q . ?q rdf:type ontology:Q290 } }
David Luechtefeld Glenn L. Howard
action union
action filter_type
action find
entity David Luechtefeld
relation gender
type sex
action filter_type
action find
entity Glenn L. Howard
relation gender
type sex
['David Luechtefeld', 'gender', {'concept': 'sex'}] ['Glenn L. Howard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { { resource:David_Luechtefeld property:gender ?q . ?q rdf:type ontology:sex } UNION { resource:Glenn_L._Howard property:gender ?q . ?q rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q5236821,P21,c(Q290)) (Q5568938,P21,c(Q290))
action union
action filter_type
action find
entity Q5236821
relation P21
type Q290
action filter_type
action find
entity Q5568938
relation P21
type Q290
[ANSWER] and [ANSWER] do David Luechtefeld and Glenn L. Howard belong to
['Q5236821', 'P21', {'concept': 'Q290'}] ['Q5568938', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { { resource:Q5236821 property:P21 ?q . ?q rdf:type ontology:Q290 } UNION { resource:Q5568938 property:P21 ?q . ?q rdf:type ontology:Q290 } }
male male
Male and male do David Luechtefeld and Glenn L. Howard belong to
male male
action union
action filter_type
action find
entity David Luechtefeld
relation gender
type sex
action filter_type
action find
entity Glenn L. Howard
relation gender
type sex
['David Luechtefeld', 'gender', {'concept': 'sex'}] ['Glenn L. Howard', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { { resource:David_Luechtefeld property:gender ?q . ?q rdf:type ontology:sex } UNION { resource:Glenn_L._Howard property:gender ?q . ?q rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2044
P1376
Q15089
USER
Which province of Italy has Florence as its capital ?
(Q2044,P1376,c(Q15089))
action filter_type
action find
entity Q2044
relation P1376
type Q15089
['Q2044', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?p WHERE { resource:Q2044 property:P1376 ?p . ?p rdf:type ontology:Q15089 }
Florence
action filter_type
action find
entity Florence
relation capital of
type province of Italy
['Florence', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?p WHERE { resource:Florence property:capital_of ?p . ?p rdf:type ontology:province_of_Italy }
[]
province of Italy
Q16172
SYSTEM
Province of Florence
Q16172
(Q2044,P1376,c(Q15089))
action filter_type
action find
entity Q2044
relation P1376
type Q15089
Florence [ANSWER] has Florence as its capital
['Q2044', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?p WHERE { resource:Q2044 property:P1376 ?p . ?p rdf:type ontology:Q15089 }
Province of Florence
Florence Province of Florence has Florence as its capital
Province of Florence
action filter_type
action find
entity Florence
relation capital of
type province of Italy
['Florence', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?p WHERE { resource:Florence property:capital_of ?p . ?p rdf:type ontology:province_of_Italy }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13396
Q15089
USER
And also tell me about Rieti?
(Q13396,P1376,c(Q15089))
action filter_type
action find
entity Q13396
relation P1376
type Q15089
['Q13396', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?j WHERE { resource:Q13396 property:P1376 ?j . ?j rdf:type ontology:Q15089 }
Rieti
action filter_type
action find
entity Rieti
relation capital of
type province of Italy
['Rieti', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?j WHERE { resource:Rieti property:capital_of ?j . ?j rdf:type ontology:province_of_Italy }
[]
province of Italy
Q16267
SYSTEM
Province of Rieti
Q16267
(Q13396,P1376,c(Q15089))
action filter_type
action find
entity Q13396
relation P1376
type Q15089
[ANSWER]
['Q13396', 'P1376', {'concept': 'Q15089'}]
SELECT DISTINCT ?j WHERE { resource:Q13396 property:P1376 ?j . ?j rdf:type ontology:Q15089 }
Province of Rieti
Province of Rieti
action filter_type
action find
entity Rieti
relation capital of
type province of Italy
['Rieti', 'capital of', {'concept': 'province of Italy'}]
SELECT DISTINCT ?j WHERE { resource:Rieti property:capital_of ?j . ?j rdf:type ontology:province_of_Italy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q15617994
USER
How many administrative territories are a sister city of that province of Italy ?
(c(Q15617994),P190,Q16267)
action count
action filter_type
action find_reverse
entity Q16267
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q16267']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:P190 resource:Q16267 . ?w rdf:type ontology:Q15617994 }
action count
action filter_type
action find_reverse
entity Province of Rieti
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Province of Rieti']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:sister_city resource:Province_of_Rieti . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q59296
(c(Q15617994),P190,Q16267)
action count
action filter_type
action find_reverse
entity Q16267
relation P190
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q16267']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:P190 resource:Q16267 . ?w rdf:type ontology:Q15617994 }
Santa Vittoria in Matenano
1
action count
action filter_type
action find_reverse
entity Province of Rieti
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Province of Rieti']
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:sister_city resource:Province_of_Rieti . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7027998 Q16267
P27 P190
Q15617994
USER
Which administrative territories are the sister cities of Province of Rieti or do Nick Stringer belong to ?
OR((Q16267,P190,c(Q15617994)), (Q7027998,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16267
relation P190
action find
entity Q7027998
relation P27
type Q15617994
{'OR': [['Q16267', 'P190', {'concept': 'Q15617994'}], ['Q7027998', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q16267 property:P190 ?h } UNION { resource:Q7027998 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Nick Stringer Province of Rieti
action filter_type
action union
action find
entity Province of Rieti
relation sister city
action find
entity Nick Stringer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Province of Rieti', 'sister city', {'concept': 'designation for an administrative territorial entity'}], ['Nick Stringer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Province_of_Rieti property:sister_city ?h } UNION { resource:Nick_Stringer property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q59296 Q145
SYSTEM
Santa Vittoria in Matenano, United Kingdom
Q59296 Q145
OR((Q16267,P190,c(Q15617994)), (Q7027998,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16267
relation P190
action find
entity Q7027998
relation P27
type Q15617994
[ANSWERS] are the sister cities of Province of Rieti or do Nick Stringer belong to
{'OR': [['Q16267', 'P190', {'concept': 'Q15617994'}], ['Q7027998', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q16267 property:P190 ?h } UNION { resource:Q7027998 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Santa Vittoria in Matenano United Kingdom
Santa Vittoria in Matenano and United Kingdom are the sister cities of Province of Rieti or do Nick Stringer belong to
Santa Vittoria in Matenano United Kingdom
action filter_type
action union
action find
entity Province of Rieti
relation sister city
action find
entity Nick Stringer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Province of Rieti', 'sister city', {'concept': 'designation for an administrative territorial entity'}], ['Nick Stringer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Province_of_Rieti property:sister_city ?h } UNION { resource:Nick_Stringer property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]