Simple Question (Direct)
Simple Question
Q427738
P27
Q15617994
USER
Which administrative territory is the native country of Lajos Dinnyés ?
(Q427738,P27,c(Q15617994))
action filter_type
action find
entity Q427738
relation P27
type Q15617994
['Q427738', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q427738 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Lajos Dinnyés
action filter_type
action find
entity Lajos Dinnyés
relation country of citizenship
type designation for an administrative territorial entity
['Lajos Dinnyés', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Lajos_Dinnyés property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q427738,P27,c(Q15617994))
action filter_type
action find
entity Q427738
relation P27
type Q15617994
In [ANSWER] is the native country of Lajos Dinnyés
['Q427738', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q427738 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Hungary
In Hungary is the native country of Lajos Dinnyés
Hungary
action filter_type
action find
entity Lajos Dinnyés
relation country of citizenship
type designation for an administrative territorial entity
['Lajos Dinnyés', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Lajos_Dinnyés property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q427738
P21
Q290
USER
Which sex does that person possess ?
(Q28,P21,c(Q290))
action filter_type
action find
entity Q427738
relation P21
type Q290
['Q28', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q427738 property:P21 ?m . ?m rdf:type ontology:Q290 }
Lajos Dinnyés
action filter_type
action find
entity Lajos Dinnyés
relation gender
type sex
['Hungary', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Lajos_Dinnyés property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q28,P21,c(Q290))
action filter_type
action find
entity Q427738
relation P21
type Q290
That person possesses a [ANSWER]
['Q28', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q427738 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Lajos Dinnyés
relation gender
type sex
['Hungary', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Lajos_Dinnyés property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q427738
P937
Q56061
USER
Which is the work location of Lajos Dinnyés ?
(Q427738,P937,c(Q56061))
action filter_type
action find
entity Q427738
relation P937
type Q56061
['Q427738', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q427738 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Lajos Dinnyés
action filter_type
action find
entity Lajos Dinnyés
relation work location
type administrative territorial entity
['Lajos Dinnyés', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Lajos_Dinnyés property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q427738,P937,c(Q56061))
action filter_type
action find
entity Q427738
relation P937
type Q56061
[ANSWER] is the work location of Lajos Dinnyés
['Q427738', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q427738 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Budapest
Budapest is the work location of Lajos Dinnyés
Budapest
action filter_type
action find
entity Lajos Dinnyés
relation work location
type administrative territorial entity
['Lajos Dinnyés', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Lajos_Dinnyés property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q70854
Q56061
USER
And how about Ferdinand von Roemer?
(Q70854,P937,c(Q56061))
action filter_type
action find
entity Q70854
relation P937
type Q56061
['Q70854', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q70854 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Ferdinand von Roemer
action filter_type
action find
entity Ferdinand von Roemer
relation work location
type administrative territorial entity
['Ferdinand von Roemer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ferdinand_von_Roemer property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q70854,P937,c(Q56061))
action filter_type
action find
entity Q70854
relation P937
type Q56061
[ANSWER]
['Q70854', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q70854 property:P937 ?k . ?k rdf:type ontology:Q56061 }
Bonn
Bonn
action filter_type
action find
entity Ferdinand von Roemer
relation work location
type administrative territorial entity
['Ferdinand von Roemer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ferdinand_von_Roemer property:work_location ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027088
P532
Q56061 Q2235308
USER
Which ship types have more number of administrative territories as their registry harbour than John & Margaret ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027088
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?s ) WHERE { ?q property:P532 ?f . ?q rdf:type ontology:Q2235308 . ?f rdf:type ontology:Q56061 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q24027088 property:P532 ?a . ?a rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?w ) }
John & Margaret
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity John & Margaret
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?s ) WHERE { ?q property:port_of_registry ?f . ?q rdf:type ontology:ship_type . ?f rdf:type ontology:administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:John_&_Margaret property:port_of_registry ?a . ?a rdf:type ontology:ship_type } } . FILTER ( ?s > ?w ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027088
relation P532
type Q2235308
[ANSWERS] have more number of administrative territories as their registry harbour than John & Margaret
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?s ) WHERE { ?q property:P532 ?f . ?q rdf:type ontology:Q2235308 . ?f rdf:type ontology:Q56061 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:Q24027088 property:P532 ?a . ?a rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?w ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania have more number of administrative territories as their registry harbour than John & Margaret
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity John & Margaret
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?s ) WHERE { ?q property:port_of_registry ?f . ?q rdf:type ontology:ship_type . ?f rdf:type ontology:administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { resource:John_&_Margaret property:port_of_registry ?a . ?a rdf:type ontology:ship_type } } . FILTER ( ?s > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q469715
P532
Q56061 Q2235308
USER
And what about MV Colombo Express?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q469715
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?b property:P532 ?u . ?b rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q469715 property:P532 ?v . ?v rdf:type ontology:Q2235308 } } . FILTER ( ?p > ?a ) }
MV Colombo Express
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity MV Colombo Express
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?b property:port_of_registry ?u . ?b rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:MV_Colombo_Express property:port_of_registry ?v . ?v rdf:type ontology:ship_type } } . FILTER ( ?p > ?a ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q469715
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?b property:P532 ?u . ?b rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q469715 property:P532 ?v . ?v rdf:type ontology:Q2235308 } } . FILTER ( ?p > ?a ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity MV Colombo Express
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?p ) WHERE { ?b property:port_of_registry ?u . ?b rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:MV_Colombo_Express property:port_of_registry ?v . ?v rdf:type ontology:ship_type } } . FILTER ( ?p > ?a ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2596850 Q468026 Q35462
P176
Q43229
USER
Which organizations are the manufacturers of MS Azura, SS Maxim Gorkiy and RMS Aquitania ?
(Q2596850,P176,c(Q43229)) (Q468026,P176,c(Q43229)) (Q35462,P176,c(Q43229))
action union
action filter_type
action find
entity Q2596850
relation P176
type Q43229
action filter_type
action find
entity Q468026
relation P176
type Q43229
action filter_type
action find
entity Q35462
relation P176
type Q43229
['Q2596850', 'P176', {'concept': 'Q43229'}] ['Q468026', 'P176', {'concept': 'Q43229'}] ['Q35462', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { { resource:Q2596850 property:P176 ?k . ?k rdf:type ontology:Q43229 } UNION { ?k rdf:type ontology:Q43229 . resource:Q468026 property:P176 ?k } }
MS Azura SS Maxim Gorkiy RMS Aquitania
action union
action filter_type
action find
entity MS Azura
relation manufacturer
type organization
action filter_type
action find
entity SS Maxim Gorkiy
relation manufacturer
type organization
action filter_type
action find
entity RMS Aquitania
relation manufacturer
type organization
['MS Azura', 'manufacturer', {'concept': 'organization'}] ['SS Maxim Gorkiy', 'manufacturer', {'concept': 'organization'}] ['RMS Aquitania', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { { resource:MS_Azura property:manufacturer ?k . ?k rdf:type ontology:organization } UNION { ?k rdf:type ontology:organization . resource:SS_Maxim_Gorkiy property:manufacturer ?k } }
[]
organization
Q1327429 Q700418 Q1699428
SYSTEM
Fincantieri, Howaldtswerke-Deutsche Werft, John Brown & Company
Q1327429 Q700418 Q1699428
(Q2596850,P176,c(Q43229)) (Q468026,P176,c(Q43229)) (Q35462,P176,c(Q43229))
action union
action filter_type
action find
entity Q2596850
relation P176
type Q43229
action filter_type
action find
entity Q468026
relation P176
type Q43229
action filter_type
action find
entity Q35462
relation P176
type Q43229
[ANSWERS] are the manufacturers of MS Azura, SS Maxim Gorkiy and RMS Aquitania
['Q2596850', 'P176', {'concept': 'Q43229'}] ['Q468026', 'P176', {'concept': 'Q43229'}] ['Q35462', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { { resource:Q2596850 property:P176 ?k . ?k rdf:type ontology:Q43229 } UNION { ?k rdf:type ontology:Q43229 . resource:Q468026 property:P176 ?k } }
Fincantieri Howaldtswerke-Deutsche Werft John Brown & Company
Fincantieri, Howaldtswerke-Deutsche Werft and John Brown & Company are the manufacturers of MS Azura, SS Maxim Gorkiy and RMS Aquitania
Fincantieri Howaldtswerke-Deutsche Werft John Brown & Company
action union
action filter_type
action find
entity MS Azura
relation manufacturer
type organization
action filter_type
action find
entity SS Maxim Gorkiy
relation manufacturer
type organization
action filter_type
action find
entity RMS Aquitania
relation manufacturer
type organization
['MS Azura', 'manufacturer', {'concept': 'organization'}] ['SS Maxim Gorkiy', 'manufacturer', {'concept': 'organization'}] ['RMS Aquitania', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { { resource:MS_Azura property:manufacturer ?k . ?k rdf:type ontology:organization } UNION { ?k rdf:type ontology:organization . resource:SS_Maxim_Gorkiy property:manufacturer ?k } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1327429
P127
Q43229
USER
Which organizations are under posessision of that one ?
(c(Q43229),P127,Q1327429)
action filter_type
action find_reverse
entity Q1327429
relation P127
type Q43229
[{'concept': 'Q43229'}, 'P127', 'Q1327429']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q1327429 . ?w rdf:type ontology:Q43229 }
Fincantieri
action filter_type
action find_reverse
entity Fincantieri
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Fincantieri']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Fincantieri . ?w rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q1327429
SYSTEM
Did you mean Fincantieri ?
Q1327429 Q700418 Q1699428
(c(Q43229),P127,Q1327429) (c(Q43229),P127,Q700418) (c(Q43229),P127,Q1699428)
[ANSWER]
[{'concept': 'Q43229'}, 'P127', 'Q1327429'] [{'concept': 'Q43229'}, 'P127', 'Q700418'] [{'concept': 'Q43229'}, 'P127', 'Q1699428']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q1327429 . ?w rdf:type ontology:Q43229 }
Fincantieri Howaldtswerke-Deutsche Werft John Brown & Company
Did you mean Fincantieri ?
Fincantieri
[{'concept': 'organization'}, 'owned by', 'Fincantieri'] [{'concept': 'organization'}, 'owned by', 'Howaldtswerke-Deutsche Werft'] [{'concept': 'organization'}, 'owned by', 'John Brown & Company']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Fincantieri . ?w rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q43229),P127,Q1327429)
[{'concept': 'Q43229'}, 'P127', 'Q1327429']
[{'concept': 'organization'}, 'owned by', 'Fincantieri']
[]
Q3655747 Q3655755 Q3655746
SYSTEM
Cantiere navale di Ancona, Cantiere navale di Riva Trigoso, Cantiere navale del Muggiano
Q3655747 Q3655755 Q3655746 Q1328738
(c(Q43229),P127,Q1327429)
action filter_type
action find_reverse
entity Q1327429
relation P127
type Q43229
[ANSWERS] are under posessision of that one
[{'concept': 'Q43229'}, 'P127', 'Q1327429']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q1327429 . ?w rdf:type ontology:Q43229 }
Cantiere navale di Ancona Cantiere navale di Riva Trigoso Cantiere navale del Muggiano Isotta Fraschini Motori
Cantiere navale di Ancona, Cantiere navale di Riva Trigoso and Cantiere navale del Muggiano are under posessision of that one
Cantiere navale di Ancona Cantiere navale di Riva Trigoso Cantiere navale del Muggiano
action filter_type
action find_reverse
entity Fincantieri
relation owned by
type organization
[{'concept': 'organization'}, 'owned by', 'Fincantieri']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Fincantieri . ?w rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3593244 Q28
P206
Q355304
USER
Which watercourses are situated close to Hungary or île Touchais ?
OR((Q28,P206,c(Q355304)), (Q3593244,P206,c(Q355304)))
action filter_type
action union
action find
entity Q28
relation P206
action find
entity Q3593244
relation P206
type Q355304
{'OR': [['Q28', 'P206', {'concept': 'Q355304'}], ['Q3593244', 'P206', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q355304 . { { resource:Q28 property:P206 ?j } UNION { resource:Q3593244 property:P206 ?j } } }
île Touchais Hungary
action filter_type
action union
action find
entity Hungary
relation located next to body of water
action find
entity île Touchais
relation located next to body of water
type watercourse
{'OR': [['Hungary', 'located next to body of water', {'concept': 'watercourse'}], ['île Touchais', 'located next to body of water', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:watercourse . { { resource:Hungary property:located_next_to_body_of_water ?j } UNION { resource:île_Touchais property:located_next_to_body_of_water ?j } } }
[]
watercourse
Q748872 Q1653 Q1469 Q134350 Q171009
SYSTEM
Ipoly, Danube, Loire, Tisza, Drava
Q748872 Q1653 Q1469 Q134350 Q171009
OR((Q28,P206,c(Q355304)), (Q3593244,P206,c(Q355304)))
action filter_type
action union
action find
entity Q28
relation P206
action find
entity Q3593244
relation P206
type Q355304
[ANSWERS] are situated close to Hungary or île Touchais
{'OR': [['Q28', 'P206', {'concept': 'Q355304'}], ['Q3593244', 'P206', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q355304 . { { resource:Q28 property:P206 ?j } UNION { resource:Q3593244 property:P206 ?j } } }
Ipoly Danube Loire Tisza Drava
Ipoly, Danube, Loire, Tisza and Drava are situated close to Hungary or île Touchais
Ipoly Danube Loire Tisza Drava
action filter_type
action union
action find
entity Hungary
relation located next to body of water
action find
entity île Touchais
relation located next to body of water
type watercourse
{'OR': [['Hungary', 'located next to body of water', {'concept': 'watercourse'}], ['île Touchais', 'located next to body of water', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:watercourse . { { resource:Hungary property:located_next_to_body_of_water ?j } UNION { resource:île_Touchais property:located_next_to_body_of_water ?j } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q748872 Q1653 Q1469 Q134350 Q171009
P30
Q2221906
USER
Which geographic locations are Ipoly, Danube, Loire, Tisza and Drava a part of ?
(Q748872,P30,c(Q2221906)) (Q1653,P30,c(Q2221906)) (Q1469,P30,c(Q2221906)) (Q134350,P30,c(Q2221906)) (Q171009,P30,c(Q2221906))
action union
action filter_type
action find
entity Q748872
relation P30
type Q2221906
action filter_type
action find
entity Q1653
relation P30
type Q2221906
action filter_type
action find
entity Q1469
relation P30
type Q2221906
action filter_type
action find
entity Q134350
relation P30
type Q2221906
action filter_type
action find
entity Q171009
relation P30
type Q2221906
['Q748872', 'P30', {'concept': 'Q2221906'}] ['Q1653', 'P30', {'concept': 'Q2221906'}] ['Q1469', 'P30', {'concept': 'Q2221906'}] ['Q134350', 'P30', {'concept': 'Q2221906'}] ['Q171009', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?z ) { ( resource:Q1653 ) ( resource:Q748872 ) } . ?z property:P30 ?t }
Ipoly Danube Loire Tisza Drava
action union
action filter_type
action find
entity Ipoly
relation continent
type geographic location
action filter_type
action find
entity Danube
relation continent
type geographic location
action filter_type
action find
entity Loire
relation continent
type geographic location
action filter_type
action find
entity Tisza
relation continent
type geographic location
action filter_type
action find
entity Drava
relation continent
type geographic location
['Ipoly', 'continent', {'concept': 'geographic location'}] ['Danube', 'continent', {'concept': 'geographic location'}] ['Loire', 'continent', {'concept': 'geographic location'}] ['Tisza', 'continent', {'concept': 'geographic location'}] ['Drava', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?z ) { ( resource:Danube ) ( resource:Ipoly ) } . ?z property:continent ?t }
[]
geographic location
Q46 Q46 Q46
SYSTEM
Europe
Q46 Q46 Q46 Q46 Q46
(Q748872,P30,c(Q2221906)) (Q1653,P30,c(Q2221906)) (Q1469,P30,c(Q2221906)) (Q134350,P30,c(Q2221906)) (Q171009,P30,c(Q2221906))
action union
action filter_type
action find
entity Q748872
relation P30
type Q2221906
action filter_type
action find
entity Q1653
relation P30
type Q2221906
action filter_type
action find
entity Q1469
relation P30
type Q2221906
action filter_type
action find
entity Q134350
relation P30
type Q2221906
action filter_type
action find
entity Q171009
relation P30
type Q2221906
[ANSWER], [ANSWER] and [ANSWER] are Ipoly, Danube, Loire, Tisza and Drava a part of
['Q748872', 'P30', {'concept': 'Q2221906'}] ['Q1653', 'P30', {'concept': 'Q2221906'}] ['Q1469', 'P30', {'concept': 'Q2221906'}] ['Q134350', 'P30', {'concept': 'Q2221906'}] ['Q171009', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?z ) { ( resource:Q1653 ) ( resource:Q748872 ) } . ?z property:P30 ?t }
Europe Europe Europe Europe Europe
Europe, Europe and Europe are Ipoly, Danube, Loire, Tisza and Drava a part of
Europe Europe Europe
action union
action filter_type
action find
entity Ipoly
relation continent
type geographic location
action filter_type
action find
entity Danube
relation continent
type geographic location
action filter_type
action find
entity Loire
relation continent
type geographic location
action filter_type
action find
entity Tisza
relation continent
type geographic location
action filter_type
action find
entity Drava
relation continent
type geographic location
['Ipoly', 'continent', {'concept': 'geographic location'}] ['Danube', 'continent', {'concept': 'geographic location'}] ['Loire', 'continent', {'concept': 'geographic location'}] ['Tisza', 'continent', {'concept': 'geographic location'}] ['Drava', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?z ) { ( resource:Danube ) ( resource:Ipoly ) } . ?z property:continent ?t }
[]