Simple Question (Direct)
Simple Question
Q5257105
P19
Q56061
USER
Which administrative territory is the birthplace of Denis Behan ?
(Q5257105,P19,c(Q56061))
action filter_type
action find
entity Q5257105
relation P19
type Q56061
['Q5257105', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q5257105 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Denis Behan
action filter_type
action find
entity Denis Behan
relation place of birth
type administrative territorial entity
['Denis Behan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Denis_Behan property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q213358
SYSTEM
Tralee
Q213358
(Q5257105,P19,c(Q56061))
action filter_type
action find
entity Q5257105
relation P19
type Q56061
[ANSWER] is the birthplace of Denis Behan
['Q5257105', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q5257105 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Tralee
Tralee is the birthplace of Denis Behan
Tralee
action filter_type
action find
entity Denis Behan
relation place of birth
type administrative territorial entity
['Denis Behan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Denis_Behan property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213358
P504
Q2235308
USER
What has that administrative territory as its home port ?
(c(Q2235308),P504,Q213358)
action filter_type
action find_reverse
entity Q213358
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q213358']
SELECT DISTINCT ?s WHERE { ?s property:P504 resource:Q213358 . ?s rdf:type ontology:Q2235308 }
Tralee
action filter_type
action find_reverse
entity Tralee
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Tralee']
SELECT DISTINCT ?s WHERE { ?s property:home_port resource:Tralee . ?s rdf:type ontology:ship_type }
[]
ship type
Q3175892
SYSTEM
Jeanie Johnston
Q3175892
(c(Q2235308),P504,Q213358)
action filter_type
action find_reverse
entity Q213358
relation P504
type Q2235308
[ANSWER] has that administrative territory as its home port
[{'concept': 'Q2235308'}, 'P504', 'Q213358']
SELECT DISTINCT ?s WHERE { ?s property:P504 resource:Q213358 . ?s rdf:type ontology:Q2235308 }
Jeanie Johnston
Jeanie Johnston has that administrative territory as its home port
Jeanie Johnston
action filter_type
action find_reverse
entity Tralee
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Tralee']
SELECT DISTINCT ?s WHERE { ?s property:home_port resource:Tralee . ?s rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3175892
P366
Q2235308
USER
Which ship types are the main uses of that one ?
(Q3175892,P366,c(Q2235308))
action filter_type
action find
entity Q3175892
relation P366
type Q2235308
['Q3175892', 'P366', {'concept': 'Q2235308'}]
SELECT DISTINCT ?p WHERE { resource:Q3175892 property:P366 ?p . ?p rdf:type ontology:Q2235308 }
Jeanie Johnston
action filter_type
action find
entity Jeanie Johnston
relation use
type ship type
['Jeanie Johnston', 'use', {'concept': 'ship type'}]
SELECT DISTINCT ?p WHERE { resource:Jeanie_Johnston property:use ?p . ?p rdf:type ontology:ship_type }
[]
ship type
Q575727 Q660668
SYSTEM
museum ship, training ship
Q575727 Q660668
(Q3175892,P366,c(Q2235308))
action filter_type
action find
entity Q3175892
relation P366
type Q2235308
[ANSWERS] are the main uses of that one
['Q3175892', 'P366', {'concept': 'Q2235308'}]
SELECT DISTINCT ?p WHERE { resource:Q3175892 property:P366 ?p . ?p rdf:type ontology:Q2235308 }
museum ship training ship
Museum ship and training ship are the main uses of that one
museum ship training ship
action filter_type
action find
entity Jeanie Johnston
relation use
type ship type
['Jeanie Johnston', 'use', {'concept': 'ship type'}]
SELECT DISTINCT ?p WHERE { resource:Jeanie_Johnston property:use ?p . ?p rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2235308 Q874405 Q17444909
USER
How many ship types are the origin of approximately 1 social groups and astronomical object types ?
(c(Q874405)|c(Q17444909),P138,c(Q2235308))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q874405
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q17444909
value 1
[[{'concept': 'Q874405'}, {'concept': 'Q17444909'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?v ) WHERE { VALUES ( ?d ) { ( ontology:Q874405 ) ( ontology:Q17444909 ) } . ?x rdf:type ?d } GROUP BY ?f } . FILTER ( ?v = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type ship type
type social group
action find_reverse_tuple_counts
relation named after
type ship type
type astronomical object type
value 1
[[{'concept': 'social group'}, {'concept': 'astronomical object type'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?v ) WHERE { VALUES ( ?d ) { ( ontology:social_group ) ( ontology:astronomical_object_type ) } . ?x rdf:type ?d } GROUP BY ?f } . FILTER ( ?v = 1 ) }
[]
ship type social group astronomical object type
SYSTEM
6
Q827360 Q900379 Q557286 Q1500360 Q7024076 Q449016
(c(Q874405)|c(Q17444909),P138,c(Q2235308))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q874405
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q17444909
value 1
[ANSWER]
[[{'concept': 'Q874405'}, {'concept': 'Q17444909'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?v ) WHERE { VALUES ( ?d ) { ( ontology:Q874405 ) ( ontology:Q17444909 ) } . ?x rdf:type ?d } GROUP BY ?f } . FILTER ( ?v = 1 ) }
USS Nautilus HMS Bounty Gorch Fock I Nautilus Niantic DSV Alvin
6
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type ship type
type social group
action find_reverse_tuple_counts
relation named after
type ship type
type astronomical object type
value 1
[[{'concept': 'social group'}, {'concept': 'astronomical object type'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?v ) WHERE { VALUES ( ?d ) { ( ontology:social_group ) ( ontology:astronomical_object_type ) } . ?x rdf:type ?d } GROUP BY ?f } . FILTER ( ?v = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q167085
P138
Q2235308 Q16521 Q34442
USER
Which ship types are the etymology of more number of taxons or roads than SMS Magdeburg ?
(c(Q16521)|c(Q34442),P138,c(Q2235308))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q16521
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q167085
relation P138
type Q16521
type Q34442
[[{'concept': 'Q16521'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:Q16521 ) ( ontology:Q34442 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:P138 resource:Q167085 . { { ?c rdf:type ontology:Q16521 } UNION { ?c rdf:type ontology:Q34442 } } } } . FILTER ( ?o > ?a ) }
SMS Magdeburg
action greater
action union
action find_reverse_tuple_counts
relation named after
type ship type
type taxon
action find_reverse_tuple_counts
relation named after
type ship type
type road
action count
action filter_multi_types
action find_reverse
entity SMS Magdeburg
relation named after
type taxon
type road
[[{'concept': 'taxon'}, {'concept': 'road'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:taxon ) ( ontology:road ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:named_after resource:SMS_Magdeburg . { { ?c rdf:type ontology:taxon } UNION { ?c rdf:type ontology:road } } } } . FILTER ( ?o > ?a ) }
[]
ship type taxon road
Q7432747 Q210223 Q175437
SYSTEM
Schooner Te Vega, sloop, SS Vega
Q7432747 Q210223 Q175437
(c(Q16521)|c(Q34442),P138,c(Q2235308))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q16521
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q167085
relation P138
type Q16521
type Q34442
[ANSWERS] are the etymology of more number of taxons or roads than SMS Magdeburg
[[{'concept': 'Q16521'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:Q16521 ) ( ontology:Q34442 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:P138 resource:Q167085 . { { ?c rdf:type ontology:Q16521 } UNION { ?c rdf:type ontology:Q34442 } } } } . FILTER ( ?o > ?a ) }
Schooner Te Vega sloop SS Vega
Schooner Te Vega, sloop and SS Vega are the etymology of more number of taxons or roads than SMS Magdeburg
Schooner Te Vega sloop SS Vega
action greater
action union
action find_reverse_tuple_counts
relation named after
type ship type
type taxon
action find_reverse_tuple_counts
relation named after
type ship type
type road
action count
action filter_multi_types
action find_reverse
entity SMS Magdeburg
relation named after
type taxon
type road
[[{'concept': 'taxon'}, {'concept': 'road'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?o ) WHERE { ?h rdf:type ?k . VALUES ( ?k ) { ( ontology:taxon ) ( ontology:road ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:named_after resource:SMS_Magdeburg . { { ?c rdf:type ontology:taxon } UNION { ?c rdf:type ontology:road } } } } . FILTER ( ?o > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1138094
P138
Q2235308 Q16521 Q34442
USER
And how about Japanese battleship Tosa?
(c(Q16521)|c(Q34442),P138,c(Q2235308))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q16521
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q1138094
relation P138
type Q16521
type Q34442
[[{'concept': 'Q16521'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?l WHERE { VALUES ( ?a ) { ( ontology:Q34442 ) ( ontology:Q16521 ) } . ?c rdf:type ?a } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P138 resource:Q1138094 . { VALUES ( ?f ) { ( ontology:Q16521 ) ( ontology:Q34442 ) } . ?g rdf:type ?f } } } . FILTER ( ?q > ?v ) }
Japanese battleship Tosa
action greater
action union
action find_reverse_tuple_counts
relation named after
type ship type
type taxon
action find_reverse_tuple_counts
relation named after
type ship type
type road
action count
action filter_multi_types
action find_reverse
entity Japanese battleship Tosa
relation named after
type taxon
type road
[[{'concept': 'taxon'}, {'concept': 'road'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?l WHERE { VALUES ( ?a ) { ( ontology:road ) ( ontology:taxon ) } . ?c rdf:type ?a } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:named_after resource:Japanese_battleship_Tosa . { VALUES ( ?f ) { ( ontology:taxon ) ( ontology:road ) } . ?g rdf:type ?f } } } . FILTER ( ?q > ?v ) }
[]
ship type taxon road
Q7432747 Q210223 Q175437
SYSTEM
Schooner Te Vega, sloop, SS Vega
Q7432747 Q210223 Q175437
(c(Q16521)|c(Q34442),P138,c(Q2235308))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q16521
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q1138094
relation P138
type Q16521
type Q34442
[ANSWERS]
[[{'concept': 'Q16521'}, {'concept': 'Q34442'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?l WHERE { VALUES ( ?a ) { ( ontology:Q34442 ) ( ontology:Q16521 ) } . ?c rdf:type ?a } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:P138 resource:Q1138094 . { VALUES ( ?f ) { ( ontology:Q16521 ) ( ontology:Q34442 ) } . ?g rdf:type ?f } } } . FILTER ( ?q > ?v ) }
Schooner Te Vega sloop SS Vega
Schooner Te Vega sloop SS Vega
action greater
action union
action find_reverse_tuple_counts
relation named after
type ship type
type taxon
action find_reverse_tuple_counts
relation named after
type ship type
type road
action count
action filter_multi_types
action find_reverse
entity Japanese battleship Tosa
relation named after
type taxon
type road
[[{'concept': 'taxon'}, {'concept': 'road'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) ?l WHERE { VALUES ( ?a ) { ( ontology:road ) ( ontology:taxon ) } . ?c rdf:type ?a } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g property:named_after resource:Japanese_battleship_Tosa . { VALUES ( ?f ) { ( ontology:taxon ) ( ontology:road ) } . ?g rdf:type ?f } } } . FILTER ( ?q > ?v ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4384149 Q1138094
P289
Q2235308
USER
Which ship types do the vessel classes of Japanese battleship Tosa or USS Chauncey belong to ?
OR((Q1138094,P289,c(Q2235308)), (Q4384149,P289,c(Q2235308)))
action filter_type
action union
action find
entity Q1138094
relation P289
action find
entity Q4384149
relation P289
type Q2235308
{'OR': [['Q1138094', 'P289', {'concept': 'Q2235308'}], ['Q4384149', 'P289', {'concept': 'Q2235308'}]]}
SELECT DISTINCT ?f WHERE { { ?h property:P289 ?f . VALUES ( ?h ) { ( resource:Q4384149 ) ( resource:Q1138094 ) } } . ?f rdf:type ontology:Q2235308 }
USS Chauncey Japanese battleship Tosa
action filter_type
action union
action find
entity Japanese battleship Tosa
relation vessel class
action find
entity USS Chauncey
relation vessel class
type ship type
{'OR': [['Japanese battleship Tosa', 'vessel class', {'concept': 'ship type'}], ['USS Chauncey', 'vessel class', {'concept': 'ship type'}]]}
SELECT DISTINCT ?f WHERE { { ?h property:vessel_class ?f . VALUES ( ?h ) { ( resource:USS_Chauncey ) ( resource:Japanese_battleship_Tosa ) } } . ?f rdf:type ontology:ship_type }
[]
ship type
Q959834 Q616062
SYSTEM
Tosa-class battleship, Bainbridge-class destroyer
Q959834 Q616062
OR((Q1138094,P289,c(Q2235308)), (Q4384149,P289,c(Q2235308)))
action filter_type
action union
action find
entity Q1138094
relation P289
action find
entity Q4384149
relation P289
type Q2235308
The [ANSWERS] the vessel classes of Japanese battleship Tosa or USS Chauncey belong to
{'OR': [['Q1138094', 'P289', {'concept': 'Q2235308'}], ['Q4384149', 'P289', {'concept': 'Q2235308'}]]}
SELECT DISTINCT ?f WHERE { { ?h property:P289 ?f . VALUES ( ?h ) { ( resource:Q4384149 ) ( resource:Q1138094 ) } } . ?f rdf:type ontology:Q2235308 }
Tosa-class battleship Bainbridge-class destroyer
The Tosa-class battleship and Bainbridge-class destroyer the vessel classes of Japanese battleship Tosa or USS Chauncey belong to
Tosa-class battleship Bainbridge-class destroyer
action filter_type
action union
action find
entity Japanese battleship Tosa
relation vessel class
action find
entity USS Chauncey
relation vessel class
type ship type
{'OR': [['Japanese battleship Tosa', 'vessel class', {'concept': 'ship type'}], ['USS Chauncey', 'vessel class', {'concept': 'ship type'}]]}
SELECT DISTINCT ?f WHERE { { ?h property:vessel_class ?f . VALUES ( ?h ) { ( resource:USS_Chauncey ) ( resource:Japanese_battleship_Tosa ) } } . ?f rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q959834 Q616062
P137
Q781132
USER
Which military branches operate those ship types ?
(Q959834,P137,c(Q781132)) (Q616062,P137,c(Q781132))
action filter_type
action find
entity prev_answer
relation P137
type Q781132
['Q959834', 'P137', {'concept': 'Q781132'}] ['Q616062', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q781132 . ?g property:P137 ?b . VALUES ( ?g ) { ( resource:Q959834 ) ( resource:Q616062 ) } }
Tosa-class battleship Bainbridge-class destroyer
action filter_type
action find
entity prev_answer
relation operator
type military branch
['Tosa-class battleship', 'operator', {'concept': 'military branch'}] ['Bainbridge-class destroyer', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:military_branch . ?g property:operator ?b . VALUES ( ?g ) { ( resource:Tosa-class_battleship ) ( resource:Bainbridge-class_destroyer ) } }
[]
military branch
Q219712 Q11220
SYSTEM
Imperial Japanese Navy, United States Navy
Q219712 Q11220
(Q959834,P137,c(Q781132)) (Q616062,P137,c(Q781132))
action filter_type
action find
entity prev_answer
relation P137
type Q781132
[ANSWERS] operate those ship types
['Q959834', 'P137', {'concept': 'Q781132'}] ['Q616062', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q781132 . ?g property:P137 ?b . VALUES ( ?g ) { ( resource:Q959834 ) ( resource:Q616062 ) } }
Imperial Japanese Navy United States Navy
Imperial Japanese Navy and United States Navy operate those ship types
Imperial Japanese Navy United States Navy
action filter_type
action find
entity prev_answer
relation operator
type military branch
['Tosa-class battleship', 'operator', {'concept': 'military branch'}] ['Bainbridge-class destroyer', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:military_branch . ?g property:operator ?b . VALUES ( ?g ) { ( resource:Tosa-class_battleship ) ( resource:Bainbridge-class_destroyer ) } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q445233
Q781132
USER
And also tell me about German submarine U-325?
(Q445233,P137,c(Q781132))
action filter_type
action find
entity Q445233
relation P137
type Q781132
['Q445233', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?i WHERE { resource:Q445233 property:P137 ?i . ?i rdf:type ontology:Q781132 }
German submarine U-325
action filter_type
action find
entity German submarine U-325
relation operator
type military branch
['German submarine U-325', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?i WHERE { resource:German_submarine_U-325 property:operator ?i . ?i rdf:type ontology:military_branch }
[]
military branch
Q151701
SYSTEM
Kriegsmarine
Q151701
(Q445233,P137,c(Q781132))
action filter_type
action find
entity Q445233
relation P137
type Q781132
[ANSWER]
['Q445233', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?i WHERE { resource:Q445233 property:P137 ?i . ?i rdf:type ontology:Q781132 }
Kriegsmarine
Kriegsmarine
action filter_type
action find
entity German submarine U-325
relation operator
type military branch
['German submarine U-325', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?i WHERE { resource:German_submarine_U-325 property:operator ?i . ?i rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q151701
P921
Q2342494
USER
Which collectable is that military branch a main subject of ?
(c(Q2342494),P921,Q151701)
action filter_type
action find_reverse
entity Q151701
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q151701']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P921 resource:Q151701 }
Kriegsmarine
action filter_type
action find_reverse
entity Kriegsmarine
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Kriegsmarine']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:main_subject resource:Kriegsmarine }
[]
collectable
Q26979880
SYSTEM
Alle deutschen Kriegsschiffe von 1815 - 1936
Q26979880
(c(Q2342494),P921,Q151701)
action filter_type
action find_reverse
entity Q151701
relation P921
type Q2342494
[ANSWER] is that military branch a main subject of
[{'concept': 'Q2342494'}, 'P921', 'Q151701']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P921 resource:Q151701 }
Alle deutschen Kriegsschiffe von 1815 - 1936
Alle deutschen Kriegsschiffe von 1815 - 1936 is that military branch a main subject of
Alle deutschen Kriegsschiffe von 1815 - 1936
action filter_type
action find_reverse
entity Kriegsmarine
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Kriegsmarine']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:main_subject resource:Kriegsmarine }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26979880
P136
Q2342494
USER
Which collectable is the genre for that one ?
(Q26979880,P136,c(Q2342494))
action filter_type
action find
entity Q26979880
relation P136
type Q2342494
['Q26979880', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . resource:Q26979880 property:P136 ?z }
Alle deutschen Kriegsschiffe von 1815 - 1936
action filter_type
action find
entity Alle deutschen Kriegsschiffe von 1815 - 1936
relation genre
type collectable
['Alle deutschen Kriegsschiffe von 1815 - 1936', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . resource:Alle_deutschen_Kriegsschiffe_von_1815_-_1936 property:genre ?z }
[]
collectable
Q20540385
SYSTEM
non-fiction book
Q20540385
(Q26979880,P136,c(Q2342494))
action filter_type
action find
entity Q26979880
relation P136
type Q2342494
The [ANSWER] is the genre for that one
['Q26979880', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . resource:Q26979880 property:P136 ?z }
non-fiction book
The non-fiction book is the genre for that one
non-fiction book
action filter_type
action find
entity Alle deutschen Kriegsschiffe von 1815 - 1936
relation genre
type collectable
['Alle deutschen Kriegsschiffe von 1815 - 1936', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . resource:Alle_deutschen_Kriegsschiffe_von_1815_-_1936 property:genre ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q20540385 Q7727718
P136
Q2342494
USER
Does The Costs of Accidents have that one as genre ?
(Q7727718,P136,Q20540385)
action is_in
entity Q7727718
action find
entity Q20540385
relation P136
['Q7727718', 'P136', 'Q20540385']
ASK WHERE { resource:Q20540385 property:P136 resource:Q7727718 }
non-fiction book The Costs of Accidents
action is_in
entity The Costs of Accidents
action find
entity non-fiction book
relation genre
['The Costs of Accidents', 'genre', 'non-fiction book']
ASK WHERE { resource:non-fiction_book property:genre resource:The_Costs_of_Accidents }
[]
collectable
SYSTEM
NO
(Q7727718,P136,Q20540385)
action is_in
entity Q7727718
action find
entity Q20540385
relation P136
[ANSWER]
['Q7727718', 'P136', 'Q20540385']
ASK WHERE { resource:Q20540385 property:P136 resource:Q7727718 }
No
action is_in
entity The Costs of Accidents
action find
entity non-fiction book
relation genre
['The Costs of Accidents', 'genre', 'non-fiction book']
ASK WHERE { resource:non-fiction_book property:genre resource:The_Costs_of_Accidents }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q781132 Q874405 Q781132
USER
How many military branches are a component of atleast 1 military branches or social groups ?
(c(Q781132),P361,c(Q781132)|c(Q874405))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q781132
type Q781132
action find_tuple_counts
relation P361
type Q781132
type Q874405
value 1
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q781132'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?f ) WHERE { { ?c property:P361 ?y . ?y rdf:type ontology:Q781132 . ?c rdf:type ontology:Q781132 } UNION { ?c property:P361 ?y . ?c rdf:type ontology:Q781132 . ?y rdf:type ontology:Q874405 } } GROUP BY ?c } }
action count
action atleast
action union
action find_tuple_counts
relation part of
type military branch
type military branch
action find_tuple_counts
relation part of
type military branch
type social group
value 1
[{'concept': 'military branch'}, 'part of', [{'concept': 'military branch'}, {'concept': 'social group'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?f ) WHERE { { ?c property:part_of ?y . ?y rdf:type ontology:military_branch . ?c rdf:type ontology:military_branch } UNION { ?c property:part_of ?y . ?c rdf:type ontology:military_branch . ?y rdf:type ontology:social_group } } GROUP BY ?c } }
[]
military branch social group military branch
SYSTEM
16
Q15885502 Q7574723 Q2055270 Q17812275 Q17812427 Q706042 Q796754 Q4867847 Q1066532 Q487238 Q3958034 Q6019843 Q18642947 Q2640550 Q5957893 Q963354
(c(Q781132),P361,c(Q781132)|c(Q874405))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q781132
type Q781132
action find_tuple_counts
relation P361
type Q781132
type Q874405
value 1
[ANSWER]
[{'concept': 'Q781132'}, 'P361', [{'concept': 'Q781132'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?f ) WHERE { { ?c property:P361 ?y . ?y rdf:type ontology:Q781132 . ?c rdf:type ontology:Q781132 } UNION { ?c property:P361 ?y . ?c rdf:type ontology:Q781132 . ?y rdf:type ontology:Q874405 } } GROUP BY ?c } }
Spetsnaz GRU Special Service Group Navy Brazilian Army Aviation Command Brazilian Surface Fleet Brazilian Submarine Fleet Prussian Army Soviet Navy Basque Auxiliary Navy Brazilian Marine Corps Republic of Korea Marine Corps Argentine Army Aviation Army Medical Corps Army Aviation Center Chilean Marine Corps Islamic Republic of Iran Army Aviation United States Naval Special Warfare Development Group
16
action count
action atleast
action union
action find_tuple_counts
relation part of
type military branch
type military branch
action find_tuple_counts
relation part of
type military branch
type social group
value 1
[{'concept': 'military branch'}, 'part of', [{'concept': 'military branch'}, {'concept': 'social group'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?f ) WHERE { { ?c property:part_of ?y . ?y rdf:type ontology:military_branch . ?c rdf:type ontology:military_branch } UNION { ?c property:part_of ?y . ?c rdf:type ontology:military_branch . ?y rdf:type ontology:social_group } } GROUP BY ?c } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1441
Q2342494 Q3895768
USER
Which fictional locations are seen in around 4 collectables ?
(c(Q3895768),P1441,c(Q2342494))
action approx
action find_tuple_counts
relation P1441
type Q3895768
type Q2342494
value 4
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?c ) WHERE { ?f property:P1441 ?w . ?f rdf:type ontology:Q3895768 . ?w rdf:type ontology:Q2342494 } GROUP BY ?f } . FILTER ( ?c = 4 ) }
action approx
action find_tuple_counts
relation present in work
type fictional location
type collectable
value 4
[{'concept': 'fictional location'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?c ) WHERE { ?f property:present_in_work ?w . ?f rdf:type ontology:fictional_location . ?w rdf:type ontology:collectable } GROUP BY ?f } . FILTER ( ?c = 4 ) }
[]
collectable fictional location
Q2997950
SYSTEM
Waterdeep
Q2997950
(c(Q3895768),P1441,c(Q2342494))
action approx
action find_tuple_counts
relation P1441
type Q3895768
type Q2342494
value 4
[ANSWER] is seen in around 4 collectables
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?c ) WHERE { ?f property:P1441 ?w . ?f rdf:type ontology:Q3895768 . ?w rdf:type ontology:Q2342494 } GROUP BY ?f } . FILTER ( ?c = 4 ) }
Waterdeep
Waterdeep is seen in around 4 collectables
Waterdeep
action approx
action find_tuple_counts
relation present in work
type fictional location
type collectable
value 4
[{'concept': 'fictional location'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?c ) WHERE { ?f property:present_in_work ?w . ?f rdf:type ontology:fictional_location . ?w rdf:type ontology:collectable } GROUP BY ?f } . FILTER ( ?c = 4 ) }
[]