Simple Question (Direct)
Simple Question
Q2806098
P69
Q3918
USER
Which university was Germán Gullón educated at ?
(Q2806098,P69,c(Q3918))
action filter_type
action find
entity Q2806098
relation P69
type Q3918
['Q2806098', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?z WHERE { resource:Q2806098 property:P69 ?z . ?z rdf:type ontology:Q3918 }
Germán Gullón
action filter_type
action find
entity Germán Gullón
relation educated at
type university
['Germán Gullón', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?z WHERE { resource:Germán_Gullón property:educated_at ?z . ?z rdf:type ontology:university }
[]
university
Q49213
SYSTEM
University of Texas at Austin
Q49213
(Q2806098,P69,c(Q3918))
action filter_type
action find
entity Q2806098
relation P69
type Q3918
Germán Gullón was educated by [ANSWER]
['Q2806098', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?z WHERE { resource:Q2806098 property:P69 ?z . ?z rdf:type ontology:Q3918 }
University of Texas at Austin
Germán Gullón was educated by University of Texas at Austin
University of Texas at Austin
action filter_type
action find
entity Germán Gullón
relation educated at
type university
['Germán Gullón', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?z WHERE { resource:Germán_Gullón property:educated_at ?z . ?z rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2806098
P1412
Q34770
USER
Which language can that person read ?
(Q49213,P1412,c(Q34770))
action filter_type
action find
entity Q2806098
relation P1412
type Q34770
['Q49213', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q2806098 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Germán Gullón
action filter_type
action find
entity Germán Gullón
relation languages spoken, written or signed
type language
['University of Texas at Austin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Germán_Gullón property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q49213,P1412,c(Q34770))
action filter_type
action find
entity Q2806098
relation P1412
type Q34770
That person can read the [ANSWER]
['Q49213', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q2806098 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Spanish
That person can read the Spanish
Spanish
action filter_type
action find
entity Germán Gullón
relation languages spoken, written or signed
type language
['University of Texas at Austin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:Germán_Gullón property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2806098
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q1321,P19,c(Q56061))
action filter_type
action find
entity Q2806098
relation P19
type Q56061
['Q1321', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q2806098 property:P19 ?a }
Germán Gullón
action filter_type
action find
entity Germán Gullón
relation place of birth
type administrative territorial entity
['Spanish', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Germán_Gullón property:place_of_birth ?a }
[]
administrative territorial entity
Q12233
SYSTEM
Santander
Q12233
(Q1321,P19,c(Q56061))
action filter_type
action find
entity Q2806098
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q1321', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q2806098 property:P19 ?a }
Santander
Santander is the place of birth of that person
Santander
action filter_type
action find
entity Germán Gullón
relation place of birth
type administrative territorial entity
['Spanish', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Germán_Gullón property:place_of_birth ?a }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q12233 Q57929 Q29
P17
Q15617994
USER
Is that administrative territory located in Oelsnitz, Erzgebirge and Spain ?
(Q12233,P17,Q57929) (Q12233,P17,Q29)
action is_in
entity Q12233
action intersection
action find_reverse
entity Q57929
relation P17
action find_reverse
entity Q29
relation P17
['Q12233', 'P17', 'Q57929'] ['Q12233', 'P17', 'Q29']
ASK WHERE { resource:Q12233 property:P17 resource:Q57929 . resource:Q12233 property:P17 resource:Q29 }
Santander Oelsnitz, Erzgebirge Spain
action is_in
entity Santander
action intersection
action find_reverse
entity Oelsnitz, Erzgebirge
relation country
action find_reverse
entity Spain
relation country
['Santander', 'country', 'Oelsnitz, Erzgebirge'] ['Santander', 'country', 'Spain']
ASK WHERE { resource:Santander property:country resource:Oelsnitz,_Erzgebirge . resource:Santander property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q12233,P17,Q57929) (Q12233,P17,Q29)
action is_in
entity Q12233
action intersection
action find_reverse
entity Q57929
relation P17
action find_reverse
entity Q29
relation P17
[ANSWER]
['Q12233', 'P17', 'Q57929'] ['Q12233', 'P17', 'Q29']
ASK WHERE { resource:Q12233 property:P17 resource:Q57929 . resource:Q12233 property:P17 resource:Q29 }
NO and YES respectively
action is_in
entity Santander
action intersection
action find_reverse
entity Oelsnitz, Erzgebirge
relation country
action find_reverse
entity Spain
relation country
['Santander', 'country', 'Oelsnitz, Erzgebirge'] ['Santander', 'country', 'Spain']
ASK WHERE { resource:Santander property:country resource:Oelsnitz,_Erzgebirge . resource:Santander property:country resource:Spain }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q7120888
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as their registry harbour than SS Prince of Wales ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q7120888
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q7120888 property:P532 ?s . ?s rdf:type ontology:Q2235308 } } . FILTER ( ?f > ?h ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?f ) WHERE { ?x property:P532 ?i . ?x rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?x } }
SS Prince of Wales
action count
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 SS Prince of Wales
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:SS_Prince_of_Wales property:port_of_registry ?s . ?s rdf:type ontology:ship_type } } . FILTER ( ?f > ?h ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?f ) WHERE { ?x property:port_of_registry ?i . ?x rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } }
[]
administrative territorial entity ship type
SYSTEM
5
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q7120888
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q7120888 property:P532 ?s . ?s rdf:type ontology:Q2235308 } } . FILTER ( ?f > ?h ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?f ) WHERE { ?x property:P532 ?i . ?x rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?x } }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
5
action count
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 SS Prince of Wales
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:SS_Prince_of_Wales property:port_of_registry ?s . ?s rdf:type ontology:ship_type } } . FILTER ( ?f > ?h ) . { SELECT DISTINCT ?x ( COUNT ( ?i ) AS ?f ) WHERE { ?x property:port_of_registry ?i . ?x rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027501
P532
Q56061 Q2235308
USER
And also tell me about Rugbeian?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027501
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:Q2235308 . resource:Q24027501 property:P532 ?e } } . FILTER ( ?w > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?w ) WHERE { ?b rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 . ?b property:P532 ?k } GROUP BY ?b } }
Rugbeian
action count
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 Rugbeian
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:ship_type . resource:Rugbeian property:port_of_registry ?e } } . FILTER ( ?w > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?w ) WHERE { ?b rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity . ?b property:port_of_registry ?k } GROUP BY ?b } }
[]
administrative territorial entity ship type
SYSTEM
70
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 count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027501
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:Q2235308 . resource:Q24027501 property:P532 ?e } } . FILTER ( ?w > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?w ) WHERE { ?b rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 . ?b property:P532 ?k } GROUP BY ?b } }
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
70
action count
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 Rugbeian
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { ?e rdf:type ontology:ship_type . resource:Rugbeian property:port_of_registry ?e } } . FILTER ( ?w > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?k ) AS ?w ) WHERE { ?b rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity . ?b property:port_of_registry ?k } GROUP BY ?b } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have exactly 1 administrative territory as registry port ?
(c(Q2235308),P532,c(Q56061))
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?e ) WHERE { ?j rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 . ?j property:P532 ?g } GROUP BY ?j } . FILTER ( ?e = 1 ) }
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?e ) WHERE { ?j rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity . ?j property:port_of_registry ?g } GROUP BY ?j } . FILTER ( ?e = 1 ) }
[]
administrative territorial entity ship type
Q35462 Q192381 Q983141
SYSTEM
RMS Aquitania, MS Oasis of the Seas, MY Sam Simon
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 Q1026780 Q22342351 Q15662618 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 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 equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[ANSWERS] have exactly 1 administrative territory as registry port
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?e ) WHERE { ?j rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 . ?j property:P532 ?g } GROUP BY ?j } . FILTER ( ?e = 1 ) }
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 SS California Modern Express Djurgården 8 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 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
RMS Aquitania, MS Oasis of the Seas and MY Sam Simon have exactly 1 administrative territory as registry port
RMS Aquitania MS Oasis of the Seas MY Sam Simon
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?e ) WHERE { ?j rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity . ?j property:port_of_registry ?g } GROUP BY ?j } . FILTER ( ?e = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q983141 Q5630872
P793
Q2245405
USER
How many key events are a significant events associated with MY Sam Simon and HMCS Okanagan ?
(Q983141,P793,c(Q2245405)) (Q5630872,P793,c(Q2245405))
action count
action intersection
action filter_type
action find
entity Q983141
relation P793
type Q2245405
action filter_type
action find
entity Q5630872
relation P793
type Q2245405
['Q983141', 'P793', {'concept': 'Q2245405'}] ['Q5630872', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q983141 property:P793 ?n . ?n rdf:type ontology:Q2245405 . resource:Q5630872 property:P793 ?n . ?n rdf:type ontology:Q2245405 }
MY Sam Simon HMCS Okanagan
action count
action intersection
action filter_type
action find
entity MY Sam Simon
relation significant event
type key event
action filter_type
action find
entity HMCS Okanagan
relation significant event
type key event
['MY Sam Simon', 'significant event', {'concept': 'key event'}] ['HMCS Okanagan', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:MY_Sam_Simon property:significant_event ?n . ?n rdf:type ontology:key_event . resource:HMCS_Okanagan property:significant_event ?n . ?n rdf:type ontology:key_event }
[]
key event
SYSTEM
2
Q14713606 Q14592615
(Q983141,P793,c(Q2245405)) (Q5630872,P793,c(Q2245405))
action count
action intersection
action filter_type
action find
entity Q983141
relation P793
type Q2245405
action filter_type
action find
entity Q5630872
relation P793
type Q2245405
[ANSWER]
['Q983141', 'P793', {'concept': 'Q2245405'}] ['Q5630872', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:Q983141 property:P793 ?n . ?n rdf:type ontology:Q2245405 . resource:Q5630872 property:P793 ?n . ?n rdf:type ontology:Q2245405 }
ship launch keel laying
2
action count
action intersection
action filter_type
action find
entity MY Sam Simon
relation significant event
type key event
action filter_type
action find
entity HMCS Okanagan
relation significant event
type key event
['MY Sam Simon', 'significant event', {'concept': 'key event'}] ['HMCS Okanagan', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { resource:MY_Sam_Simon property:significant_event ?n . ?n rdf:type ontology:key_event . resource:HMCS_Okanagan property:significant_event ?n . ?n rdf:type ontology:key_event }
[]