Simple Question (Direct)
Simple Question
Q32770
P289
Q5962346
USER
What is the vessel class of HNLMS O 19 ?
(Q32770,P289,c(Q5962346))
action filter_type
action find
entity Q32770
relation P289
type Q5962346
['Q32770', 'P289', {'concept': 'Q5962346'}]
SELECT DISTINCT ?g WHERE { resource:Q32770 property:P289 ?g . ?g rdf:type ontology:Q5962346 }
HNLMS O 19
action filter_type
action find
entity HNLMS O 19
relation vessel class
type classification scheme
['HNLMS O 19', 'vessel class', {'concept': 'classification scheme'}]
SELECT DISTINCT ?g WHERE { resource:HNLMS_O_19 property:vessel_class ?g . ?g rdf:type ontology:classification_scheme }
[]
classification scheme
Q116633
SYSTEM
O 19-class submarine
Q116633
(Q32770,P289,c(Q5962346))
action filter_type
action find
entity Q32770
relation P289
type Q5962346
[ANSWER]
['Q32770', 'P289', {'concept': 'Q5962346'}]
SELECT DISTINCT ?g WHERE { resource:Q32770 property:P289 ?g . ?g rdf:type ontology:Q5962346 }
O 19-class submarine
O 19-class submarine
action filter_type
action find
entity HNLMS O 19
relation vessel class
type classification scheme
['HNLMS O 19', 'vessel class', {'concept': 'classification scheme'}]
SELECT DISTINCT ?g WHERE { resource:HNLMS_O_19 property:vessel_class ?g . ?g rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32770
P138
Q5962346
USER
Which classification scheme is named after HNLMS O 19 ?
(c(Q5962346),P138,Q32770)
action filter_type
action find_reverse
entity Q32770
relation P138
type Q5962346
[{'concept': 'Q5962346'}, 'P138', 'Q32770']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q32770 . ?n rdf:type ontology:Q5962346 }
HNLMS O 19
action filter_type
action find_reverse
entity HNLMS O 19
relation named after
type classification scheme
[{'concept': 'classification scheme'}, 'named after', 'HNLMS O 19']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:HNLMS_O_19 . ?n rdf:type ontology:classification_scheme }
[]
classification scheme
Q116633
SYSTEM
O 19-class submarine
Q116633
(c(Q5962346),P138,Q32770)
action filter_type
action find_reverse
entity Q32770
relation P138
type Q5962346
[ANSWER]
[{'concept': 'Q5962346'}, 'P138', 'Q32770']
SELECT DISTINCT ?n WHERE { ?n property:P138 resource:Q32770 . ?n rdf:type ontology:Q5962346 }
O 19-class submarine
O 19-class submarine
action filter_type
action find_reverse
entity HNLMS O 19
relation named after
type classification scheme
[{'concept': 'classification scheme'}, 'named after', 'HNLMS O 19']
SELECT DISTINCT ?n WHERE { ?n property:named_after resource:HNLMS_O_19 . ?n rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3771903 Q32770
P138
Q5962346
USER
Or Glauco?
OR((c(Q5962346),P138,Q32770), (c(Q5962346),P138,Q3771903))
action filter_type
action union
action find_reverse
entity Q32770
relation P138
action find_reverse
entity Q3771903
relation P138
type Q5962346
{'OR': [[{'concept': 'Q5962346'}, 'P138', 'Q32770'], [{'concept': 'Q5962346'}, 'P138', 'Q3771903']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q5962346 . { { ?k property:P138 resource:Q32770 } UNION { ?k property:P138 resource:Q3771903 } } }
Glauco HNLMS O 19
action filter_type
action union
action find_reverse
entity HNLMS O 19
relation named after
action find_reverse
entity Glauco
relation named after
type classification scheme
{'OR': [[{'concept': 'classification scheme'}, 'named after', 'HNLMS O 19'], [{'concept': 'classification scheme'}, 'named after', 'Glauco']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:classification_scheme . { { ?k property:named_after resource:HNLMS_O_19 } UNION { ?k property:named_after resource:Glauco } } }
[]
classification scheme
Q3679320 Q116633
SYSTEM
Glauco-class submarine, O 19-class submarine
Q3679320 Q116633
OR((c(Q5962346),P138,Q32770), (c(Q5962346),P138,Q3771903))
action filter_type
action union
action find_reverse
entity Q32770
relation P138
action find_reverse
entity Q3771903
relation P138
type Q5962346
[ANSWERS]
{'OR': [[{'concept': 'Q5962346'}, 'P138', 'Q32770'], [{'concept': 'Q5962346'}, 'P138', 'Q3771903']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q5962346 . { { ?k property:P138 resource:Q32770 } UNION { ?k property:P138 resource:Q3771903 } } }
Glauco-class submarine O 19-class submarine
Glauco-class submarine O 19-class submarine
action filter_type
action union
action find_reverse
entity HNLMS O 19
relation named after
action find_reverse
entity Glauco
relation named after
type classification scheme
{'OR': [[{'concept': 'classification scheme'}, 'named after', 'HNLMS O 19'], [{'concept': 'classification scheme'}, 'named after', 'Glauco']]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:classification_scheme . { { ?k property:named_after resource:HNLMS_O_19 } UNION { ?k property:named_after resource:Glauco } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q116633
P137
Q781132
USER
Which military branch can manage O 19-class submarine ?
(Q116633,P137,c(Q781132))
action filter_type
action find
entity Q116633
relation P137
type Q781132
['Q116633', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q781132 . resource:Q116633 property:P137 ?m }
O 19-class submarine
action filter_type
action find
entity O 19-class submarine
relation operator
type military branch
['O 19-class submarine', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:military_branch . resource:O_19-class_submarine property:operator ?m }
[]
military branch
Q931281
SYSTEM
Royal Netherlands Navy
Q931281
(Q116633,P137,c(Q781132))
action filter_type
action find
entity Q116633
relation P137
type Q781132
[ANSWER]
['Q116633', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q781132 . resource:Q116633 property:P137 ?m }
Royal Netherlands Navy
Royal Netherlands Navy
action filter_type
action find
entity O 19-class submarine
relation operator
type military branch
['O 19-class submarine', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:military_branch . resource:O_19-class_submarine property:operator ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5631176
Q781132
USER
And how about HMS A2?
(Q5631176,P137,c(Q781132))
action filter_type
action find
entity Q5631176
relation P137
type Q781132
['Q5631176', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { resource:Q5631176 property:P137 ?r . ?r rdf:type ontology:Q781132 }
HMS A2
action filter_type
action find
entity HMS A2
relation operator
type military branch
['HMS A2', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { resource:HMS_A2 property:operator ?r . ?r rdf:type ontology:military_branch }
[]
military branch
Q172771
SYSTEM
Royal Navy
Q172771
(Q5631176,P137,c(Q781132))
action filter_type
action find
entity Q5631176
relation P137
type Q781132
[ANSWER]
['Q5631176', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { resource:Q5631176 property:P137 ?r . ?r rdf:type ontology:Q781132 }
Royal Navy
Royal Navy
action filter_type
action find
entity HMS A2
relation operator
type military branch
['HMS A2', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { resource:HMS_A2 property:operator ?r . ?r rdf:type ontology:military_branch }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P710
Q178561 Q1190554
USER
How many battles and events did that military branch participate in ?
(c(Q178561),P710,Q172771) (c(Q1190554),P710,Q172771) (c(Q178561),P710,Q172771) (c(Q1190554),P710,Q172771)
action count
action union
action filter_type
action find_reverse
entity Q172771
relation P710
type Q178561
action filter_type
action find_reverse
entity Q172771
relation P710
type Q1190554
[{'concept': 'Q178561'}, 'P710', 'Q172771'] [{'concept': 'Q1190554'}, 'P710', 'Q172771'] [{'concept': 'Q178561'}, 'P710', 'Q172771'] [{'concept': 'Q1190554'}, 'P710', 'Q172771']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { ?g property:P710 resource:Q172771 . ?g rdf:type ontology:Q178561 } UNION { ?g property:P710 resource:Q172771 . ?g rdf:type ontology:Q1190554 } }
action count
action union
action filter_type
action find_reverse
entity Royal Navy
relation participant
type battle
action filter_type
action find_reverse
entity Royal Navy
relation participant
type event
[{'concept': 'battle'}, 'participant', 'Royal Navy'] [{'concept': 'event'}, 'participant', 'Royal Navy'] [{'concept': 'battle'}, 'participant', 'Royal Navy'] [{'concept': 'event'}, 'participant', 'Royal Navy']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { ?g property:participant resource:Royal_Navy . ?g rdf:type ontology:battle } UNION { ?g property:participant resource:Royal_Navy . ?g rdf:type ontology:event } }
[]
battle event
SYSTEM
1 battles and 1 events
Q7130016 Q4870581
(c(Q178561),P710,Q172771) (c(Q1190554),P710,Q172771) (c(Q178561),P710,Q172771) (c(Q1190554),P710,Q172771)
action count
action union
action filter_type
action find_reverse
entity Q172771
relation P710
type Q178561
action filter_type
action find_reverse
entity Q172771
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q178561'}, 'P710', 'Q172771'] [{'concept': 'Q1190554'}, 'P710', 'Q172771'] [{'concept': 'Q178561'}, 'P710', 'Q172771'] [{'concept': 'Q1190554'}, 'P710', 'Q172771']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { ?g property:P710 resource:Q172771 . ?g rdf:type ontology:Q178561 } UNION { ?g property:P710 resource:Q172771 . ?g rdf:type ontology:Q1190554 } }
The Psilander-affair Battle of Bubiyan
1 battles and 1 events
action count
action union
action filter_type
action find_reverse
entity Royal Navy
relation participant
type battle
action filter_type
action find_reverse
entity Royal Navy
relation participant
type event
[{'concept': 'battle'}, 'participant', 'Royal Navy'] [{'concept': 'event'}, 'participant', 'Royal Navy'] [{'concept': 'battle'}, 'participant', 'Royal Navy'] [{'concept': 'event'}, 'participant', 'Royal Navy']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { { ?g property:participant resource:Royal_Navy . ?g rdf:type ontology:battle } UNION { ?g property:participant resource:Royal_Navy . ?g rdf:type ontology:event } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q931281
P137
Q2235308
USER
How many ship types were managed by Royal Netherlands Navy ?
(c(Q2235308),P137,Q931281)
action count
action filter_type
action find_reverse
entity Q931281
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q931281']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:Q2235308 . ?e property:P137 resource:Q931281 }
Royal Netherlands Navy
action count
action filter_type
action find_reverse
entity Royal Netherlands Navy
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Royal Netherlands Navy']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:ship_type . ?e property:operator resource:Royal_Netherlands_Navy }
[]
ship type
SYSTEM
88
Q13728690 Q2070201 Q838645 Q2624510 Q32856 Q3042134 Q1920904 Q1888947 Q2230424 Q909578 Q1284369 Q46192 Q1871380 Q23729142 Q2032515 Q776645 Q1632249 Q2273760 Q1943822 Q1901814 Q949225 Q2349208 Q2486311 Q1945530 Q1179475 Q5302343 Q3270502 Q2423697 Q11600035 Q2519608 Q2419212 Q3268227 Q2133316 Q937047 Q2368191 Q10997565 Q1774596 Q2703094 Q1537486 Q974939 Q2219465 Q2786670 Q2703074 Q4350789 Q43464 Q46195 Q2275274 Q11711331 Q917639 Q1811148 Q2471482 Q535556 Q43495 Q43493 Q290492 Q2801545 Q651485 Q46152 Q46155 Q2661233 Q2787682 Q2266210 Q2230784 Q1624733 Q1565125 Q2304124 Q2487815 Q1816732 Q1858254 Q3249174 Q32770 Q32771 Q1983199 Q2713954 Q2510952 Q1968715 Q1342079 Q2525636 Q3197583 Q3197583 Q559132 Q4352942 Q46270 Q1684156 Q2727600 Q2646328 Q46266 Q46264
(c(Q2235308),P137,Q931281)
action count
action filter_type
action find_reverse
entity Q931281
relation P137
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P137', 'Q931281']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:Q2235308 . ?e property:P137 resource:Q931281 }
HNLMS Zeehond Hr. Ms. Alkmaar Belgian frigate Leopold I Hr. Ms. Dordrecht De Ruyter O 12-class submarine Hr. Ms. Tromp Holland-class destroyer Hydra-class minelayer Karel Doorman-class frigate Tripartite class minehunter Tjerk Hiddes HNLMS Van Speijk HNLMS Luymes Holland-class cruiser Nairana-class escort carrier HNLMS Snellius HNLMS Jacob van Heemskerck Abraham van der Hulst Van Speijk class frigate Hr. Ms. Piet Hein Hr. Ms. Kortenaer HNLMS Zuiderkruis Van Nes De Zeven Provinciën-class frigate Douwe Aukes-class minelayer HNLMS Java (1921) HNLMS Amsterdam Fazant Atjeh-class cruiser Admiralen-class destroyer HNLMS Sumatra (1920) Evertsen class coastal defence ship HNLMS Abraham Crijnssen Prins van Oranje class minelayers HNLMS Karel Doorman HNLMS Rotterdam Gerard Callenburgh-class destroyer HNLMS De Ruyter Kortenaer-class frigate Friesland-class destroyer HNLMS Evertsen Tromp class cruiser USS Burrows HNLMS De Zeven Provinciën HMS Nairana A-class minesweeper HNLMS Soemba Cannon-class destroyer escort Rotterdam-class amphibious transport dock Hr. Ms. Harlingen BAP Almirante Grau HNLMS Jan van Brakel HNLMS Van Amstel HNLMS Johan de Witt HNLMS O 6 Hr. Ms. Scheveningen Abraham Crijnssen Van Galen Willem van der Zaan Brinio class gunboat Koningin Regentes class coastal defense ship Hr. Ms. Haarlem Holland class offshore patrol vessels HMS Nonpareil Tromp-class frigate Aggressive-class minesweeper De Zeven Provinciën-class cruiser HNLMS Van Kinsbergen Wolf-class destroyer HNLMS O 19 HNLMS Walrus HNLMS Isaac Sweers HNLMS Tromp Flores-class gunboats Hr. Ms. Delfzijl Jan van Amstel-class minesweeper M class minesweeper HNLMS Banckert (1929) HNLMS Banckert (1929) Jacob van Heemskerck-class frigate HNLMS Van Galen HNLMS De Ruyter Java class cruiser HNLMS O 1 Alkmaar-class minehunter HNLMS De Zeven Provinciën HNLMS Tromp
88
action count
action filter_type
action find_reverse
entity Royal Netherlands Navy
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Royal Netherlands Navy']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:ship_type . ?e property:operator resource:Royal_Netherlands_Navy }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2071948
P137
Q2235308
USER
And also tell me about Finnish Navy?
(c(Q2235308),P137,Q2071948)
action count
action filter_type
action find_reverse
entity Q2071948
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q2071948']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P137 resource:Q2071948 . ?u rdf:type ontology:Q2235308 }
Finnish Navy
action count
action filter_type
action find_reverse
entity Finnish Navy
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Finnish Navy']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:operator resource:Finnish_Navy . ?u rdf:type ontology:ship_type }
[]
ship type
SYSTEM
97
Q5480398 Q655515 Q10706624 Q5450853 Q5450855 Q5450856 Q5450846 Q2299865 Q4199116 Q720876 Q4357877 Q578073 Q4410981 Q5413539 Q4348674 Q4114271 Q5450812 Q7380176 Q4412741 Q5450834 Q6442064 Q10423715 Q195916 Q7296268 Q779811 Q4443140 Q2033646 Q5427695 Q11707851 Q4356332 Q4411132 Q2598995 Q10720081 Q6406103 Q10712026 Q4345886 Q279016 Q2568246 Q4114968 Q4411240 Q2044992 Q4310057 Q4357318 Q4348803 Q2577799 Q3486570 Q4411213 Q4348733 Q4699932 Q4311359 Q6319364 Q4411232 Q3793653 Q4411192 Q4253133 Q18691244 Q4411558 Q10538814 Q10712140 Q4310831 Q3492108 Q4109990 Q7391764 Q4027356 Q11707157 Q10647011 Q918929 Q10712138 Q2495365 Q1457510 Q10717434 Q4411148 Q4413391 Q4295094 Q4806883 Q4348872 Q4846250 Q3211071 Q4696443 Q3222911 Q18691380 Q7701361 Q3270834 Q10711872 Q10646486 Q10659339 Q2558800 Q304988 Q5215850 Q10493454 Q2332854 Q10541603 Q10659199 Q10590450 Q10590451 Q10706637 Q10706636
(c(Q2235308),P137,Q2071948)
action count
action filter_type
action find_reverse
entity Q2071948
relation P137
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P137', 'Q2071948']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P137 resource:Q2071948 . ?u rdf:type ontology:Q2235308 }
Kajava Tuuli class hovercraft Tursas Finnish patrol gunboat VTV-1 Finnish pollution control vessel Halli Finnish pollution control vessel Louhi Finnish minelayer Keihässalmi Finnish coastal defence ship Ilmarinen Finnish submarine Iku-Turso Estonian icebreaker Suur Tõll HMS Porlock Bay Finnish coastal defence ship Väinämöinen Finnish minelayer Ruotsinsalmi R class patrol boat Uisko class landing craft Finnish gunboat Matti Kurki Finnish S class torpedo boat Ruotsinsalmi-class minelayer SS Ukkopekka Finnish frigate Uusimaa Kuha-class minesweeper Axel von Fersen Finnish icebreaker Voima Rautu-class minesweeper Helsinki-class missile boat Filin class guard ship Finnish torpedo boat S2 Fabian Wrede-class training ship Pukkio-class minelayer Nuoli-class fast gunboat Russian submarine AG 12 Finnish minelayer Pohjanmaa Wilhelm Carpelan Kiisla class patrol boat Vahakari G class landing craft Finnish gunboat Uusimaa Rauma Finnish minelayer Louhi Finnish minelayer Riilahti Finnish icebreaker Jääkarhu Sampo Finnish frigate Hämeenmaa Finnish gunboat Klas Horn Hämeenmaa Tuima class missile boat Finnish gunboat Hämeenmaa Jurmo class landing craft Ajonpää class minesweeper Taisto-class motor torpedo boat Jymy motor torpedo boat Finnish gunboat Turunmaa Kiiski VMV class patrol boat Murtaja MHC Katanpää Finnish escort Aura II J-class torpedo boat Valas-class Syöksy-class motor torpedo boat Katanpää Finnish submarine Vetehinen SM class minesweeper Pansio Watercat M14-class landing craft Puupää-class minesweeper Suomen Joutsen Valas Finnish submarine Saukko Finnish icebreaker Tarmo Vänö Finnish submarine AG 16 Finnish motor torpedo boats of World War II Finnish torpedo boat C 1 Hurja-class motor torpedo boat Kuha Isku-class motor torpedo boat Turunmaa-class gunboat Ahven class minesweeper Finnish gunboat Karjala MHC Purunpää Teplokhod-class motor minelayer Hamina Vaarlahti Pukkio-class minelayer S/S Stockholm Finnish submarine Vesihiisi Finnish transport vessel Wilhelm Carpelan Finnish pollution control vessel Hylje Fabian Wrede Sisu class motor torpedo boat Jylhä motor torpedo boat Röyttä Mursu Mursu-class Turunmaa Karjaja
97
action count
action filter_type
action find_reverse
entity Finnish Navy
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Finnish Navy']
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:operator resource:Finnish_Navy . ?u rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q172771
P138
Q4373292 Q2235308
USER
How many physical properties or ship types have Royal Navy as their toponym ?
(c(Q4373292),P138,Q172771) (c(Q2235308),P138,Q172771)
action count
action union
action filter_type
action find_reverse
entity Q172771
relation P138
type Q4373292
action filter_type
action find_reverse
entity Q172771
relation P138
type Q2235308
[{'concept': 'Q4373292'}, 'P138', 'Q172771'] [{'concept': 'Q2235308'}, 'P138', 'Q172771']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P138 resource:Q172771 . ?d rdf:type ontology:Q4373292 } UNION { ?d property:P138 resource:Q172771 . ?d rdf:type ontology:Q2235308 } }
Royal Navy
action count
action union
action filter_type
action find_reverse
entity Royal Navy
relation named after
type physical property
action filter_type
action find_reverse
entity Royal Navy
relation named after
type ship type
[{'concept': 'physical property'}, 'named after', 'Royal Navy'] [{'concept': 'ship type'}, 'named after', 'Royal Navy']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:named_after resource:Royal_Navy . ?d rdf:type ontology:physical_property } UNION { ?d property:named_after resource:Royal_Navy . ?d rdf:type ontology:ship_type } }
[]
physical property ship type
SYSTEM
2
Q5975887 Q11712987
(c(Q4373292),P138,Q172771) (c(Q2235308),P138,Q172771)
action count
action union
action filter_type
action find_reverse
entity Q172771
relation P138
type Q4373292
action filter_type
action find_reverse
entity Q172771
relation P138
type Q2235308
[ANSWER]
[{'concept': 'Q4373292'}, 'P138', 'Q172771'] [{'concept': 'Q2235308'}, 'P138', 'Q172771']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P138 resource:Q172771 . ?d rdf:type ontology:Q4373292 } UNION { ?d property:P138 resource:Q172771 . ?d rdf:type ontology:Q2235308 } }
navy blue HMS Barbados (K504)
2
action count
action union
action filter_type
action find_reverse
entity Royal Navy
relation named after
type physical property
action filter_type
action find_reverse
entity Royal Navy
relation named after
type ship type
[{'concept': 'physical property'}, 'named after', 'Royal Navy'] [{'concept': 'ship type'}, 'named after', 'Royal Navy']
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:named_after resource:Royal_Navy . ?d rdf:type ontology:physical_property } UNION { ?d property:named_after resource:Royal_Navy . ?d rdf:type ontology:ship_type } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q404541
P520
Q15142889 Q153556 Q5962346
USER
How many classification schemes have approximately the same number of weapon families or ranged weapons as their armament as Aigrette-class submarine ?
(c(Q5962346),P520,c(Q15142889)|c(Q153556))
action count
action approx
action union
action find_tuple_counts
relation P520
type Q5962346
type Q15142889
action find_tuple_counts
relation P520
type Q5962346
type Q153556
action count
action filter_multi_types
action find
entity Q404541
relation P520
type Q15142889
type Q153556
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q15142889'}, {'concept': 'Q153556'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?z ) WHERE { { ?h property:P520 ?u . ?h rdf:type ontology:Q5962346 . ?u rdf:type ontology:Q15142889 } UNION { ?h property:P520 ?u . ?h rdf:type ontology:Q5962346 . ?u rdf:type ontology:Q153556 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Q404541 property:P520 ?s . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15142889 ) ( ontology:Q153556 ) } } } } . FILTER ( ?z = ?b ) }
Aigrette-class submarine
action count
action approx
action union
action find_tuple_counts
relation armament
type classification scheme
type weapon family
action find_tuple_counts
relation armament
type classification scheme
type ranged weapon
action count
action filter_multi_types
action find
entity Aigrette-class submarine
relation armament
type weapon family
type ranged weapon
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'weapon family'}, {'concept': 'ranged weapon'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?z ) WHERE { { ?h property:armament ?u . ?h rdf:type ontology:classification_scheme . ?u rdf:type ontology:weapon_family } UNION { ?h property:armament ?u . ?h rdf:type ontology:classification_scheme . ?u rdf:type ontology:ranged_weapon } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Aigrette-class_submarine property:armament ?s . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:weapon_family ) ( ontology:ranged_weapon ) } } } } . FILTER ( ?z = ?b ) }
[]
weapon family ranged weapon classification scheme
SYSTEM
18
Q1626375 Q385734 Q1068329 Q4367155 Q846078 Q1066814 Q10434936 Q7449173 Q640482 Q1194287 Q337990 Q7860642 Q4172473 Q1782356 Q528109 Q6675326 Q404541 Q842423
(c(Q5962346),P520,c(Q15142889)|c(Q153556))
action count
action approx
action union
action find_tuple_counts
relation P520
type Q5962346
type Q15142889
action find_tuple_counts
relation P520
type Q5962346
type Q153556
action count
action filter_multi_types
action find
entity Q404541
relation P520
type Q15142889
type Q153556
[ANSWER]
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q15142889'}, {'concept': 'Q153556'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?z ) WHERE { { ?h property:P520 ?u . ?h rdf:type ontology:Q5962346 . ?u rdf:type ontology:Q15142889 } UNION { ?h property:P520 ?u . ?h rdf:type ontology:Q5962346 . ?u rdf:type ontology:Q153556 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Q404541 property:P520 ?s . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15142889 ) ( ontology:Q153556 ) } } } } . FILTER ( ?z = ?b ) }
Project 615 Whiskey-class submarine Golf-class submarine Charlie II-class submarine Romeo-class submarine Charlie-class submarine Braxen-class submarine Victor I class submarine Borei-class submarine Tango-class submarine Juliett class submarine Type 032 submarine Echo I class submarine Delta IV-class submarine Hotel-class submarine Echo II class submarine Aigrette-class submarine Foxtrot-class submarine
18
action count
action approx
action union
action find_tuple_counts
relation armament
type classification scheme
type weapon family
action find_tuple_counts
relation armament
type classification scheme
type ranged weapon
action count
action filter_multi_types
action find
entity Aigrette-class submarine
relation armament
type weapon family
type ranged weapon
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'weapon family'}, {'concept': 'ranged weapon'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?z ) WHERE { { ?h property:armament ?u . ?h rdf:type ontology:classification_scheme . ?u rdf:type ontology:weapon_family } UNION { ?h property:armament ?u . ?h rdf:type ontology:classification_scheme . ?u rdf:type ontology:ranged_weapon } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Aigrette-class_submarine property:armament ?s . { ?s rdf:type ?f . VALUES ( ?f ) { ( ontology:weapon_family ) ( ontology:ranged_weapon ) } } } } . FILTER ( ?z = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q640482
P520
Q15142889 Q153556 Q5962346
USER
And also tell me about Borei-class submarine?
(c(Q5962346),P520,c(Q15142889)|c(Q153556))
action count
action approx
action union
action find_tuple_counts
relation P520
type Q5962346
type Q15142889
action find_tuple_counts
relation P520
type Q5962346
type Q153556
action count
action filter_multi_types
action find
entity Q640482
relation P520
type Q15142889
type Q153556
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q15142889'}, {'concept': 'Q153556'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?p ) { ( ontology:Q15142889 ) ( ontology:Q153556 ) } . ?k rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Q640482 property:P520 ?y . { { ?y rdf:type ontology:Q153556 } UNION { ?y rdf:type ontology:Q15142889 } } } } . FILTER ( ?a = ?s ) }
Borei-class submarine
action count
action approx
action union
action find_tuple_counts
relation armament
type classification scheme
type weapon family
action find_tuple_counts
relation armament
type classification scheme
type ranged weapon
action count
action filter_multi_types
action find
entity Borei-class submarine
relation armament
type weapon family
type ranged weapon
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'weapon family'}, {'concept': 'ranged weapon'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?p ) { ( ontology:weapon_family ) ( ontology:ranged_weapon ) } . ?k rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Borei-class_submarine property:armament ?y . { { ?y rdf:type ontology:ranged_weapon } UNION { ?y rdf:type ontology:weapon_family } } } } . FILTER ( ?a = ?s ) }
[]
weapon family ranged weapon classification scheme
SYSTEM
18
Q1626375 Q385734 Q1068329 Q4367155 Q846078 Q1066814 Q10434936 Q7449173 Q640482 Q1194287 Q337990 Q7860642 Q4172473 Q1782356 Q528109 Q6675326 Q404541 Q842423
(c(Q5962346),P520,c(Q15142889)|c(Q153556))
action count
action approx
action union
action find_tuple_counts
relation P520
type Q5962346
type Q15142889
action find_tuple_counts
relation P520
type Q5962346
type Q153556
action count
action filter_multi_types
action find
entity Q640482
relation P520
type Q15142889
type Q153556
[ANSWER]
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q15142889'}, {'concept': 'Q153556'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?p ) { ( ontology:Q15142889 ) ( ontology:Q153556 ) } . ?k rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Q640482 property:P520 ?y . { { ?y rdf:type ontology:Q153556 } UNION { ?y rdf:type ontology:Q15142889 } } } } . FILTER ( ?a = ?s ) }
Project 615 Whiskey-class submarine Golf-class submarine Charlie II-class submarine Romeo-class submarine Charlie-class submarine Braxen-class submarine Victor I class submarine Borei-class submarine Tango-class submarine Juliett class submarine Type 032 submarine Echo I class submarine Delta IV-class submarine Hotel-class submarine Echo II class submarine Aigrette-class submarine Foxtrot-class submarine
18
action count
action approx
action union
action find_tuple_counts
relation armament
type classification scheme
type weapon family
action find_tuple_counts
relation armament
type classification scheme
type ranged weapon
action count
action filter_multi_types
action find
entity Borei-class submarine
relation armament
type weapon family
type ranged weapon
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'weapon family'}, {'concept': 'ranged weapon'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?p ) { ( ontology:weapon_family ) ( ontology:ranged_weapon ) } . ?k rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Borei-class_submarine property:armament ?y . { { ?y rdf:type ontology:ranged_weapon } UNION { ?y rdf:type ontology:weapon_family } } } } . FILTER ( ?a = ?s ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q855186 Q3679320
P137 P289
Q2235308
USER
Which ship types possesses a vessel class called Glauco-class submarine and are the administrator of Regia Marina ?
AND((c(Q2235308),P289,Q3679320), (c(Q2235308),P137,Q855186))
action filter_type
action intersection
action find_reverse
entity Q3679320
relation P289
action find_reverse
entity Q855186
relation P137
type Q2235308
{'AND': [[{'concept': 'Q2235308'}, 'P289', 'Q3679320'], [{'concept': 'Q2235308'}, 'P137', 'Q855186']]}
SELECT DISTINCT ?p WHERE { ?p property:P289 resource:Q3679320 . ?p property:P137 resource:Q855186 . ?p rdf:type ontology:Q2235308 }
Regia Marina Glauco-class submarine
action filter_type
action intersection
action find_reverse
entity Glauco-class submarine
relation vessel class
action find_reverse
entity Regia Marina
relation operator
type ship type
{'AND': [[{'concept': 'ship type'}, 'vessel class', 'Glauco-class submarine'], [{'concept': 'ship type'}, 'operator', 'Regia Marina']]}
SELECT DISTINCT ?p WHERE { ?p property:vessel_class resource:Glauco-class_submarine . ?p property:operator resource:Regia_Marina . ?p rdf:type ontology:ship_type }
[]
ship type
Q3887038 Q3771903
SYSTEM
Otaria, Glauco
Q3887038 Q3771903
AND((c(Q2235308),P289,Q3679320), (c(Q2235308),P137,Q855186))
action filter_type
action intersection
action find_reverse
entity Q3679320
relation P289
action find_reverse
entity Q855186
relation P137
type Q2235308
[ANSWERS]
{'AND': [[{'concept': 'Q2235308'}, 'P289', 'Q3679320'], [{'concept': 'Q2235308'}, 'P137', 'Q855186']]}
SELECT DISTINCT ?p WHERE { ?p property:P289 resource:Q3679320 . ?p property:P137 resource:Q855186 . ?p rdf:type ontology:Q2235308 }
Otaria Glauco
Otaria Glauco
action filter_type
action intersection
action find_reverse
entity Glauco-class submarine
relation vessel class
action find_reverse
entity Regia Marina
relation operator
type ship type
{'AND': [[{'concept': 'ship type'}, 'vessel class', 'Glauco-class submarine'], [{'concept': 'ship type'}, 'operator', 'Regia Marina']]}
SELECT DISTINCT ?p WHERE { ?p property:vessel_class resource:Glauco-class_submarine . ?p property:operator resource:Regia_Marina . ?p rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q855186
P17
Q7275
USER
Which state is that military branch situated in ?
(Q3887038,P17,c(Q7275)) (Q3771903,P17,c(Q7275))
action filter_type
action find
entity Q855186
relation P17
type Q7275
['Q3887038', 'P17', {'concept': 'Q7275'}] ['Q3771903', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q855186 property:P17 ?m . ?m rdf:type ontology:Q7275 }
Regia Marina
action filter_type
action find
entity Regia Marina
relation country
type state
['Otaria', 'country', {'concept': 'state'}] ['Glauco', 'country', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Regia_Marina property:country ?m . ?m rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q3887038,P17,c(Q7275)) (Q3771903,P17,c(Q7275))
action filter_type
action find
entity Q855186
relation P17
type Q7275
[ANSWER]
['Q3887038', 'P17', {'concept': 'Q7275'}] ['Q3771903', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q855186 property:P17 ?m . ?m rdf:type ontology:Q7275 }
Kingdom of Italy
Kingdom of Italy
action filter_type
action find
entity Regia Marina
relation country
type state
['Otaria', 'country', {'concept': 'state'}] ['Glauco', 'country', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Regia_Marina property:country ?m . ?m rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P35
Q502895
USER
How many people are elected as the head of state of that state ?
(Q172579,P35,c(Q502895))
action count
action filter_type
action find
entity Q172579
relation P35
type Q502895
['Q172579', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v rdf:type ontology:Q502895 . resource:Q172579 property:P35 ?v }
action count
action filter_type
action find
entity Kingdom of Italy
relation head of state
type common name
['Kingdom of Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v rdf:type ontology:common_name . resource:Kingdom_of_Italy property:head_of_state ?v }
[]
common name
SYSTEM
4
Q187149 Q153688 Q150642 Q168691
(Q172579,P35,c(Q502895))
action count
action filter_type
action find
entity Q172579
relation P35
type Q502895
[ANSWER]
['Q172579', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v rdf:type ontology:Q502895 . resource:Q172579 property:P35 ?v }
Umberto II of Italy Umberto I of Italy Vittorio Emanuele III Victor Emmanuel II of Savoy
4
action count
action filter_type
action find
entity Kingdom of Italy
relation head of state
type common name
['Kingdom of Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v rdf:type ontology:common_name . resource:Kingdom_of_Italy property:head_of_state ?v }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q770723
P361
Q1047113 Q58778 Q5962346
USER
How many classification schemes are a component of less number of special fields and systems than auxiliary sciences of history ?
(c(Q5962346),P361,c(Q1047113)|c(Q58778))
action count
action less
action union
action find_tuple_counts
relation P361
type Q5962346
type Q1047113
action find_tuple_counts
relation P361
type Q5962346
type Q58778
action count
action filter_multi_types
action find
entity Q770723
relation P361
type Q1047113
type Q58778
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?h ) WHERE { { ?b property:P361 ?a . ?b rdf:type ontology:Q5962346 . ?a rdf:type ontology:Q1047113 } UNION { ?b property:P361 ?a . ?b rdf:type ontology:Q5962346 . ?a rdf:type ontology:Q58778 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Q770723 property:P361 ?f . { { ?f rdf:type ontology:Q1047113 } UNION { ?f rdf:type ontology:Q58778 } } } } . FILTER ( ?h < ?o ) }
auxiliary sciences of history
action count
action less
action union
action find_tuple_counts
relation part of
type classification scheme
type special field
action find_tuple_counts
relation part of
type classification scheme
type system
action count
action filter_multi_types
action find
entity auxiliary sciences of history
relation part of
type special field
type system
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'special field'}, {'concept': 'system'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?h ) WHERE { { ?b property:part_of ?a . ?b rdf:type ontology:classification_scheme . ?a rdf:type ontology:special_field } UNION { ?b property:part_of ?a . ?b rdf:type ontology:classification_scheme . ?a rdf:type ontology:system } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:auxiliary_sciences_of_history property:part_of ?f . { { ?f rdf:type ontology:special_field } UNION { ?f rdf:type ontology:system } } } } . FILTER ( ?h < ?o ) }
[]
special field system classification scheme
SYSTEM
141
Q814495 Q220131 Q18336 Q13295 Q17308701 Q56936 Q7081687 Q1346342 Q7071313 Q165838 Q2654422 Q795113 Q2145956 Q2714388 Q16334497 Q5577428 Q35111 Q144713 Q380313 Q33852 Q3064420 Q715396 Q954321 Q1929812 Q33136 Q391015 Q853915 Q42250 Q15614122 Q183257 Q853422 Q2701314 Q1422731 Q25433 Q574273 Q787422 Q2056514 Q1429100 Q938245 Q1924856 Q381496 Q128030 Q10427676 Q3217376 Q3217378 Q1193625 Q382113 Q3450906 Q16583941 Q3123021 Q15783860 Q6743068 Q1436372 Q25295 Q621080 Q1412461 Q41217 Q599958 Q420591 Q16113196 Q2029930 Q2397881 Q7632661 Q1255897 Q1153495 Q6424775 Q1334774 Q1603899 Q378426 Q1738162 Q3039115 Q812943 Q164273 Q13955118 Q161272 Q930752 Q32906 Q33750 Q7847646 Q2458420 Q47307 Q371304 Q2153999 Q34090 Q34230 Q2045692 Q193870 Q2520728 Q336387 Q5617043 Q407784 Q2520723 Q1434048 Q3217502 Q1362435 Q349479 Q290578 Q396090 Q185925 Q379838 Q735602 Q10387 Q26721 Q5551285 Q986800 Q1200977 Q1413406 Q52040 Q380344 Q730675 Q11797549 Q30134 Q840400 Q1663002 Q18575626 Q184274 Q179957 Q624758 Q55640 Q5329170 Q12636140 Q7022532 Q192625 Q294417 Q4663617 Q7974669 Q1413942 Q3699526 Q1460420 Q171184 Q828395 Q33932 Q10374568 Q687826 Q1323395 Q190637 Q4866154 Q163629 Q44325 Q5381001 Q175002
(c(Q5962346),P361,c(Q1047113)|c(Q58778))
action count
action less
action union
action find_tuple_counts
relation P361
type Q5962346
type Q1047113
action find_tuple_counts
relation P361
type Q5962346
type Q58778
action count
action filter_multi_types
action find
entity Q770723
relation P361
type Q1047113
type Q58778
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?h ) WHERE { { ?b property:P361 ?a . ?b rdf:type ontology:Q5962346 . ?a rdf:type ontology:Q1047113 } UNION { ?b property:P361 ?a . ?b rdf:type ontology:Q5962346 . ?a rdf:type ontology:Q58778 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:Q770723 property:P361 ?f . { { ?f rdf:type ontology:Q1047113 } UNION { ?f rdf:type ontology:Q58778 } } } } . FILTER ( ?h < ?o ) }
Services for the disabled zoo architecture heraldry South Estonian Gogodala languages Rgyalrongic languages Ok languages Anglic languages Nyungic languages limnology sector of archives B-physics Capacity management Western Romance languages Type IXC/40 submarine Gogodala–Suki Chatino language East Slavic languages archival science Northwest Caucasian languages Ngero–Vitiaz languages Solid-state physics Gallo-Iberian languages systemic therapy Baltic languages Eastern Iranian languages Economic geology hydrology measure theory psychotherapy Paleomagnetism East Barito languages Oghur languages Low German municipal law Automatic Control (technology of automation) Active safety Igboid languages Vanguard-class submarine metal construction Aero climatology dynamics civil defense Western Visayan languages Central Visayan languages social research Admiralty law Behavioural Biology German Type IXD-2 submarine Atlas languages sociology of work Malekula Coastal languages Sira languages language family Library of Congress Classification psephology mechanics Occitano-Romance languages Micronesian languages Kairiru-Manam languages organizational studies Hindi languages Dreadnought-class submarine Dinka–Nuer languages configuration management Koch languages Lahnda languages Makaa–Njem languages diplomatics Kele languages North New Guinea languages Civil Service Law East Semitic languages earthworks social psychology medical specialty Adamawa languages Mongolic languages Trukic languages Tsogo languages genealogy Gorontalo–Mongondow languages Central Algonquian languages Turkic languages Tungusic languages industrial and organizational psychology tribology Administrative Law in Germany digital history Gujarati languages child development Administrative Procedure Law Aircraft construction Central and South New Guinea languages Psychology of learning building industry Radiophysics Agricultural geography graphic design Sigillography quantum optics gerontology West Germanic languages Type IXB submarine Low German languages quaternary sector of the economy technical documentation High German languages descriptive statistics quantitative research Type IXD-1 submarine Ingvaeonic languages evolutionary biology engineering construction Gorontalic celestial mechanics palaeography psychopathology primary sector of the economy Anglo-Frisian languages Manam languages Ngondi–Ngiri languages linguistic typology Public Building Law (Germany) Abazgi languages Wati languages material handling South Omotic languages emergency management phylogeny social policy Ubangian languages Type IXC submarine Mbam languages Ekoid languages Web design Basa languages Ethiopian Semitic languages ontology Environment, Health and Safety developmental psychology
141
action count
action less
action union
action find_tuple_counts
relation part of
type classification scheme
type special field
action find_tuple_counts
relation part of
type classification scheme
type system
action count
action filter_multi_types
action find
entity auxiliary sciences of history
relation part of
type special field
type system
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'special field'}, {'concept': 'system'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?h ) WHERE { { ?b property:part_of ?a . ?b rdf:type ontology:classification_scheme . ?a rdf:type ontology:special_field } UNION { ?b property:part_of ?a . ?b rdf:type ontology:classification_scheme . ?a rdf:type ontology:system } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) WHERE { resource:auxiliary_sciences_of_history property:part_of ?f . { { ?f rdf:type ontology:special_field } UNION { ?f rdf:type ontology:system } } } } . FILTER ( ?h < ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q323936
P361
Q1047113 Q58778 Q5962346
USER
And also tell me about pharmacokinetics?
(c(Q5962346),P361,c(Q1047113)|c(Q58778))
action count
action less
action union
action find_tuple_counts
relation P361
type Q5962346
type Q1047113
action find_tuple_counts
relation P361
type Q5962346
type Q58778
action count
action filter_multi_types
action find
entity Q323936
relation P361
type Q1047113
type Q58778
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?i ) { ( ontology:Q1047113 ) ( ontology:Q58778 ) } . ?t rdf:type ?i } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q323936 property:P361 ?r . { { ?r rdf:type ontology:Q1047113 } UNION { ?r rdf:type ontology:Q58778 } } } } . FILTER ( ?e < ?o ) }
pharmacokinetics
action count
action less
action union
action find_tuple_counts
relation part of
type classification scheme
type special field
action find_tuple_counts
relation part of
type classification scheme
type system
action count
action filter_multi_types
action find
entity pharmacokinetics
relation part of
type special field
type system
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'special field'}, {'concept': 'system'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?i ) { ( ontology:special_field ) ( ontology:system ) } . ?t rdf:type ?i } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:pharmacokinetics property:part_of ?r . { { ?r rdf:type ontology:special_field } UNION { ?r rdf:type ontology:system } } } } . FILTER ( ?e < ?o ) }
[]
special field system classification scheme
SYSTEM
141
Q814495 Q220131 Q18336 Q13295 Q17308701 Q56936 Q7081687 Q1346342 Q7071313 Q165838 Q2654422 Q795113 Q2145956 Q2714388 Q16334497 Q5577428 Q35111 Q144713 Q380313 Q33852 Q3064420 Q715396 Q954321 Q1929812 Q33136 Q391015 Q853915 Q42250 Q15614122 Q183257 Q853422 Q2701314 Q1422731 Q25433 Q574273 Q787422 Q2056514 Q1429100 Q938245 Q1924856 Q381496 Q128030 Q10427676 Q3217376 Q3217378 Q1193625 Q382113 Q3450906 Q16583941 Q3123021 Q15783860 Q6743068 Q1436372 Q25295 Q621080 Q1412461 Q41217 Q599958 Q420591 Q16113196 Q2029930 Q2397881 Q7632661 Q1255897 Q1153495 Q6424775 Q1334774 Q1603899 Q378426 Q1738162 Q3039115 Q812943 Q164273 Q13955118 Q161272 Q930752 Q32906 Q33750 Q7847646 Q2458420 Q47307 Q371304 Q2153999 Q34090 Q34230 Q2045692 Q193870 Q2520728 Q336387 Q5617043 Q407784 Q2520723 Q1434048 Q3217502 Q1362435 Q349479 Q290578 Q396090 Q185925 Q379838 Q735602 Q10387 Q26721 Q5551285 Q986800 Q1200977 Q1413406 Q52040 Q380344 Q730675 Q11797549 Q30134 Q840400 Q1663002 Q18575626 Q184274 Q179957 Q624758 Q55640 Q5329170 Q12636140 Q7022532 Q192625 Q294417 Q4663617 Q7974669 Q1413942 Q3699526 Q1460420 Q171184 Q828395 Q33932 Q10374568 Q687826 Q1323395 Q190637 Q4866154 Q163629 Q44325 Q5381001 Q175002
(c(Q5962346),P361,c(Q1047113)|c(Q58778))
action count
action less
action union
action find_tuple_counts
relation P361
type Q5962346
type Q1047113
action find_tuple_counts
relation P361
type Q5962346
type Q58778
action count
action filter_multi_types
action find
entity Q323936
relation P361
type Q1047113
type Q58778
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?i ) { ( ontology:Q1047113 ) ( ontology:Q58778 ) } . ?t rdf:type ?i } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q323936 property:P361 ?r . { { ?r rdf:type ontology:Q1047113 } UNION { ?r rdf:type ontology:Q58778 } } } } . FILTER ( ?e < ?o ) }
Services for the disabled zoo architecture heraldry South Estonian Gogodala languages Rgyalrongic languages Ok languages Anglic languages Nyungic languages limnology sector of archives B-physics Capacity management Western Romance languages Type IXC/40 submarine Gogodala–Suki Chatino language East Slavic languages archival science Northwest Caucasian languages Ngero–Vitiaz languages Solid-state physics Gallo-Iberian languages systemic therapy Baltic languages Eastern Iranian languages Economic geology hydrology measure theory psychotherapy Paleomagnetism East Barito languages Oghur languages Low German municipal law Automatic Control (technology of automation) Active safety Igboid languages Vanguard-class submarine metal construction Aero climatology dynamics civil defense Western Visayan languages Central Visayan languages social research Admiralty law Behavioural Biology German Type IXD-2 submarine Atlas languages sociology of work Malekula Coastal languages Sira languages language family Library of Congress Classification psephology mechanics Occitano-Romance languages Micronesian languages Kairiru-Manam languages organizational studies Hindi languages Dreadnought-class submarine Dinka–Nuer languages configuration management Koch languages Lahnda languages Makaa–Njem languages diplomatics Kele languages North New Guinea languages Civil Service Law East Semitic languages earthworks social psychology medical specialty Adamawa languages Mongolic languages Trukic languages Tsogo languages genealogy Gorontalo–Mongondow languages Central Algonquian languages Turkic languages Tungusic languages industrial and organizational psychology tribology Administrative Law in Germany digital history Gujarati languages child development Administrative Procedure Law Aircraft construction Central and South New Guinea languages Psychology of learning building industry Radiophysics Agricultural geography graphic design Sigillography quantum optics gerontology West Germanic languages Type IXB submarine Low German languages quaternary sector of the economy technical documentation High German languages descriptive statistics quantitative research Type IXD-1 submarine Ingvaeonic languages evolutionary biology engineering construction Gorontalic celestial mechanics palaeography psychopathology primary sector of the economy Anglo-Frisian languages Manam languages Ngondi–Ngiri languages linguistic typology Public Building Law (Germany) Abazgi languages Wati languages material handling South Omotic languages emergency management phylogeny social policy Ubangian languages Type IXC submarine Mbam languages Ekoid languages Web design Basa languages Ethiopian Semitic languages ontology Environment, Health and Safety developmental psychology
141
action count
action less
action union
action find_tuple_counts
relation part of
type classification scheme
type special field
action find_tuple_counts
relation part of
type classification scheme
type system
action count
action filter_multi_types
action find
entity pharmacokinetics
relation part of
type special field
type system
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'special field'}, {'concept': 'system'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?i ) { ( ontology:special_field ) ( ontology:system ) } . ?t rdf:type ?i } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:pharmacokinetics property:part_of ?r . { { ?r rdf:type ontology:special_field } UNION { ?r rdf:type ontology:system } } } } . FILTER ( ?e < ?o ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q11204 Q7275
USER
Which legislatures are the legislative bodies for around 2 states ?
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
value 2
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P194 ?o . ?o rdf:type ontology:Q11204 . ?e rdf:type ontology:Q7275 } GROUP BY ?o } . FILTER ( ?f = 2 ) }
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:legislative_body ?o . ?o rdf:type ontology:legislature . ?e rdf:type ontology:state } GROUP BY ?o } . FILTER ( ?f = 2 ) }
[]
legislature state
Q539149 Q497578
SYSTEM
Congress of Deputies, Witenagemot
Q539149 Q497578
(c(Q7275),P194,c(Q11204))
action approx
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
value 2
[ANSWERS]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:P194 ?o . ?o rdf:type ontology:Q11204 . ?e rdf:type ontology:Q7275 } GROUP BY ?o } . FILTER ( ?f = 2 ) }
Congress of Deputies Witenagemot
Congress of Deputies Witenagemot
action approx
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?f ) WHERE { ?e property:legislative_body ?o . ?o rdf:type ontology:legislature . ?e rdf:type ontology:state } GROUP BY ?o } . FILTER ( ?f = 2 ) }
[]