Simple Question (Direct)
Simple Question
Q3836376
P39
Q12737077
USER
Which occupation was a position for which Lodovico Ligato was appointed ?
(Q3836376,P39,c(Q12737077))
action filter_type
action find
entity Q3836376
relation P39
type Q12737077
['Q3836376', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3836376 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Lodovico Ligato
action filter_type
action find
entity Lodovico Ligato
relation position held
type occupation
['Lodovico Ligato', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Lodovico_Ligato property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q18558478
SYSTEM
member of the Chamber of Deputies of the Italian Republic
Q18558478
(Q3836376,P39,c(Q12737077))
action filter_type
action find
entity Q3836376
relation P39
type Q12737077
The [ANSWER] was a position for which Lodovico Ligato was appointed
['Q3836376', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3836376 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of the Italian Republic
The member of the Chamber of Deputies of the Italian Republic was a position for which Lodovico Ligato was appointed
member of the Chamber of Deputies of the Italian Republic
action filter_type
action find
entity Lodovico Ligato
relation position held
type occupation
['Lodovico Ligato', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Lodovico_Ligato property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2919536 Q18558478
P1001 P17
Q15617994
USER
Which administrative territories apply to jurisdiction of member of the Chamber of Deputies of the Italian Republic or are Holon Junction Railway Station located in ?
OR((Q18558478,P1001,c(Q15617994)), (Q2919536,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18558478
relation P1001
action find
entity Q2919536
relation P17
type Q15617994
{'OR': [['Q18558478', 'P1001', {'concept': 'Q15617994'}], ['Q2919536', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q2919536 property:P17 ?i } UNION { resource:Q18558478 property:P1001 ?i } } }
Holon Junction Railway Station member of the Chamber of Deputies of the Italian Republic
action filter_type
action union
action find
entity member of the Chamber of Deputies of the Italian Republic
relation applies to jurisdiction
action find
entity Holon Junction Railway Station
relation country
type designation for an administrative territorial entity
{'OR': [['member of the Chamber of Deputies of the Italian Republic', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Holon Junction Railway Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Holon_Junction_Railway_Station property:country ?i } UNION { resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic property:applies_to_jurisdiction ?i } } }
[]
designation for an administrative territorial entity
Q38 Q801
SYSTEM
Italy, Israel
Q38 Q801
OR((Q18558478,P1001,c(Q15617994)), (Q2919536,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18558478
relation P1001
action find
entity Q2919536
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q18558478', 'P1001', {'concept': 'Q15617994'}], ['Q2919536', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q2919536 property:P17 ?i } UNION { resource:Q18558478 property:P1001 ?i } } }
Italy Israel
Which administrative territories apply to jurisdiction of member of the Chamber of Deputies of the Italian Republic or are Holon Junction Railway Station located in
Italy Israel
action filter_type
action union
action find
entity member of the Chamber of Deputies of the Italian Republic
relation applies to jurisdiction
action find
entity Holon Junction Railway Station
relation country
type designation for an administrative territorial entity
{'OR': [['member of the Chamber of Deputies of the Italian Republic', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Holon Junction Railway Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Holon_Junction_Railway_Station property:country ?i } UNION { resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic property:applies_to_jurisdiction ?i } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q48170
P530
Q15617994
USER
Do Santa Lucia di Piave have tactful political relations with those ones ?
(Q48170,P530,Q38) (Q48170,P530,Q801)
action is_in
entity prev_answer
action find
entity Q48170
relation P530
['Q48170', 'P530', 'Q38'] ['Q48170', 'P530', 'Q801']
ASK WHERE { resource:Q48170 property:P530 ?g . VALUES ( ?g ) { ( resource:Q38 ) ( resource:Q801 ) } }
Santa Lucia di Piave
action is_in
entity prev_answer
action find
entity Santa Lucia di Piave
relation diplomatic relation
['Santa Lucia di Piave', 'diplomatic relation', 'Italy'] ['Santa Lucia di Piave', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Santa_Lucia_di_Piave property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Italy ) ( resource:Israel ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q48170,P530,Q38) (Q48170,P530,Q801)
action is_in
entity prev_answer
action find
entity Q48170
relation P530
[ANSWER]
['Q48170', 'P530', 'Q38'] ['Q48170', 'P530', 'Q801']
ASK WHERE { resource:Q48170 property:P530 ?g . VALUES ( ?g ) { ( resource:Q38 ) ( resource:Q801 ) } }
No
action is_in
entity prev_answer
action find
entity Santa Lucia di Piave
relation diplomatic relation
['Santa Lucia di Piave', 'diplomatic relation', 'Italy'] ['Santa Lucia di Piave', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Santa_Lucia_di_Piave property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Italy ) ( resource:Israel ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18558478 Q38
P17
Q15617994
USER
Does that occupation belong to Italy ?
(Q18558478,P17,Q38)
action is_in
entity Q38
action find
entity Q18558478
relation P17
['Q18558478', 'P17', 'Q38']
ASK WHERE { resource:Q18558478 property:P17 resource:Q38 }
member of the Chamber of Deputies of the Italian Republic Italy
action is_in
entity Italy
action find
entity member of the Chamber of Deputies of the Italian Republic
relation country
['member of the Chamber of Deputies of the Italian Republic', 'country', 'Italy']
ASK WHERE { resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18558478,P17,Q38)
action is_in
entity Q38
action find
entity Q18558478
relation P17
[ANSWER]
['Q18558478', 'P17', 'Q38']
ASK WHERE { resource:Q18558478 property:P17 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity member of the Chamber of Deputies of the Italian Republic
relation country
['member of the Chamber of Deputies of the Italian Republic', 'country', 'Italy']
ASK WHERE { resource:member_of_the_Chamber_of_Deputies_of_the_Italian_Republic property:country resource:Italy }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3836376 Q4796157
P937
Q56061
USER
Is Arrow with Weethley the work location of Lodovico Ligato ?
(Q3836376,P937,Q4796157)
action is_in
entity Q4796157
action find
entity Q3836376
relation P937
['Q3836376', 'P937', 'Q4796157']
ASK WHERE { resource:Q3836376 property:P937 resource:Q4796157 }
Lodovico Ligato Arrow with Weethley
action is_in
entity Arrow with Weethley
action find
entity Lodovico Ligato
relation work location
['Lodovico Ligato', 'work location', 'Arrow with Weethley']
ASK WHERE { resource:Lodovico_Ligato property:work_location resource:Arrow_with_Weethley }
[]
administrative territorial entity
SYSTEM
NO
(Q3836376,P937,Q4796157)
action is_in
entity Q4796157
action find
entity Q3836376
relation P937
[ANSWER]
['Q3836376', 'P937', 'Q4796157']
ASK WHERE { resource:Q3836376 property:P937 resource:Q4796157 }
No
action is_in
entity Arrow with Weethley
action find
entity Lodovico Ligato
relation work location
['Lodovico Ligato', 'work location', 'Arrow with Weethley']
ASK WHERE { resource:Lodovico_Ligato property:work_location resource:Arrow_with_Weethley }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16940633 Q3836376
P19
Q56061
USER
Which administrative territories are the places of birth of Lodovico Ligato or Ricardo Cabral Santos ?
OR((Q3836376,P19,c(Q56061)), (Q16940633,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3836376
relation P19
action find
entity Q16940633
relation P19
type Q56061
{'OR': [['Q3836376', 'P19', {'concept': 'Q56061'}], ['Q16940633', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q16940633 property:P19 ?c } UNION { resource:Q3836376 property:P19 ?c } } . ?c rdf:type ontology:Q56061 }
Ricardo Cabral Santos Lodovico Ligato
action filter_type
action union
action find
entity Lodovico Ligato
relation place of birth
action find
entity Ricardo Cabral Santos
relation place of birth
type administrative territorial entity
{'OR': [['Lodovico Ligato', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ricardo Cabral Santos', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Ricardo_Cabral_Santos property:place_of_birth ?c } UNION { resource:Lodovico_Ligato property:place_of_birth ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8471 Q193016
SYSTEM
Reggio Calabria, Campina Grande
Q8471 Q193016
OR((Q3836376,P19,c(Q56061)), (Q16940633,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3836376
relation P19
action find
entity Q16940633
relation P19
type Q56061
[ANSWERS] are the places of birth of Lodovico Ligato or Ricardo Cabral Santos
{'OR': [['Q3836376', 'P19', {'concept': 'Q56061'}], ['Q16940633', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q16940633 property:P19 ?c } UNION { resource:Q3836376 property:P19 ?c } } . ?c rdf:type ontology:Q56061 }
Reggio Calabria Campina Grande
Reggio Calabria and Campina Grande are the places of birth of Lodovico Ligato or Ricardo Cabral Santos
Reggio Calabria Campina Grande
action filter_type
action union
action find
entity Lodovico Ligato
relation place of birth
action find
entity Ricardo Cabral Santos
relation place of birth
type administrative territorial entity
{'OR': [['Lodovico Ligato', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ricardo Cabral Santos', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Ricardo_Cabral_Santos property:place_of_birth ?c } UNION { resource:Lodovico_Ligato property:place_of_birth ?c } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q230 Q16940633
P530 P27
Q15617994
USER
Which administrative territories do Ricardo Cabral Santos belong to and have a diplomatic relationship with Georgia ?
AND((Q16940633,P27,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16940633
relation P27
action find
entity Q230
relation P530
type Q15617994
{'AND': [['Q16940633', 'P27', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q16940633 property:P27 ?f . resource:Q230 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Georgia Ricardo Cabral Santos
action filter_type
action intersection
action find
entity Ricardo Cabral Santos
relation country of citizenship
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Ricardo Cabral Santos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Ricardo_Cabral_Santos property:country_of_citizenship ?f . resource:Georgia property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
AND((Q16940633,P27,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16940633
relation P27
action find
entity Q230
relation P530
type Q15617994
Ricardo Cabral Santos belong to the [ANSWER]
{'AND': [['Q16940633', 'P27', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q16940633 property:P27 ?f . resource:Q230 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Brazil
Ricardo Cabral Santos belong to the Brazil
Brazil
action filter_type
action intersection
action find
entity Ricardo Cabral Santos
relation country of citizenship
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Ricardo Cabral Santos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Ricardo_Cabral_Santos property:country_of_citizenship ?f . resource:Georgia property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q155 Q739
P530
Q15617994
USER
Does Colombia have diplomatic relations with Brazil ?
(Q155,P530,Q739)
action is_in
entity Q739
action find
entity Q155
relation P530
['Q155', 'P530', 'Q739']
ASK WHERE { resource:Q155 property:P530 resource:Q739 }
Brazil Colombia
action is_in
entity Colombia
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Colombia']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Colombia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q739)
action is_in
entity Q739
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q739']
ASK WHERE { resource:Q155 property:P530 resource:Q739 }
Yes
action is_in
entity Colombia
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Colombia']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Colombia }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16576834 Q16940633
P27
Q15617994
USER
Which administrative territories are Ricardo Cabral Santos or Masatoshi Matsunaga a civilian of ?
OR((Q16940633,P27,c(Q15617994)), (Q16576834,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16940633
relation P27
action find
entity Q16576834
relation P27
type Q15617994
{'OR': [['Q16940633', 'P27', {'concept': 'Q15617994'}], ['Q16576834', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q16940633 property:P27 ?r } UNION { resource:Q16576834 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Masatoshi Matsunaga Ricardo Cabral Santos
action filter_type
action union
action find
entity Ricardo Cabral Santos
relation country of citizenship
action find
entity Masatoshi Matsunaga
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ricardo Cabral Santos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Masatoshi Matsunaga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Ricardo_Cabral_Santos property:country_of_citizenship ?r } UNION { resource:Masatoshi_Matsunaga property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q17
SYSTEM
Brazil, Japan
Q155 Q17
OR((Q16940633,P27,c(Q15617994)), (Q16576834,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16940633
relation P27
action find
entity Q16576834
relation P27
type Q15617994
[ANSWERS] are Ricardo Cabral Santos or Masatoshi Matsunaga a civilian of
{'OR': [['Q16940633', 'P27', {'concept': 'Q15617994'}], ['Q16576834', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q16940633 property:P27 ?r } UNION { resource:Q16576834 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Brazil Japan
Brazil and Japan are Ricardo Cabral Santos or Masatoshi Matsunaga a civilian of
Brazil Japan
action filter_type
action union
action find
entity Ricardo Cabral Santos
relation country of citizenship
action find
entity Masatoshi Matsunaga
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ricardo Cabral Santos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Masatoshi Matsunaga', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Ricardo_Cabral_Santos property:country_of_citizenship ?r } UNION { resource:Masatoshi_Matsunaga property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q28
P206
Q355304 Q337567 Q15617994
USER
Which administrative territories are situated close to less number of watercourses or still waterss than Hungary ?
(c(Q15617994),P206,c(Q355304)|c(Q337567))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q28
relation P206
type Q355304
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?h ) WHERE { { ?q property:P206 ?f . ?f rdf:type ontology:Q355304 . ?q rdf:type ontology:Q15617994 } UNION { ?q property:P206 ?f . ?q rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q337567 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { { ?e rdf:type ontology:Q337567 } UNION { ?e rdf:type ontology:Q355304 } } . resource:Q28 property:P206 ?e } } . FILTER ( ?h < ?j ) }
Hungary
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Hungary
relation located next to body of water
type watercourse
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?h ) WHERE { { ?q property:located_next_to_body_of_water ?f . ?f rdf:type ontology:watercourse . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:located_next_to_body_of_water ?f . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:still_waters } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { { ?e rdf:type ontology:still_waters } UNION { ?e rdf:type ontology:watercourse } } . resource:Hungary property:located_next_to_body_of_water ?e } } . FILTER ( ?h < ?j ) }
[]
watercourse still waters designation for an administrative territorial entity
Q38 Q55 Q801
SYSTEM
Italy, Netherlands, Israel
Q21111 Q505785 Q104577 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q801 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q622487 Q4628 Q503693 Q4391124 Q884 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q34 Q38 Q6685 Q3352704 Q252772 Q769680 Q104192 Q519663 Q2360428 Q255698 Q236 Q681329 Q1984541 Q560870 Q20 Q621469 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q516567 Q507258 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q1009 Q1438 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q337567))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q28
relation P206
type Q355304
type Q337567
[ANSWERS] are situated close to less number of watercourses or still waterss than Hungary
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?h ) WHERE { { ?q property:P206 ?f . ?f rdf:type ontology:Q355304 . ?q rdf:type ontology:Q15617994 } UNION { ?q property:P206 ?f . ?q rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q337567 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { { ?e rdf:type ontology:Q337567 } UNION { ?e rdf:type ontology:Q355304 } } . resource:Q28 property:P206 ?e } } . FILTER ( ?h < ?j ) }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Israel Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Päwesin Faroe Islands Riedenburg Rakhlitsy South Korea Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Bellagio Fischen South Bay Shillingford Yepifan Sweden Italy Dorfhain Oneop Eichstätt Bornholm Kleinmachnow Kösching Tijuana Municipality Abensberg Montenegro Dümmer Niamey II Owschlag Norway Wennigsen Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kappeln Kipfenberg Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Cameroon Campania Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
Italy, Netherlands and Israel are situated close to less number of watercourses or still waterss than Hungary
Italy Netherlands Israel
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Hungary
relation located next to body of water
type watercourse
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?h ) WHERE { { ?q property:located_next_to_body_of_water ?f . ?f rdf:type ontology:watercourse . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:located_next_to_body_of_water ?f . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:still_waters } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { { ?e rdf:type ontology:still_waters } UNION { ?e rdf:type ontology:watercourse } } . resource:Hungary property:located_next_to_body_of_water ?e } } . FILTER ( ?h < ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q542837
P206
Q355304 Q337567 Q15617994
USER
And also tell me about Ettenstatt?
(c(Q15617994),P206,c(Q355304)|c(Q337567))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q542837
relation P206
type Q355304
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q542837 property:P206 ?g . { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } } } . FILTER ( ?i < ?b ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?d WHERE { VALUES ( ?j ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?m rdf:type ?j } GROUP BY ?d } }
Ettenstatt
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Ettenstatt
relation located next to body of water
type watercourse
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Ettenstatt property:located_next_to_body_of_water ?g . { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:watercourse ) ( ontology:still_waters ) } } } } . FILTER ( ?i < ?b ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?d WHERE { VALUES ( ?j ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?m rdf:type ?j } GROUP BY ?d } }
[]
watercourse still waters designation for an administrative territorial entity
Q38 Q55 Q17
SYSTEM
Italy, Netherlands, Japan
Q21111 Q505785 Q446425 Q3066319 Q668 Q525879 Q55 Q1604782 Q2316529 Q508863 Q568926 Q1009384 Q657 Q622487 Q4628 Q884 Q161258 Q263451 Q442666 Q3111694 Q216422 Q34 Q38 Q3352704 Q769680 Q519663 Q2360428 Q236 Q560870 Q20 Q29 Q511806 Q3038 Q225 Q224 Q222 Q229 Q17 Q1577 Q516567 Q547059 Q215 Q1604772 Q1009 Q1438 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191
(c(Q15617994),P206,c(Q355304)|c(Q337567))
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q542837
relation P206
type Q355304
type Q337567
[ANSWERS]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q542837 property:P206 ?g . { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } } } . FILTER ( ?i < ?b ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?d WHERE { VALUES ( ?j ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?m rdf:type ?j } GROUP BY ?d } }
Corn Islands Pförring Altwarp Fala-Beguets India Haundorf Netherlands Ulul Noordpolderzijl Mindelstetten Maasholm Weno Chad Päwesin Faroe Islands South Korea Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Sweden Italy Oneop Bornholm Kösching Tijuana Municipality Montenegro Owschlag Norway Spain North Slope Borough Helgoland Bosnia and Herzegovina Croatia Albania Cyprus Japan Neuwerk Kappeln Gnotzheim Slovenia Moch Cameroon Campania Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo
Italy Netherlands Japan
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Ettenstatt
relation located next to body of water
type watercourse
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Ettenstatt property:located_next_to_body_of_water ?g . { ?g rdf:type ?q . VALUES ( ?q ) { ( ontology:watercourse ) ( ontology:still_waters ) } } } } . FILTER ( ?i < ?b ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) ?d WHERE { VALUES ( ?j ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?m rdf:type ?j } GROUP BY ?d } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have diplomatic relations with those administrative territories ?
(Q408,P530,Q38) (Q408,P530,Q55) (Q408,P530,Q17)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q38'] ['Q408', 'P530', 'Q55'] ['Q408', 'P530', 'Q17']
ASK WHERE { VALUES ( ?d ) { ( resource:Q21111 ) ( resource:Q505785 ) ( resource:Q446425 ) } . resource:Q408 property:P530 ?d }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Italy'] ['Australia', 'diplomatic relation', 'Netherlands'] ['Australia', 'diplomatic relation', 'Japan']
ASK WHERE { VALUES ( ?d ) { ( resource:Corn_Islands ) ( resource:Pförring ) ( resource:Altwarp ) } . resource:Australia property:diplomatic_relation ?d }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q38) (Q408,P530,Q55) (Q408,P530,Q17)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q38'] ['Q408', 'P530', 'Q55'] ['Q408', 'P530', 'Q17']
ASK WHERE { VALUES ( ?d ) { ( resource:Q21111 ) ( resource:Q505785 ) ( resource:Q446425 ) } . resource:Q408 property:P530 ?d }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Italy'] ['Australia', 'diplomatic relation', 'Netherlands'] ['Australia', 'diplomatic relation', 'Japan']
ASK WHERE { VALUES ( ?d ) { ( resource:Corn_Islands ) ( resource:Pförring ) ( resource:Altwarp ) } . resource:Australia property:diplomatic_relation ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q790
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with lesser number of administrative territories than Haiti ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q790
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?f ) WHERE { ?i property:P530 ?e . ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q790 property:P530 ?z } } . FILTER ( ?f < ?r ) }
Haiti
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Haiti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?f ) WHERE { ?i property:diplomatic_relation ?e . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Haiti property:diplomatic_relation ?z } } . FILTER ( ?f < ?r ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q790
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?f ) WHERE { ?i property:P530 ?e . ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q790 property:P530 ?z } } . FILTER ( ?f < ?r ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Haiti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?f ) WHERE { ?i property:diplomatic_relation ?e . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Haiti property:diplomatic_relation ?z } } . FILTER ( ?f < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q902
P530
Q15617994 Q15617994
USER
And what about Bangladesh?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q902
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Q902 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?m ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?n ) WHERE { ?w rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?y property:P530 ?w } GROUP BY ?w } }
Bangladesh
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bangladesh
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Bangladesh property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?m ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?n ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?w } GROUP BY ?w } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q902
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Q902 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?m ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?n ) WHERE { ?w rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?y property:P530 ?w } GROUP BY ?w } }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bangladesh
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Bangladesh property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?m ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?n ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?w } GROUP BY ?w } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1585433
P30
Q2221906
USER
Where is Pratapgarh district located ?
(Q1585433,P30,c(Q2221906))
action filter_type
action find
entity Q1585433
relation P30
type Q2221906
['Q1585433', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1585433 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Pratapgarh district
action filter_type
action find
entity Pratapgarh district
relation continent
type geographic location
['Pratapgarh district', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Pratapgarh_district property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q1585433,P30,c(Q2221906))
action filter_type
action find
entity Q1585433
relation P30
type Q2221906
Pratapgarh district is located in [ANSWER]
['Q1585433', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q1585433 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Asia
Pratapgarh district is located in Asia
Asia
action filter_type
action find
entity Pratapgarh district
relation continent
type geographic location
['Pratapgarh district', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Pratapgarh_district property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q746779
Q2221906
USER
And also tell me about Ruvuma River?
(Q746779,P30,c(Q2221906))
action filter_type
action find
entity Q746779
relation P30
type Q2221906
['Q746779', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { resource:Q746779 property:P30 ?p . ?p rdf:type ontology:Q2221906 }
Ruvuma River
action filter_type
action find
entity Ruvuma River
relation continent
type geographic location
['Ruvuma River', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { resource:Ruvuma_River property:continent ?p . ?p rdf:type ontology:geographic_location }
[]
geographic location
Q15
SYSTEM
Africa
Q15
(Q746779,P30,c(Q2221906))
action filter_type
action find
entity Q746779
relation P30
type Q2221906
[ANSWER]
['Q746779', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { resource:Q746779 property:P30 ?p . ?p rdf:type ontology:Q2221906 }
Africa
Africa
action filter_type
action find
entity Ruvuma River
relation continent
type geographic location
['Ruvuma River', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { resource:Ruvuma_River property:continent ?p . ?p rdf:type ontology:geographic_location }
[]