Simple Question (Direct)
Simple Question
Q6285721
P69
Q3918
USER
Which university was Joseph N.C. Egemonye educated at ?
(Q6285721,P69,c(Q3918))
action filter_type
action find
entity Q6285721
relation P69
type Q3918
['Q6285721', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q6285721 property:P69 ?x . ?x rdf:type ontology:Q3918 }
Joseph N.C. Egemonye
action filter_type
action find
entity Joseph N.C. Egemonye
relation educated at
type university
['Joseph N.C. Egemonye', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Joseph_N.C._Egemonye property:educated_at ?x . ?x rdf:type ontology:university }
[]
university
Q192334
SYSTEM
University of North Carolina at Chapel Hill
Q192334
(Q6285721,P69,c(Q3918))
action filter_type
action find
entity Q6285721
relation P69
type Q3918
Joseph N.C. Egemonye was the [ANSWER]
['Q6285721', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q6285721 property:P69 ?x . ?x rdf:type ontology:Q3918 }
University of North Carolina at Chapel Hill
Joseph N.C. Egemonye was the University of North Carolina at Chapel Hill
University of North Carolina at Chapel Hill
action filter_type
action find
entity Joseph N.C. Egemonye
relation educated at
type university
['Joseph N.C. Egemonye', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Joseph_N.C._Egemonye property:educated_at ?x . ?x rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q192334
P112
Q502895
USER
Which person was the founder of that university ?
(Q192334,P112,c(Q502895))
action filter_type
action find
entity Q192334
relation P112
type Q502895
['Q192334', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q192334 property:P112 ?q . ?q rdf:type ontology:Q502895 }
University of North Carolina at Chapel Hill
action filter_type
action find
entity University of North Carolina at Chapel Hill
relation founder
type common name
['University of North Carolina at Chapel Hill', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:University_of_North_Carolina_at_Chapel_Hill property:founder ?q . ?q rdf:type ontology:common_name }
[]
common name
Q687082
SYSTEM
William Richardson Davie
Q687082
(Q192334,P112,c(Q502895))
action filter_type
action find
entity Q192334
relation P112
type Q502895
[ANSWER] was the founder of that university
['Q192334', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q192334 property:P112 ?q . ?q rdf:type ontology:Q502895 }
William Richardson Davie
William Richardson Davie was the founder of that university
William Richardson Davie
action filter_type
action find
entity University of North Carolina at Chapel Hill
relation founder
type common name
['University of North Carolina at Chapel Hill', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:University_of_North_Carolina_at_Chapel_Hill property:founder ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q687082 Q192334
P112
Q3918
USER
Was University of North Carolina at Chapel Hill founded by that person ?
(Q192334,P112,Q687082)
action is_in
entity Q687082
action find
entity Q192334
relation P112
['Q192334', 'P112', 'Q687082']
ASK WHERE { resource:Q192334 property:P112 resource:Q687082 }
William Richardson Davie University of North Carolina at Chapel Hill
action is_in
entity William Richardson Davie
action find
entity University of North Carolina at Chapel Hill
relation founder
['University of North Carolina at Chapel Hill', 'founder', 'William Richardson Davie']
ASK WHERE { resource:University_of_North_Carolina_at_Chapel_Hill property:founder resource:William_Richardson_Davie }
[]
university
SYSTEM
YES
(Q192334,P112,Q687082)
action is_in
entity Q687082
action find
entity Q192334
relation P112
[ANSWER]
['Q192334', 'P112', 'Q687082']
ASK WHERE { resource:Q192334 property:P112 resource:Q687082 }
Yes
action is_in
entity William Richardson Davie
action find
entity University of North Carolina at Chapel Hill
relation founder
['University of North Carolina at Chapel Hill', 'founder', 'William Richardson Davie']
ASK WHERE { resource:University_of_North_Carolina_at_Chapel_Hill property:founder resource:William_Richardson_Davie }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q687082
P241
Q781132
USER
Which military branch did William Richardson Davie belong to ?
(Q687082,P241,c(Q781132))
action filter_type
action find
entity Q687082
relation P241
type Q781132
['Q687082', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { resource:Q687082 property:P241 ?l . ?l rdf:type ontology:Q781132 }
William Richardson Davie
action filter_type
action find
entity William Richardson Davie
relation military branch
type military branch
['William Richardson Davie', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { resource:William_Richardson_Davie property:military_branch ?l . ?l rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q687082,P241,c(Q781132))
action filter_type
action find
entity Q687082
relation P241
type Q781132
William Richardson Davie belonged to [ANSWER]
['Q687082', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { resource:Q687082 property:P241 ?l . ?l rdf:type ontology:Q781132 }
United States Army
William Richardson Davie belonged to United States Army
United States Army
action filter_type
action find
entity William Richardson Davie
relation military branch
type military branch
['William Richardson Davie', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { resource:William_Richardson_Davie property:military_branch ?l . ?l rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9212
P750
Q838948
USER
Who has that military branch as its distributor ?
(c(Q838948),P750,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P750
type Q838948
[{'concept': 'Q838948'}, 'P750', 'Q9212']
SELECT DISTINCT ?b WHERE { ?b property:P750 resource:Q9212 . ?b rdf:type ontology:Q838948 }
United States Army
action filter_type
action find_reverse
entity United States Army
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United States Army']
SELECT DISTINCT ?b WHERE { ?b property:distributor resource:United_States_Army . ?b rdf:type ontology:work_of_art }
[]
work of art
Q1141955
SYSTEM
Private Snafu
Q1141955
(c(Q838948),P750,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P750
type Q838948
[ANSWER] has that military branch as its distributor
[{'concept': 'Q838948'}, 'P750', 'Q9212']
SELECT DISTINCT ?b WHERE { ?b property:P750 resource:Q9212 . ?b rdf:type ontology:Q838948 }
Private Snafu
Private Snafu has that military branch as its distributor
Private Snafu
action filter_type
action find_reverse
entity United States Army
relation distributor
type work of art
[{'concept': 'work of art'}, 'distributor', 'United States Army']
SELECT DISTINCT ?b WHERE { ?b property:distributor resource:United_States_Army . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7572944
P1435
Q41176
USER
Which building heritage status does Spains Hall have ?
(Q7572944,P1435,c(Q41176))
action filter_type
action find
entity Q7572944
relation P1435
type Q41176
['Q7572944', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?k WHERE { resource:Q7572944 property:P1435 ?k . ?k rdf:type ontology:Q41176 }
Spains Hall
action filter_type
action find
entity Spains Hall
relation heritage status
type building
['Spains Hall', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?k WHERE { resource:Spains_Hall property:heritage_status ?k . ?k rdf:type ontology:building }
[]
building
Q15700818
SYSTEM
Grade I listed building
Q15700818
(Q7572944,P1435,c(Q41176))
action filter_type
action find
entity Q7572944
relation P1435
type Q41176
[ANSWER] does Spains Hall have
['Q7572944', 'P1435', {'concept': 'Q41176'}]
SELECT DISTINCT ?k WHERE { resource:Q7572944 property:P1435 ?k . ?k rdf:type ontology:Q41176 }
Grade I listed building
Grade I listed building does Spains Hall have
Grade I listed building
action filter_type
action find
entity Spains Hall
relation heritage status
type building
['Spains Hall', 'heritage status', {'concept': 'building'}]
SELECT DISTINCT ?k WHERE { resource:Spains_Hall property:heritage_status ?k . ?k rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15700818
P17
Q15617994
USER
Which administrative territory is that building situated in ?
(Q15700818,P17,c(Q15617994))
action filter_type
action find
entity Q15700818
relation P17
type Q15617994
['Q15700818', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q15700818 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Grade I listed building
action filter_type
action find
entity Grade I listed building
relation country
type designation for an administrative territorial entity
['Grade I listed building', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Grade_I_listed_building property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q15700818,P17,c(Q15617994))
action filter_type
action find
entity Q15700818
relation P17
type Q15617994
That building is situated in [ANSWER]
['Q15700818', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q15700818 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
United Kingdom
That building is situated in United Kingdom
United Kingdom
action filter_type
action find
entity Grade I listed building
relation country
type designation for an administrative territorial entity
['Grade I listed building', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Grade_I_listed_building property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9212
P749
Q21506450
USER
Which military unit size class is owned by United States Army ?
(c(Q21506450),P749,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P749
type Q21506450
[{'concept': 'Q21506450'}, 'P749', 'Q9212']
SELECT DISTINCT ?b WHERE { ?b property:P749 resource:Q9212 . ?b rdf:type ontology:Q21506450 }
United States Army
action filter_type
action find_reverse
entity United States Army
relation parent organization
type military unit size class
[{'concept': 'military unit size class'}, 'parent organization', 'United States Army']
SELECT DISTINCT ?b WHERE { ?b property:parent_organization resource:United_States_Army . ?b rdf:type ontology:military_unit_size_class }
[]
military unit size class
Q495203
SYSTEM
75th Ranger Regiment
Q495203
(c(Q21506450),P749,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P749
type Q21506450
[ANSWER] is owned by United States Army
[{'concept': 'Q21506450'}, 'P749', 'Q9212']
SELECT DISTINCT ?b WHERE { ?b property:P749 resource:Q9212 . ?b rdf:type ontology:Q21506450 }
75th Ranger Regiment
75th Ranger Regiment is owned by United States Army
75th Ranger Regiment
action filter_type
action find_reverse
entity United States Army
relation parent organization
type military unit size class
[{'concept': 'military unit size class'}, 'parent organization', 'United States Army']
SELECT DISTINCT ?b WHERE { ?b property:parent_organization resource:United_States_Army . ?b rdf:type ontology:military_unit_size_class }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P121
Q20027951 Q21506450
USER
Which aircraft power classes are the facilities operated by min number of military unit size classes ?
(c(Q21506450),P121,Q337467)
action argmin
action find_reverse_tuple_counts
relation P121
type Q20027951
type Q21506450
[{'concept': 'Q21506450'}, 'P121', 'Q337467']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P121 ?e . ?e rdf:type ontology:Q20027951 . ?u rdf:type ontology:Q21506450 } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P121 ?j . ?j rdf:type ontology:Q20027951 . ?q rdf:type ontology:Q21506450 } GROUP BY ?j } . FILTER ( ?a = ?h ) }
action argmin
action find_reverse_tuple_counts
relation item operated
type aircraft power class
type military unit size class
[{'concept': 'military unit size class'}, 'item operated', 'An-24']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:item_operated ?e . ?e rdf:type ontology:aircraft_power_class . ?u rdf:type ontology:military_unit_size_class } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:item_operated ?j . ?j rdf:type ontology:aircraft_power_class . ?q rdf:type ontology:military_unit_size_class } GROUP BY ?j } . FILTER ( ?a = ?h ) }
[]
aircraft power class military unit size class
Q62167 Q198024 Q169427
SYSTEM
Ilyushin Il-86, Predator, Mi-4
Q887246 Q62156 Q815688 Q1341050 Q9384415 Q261384 Q890178 Q1057265 Q1194904 Q1156933 Q159186 Q499179 Q181251 Q39654 Q182012 Q198024 Q1141716 Q868346 Q14905849 Q917907 Q838601 Q1330180 Q2140324 Q120323 Q189064 Q257298 Q585162 Q19848941 Q890198 Q1057430 Q751141 Q774653 Q62167 Q686708 Q799582 Q1057117 Q26790 Q319361 Q466590 Q164523 Q185000 Q160853 Q8791 Q947947 Q1474251 Q1153846 Q1171993 Q182575 Q580542 Q2348731 Q153826 Q952417 Q46397 Q943315 Q791469 Q673038 Q1057183 Q1608823 Q729331 Q498786 Q607355 Q1860313 Q160266 Q272571 Q486066 Q169427 Q1057123 Q911668 Q1057252 Q723397 Q184870 Q505649 Q337467
(c(Q21506450),P121,Q337467)
action argmin
action find_reverse_tuple_counts
relation P121
type Q20027951
type Q21506450
[ANSWERS] are the facilities operated by min number of military unit size classes
[{'concept': 'Q21506450'}, 'P121', 'Q337467']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P121 ?e . ?e rdf:type ontology:Q20027951 . ?u rdf:type ontology:Q21506450 } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P121 ?j . ?j rdf:type ontology:Q20027951 . ?q rdf:type ontology:Q21506450 } GROUP BY ?j } . FILTER ( ?a = ?h ) }
Fokker C.X An-26 Bell 412 Schempp-Hirth Duo Discus Boeing 747-300 Boeing E-3 Sentry Boeing 307 Cessna 441 Sikorsky MH-53 Learjet 45 Lockheed Martin RQ-170 Sentinel Boeing E-4 Alouette III EC135 Lockheed C-5 Galaxy Predator Sikorsky S-76 Fokker F.10 Avro RJ85 Bristol Britannia Fokker D.XXI Folland Gnat Short 360 Beechcraft Model 99 Lockheed U-2 Fokker 100 McDonnell Douglas KC-10 Extender Embraer 170/175 Boeing 80 Cessna Citation X Fokker 50 Basler BT-67 Ilyushin Il-86 Cessna 182 Fokker D.X Cessna 150 Dassault Falcon 2000 Mirage F1 Tupolev Tu-204 Northrop T-38 Talon B-17 Flying Fortress F-84 Thunderjet Boeing 747-8 Vickers VC10 Falcon 20 Mitsubishi Regional Jet Dassault Falcon 7X Il-62 F7U Cutlass Cessna 152 F-86 Sabre Phenom 300 F/A-18 Hornet Pe-2 Peshka Avro Anson Cessna Citation Excel Cessna 206 Cessna CitationJet Boeing 247 Northrop Grumman E-8 Joint STARS Antonov An-148 Fokker C.V Il-18 Ilyushin Il-96 Sukhoi Superjet 100 Mi-4 Cessna 185 Cessna Citation V Cessna 404 Titan Fokker 70 B-29 Superfortress Yak-42 An-24
Ilyushin Il-86, Predator and Mi-4 are the facilities operated by min number of military unit size classes
Ilyushin Il-86 Predator Mi-4
action argmin
action find_reverse_tuple_counts
relation item operated
type aircraft power class
type military unit size class
[{'concept': 'military unit size class'}, 'item operated', 'An-24']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:item_operated ?e . ?e rdf:type ontology:aircraft_power_class . ?u rdf:type ontology:military_unit_size_class } GROUP BY ?e } } . { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:item_operated ?j . ?j rdf:type ontology:aircraft_power_class . ?q rdf:type ontology:military_unit_size_class } GROUP BY ?j } . FILTER ( ?a = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q174174
P516
Q16058315 Q20027951
USER
Which combustion engines are the sources of power of around the same number of aircraft power classes as diesel engine ?
(c(Q20027951),P516,c(Q16058315))
action approx
action find_reverse_tuple_counts
relation P516
type Q16058315
type Q20027951
action count
action filter_type
action find
entity Q174174
relation P516
type Q16058315
[{'concept': 'Q20027951'}, 'P516', {'concept': 'Q16058315'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P516 ?u . ?u rdf:type ontology:Q16058315 . ?y rdf:type ontology:Q20027951 } GROUP BY ?u } . FILTER ( ?e = ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q174174 property:P516 ?z . ?z rdf:type ontology:Q16058315 } } }
diesel engine
action approx
action find_reverse_tuple_counts
relation powerplant
type combustion engine
type aircraft power class
action count
action filter_type
action find
entity diesel engine
relation powerplant
type combustion engine
[{'concept': 'aircraft power class'}, 'powerplant', {'concept': 'combustion engine'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:powerplant ?u . ?u rdf:type ontology:combustion_engine . ?y rdf:type ontology:aircraft_power_class } GROUP BY ?u } . FILTER ( ?e = ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:diesel_engine property:powerplant ?z . ?z rdf:type ontology:combustion_engine } } }
[]
combustion engine aircraft power class
Q174174 Q12760 Q7941282
SYSTEM
diesel engine, steam engine, Volvo B18 engine
Q1528375 Q7941282 Q6018565 Q743004 Q186212 Q174174 Q12760 Q1498468
(c(Q20027951),P516,c(Q16058315))
action approx
action find_reverse_tuple_counts
relation P516
type Q16058315
type Q20027951
action count
action filter_type
action find
entity Q174174
relation P516
type Q16058315
[ANSWERS] are the sources of power of around the same number of aircraft power classes as diesel engine
[{'concept': 'Q20027951'}, 'P516', {'concept': 'Q16058315'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P516 ?u . ?u rdf:type ontology:Q16058315 . ?y rdf:type ontology:Q20027951 } GROUP BY ?u } . FILTER ( ?e = ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q174174 property:P516 ?z . ?z rdf:type ontology:Q16058315 } } }
Volvo B30 engine Volvo B18 engine combustion motor aircraft engine Stirling engine diesel engine steam engine hydrogen internal combustion engine
Diesel engine, steam engine and Volvo B18 engine are the sources of power of around the same number of aircraft power classes as diesel engine
diesel engine steam engine Volvo B18 engine
action approx
action find_reverse_tuple_counts
relation powerplant
type combustion engine
type aircraft power class
action count
action filter_type
action find
entity diesel engine
relation powerplant
type combustion engine
[{'concept': 'aircraft power class'}, 'powerplant', {'concept': 'combustion engine'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:powerplant ?u . ?u rdf:type ontology:combustion_engine . ?y rdf:type ontology:aircraft_power_class } GROUP BY ?u } . FILTER ( ?e = ?h ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:diesel_engine property:powerplant ?z . ?z rdf:type ontology:combustion_engine } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q12760
P516
Q16058315 Q20027951
USER
And what about steam engine?
(c(Q20027951),P516,c(Q16058315))
action approx
action find_reverse_tuple_counts
relation P516
type Q16058315
type Q20027951
action count
action filter_type
action find
entity Q12760
relation P516
type Q16058315
[{'concept': 'Q20027951'}, 'P516', {'concept': 'Q16058315'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Q12760 property:P516 ?t . ?t rdf:type ontology:Q16058315 } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P516 ?x . ?x rdf:type ontology:Q16058315 . ?f rdf:type ontology:Q20027951 } GROUP BY ?x } }
steam engine
action approx
action find_reverse_tuple_counts
relation powerplant
type combustion engine
type aircraft power class
action count
action filter_type
action find
entity steam engine
relation powerplant
type combustion engine
[{'concept': 'aircraft power class'}, 'powerplant', {'concept': 'combustion engine'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:steam_engine property:powerplant ?t . ?t rdf:type ontology:combustion_engine } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:powerplant ?x . ?x rdf:type ontology:combustion_engine . ?f rdf:type ontology:aircraft_power_class } GROUP BY ?x } }
[]
combustion engine aircraft power class
Q174174 Q12760 Q7941282
SYSTEM
diesel engine, steam engine, Volvo B18 engine
Q1528375 Q7941282 Q6018565 Q743004 Q186212 Q174174 Q12760 Q1498468
(c(Q20027951),P516,c(Q16058315))
action approx
action find_reverse_tuple_counts
relation P516
type Q16058315
type Q20027951
action count
action filter_type
action find
entity Q12760
relation P516
type Q16058315
[ANSWERS]
[{'concept': 'Q20027951'}, 'P516', {'concept': 'Q16058315'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:Q12760 property:P516 ?t . ?t rdf:type ontology:Q16058315 } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P516 ?x . ?x rdf:type ontology:Q16058315 . ?f rdf:type ontology:Q20027951 } GROUP BY ?x } }
Volvo B30 engine Volvo B18 engine combustion motor aircraft engine Stirling engine diesel engine steam engine hydrogen internal combustion engine
diesel engine steam engine Volvo B18 engine
action approx
action find_reverse_tuple_counts
relation powerplant
type combustion engine
type aircraft power class
action count
action filter_type
action find
entity steam engine
relation powerplant
type combustion engine
[{'concept': 'aircraft power class'}, 'powerplant', {'concept': 'combustion engine'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { resource:steam_engine property:powerplant ?t . ?t rdf:type ontology:combustion_engine } } . FILTER ( ?z = ?p ) . { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:powerplant ?x . ?x rdf:type ontology:combustion_engine . ?f rdf:type ontology:aircraft_power_class } GROUP BY ?x } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q14713606 Q12760
P516 P793
Q2235308
USER
Which ship types have steam engine as the source of power and are ship launch a significant event of ?
AND((c(Q2235308),P516,Q12760), (c(Q2235308),P793,Q14713606))
action filter_type
action intersection
action find_reverse
entity Q12760
relation P516
action find_reverse
entity Q14713606
relation P793
type Q2235308
{'AND': [[{'concept': 'Q2235308'}, 'P516', 'Q12760'], [{'concept': 'Q2235308'}, 'P793', 'Q14713606']]}
SELECT DISTINCT ?j WHERE { ?j property:P793 resource:Q14713606 . ?j property:P516 resource:Q12760 . ?j rdf:type ontology:Q2235308 }
ship launch steam engine
action filter_type
action intersection
action find_reverse
entity steam engine
relation powerplant
action find_reverse
entity ship launch
relation significant event
type ship type
{'AND': [[{'concept': 'ship type'}, 'powerplant', 'steam engine'], [{'concept': 'ship type'}, 'significant event', 'ship launch']]}
SELECT DISTINCT ?j WHERE { ?j property:significant_event resource:ship_launch . ?j property:powerplant resource:steam_engine . ?j rdf:type ontology:ship_type }
[]
ship type
Q10659340 Q10659318 Q3496868 Q10573203
SYSTEM
S/S Storskär, S/S Norrskär, SS Sankt Erik, M/S Västan
Q10659340 Q10659318 Q3496868 Q10573203
AND((c(Q2235308),P516,Q12760), (c(Q2235308),P793,Q14713606))
action filter_type
action intersection
action find_reverse
entity Q12760
relation P516
action find_reverse
entity Q14713606
relation P793
type Q2235308
[ANSWERS] have steam engine as the source of power and are ship launch a significant event of
{'AND': [[{'concept': 'Q2235308'}, 'P516', 'Q12760'], [{'concept': 'Q2235308'}, 'P793', 'Q14713606']]}
SELECT DISTINCT ?j WHERE { ?j property:P793 resource:Q14713606 . ?j property:P516 resource:Q12760 . ?j rdf:type ontology:Q2235308 }
S/S Storskär S/S Norrskär SS Sankt Erik M/S Västan
S/S Storskär, S/S Norrskär, SS Sankt Erik and M/S Västan have steam engine as the source of power and are ship launch a significant event of
S/S Storskär S/S Norrskär SS Sankt Erik M/S Västan
action filter_type
action intersection
action find_reverse
entity steam engine
relation powerplant
action find_reverse
entity ship launch
relation significant event
type ship type
{'AND': [[{'concept': 'ship type'}, 'powerplant', 'steam engine'], [{'concept': 'ship type'}, 'significant event', 'ship launch']]}
SELECT DISTINCT ?j WHERE { ?j property:significant_event resource:ship_launch . ?j property:powerplant resource:steam_engine . ?j rdf:type ontology:ship_type }
[]