Simple Question (Direct)
Simple Question
Q1614388
P734
Q82799
USER
Who has the surname David Noel ?
(Q1614388,P734,c(Q82799))
action filter_type
action find
entity Q1614388
relation P734
type Q82799
['Q1614388', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q1614388 property:P734 ?j . ?j rdf:type ontology:Q82799 }
David Noel
action filter_type
action find
entity David Noel
relation family name
type name
['David Noel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:David_Noel property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q16880488
SYSTEM
Noel
Q16880488
(Q1614388,P734,c(Q82799))
action filter_type
action find
entity Q1614388
relation P734
type Q82799
[ANSWER] has the surname David [ANSWER]
['Q1614388', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q1614388 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Noel
Noel has the surname David Noel
Noel
action filter_type
action find
entity David Noel
relation family name
type name
['David Noel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:David_Noel property:family_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1614388
P19
Q56061
USER
Where was David Noel born ?
(Q1614388,P19,c(Q56061))
action filter_type
action find
entity Q1614388
relation P19
type Q56061
['Q1614388', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q1614388 property:P19 ?l }
David Noel
action filter_type
action find
entity David Noel
relation place of birth
type administrative territorial entity
['David Noel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:David_Noel property:place_of_birth ?l }
[]
administrative territorial entity
Q49229
SYSTEM
Durham
Q49229
(Q1614388,P19,c(Q56061))
action filter_type
action find
entity Q1614388
relation P19
type Q56061
David Noel was born in [ANSWER]
['Q1614388', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q1614388 property:P19 ?l }
Durham
David Noel was born in Durham
Durham
action filter_type
action find
entity David Noel
relation place of birth
type administrative territorial entity
['David Noel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:David_Noel property:place_of_birth ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19513604
Q56061
USER
And also tell me about Peter Milford?
(Q19513604,P19,c(Q56061))
action filter_type
action find
entity Q19513604
relation P19
type Q56061
['Q19513604', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q19513604 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Peter Milford
action filter_type
action find
entity Peter Milford
relation place of birth
type administrative territorial entity
['Peter Milford', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Peter_Milford property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q19513604,P19,c(Q56061))
action filter_type
action find
entity Q19513604
relation P19
type Q56061
[ANSWER]
['Q19513604', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q19513604 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Vienna
Vienna
action filter_type
action find
entity Peter Milford
relation place of birth
type administrative territorial entity
['Peter Milford', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Peter_Milford property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1741 Q10264204
P19
Q502895
USER
Does Darcy Milani have location of birth at that administrative territory ?
(Q10264204,P19,Q1741)
action is_in
entity Q10264204
action find
entity Q1741
relation P19
['Q10264204', 'P19', 'Q1741']
ASK WHERE { resource:Q1741 property:P19 resource:Q10264204 }
Vienna Darcy Milani
action is_in
entity Darcy Milani
action find
entity Vienna
relation place of birth
['Darcy Milani', 'place of birth', 'Vienna']
ASK WHERE { resource:Vienna property:place_of_birth resource:Darcy_Milani }
[]
common name
SYSTEM
NO
(Q10264204,P19,Q1741)
action is_in
entity Q10264204
action find
entity Q1741
relation P19
[ANSWER]
['Q10264204', 'P19', 'Q1741']
ASK WHERE { resource:Q1741 property:P19 resource:Q10264204 }
No
action is_in
entity Darcy Milani
action find
entity Vienna
relation place of birth
['Darcy Milani', 'place of birth', 'Vienna']
ASK WHERE { resource:Vienna property:place_of_birth resource:Darcy_Milani }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027026
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as their base harbour than Melodia ?
(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 Q24027026
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?i ) WHERE { ?j property:P532 ?c . ?j rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q24027026 property:P532 ?k . ?k rdf:type ontology:Q2235308 } } . FILTER ( ?i > ?o ) }
Melodia
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 Melodia
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?i ) WHERE { ?j property:port_of_registry ?c . ?j rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Melodia property:port_of_registry ?k . ?k rdf:type ontology:ship_type } } . FILTER ( ?i > ?o ) }
[]
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 Q24027026
relation P532
type Q2235308
[ANSWERS] have greater number of administrative territories as their base harbour than Melodia
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?i ) WHERE { ?j property:P532 ?c . ?j rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q24027026 property:P532 ?k . ?k rdf:type ontology:Q2235308 } } . FILTER ( ?i > ?o ) }
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 greater number of administrative territories as their base harbour than Melodia
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 Melodia
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?i ) WHERE { ?j property:port_of_registry ?c . ?j rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Melodia property:port_of_registry ?k . ?k rdf:type ontology:ship_type } } . FILTER ( ?i > ?o ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2596850 Q468026 Q35462
P532
Q56061
USER
Who have MS Azura, SS Maxim Gorkiy and RMS Aquitania as their port of registry ?
(Q2596850,P532,c(Q56061)) (Q468026,P532,c(Q56061)) (Q35462,P532,c(Q56061))
action union
action filter_type
action find
entity Q2596850
relation P532
type Q56061
action filter_type
action find
entity Q468026
relation P532
type Q56061
action filter_type
action find
entity Q35462
relation P532
type Q56061
['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q56061 . resource:Q2596850 property:P532 ?m } UNION { resource:Q468026 property:P532 ?m . ?m rdf:type ontology:Q56061 } }
MS Azura SS Maxim Gorkiy RMS Aquitania
action union
action filter_type
action find
entity MS Azura
relation port of registry
type administrative territorial entity
action filter_type
action find
entity SS Maxim Gorkiy
relation port of registry
type administrative territorial entity
action filter_type
action find
entity RMS Aquitania
relation port of registry
type administrative territorial entity
['MS Azura', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['RMS Aquitania', 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:administrative_territorial_entity . resource:MS_Azura property:port_of_registry ?m } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1874 Q79848 Q24826
SYSTEM
Odessa, Southampton, Liverpool
Q30985 Q79848 Q2467 Q1874 Q24826
(Q2596850,P532,c(Q56061)) (Q468026,P532,c(Q56061)) (Q35462,P532,c(Q56061))
action union
action filter_type
action find
entity Q2596850
relation P532
type Q56061
action filter_type
action find
entity Q468026
relation P532
type Q56061
action filter_type
action find
entity Q35462
relation P532
type Q56061
[ANSWERS] have MS Azura, SS Maxim Gorkiy and RMS Aquitania as their port of registry
['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q56061 . resource:Q2596850 property:P532 ?m } UNION { resource:Q468026 property:P532 ?m . ?m rdf:type ontology:Q56061 } }
Hamilton Southampton Nassau Odessa Liverpool
Odessa, Southampton and Liverpool have MS Azura, SS Maxim Gorkiy and RMS Aquitania as their port of registry
Odessa Southampton Liverpool
action union
action filter_type
action find
entity MS Azura
relation port of registry
type administrative territorial entity
action filter_type
action find
entity SS Maxim Gorkiy
relation port of registry
type administrative territorial entity
action filter_type
action find
entity RMS Aquitania
relation port of registry
type administrative territorial entity
['MS Azura', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['RMS Aquitania', 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:administrative_territorial_entity . resource:MS_Azura property:port_of_registry ?m } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1874 Q79848 Q24826
P17
Q15617994
USER
Which administrative territories are those administrative territories situated in ?
(Q1874,P17,c(Q15617994)) (Q79848,P17,c(Q15617994)) (Q24826,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1874', 'P17', {'concept': 'Q15617994'}] ['Q79848', 'P17', {'concept': 'Q15617994'}] ['Q24826', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?j property:P17 ?u . ?u rdf:type ontology:Q15617994 . VALUES ( ?j ) { ( resource:Q30985 ) ( resource:Q79848 ) ( resource:Q2467 ) } }
Odessa Southampton Liverpool
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Odessa', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Southampton', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Liverpool', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?j property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?j ) { ( resource:Hamilton ) ( resource:Southampton ) ( resource:Nassau ) } }
[]
designation for an administrative territorial entity
Q212 Q145 Q145
SYSTEM
Ukraine for 1st, United Kingdom for 2nd, 3rd
Q212 Q145 Q145
(Q1874,P17,c(Q15617994)) (Q79848,P17,c(Q15617994)) (Q24826,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q1874', 'P17', {'concept': 'Q15617994'}] ['Q79848', 'P17', {'concept': 'Q15617994'}] ['Q24826', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?j property:P17 ?u . ?u rdf:type ontology:Q15617994 . VALUES ( ?j ) { ( resource:Q30985 ) ( resource:Q79848 ) ( resource:Q2467 ) } }
Ukraine United Kingdom United Kingdom
Those administrative territories are situated in Ukraine, United Kingdom and United Kingdom
Ukraine United Kingdom United Kingdom
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Odessa', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Southampton', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Liverpool', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?j property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?j ) { ( resource:Hamilton ) ( resource:Southampton ) ( resource:Nassau ) } }
[]