Simple Question (Direct)
Simple Question
Q1616906
P463
Q19335303
USER
Which German business organization was Johannes Felix a member of ?
(Q1616906,P463,c(Q19335303))
action filter_type
action find
entity Q1616906
relation P463
type Q19335303
['Q1616906', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q19335303 . resource:Q1616906 property:P463 ?g }
Johannes Felix
action filter_type
action find
entity Johannes Felix
relation member of
type type of business entity in Germany
['Johannes Felix', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:type_of_business_entity_in_Germany . resource:Johannes_Felix property:member_of ?g }
[]
type of business entity in Germany
Q543804
SYSTEM
German Academy of Sciences Leopoldina
Q543804
(Q1616906,P463,c(Q19335303))
action filter_type
action find
entity Q1616906
relation P463
type Q19335303
The [ANSWER] was Johannes Felix a member of
['Q1616906', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q19335303 . resource:Q1616906 property:P463 ?g }
German Academy of Sciences Leopoldina
The German Academy of Sciences Leopoldina was Johannes Felix a member of
German Academy of Sciences Leopoldina
action filter_type
action find
entity Johannes Felix
relation member of
type type of business entity in Germany
['Johannes Felix', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:type_of_business_entity_in_Germany . resource:Johannes_Felix property:member_of ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1616906
P20
Q515
USER
Where did Johannes Felix die ?
(Q1616906,P20,c(Q515))
action filter_type
action find
entity Q1616906
relation P20
type Q515
['Q1616906', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . resource:Q1616906 property:P20 ?o }
Johannes Felix
action filter_type
action find
entity Johannes Felix
relation place of death
type city
['Johannes Felix', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . resource:Johannes_Felix property:place_of_death ?o }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
(Q1616906,P20,c(Q515))
action filter_type
action find
entity Q1616906
relation P20
type Q515
Johannes Felix died in [ANSWER]
['Q1616906', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . resource:Q1616906 property:P20 ?o }
Leipzig
Johannes Felix died in Leipzig
Leipzig
action filter_type
action find
entity Johannes Felix
relation place of death
type city
['Johannes Felix', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . resource:Johannes_Felix property:place_of_death ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q124948
Q515
USER
And how about Ferdinand Janner?
(Q124948,P20,c(Q515))
action filter_type
action find
entity Q124948
relation P20
type Q515
['Q124948', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q124948 property:P20 ?f . ?f rdf:type ontology:Q515 }
Ferdinand Janner
action filter_type
action find
entity Ferdinand Janner
relation place of death
type city
['Ferdinand Janner', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Ferdinand_Janner property:place_of_death ?f . ?f rdf:type ontology:city }
[]
city
Q2978
SYSTEM
Regensburg
Q2978
(Q124948,P20,c(Q515))
action filter_type
action find
entity Q124948
relation P20
type Q515
[ANSWER]
['Q124948', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q124948 property:P20 ?f . ?f rdf:type ontology:Q515 }
Regensburg
Regensburg
action filter_type
action find
entity Ferdinand Janner
relation place of death
type city
['Ferdinand Janner', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Ferdinand_Janner property:place_of_death ?f . ?f rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2978 Q183
P17
Q1048835
USER
Does that city belong to Germany ?
(Q2978,P17,Q183)
action is_in
entity Q183
action find
entity Q2978
relation P17
['Q2978', 'P17', 'Q183']
ASK WHERE { resource:Q2978 property:P17 resource:Q183 }
Regensburg Germany
action is_in
entity Germany
action find
entity Regensburg
relation country
['Regensburg', 'country', 'Germany']
ASK WHERE { resource:Regensburg property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q2978,P17,Q183)
action is_in
entity Q183
action find
entity Q2978
relation P17
[ANSWER]
['Q2978', 'P17', 'Q183']
ASK WHERE { resource:Q2978 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Regensburg
relation country
['Regensburg', 'country', 'Germany']
ASK WHERE { resource:Regensburg property:country resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2978
P1427
Q18608583
USER
Which recurring sporting event has its origin at that city ?
action filter_type
action find_reverse
entity Q2978
relation P1427
type Q18608583
SELECT DISTINCT ?f WHERE { ?f property:P1427 resource:Q2978 . ?f rdf:type ontology:Q18608583 }
Regensburg
action filter_type
action find_reverse
entity Regensburg
relation start point
type recurring sporting event
SELECT DISTINCT ?f WHERE { ?f property:start_point resource:Regensburg . ?f rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q19911365
SYSTEM
2015 Bayern-Rundfahrt
Q19911365
action filter_type
action find_reverse
entity Q2978
relation P1427
type Q18608583
[ANSWER] has its origin at that city
SELECT DISTINCT ?f WHERE { ?f property:P1427 resource:Q2978 . ?f rdf:type ontology:Q18608583 }
2015 Bayern-Rundfahrt
2015 Bayern-Rundfahrt has its origin at that city
2015 Bayern-Rundfahrt
action filter_type
action find_reverse
entity Regensburg
relation start point
type recurring sporting event
SELECT DISTINCT ?f WHERE { ?f property:start_point resource:Regensburg . ?f rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2978
P190
Q56061
USER
Which administrative territories are partner towns of Regensburg ?
(Q2978,P190,c(Q56061))
action filter_type
action find
entity Q2978
relation P190
type Q56061
['Q2978', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q2978 property:P190 ?m }
Regensburg
action filter_type
action find
entity Regensburg
relation sister city
type administrative territorial entity
['Regensburg', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Regensburg property:sister_city ?m }
[]
administrative territorial entity
Q1874 Q43453 Q36405
SYSTEM
Odessa, Plzeň, Aberdeen
Q43453 Q51685 Q36405 Q1874
(Q2978,P190,c(Q56061))
action filter_type
action find
entity Q2978
relation P190
type Q56061
[ANSWERS] are partner towns of Regensburg
['Q2978', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q2978 property:P190 ?m }
Plzeň Tempe Aberdeen Odessa
Odessa, Plzeň and Aberdeen are partner towns of Regensburg
Odessa Plzeň Aberdeen
action filter_type
action find
entity Regensburg
relation sister city
type administrative territorial entity
['Regensburg', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Regensburg property:sister_city ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q428954
Q56061
USER
And how about Los Palacios y Villafranca?
(Q428954,P190,c(Q56061))
action filter_type
action find
entity Q428954
relation P190
type Q56061
['Q428954', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q428954 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Los Palacios y Villafranca
action filter_type
action find
entity Los Palacios y Villafranca
relation sister city
type administrative territorial entity
['Los Palacios y Villafranca', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Los_Palacios_y_Villafranca property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1870561 Q2360337
SYSTEM
Los Palacios, Cuba, Tifariti
Q1870561 Q2360337
(Q428954,P190,c(Q56061))
action filter_type
action find
entity Q428954
relation P190
type Q56061
[ANSWERS]
['Q428954', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q428954 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Los Palacios, Cuba Tifariti
Los Palacios, Cuba Tifariti
action filter_type
action find
entity Los Palacios y Villafranca
relation sister city
type administrative territorial entity
['Los Palacios y Villafranca', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Los_Palacios_y_Villafranca property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have atleast 1 administrative territory as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?r ) WHERE { ?c property:P532 ?b . ?c rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?c } . FILTER ( ?r >= 1 ) }
action atleast
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?r ) WHERE { ?c property:port_of_registry ?b . ?c rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?r >= 1 ) }
[]
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 atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[ANSWERS] have atleast 1 administrative territory as their base harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?r ) WHERE { ?c property:P532 ?b . ?c rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?c } . FILTER ( ?r >= 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 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 atleast 1 administrative territory as their base harbour
MS Azura SS Maxim Gorkiy RMS Aquitania
action atleast
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 ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?r ) WHERE { ?c property:port_of_registry ?b . ?c rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?r >= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2596850
P1071
Q15617994
USER
Which administrative territory is the final place of assembly of that ship type ?
(Q2596850,P1071,c(Q15617994))
action filter_type
action find
entity Q2596850
relation P1071
type Q15617994
['Q2596850', 'P1071', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2596850 property:P1071 ?p . ?p rdf:type ontology:Q15617994 }
MS Azura
action filter_type
action find
entity MS Azura
relation location of final assembly
type designation for an administrative territorial entity
['MS Azura', 'location of final assembly', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:MS_Azura property:location_of_final_assembly ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q35462
SYSTEM
Did you mean RMS Aquitania ?
Q2596850 Q468026 Q35462
(Q2596850,P1071,c(Q15617994)) (Q468026,P1071,c(Q15617994)) (Q35462,P1071,c(Q15617994))
[ANSWER]
['Q2596850', 'P1071', {'concept': 'Q15617994'}] ['Q468026', 'P1071', {'concept': 'Q15617994'}] ['Q35462', 'P1071', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2596850 property:P1071 ?p . ?p rdf:type ontology:Q15617994 }
MS Azura SS Maxim Gorkiy RMS Aquitania
Did you mean RMS Aquitania ?
RMS Aquitania
['MS Azura', 'location of final assembly', {'concept': 'designation for an administrative territorial entity'}] ['SS Maxim Gorkiy', 'location of final assembly', {'concept': 'designation for an administrative territorial entity'}] ['RMS Aquitania', 'location of final assembly', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:MS_Azura property:location_of_final_assembly ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant MS Azura. Could you tell me the answer for that?
(Q2596850,P1071,c(Q15617994))
Q2596850
['Q2596850', 'P1071', {'concept': 'Q15617994'}]
['MS Azura', 'location of final assembly', {'concept': 'designation for an administrative territorial entity'}]
[]
Q53133
SYSTEM
Monfalcone
Q53133
(Q2596850,P1071,c(Q15617994))
action filter_type
action find
entity Q2596850
relation P1071
type Q15617994
[ANSWER] is the final place of assembly of that ship type
['Q2596850', 'P1071', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2596850 property:P1071 ?p . ?p rdf:type ontology:Q15617994 }
Monfalcone
Monfalcone is the final place of assembly of that ship type
Monfalcone
action filter_type
action find
entity MS Azura
relation location of final assembly
type designation for an administrative territorial entity
['MS Azura', 'location of final assembly', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:MS_Azura property:location_of_final_assembly ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]