Simple Question (Direct)
Simple Question
Q99253
P21
Q290
USER
What is the sex of Willi Bloedorn ?
(Q99253,P21,c(Q290))
action filter_type
action find
entity Q99253
relation P21
type Q290
['Q99253', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q99253 property:P21 ?i . ?i rdf:type ontology:Q290 }
Willi Bloedorn
action filter_type
action find
entity Willi Bloedorn
relation gender
type sex
['Willi Bloedorn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Willi_Bloedorn property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q99253,P21,c(Q290))
action filter_type
action find
entity Q99253
relation P21
type Q290
The sex of Willi Bloedorn is the [ANSWER]
['Q99253', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q99253 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Willi Bloedorn is the male
male
action filter_type
action find
entity Willi Bloedorn
relation gender
type sex
['Willi Bloedorn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Willi_Bloedorn property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q99253
P102
Q7210356
USER
Which political organization is Willi Bloedorn a member of ?
(Q99253,P102,c(Q7210356))
action filter_type
action find
entity Q99253
relation P102
type Q7210356
['Q99253', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q99253 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Willi Bloedorn
action filter_type
action find
entity Willi Bloedorn
relation member of political party
type political organization
['Willi Bloedorn', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Willi_Bloedorn property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q99253,P102,c(Q7210356))
action filter_type
action find
entity Q99253
relation P102
type Q7210356
[ANSWER] is Willi Bloedorn a member of
['Q99253', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q99253 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Nazi Party
Nazi Party is Willi Bloedorn a member of
Nazi Party
action filter_type
action find
entity Willi Bloedorn
relation member of political party
type political organization
['Willi Bloedorn', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Willi_Bloedorn property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q99253
P937
Q56061
USER
Where did that person work ?
(Q7320,P937,c(Q56061))
action filter_type
action find
entity Q99253
relation P937
type Q56061
['Q7320', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q99253 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Willi Bloedorn
action filter_type
action find
entity Willi Bloedorn
relation work location
type administrative territorial entity
['Nazi Party', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Willi_Bloedorn property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q7320,P937,c(Q56061))
action filter_type
action find
entity Q99253
relation P937
type Q56061
That person worked in [ANSWER]
['Q7320', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q99253 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Berlin
That person worked in Berlin
Berlin
action filter_type
action find
entity Willi Bloedorn
relation work location
type administrative territorial entity
['Nazi Party', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Willi_Bloedorn property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027166
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as their base harbour than Maria & Ann ?
(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 Q24027166
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?d ) WHERE { ?v property:P532 ?p . ?v rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q24027166 property:P532 ?i . ?i rdf:type ontology:Q2235308 } } . FILTER ( ?d > ?e ) }
Maria & Ann
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 Maria & Ann
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?d ) WHERE { ?v property:port_of_registry ?p . ?v rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Maria_&_Ann property:port_of_registry ?i . ?i rdf:type ontology:ship_type } } . FILTER ( ?d > ?e ) }
[]
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 Q24027166
relation P532
type Q2235308
[ANSWERS] have greater number of administrative territories as their base harbour than Maria & Ann
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?d ) WHERE { ?v property:P532 ?p . ?v rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q24027166 property:P532 ?i . ?i rdf:type ontology:Q2235308 } } . FILTER ( ?d > ?e ) }
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 Maria & Ann
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 Maria & Ann
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?d ) WHERE { ?v property:port_of_registry ?p . ?v rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Maria_&_Ann property:port_of_registry ?i . ?i rdf:type ontology:ship_type } } . FILTER ( ?d > ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q15617994 Q2235308
USER
How many administrative territories serves as the ports of registry of atleast 2 ship types ?
(c(Q2235308),P532,c(Q15617994))
action count
action atleast
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P532 ?s . ?s rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q2235308 } GROUP BY ?s } . FILTER ( ?f >= 2 ) }
action count
action atleast
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:port_of_registry ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:ship_type } GROUP BY ?s } . FILTER ( ?f >= 2 ) }
[]
designation for an administrative territorial entity ship type
SYSTEM
2
Q804 Q490453
(c(Q2235308),P532,c(Q15617994))
action count
action atleast
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
value 2
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P532 ?s . ?s rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q2235308 } GROUP BY ?s } . FILTER ( ?f >= 2 ) }
Panama Eckernförde
2
action count
action atleast
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:port_of_registry ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:ship_type } GROUP BY ?s } . FILTER ( ?f >= 2 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7873781 Q2596850
P793
Q2245405
USER
Which key events are a significant events associated with MS Azura and USS Samuel B. Roberts ?
AND((Q2596850,P793,c(Q2245405)), (Q7873781,P793,c(Q2245405)))
action filter_type
action intersection
action find
entity Q2596850
relation P793
action find
entity Q7873781
relation P793
type Q2245405
{'AND': [['Q2596850', 'P793', {'concept': 'Q2245405'}], ['Q7873781', 'P793', {'concept': 'Q2245405'}]]}
SELECT DISTINCT ?t WHERE { resource:Q7873781 property:P793 ?t . resource:Q2596850 property:P793 ?t . ?t rdf:type ontology:Q2245405 }
USS Samuel B. Roberts MS Azura
action filter_type
action intersection
action find
entity MS Azura
relation significant event
action find
entity USS Samuel B. Roberts
relation significant event
type key event
{'AND': [['MS Azura', 'significant event', {'concept': 'key event'}], ['USS Samuel B. Roberts', 'significant event', {'concept': 'key event'}]]}
SELECT DISTINCT ?t WHERE { resource:USS_Samuel_B._Roberts property:significant_event ?t . resource:MS_Azura property:significant_event ?t . ?t rdf:type ontology:key_event }
[]
key event
Q14713606 Q14592615
SYSTEM
ship launch, keel laying
Q14713606 Q14592615
AND((Q2596850,P793,c(Q2245405)), (Q7873781,P793,c(Q2245405)))
action filter_type
action intersection
action find
entity Q2596850
relation P793
action find
entity Q7873781
relation P793
type Q2245405
[ANSWERS] are a significant events associated with MS Azura and USS Samuel B. Roberts
{'AND': [['Q2596850', 'P793', {'concept': 'Q2245405'}], ['Q7873781', 'P793', {'concept': 'Q2245405'}]]}
SELECT DISTINCT ?t WHERE { resource:Q7873781 property:P793 ?t . resource:Q2596850 property:P793 ?t . ?t rdf:type ontology:Q2245405 }
ship launch keel laying
Ship launch and keel laying are a significant events associated with MS Azura and USS Samuel B. Roberts
ship launch keel laying
action filter_type
action intersection
action find
entity MS Azura
relation significant event
action find
entity USS Samuel B. Roberts
relation significant event
type key event
{'AND': [['MS Azura', 'significant event', {'concept': 'key event'}], ['USS Samuel B. Roberts', 'significant event', {'concept': 'key event'}]]}
SELECT DISTINCT ?t WHERE { resource:USS_Samuel_B._Roberts property:significant_event ?t . resource:MS_Azura property:significant_event ?t . ?t rdf:type ontology:key_event }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7872747
P793
Q2235308
USER
Do USS Pawnee have those ones as a significant event ?
(Q7872747,P793,Q14713606) (Q7872747,P793,Q14592615)
action is_in
entity prev_answer
action find
entity Q7872747
relation P793
['Q7872747', 'P793', 'Q14713606'] ['Q7872747', 'P793', 'Q14592615']
ASK WHERE { resource:Q7872747 property:P793 ?f . VALUES ( ?f ) { ( resource:Q14713606 ) ( resource:Q14592615 ) } }
USS Pawnee
action is_in
entity prev_answer
action find
entity USS Pawnee
relation significant event
['USS Pawnee', 'significant event', 'ship launch'] ['USS Pawnee', 'significant event', 'keel laying']
ASK WHERE { resource:USS_Pawnee property:significant_event ?f . VALUES ( ?f ) { ( resource:ship_launch ) ( resource:keel_laying ) } }
[]
ship type
SYSTEM
NO
(Q7872747,P793,Q14713606) (Q7872747,P793,Q14592615)
action is_in
entity prev_answer
action find
entity Q7872747
relation P793
[ANSWER]
['Q7872747', 'P793', 'Q14713606'] ['Q7872747', 'P793', 'Q14592615']
ASK WHERE { resource:Q7872747 property:P793 ?f . VALUES ( ?f ) { ( resource:Q14713606 ) ( resource:Q14592615 ) } }
No
action is_in
entity prev_answer
action find
entity USS Pawnee
relation significant event
['USS Pawnee', 'significant event', 'ship launch'] ['USS Pawnee', 'significant event', 'keel laying']
ASK WHERE { resource:USS_Pawnee property:significant_event ?f . VALUES ( ?f ) { ( resource:ship_launch ) ( resource:keel_laying ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q230 Q35462
P530 P17
Q15617994
USER
Which administrative territories are RMS Aquitania located in and holds diplomatic relationship with Georgia ?
AND((Q35462,P17,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q35462
relation P17
action find
entity Q230
relation P530
type Q15617994
{'AND': [['Q35462', 'P17', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q35462 property:P17 ?i . resource:Q230 property:P530 ?i . ?i rdf:type ontology:Q15617994 }
Georgia RMS Aquitania
action filter_type
action intersection
action find
entity RMS Aquitania
relation country
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['RMS Aquitania', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:RMS_Aquitania property:country ?i . resource:Georgia property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q35462,P17,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q35462
relation P17
action find
entity Q230
relation P530
type Q15617994
RMS Aquitania are located holds the [ANSWER]
{'AND': [['Q35462', 'P17', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { resource:Q35462 property:P17 ?i . resource:Q230 property:P530 ?i . ?i rdf:type ontology:Q15617994 }
United Kingdom
RMS Aquitania are located holds the United Kingdom
United Kingdom
action filter_type
action intersection
action find
entity RMS Aquitania
relation country
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['RMS Aquitania', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { resource:RMS_Aquitania property:country ?i . resource:Georgia property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145 Q3288607 Q264766
P6
Q502895
USER
Does United Kingdom have a government lead by Marcel Amon-Tanoh and Theresa May ?
(Q145,P6,Q3288607) (Q145,P6,Q264766)
action is_in
entity Q145
action intersection
action find_reverse
entity Q3288607
relation P6
action find_reverse
entity Q264766
relation P6
['Q145', 'P6', 'Q3288607'] ['Q145', 'P6', 'Q264766']
ASK WHERE { resource:Q145 property:P6 resource:Q264766 . resource:Q145 property:P6 resource:Q3288607 }
United Kingdom Marcel Amon-Tanoh Theresa May
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Marcel Amon-Tanoh
relation head of government
action find_reverse
entity Theresa May
relation head of government
['United Kingdom', 'head of government', 'Marcel Amon-Tanoh'] ['United Kingdom', 'head of government', 'Theresa May']
ASK WHERE { resource:United_Kingdom property:head_of_government resource:Theresa_May . resource:United_Kingdom property:head_of_government resource:Marcel_Amon-Tanoh }
[]
common name
SYSTEM
NO and YES respectively
(Q145,P6,Q3288607) (Q145,P6,Q264766)
action is_in
entity Q145
action intersection
action find_reverse
entity Q3288607
relation P6
action find_reverse
entity Q264766
relation P6
[ANSWER]
['Q145', 'P6', 'Q3288607'] ['Q145', 'P6', 'Q264766']
ASK WHERE { resource:Q145 property:P6 resource:Q264766 . resource:Q145 property:P6 resource:Q3288607 }
NO and YES respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Marcel Amon-Tanoh
relation head of government
action find_reverse
entity Theresa May
relation head of government
['United Kingdom', 'head of government', 'Marcel Amon-Tanoh'] ['United Kingdom', 'head of government', 'Theresa May']
ASK WHERE { resource:United_Kingdom property:head_of_government resource:Theresa_May . resource:United_Kingdom property:head_of_government resource:Marcel_Amon-Tanoh }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q64 Q2651972
P190
Q13220204
USER
How many administrative country subdivisions are twin town of Berlin or Mérida Municipality ?
(c(Q13220204),P190,Q64) (c(Q13220204),P190,Q2651972)
action count
action union
action filter_type
action find_reverse
entity Q64
relation P190
type Q13220204
action filter_type
action find_reverse
entity Q2651972
relation P190
type Q13220204
[{'concept': 'Q13220204'}, 'P190', 'Q64'] [{'concept': 'Q13220204'}, 'P190', 'Q2651972']
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { VALUES ( ?c ) { ( resource:Q64 ) ( resource:Q2651972 ) } . ?k property:P190 ?c }
Berlin Mérida Municipality
action count
action union
action filter_type
action find_reverse
entity Berlin
relation sister city
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Mérida Municipality
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Berlin'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Mérida Municipality']
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { VALUES ( ?c ) { ( resource:Berlin ) ( resource:Mérida_Municipality ) } . ?k property:sister_city ?c }
[]
second-level administrative country subdivision
SYSTEM
3
Q951897 Q51111 Q1442335
(c(Q13220204),P190,Q64) (c(Q13220204),P190,Q2651972)
action count
action union
action filter_type
action find_reverse
entity Q64
relation P190
type Q13220204
action filter_type
action find_reverse
entity Q2651972
relation P190
type Q13220204
[ANSWER]
[{'concept': 'Q13220204'}, 'P190', 'Q64'] [{'concept': 'Q13220204'}, 'P190', 'Q2651972']
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { VALUES ( ?c ) { ( resource:Q64 ) ( resource:Q2651972 ) } . ?k property:P190 ?c }
Chiquinquirá Pereira Manzanares
3
action count
action union
action filter_type
action find_reverse
entity Berlin
relation sister city
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Mérida Municipality
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Berlin'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Mérida Municipality']
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { VALUES ( ?c ) { ( resource:Berlin ) ( resource:Mérida_Municipality ) } . ?k property:sister_city ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q172771 Q14592615
P137 P793
Q2235308
USER
Which ship types are keel laying a key event of and can be described as service operator of Royal Navy ?
AND((c(Q2235308),P793,Q14592615), (c(Q2235308),P137,Q172771))
action filter_type
action intersection
action find_reverse
entity Q14592615
relation P793
action find_reverse
entity Q172771
relation P137
type Q2235308
{'AND': [[{'concept': 'Q2235308'}, 'P793', 'Q14592615'], [{'concept': 'Q2235308'}, 'P137', 'Q172771']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2235308 . ?h property:P793 resource:Q14592615 . ?h property:P137 resource:Q172771 }
Royal Navy keel laying
action filter_type
action intersection
action find_reverse
entity keel laying
relation significant event
action find_reverse
entity Royal Navy
relation operator
type ship type
{'AND': [[{'concept': 'ship type'}, 'significant event', 'keel laying'], [{'concept': 'ship type'}, 'operator', 'Royal Navy']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:ship_type . ?h property:significant_event resource:keel_laying . ?h property:operator resource:Royal_Navy }
[]
ship type
Q1565207 Q4352397 Q5632542 Q1444474 Q1595458 Q951609 Q35462 Q5632224 Q112317 Q11712993
SYSTEM
Some of them are HMS Prince of Wales, HMS Artful, HMS Gannet, HMS Queen Elizabeth, RFA Sir Galahad, HMS Emerald, RMS Aquitania, HMS Duncan, HMS Cambrian, HMS Cayman
Q1565214 Q3500597 Q5632855 Q1548116 Q112317 Q5631709 Q1595458 Q5632854 Q2164060 Q1564260 Q5632224 Q1429444 Q685612 Q1333909 Q5633432 Q11860947 Q5632099 Q1327349 Q4357032 Q3782071 Q11712993 Q4352515 Q1444474 Q945284 Q1645144 Q2710477 Q280710 Q5634648 Q951609 Q35926 Q710732 Q4352397 Q14514926 Q3125102 Q847672 Q5631303 Q1565207 Q2402934 Q5632896 Q3381131 Q5634430 Q35462 Q1141754 Q16222963 Q5631884 Q4353793 Q2357717 Q5633565 Q5309239 Q4355091 Q1201408 Q220239 Q1201247 Q2258930 Q930632 Q689766 Q5632542 Q5632391 Q74858 Q2932019 Q453570 Q3124940 Q4040081 Q1140782 Q5631250
AND((c(Q2235308),P793,Q14592615), (c(Q2235308),P137,Q172771))
action filter_type
action intersection
action find_reverse
entity Q14592615
relation P793
action find_reverse
entity Q172771
relation P137
type Q2235308
[ANSWERS] are keel laying a key event of and can be described as service operator of Royal Navy
{'AND': [[{'concept': 'Q2235308'}, 'P793', 'Q14592615'], [{'concept': 'Q2235308'}, 'P137', 'Q172771']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2235308 . ?h property:P793 resource:Q14592615 . ?h property:P137 resource:Q172771 }
HMS Queen HMS Daring HMS Illustrious HMS Dido HMS Cambrian HMS Bulwark RFA Sir Galahad HMS Illustrious HMS Vanguard HMS Ajax HMS Duncan HMS Albion HMS Princess Royal HMS Ark Royal HMS Montrose HMS Cleveland HMS Defender HMS Tireless HMS Nairana HMS Bulwark HMS Cayman HMS Ambush HMS Queen Elizabeth HMS Rattler HMS Enterprise HMS Resolution HMS Invincible HMS Tireless HMS Emerald HMS Beagle HMS Glowworm HMS Artful HMS Viscount (D92) HMS Seahorse HMS Ark Royal HMS Ambush HMS Prince of Wales HMS Bermuda HMS Iron Duke HNoMS Svenner HMS St Albans RMS Aquitania HMS Illustrious HMS Worcester (D96) HMS Circe HMS Albion HMS York HMS Ocelot HMS Illustrious HMS Blake HMS Iron Duke (1912) HMS Hood HMS Ocean (L12) HMS Speedy HMS Shropshire HMS Bulwark HMS Gannet HMS Fame HMS Attacker CSS Rappahannock HMS Bulwark HMS Aeolus HMS Elizabeth HMS Illustrious HMS Alaric
HMS Prince of Wales, HMS Artful, HMS Gannet, HMS Queen Elizabeth, RFA Sir Galahad, HMS Emerald, RMS Aquitania, HMS Duncan, HMS Cambrian and HMS Cayman are keel laying a key event of and can be described as service operator of Royal Navy
HMS Prince of Wales HMS Artful HMS Gannet HMS Queen Elizabeth RFA Sir Galahad HMS Emerald RMS Aquitania HMS Duncan HMS Cambrian HMS Cayman
action filter_type
action intersection
action find_reverse
entity keel laying
relation significant event
action find_reverse
entity Royal Navy
relation operator
type ship type
{'AND': [[{'concept': 'ship type'}, 'significant event', 'keel laying'], [{'concept': 'ship type'}, 'operator', 'Royal Navy']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:ship_type . ?h property:significant_event resource:keel_laying . ?h property:operator resource:Royal_Navy }
[]
Clarification
Simple Question|Single Entity|Indirect
Q951609
P176
Q43229
USER
Who is the maker of that ship type ?
(Q951609,P176,c(Q43229))
action filter_type
action find
entity Q951609
relation P176
type Q43229
['Q951609', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q951609 property:P176 ?m . ?m rdf:type ontology:Q43229 }
HMS Emerald
action filter_type
action find
entity HMS Emerald
relation manufacturer
type organization
['HMS Emerald', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:HMS_Emerald property:manufacturer ?m . ?m rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q35462
SYSTEM
Did you mean RMS Aquitania ?
Q1565207 Q4352397 Q5632542 Q1444474 Q1595458 Q951609 Q35462 Q5632224 Q112317 Q11712993
(Q1565207,P176,c(Q43229)) (Q4352397,P176,c(Q43229)) (Q5632542,P176,c(Q43229)) (Q1444474,P176,c(Q43229)) (Q1595458,P176,c(Q43229)) (Q951609,P176,c(Q43229)) (Q35462,P176,c(Q43229)) (Q5632224,P176,c(Q43229)) (Q112317,P176,c(Q43229)) (Q11712993,P176,c(Q43229))
[ANSWER]
['Q1565207', 'P176', {'concept': 'Q43229'}] ['Q4352397', 'P176', {'concept': 'Q43229'}] ['Q5632542', 'P176', {'concept': 'Q43229'}] ['Q1444474', 'P176', {'concept': 'Q43229'}] ['Q1595458', 'P176', {'concept': 'Q43229'}] ['Q951609', 'P176', {'concept': 'Q43229'}] ['Q35462', 'P176', {'concept': 'Q43229'}] ['Q5632224', 'P176', {'concept': 'Q43229'}] ['Q112317', 'P176', {'concept': 'Q43229'}] ['Q11712993', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q951609 property:P176 ?m . ?m rdf:type ontology:Q43229 }
HMS Prince of Wales HMS Artful HMS Gannet HMS Queen Elizabeth RFA Sir Galahad HMS Emerald RMS Aquitania HMS Duncan HMS Cambrian HMS Cayman
Did you mean RMS Aquitania ?
RMS Aquitania
['HMS Prince of Wales', 'manufacturer', {'concept': 'organization'}] ['HMS Artful', 'manufacturer', {'concept': 'organization'}] ['HMS Gannet', 'manufacturer', {'concept': 'organization'}] ['HMS Queen Elizabeth', 'manufacturer', {'concept': 'organization'}] ['RFA Sir Galahad', 'manufacturer', {'concept': 'organization'}] ['HMS Emerald', 'manufacturer', {'concept': 'organization'}] ['RMS Aquitania', 'manufacturer', {'concept': 'organization'}] ['HMS Duncan', 'manufacturer', {'concept': 'organization'}] ['HMS Cambrian', 'manufacturer', {'concept': 'organization'}] ['HMS Cayman', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:HMS_Emerald property:manufacturer ?m . ?m rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant HMS Emerald. Could you tell me the answer for that?
(Q951609,P176,c(Q43229))
Q951609
['Q951609', 'P176', {'concept': 'Q43229'}]
['HMS Emerald', 'manufacturer', {'concept': 'organization'}]
[]
Q689159
SYSTEM
Armstrong Whitworth
Q689159
(Q951609,P176,c(Q43229))
action filter_type
action find
entity Q951609
relation P176
type Q43229
The maker of that ship type is the [ANSWER]
['Q951609', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q951609 property:P176 ?m . ?m rdf:type ontology:Q43229 }
Armstrong Whitworth
The maker of that ship type is the Armstrong Whitworth
Armstrong Whitworth
action filter_type
action find
entity HMS Emerald
relation manufacturer
type organization
['HMS Emerald', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:HMS_Emerald property:manufacturer ?m . ?m rdf:type ontology:organization }
[]