Simple Question (Direct)
Simple Question
Q1053842
P138
Q2235308
USER
Which ship type is the origin of Tarawa-class amphibious assault ship ?
(Q1053842,P138,c(Q2235308))
action filter_type
action find
entity Q1053842
relation P138
type Q2235308
['Q1053842', 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?y WHERE { resource:Q1053842 property:P138 ?y . ?y rdf:type ontology:Q2235308 }
Tarawa-class amphibious assault ship
action filter_type
action find
entity Tarawa-class amphibious assault ship
relation named after
type ship type
['Tarawa-class amphibious assault ship', 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?y WHERE { resource:Tarawa-class_amphibious_assault_ship property:named_after ?y . ?y rdf:type ontology:ship_type }
[]
ship type
Q1152088
SYSTEM
USS Tarawa
Q1152088
(Q1053842,P138,c(Q2235308))
action filter_type
action find
entity Q1053842
relation P138
type Q2235308
[ANSWER] is the origin of Tarawa-class amphibious assault ship
['Q1053842', 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?y WHERE { resource:Q1053842 property:P138 ?y . ?y rdf:type ontology:Q2235308 }
USS Tarawa
USS Tarawa is the origin of Tarawa-class amphibious assault ship
USS Tarawa
action filter_type
action find
entity Tarawa-class amphibious assault ship
relation named after
type ship type
['Tarawa-class amphibious assault ship', 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?y WHERE { resource:Tarawa-class_amphibious_assault_ship property:named_after ?y . ?y rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1152088
P289
Q2235308
USER
What is the vessel class of that one ?
(Q1152088,P289,c(Q2235308))
action filter_type
action find
entity Q1152088
relation P289
type Q2235308
['Q1152088', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2235308 . resource:Q1152088 property:P289 ?u }
USS Tarawa
action filter_type
action find
entity USS Tarawa
relation vessel class
type ship type
['USS Tarawa', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:ship_type . resource:USS_Tarawa property:vessel_class ?u }
[]
ship type
Q1053842
SYSTEM
Tarawa-class amphibious assault ship
Q1053842
(Q1152088,P289,c(Q2235308))
action filter_type
action find
entity Q1152088
relation P289
type Q2235308
The vessel class of that one is the [ANSWER]
['Q1152088', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2235308 . resource:Q1152088 property:P289 ?u }
Tarawa-class amphibious assault ship
The vessel class of that one is the Tarawa-class amphibious assault ship
Tarawa-class amphibious assault ship
action filter_type
action find
entity USS Tarawa
relation vessel class
type ship type
['USS Tarawa', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:ship_type . resource:USS_Tarawa property:vessel_class ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P520
Q16889133 Q1194773
USER
How many classes or projectile weapons are used as arms by that ship type ?
(Q1053842,P520,c(Q16889133)) (Q1053842,P520,c(Q1194773)) (Q1053842,P520,c(Q16889133)) (Q1053842,P520,c(Q1194773))
action count
action union
action filter_type
action find
entity Q1053842
relation P520
type Q16889133
action filter_type
action find
entity Q1053842
relation P520
type Q1194773
['Q1053842', 'P520', {'concept': 'Q16889133'}] ['Q1053842', 'P520', {'concept': 'Q1194773'}] ['Q1053842', 'P520', {'concept': 'Q16889133'}] ['Q1053842', 'P520', {'concept': 'Q1194773'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { VALUES ( ?u ) { ( ontology:Q16889133 ) ( ontology:Q1194773 ) } . ?l rdf:type ?u }
action count
action union
action filter_type
action find
entity Tarawa-class amphibious assault ship
relation armament
type class
action filter_type
action find
entity Tarawa-class amphibious assault ship
relation armament
type projectile weapon
['Tarawa-class amphibious assault ship', 'armament', {'concept': 'class'}] ['Tarawa-class amphibious assault ship', 'armament', {'concept': 'projectile weapon'}] ['Tarawa-class amphibious assault ship', 'armament', {'concept': 'class'}] ['Tarawa-class amphibious assault ship', 'armament', {'concept': 'projectile weapon'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { VALUES ( ?u ) { ( ontology:class ) ( ontology:projectile_weapon ) } . ?l rdf:type ?u }
[]
class projectile weapon
SYSTEM
2
Q138729 Q218932
(Q1053842,P520,c(Q16889133)) (Q1053842,P520,c(Q1194773)) (Q1053842,P520,c(Q16889133)) (Q1053842,P520,c(Q1194773))
action count
action union
action filter_type
action find
entity Q1053842
relation P520
type Q16889133
action filter_type
action find
entity Q1053842
relation P520
type Q1194773
[ANSWER]
['Q1053842', 'P520', {'concept': 'Q16889133'}] ['Q1053842', 'P520', {'concept': 'Q1194773'}] ['Q1053842', 'P520', {'concept': 'Q16889133'}] ['Q1053842', 'P520', {'concept': 'Q1194773'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { VALUES ( ?u ) { ( ontology:Q16889133 ) ( ontology:Q1194773 ) } . ?l rdf:type ?u }
M242 Bushmaster M2
2
action count
action union
action filter_type
action find
entity Tarawa-class amphibious assault ship
relation armament
type class
action filter_type
action find
entity Tarawa-class amphibious assault ship
relation armament
type projectile weapon
['Tarawa-class amphibious assault ship', 'armament', {'concept': 'class'}] ['Tarawa-class amphibious assault ship', 'armament', {'concept': 'projectile weapon'}] ['Tarawa-class amphibious assault ship', 'armament', {'concept': 'class'}] ['Tarawa-class amphibious assault ship', 'armament', {'concept': 'projectile weapon'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { VALUES ( ?u ) { ( ontology:class ) ( ontology:projectile_weapon ) } . ?l rdf:type ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1053842
P121
Q20031543
USER
What is operated by Tarawa-class amphibious assault ship ?
(Q1053842,P121,c(Q20031543))
action filter_type
action find
entity Q1053842
relation P121
type Q20031543
['Q1053842', 'P121', {'concept': 'Q20031543'}]
SELECT DISTINCT ?n WHERE { resource:Q1053842 property:P121 ?n . ?n rdf:type ontology:Q20031543 }
Tarawa-class amphibious assault ship
action filter_type
action find
entity Tarawa-class amphibious assault ship
relation item operated
type aircraft takeoff and landing class
['Tarawa-class amphibious assault ship', 'item operated', {'concept': 'aircraft takeoff and landing class'}]
SELECT DISTINCT ?n WHERE { resource:Tarawa-class_amphibious_assault_ship property:item_operated ?n . ?n rdf:type ontology:aircraft_takeoff_and_landing_class }
[]
aircraft takeoff and landing class
Q635687
SYSTEM
AV-8B Harrier II
Q635687
(Q1053842,P121,c(Q20031543))
action filter_type
action find
entity Q1053842
relation P121
type Q20031543
[ANSWER] is operated by Tarawa-class amphibious assault ship
['Q1053842', 'P121', {'concept': 'Q20031543'}]
SELECT DISTINCT ?n WHERE { resource:Q1053842 property:P121 ?n . ?n rdf:type ontology:Q20031543 }
AV-8B Harrier II
AV-8B Harrier II is operated by Tarawa-class amphibious assault ship
AV-8B Harrier II
action filter_type
action find
entity Tarawa-class amphibious assault ship
relation item operated
type aircraft takeoff and landing class
['Tarawa-class amphibious assault ship', 'item operated', {'concept': 'aircraft takeoff and landing class'}]
SELECT DISTINCT ?n WHERE { resource:Tarawa-class_amphibious_assault_ship property:item_operated ?n . ?n rdf:type ontology:aircraft_takeoff_and_landing_class }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q635687
P180
Q571
USER
Which book expresses that aircraft takeoff and landing class ?
(c(Q571),P180,Q635687)
action filter_type
action find_reverse
entity Q635687
relation P180
type Q571
[{'concept': 'Q571'}, 'P180', 'Q635687']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q635687 . ?y rdf:type ontology:Q571 }
AV-8B Harrier II
action filter_type
action find_reverse
entity AV-8B Harrier II
relation depicts
type book
[{'concept': 'book'}, 'depicts', 'AV-8B Harrier II']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:AV-8B_Harrier_II . ?y rdf:type ontology:book }
[]
book
Q15054611
SYSTEM
BAe/McDD Harrier
Q15054611
(c(Q571),P180,Q635687)
action filter_type
action find_reverse
entity Q635687
relation P180
type Q571
[ANSWER] expresses that aircraft takeoff and landing class
[{'concept': 'Q571'}, 'P180', 'Q635687']
SELECT DISTINCT ?y WHERE { ?y property:P180 resource:Q635687 . ?y rdf:type ontology:Q571 }
BAe/McDD Harrier
BAe/McDD Harrier expresses that aircraft takeoff and landing class
BAe/McDD Harrier
action filter_type
action find_reverse
entity AV-8B Harrier II
relation depicts
type book
[{'concept': 'book'}, 'depicts', 'AV-8B Harrier II']
SELECT DISTINCT ?y WHERE { ?y property:depicts resource:AV-8B_Harrier_II . ?y rdf:type ontology:book }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q635687
P176
Q1269299
USER
How many business organizations are the makers of AV-8B Harrier II ?
(Q635687,P176,c(Q1269299))
action count
action filter_type
action find
entity Q635687
relation P176
type Q1269299
['Q635687', 'P176', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q635687 property:P176 ?w . ?w rdf:type ontology:Q1269299 }
AV-8B Harrier II
action count
action filter_type
action find
entity AV-8B Harrier II
relation manufacturer
type type of business entity
['AV-8B Harrier II', 'manufacturer', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:AV-8B_Harrier_II property:manufacturer ?w . ?w rdf:type ontology:type_of_business_entity }
[]
type of business entity
SYSTEM
1
Q739416
(Q635687,P176,c(Q1269299))
action count
action filter_type
action find
entity Q635687
relation P176
type Q1269299
[ANSWER]
['Q635687', 'P176', {'concept': 'Q1269299'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q635687 property:P176 ?w . ?w rdf:type ontology:Q1269299 }
BAE Systems
1
action count
action filter_type
action find
entity AV-8B Harrier II
relation manufacturer
type type of business entity
['AV-8B Harrier II', 'manufacturer', {'concept': 'type of business entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:AV-8B_Harrier_II property:manufacturer ?w . ?w rdf:type ontology:type_of_business_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1053842
P176
Q4830453
USER
How many business enterprises are the makers of Tarawa-class amphibious assault ship ?
(Q1053842,P176,c(Q4830453))
action count
action filter_type
action find
entity Q1053842
relation P176
type Q4830453
['Q1053842', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Q1053842 property:P176 ?p . ?p rdf:type ontology:Q4830453 }
Tarawa-class amphibious assault ship
action count
action filter_type
action find
entity Tarawa-class amphibious assault ship
relation manufacturer
type business enterprise
['Tarawa-class amphibious assault ship', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Tarawa-class_amphibious_assault_ship property:manufacturer ?p . ?p rdf:type ontology:business_enterprise }
[]
business enterprise
SYSTEM
1
Q1193195
(Q1053842,P176,c(Q4830453))
action count
action filter_type
action find
entity Q1053842
relation P176
type Q4830453
[ANSWER]
['Q1053842', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Q1053842 property:P176 ?p . ?p rdf:type ontology:Q4830453 }
Ingalls Shipbuilding
1
action count
action filter_type
action find
entity Tarawa-class amphibious assault ship
relation manufacturer
type business enterprise
['Tarawa-class amphibious assault ship', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Tarawa-class_amphibious_assault_ship property:manufacturer ?p . ?p rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4836092
Q4830453
USER
And how about BMW B38?
(Q4836092,P176,c(Q4830453))
action count
action filter_type
action find
entity Q4836092
relation P176
type Q4830453
['Q4836092', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:Q4836092 property:P176 ?n . ?n rdf:type ontology:Q4830453 }
BMW B38
action count
action filter_type
action find
entity BMW B38
relation manufacturer
type business enterprise
['BMW B38', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:BMW_B38 property:manufacturer ?n . ?n rdf:type ontology:business_enterprise }
[]
business enterprise
SYSTEM
1
(Q4836092,P176,c(Q4830453))
action count
action filter_type
action find
entity Q4836092
relation P176
type Q4830453
[ANSWER]
['Q4836092', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:Q4836092 property:P176 ?n . ?n rdf:type ontology:Q4830453 }
1
action count
action filter_type
action find
entity BMW B38
relation manufacturer
type business enterprise
['BMW B38', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:BMW_B38 property:manufacturer ?n . ?n rdf:type ontology:business_enterprise }
[]