Simple Question (Direct)
Simple Question
Q16186674
P19
Q56061
USER
Which administrative territory was G. Rohini born at ?
(Q16186674,P19,c(Q56061))
action filter_type
action find
entity Q16186674
relation P19
type Q56061
['Q16186674', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q16186674 property:P19 ?p . ?p rdf:type ontology:Q56061 }
G. Rohini
action filter_type
action find
entity G. Rohini
relation place of birth
type administrative territorial entity
['G. Rohini', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:G._Rohini property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q200016
SYSTEM
Visakhapatnam
Q200016
(Q16186674,P19,c(Q56061))
action filter_type
action find
entity Q16186674
relation P19
type Q56061
G. Rohini was born in [ANSWER]
['Q16186674', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q16186674 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Visakhapatnam
G. Rohini was born in Visakhapatnam
Visakhapatnam
action filter_type
action find
entity G. Rohini
relation place of birth
type administrative territorial entity
['G. Rohini', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:G._Rohini property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q200016
P159
Q43229
USER
Which organizations have HQ at that administrative territory ?
(c(Q43229),P159,Q200016)
action filter_type
action find_reverse
entity Q200016
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q200016']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q200016 . ?t rdf:type ontology:Q43229 }
Visakhapatnam
action filter_type
action find_reverse
entity Visakhapatnam
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Visakhapatnam']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Visakhapatnam . ?t rdf:type ontology:organization }
[]
organization
Q3523533 Q7295007 Q18355262
SYSTEM
Hindustan Shipyard, Rashtriya Ispat Nigam, Sarawagi Group
Q18355262 Q3523533 Q3633022 Q5306850 Q7295007
(c(Q43229),P159,Q200016)
action filter_type
action find_reverse
entity Q200016
relation P159
type Q43229
[ANSWERS] have HQ at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q200016']
SELECT DISTINCT ?t WHERE { ?t property:P159 resource:Q200016 . ?t rdf:type ontology:Q43229 }
Sarawagi Group Hindustan Shipyard Vizag Steel Dredging Corporation of India Limited Rashtriya Ispat Nigam
Hindustan Shipyard, Rashtriya Ispat Nigam and Sarawagi Group have HQ at that administrative territory
Hindustan Shipyard Rashtriya Ispat Nigam Sarawagi Group
action filter_type
action find_reverse
entity Visakhapatnam
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Visakhapatnam']
SELECT DISTINCT ?t WHERE { ?t property:headquarters_location resource:Visakhapatnam . ?t rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3523533
P176
Q2235308
USER
Which ship types were produced by that organization ?
(c(Q2235308),P176,Q3523533)
action filter_type
action find_reverse
entity Q3523533
relation P176
type Q2235308
[{'concept': 'Q2235308'}, 'P176', 'Q3523533']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2235308 . ?v property:P176 resource:Q3523533 }
Hindustan Shipyard
action filter_type
action find_reverse
entity Hindustan Shipyard
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'Hindustan Shipyard']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:ship_type . ?v property:manufacturer resource:Hindustan_Shipyard }
[]
ship type
Clarification for simple ques.
Q7295007
SYSTEM
Did you mean Rashtriya Ispat Nigam ?
Q3523533 Q7295007 Q18355262
(c(Q2235308),P176,Q3523533) (c(Q2235308),P176,Q7295007) (c(Q2235308),P176,Q18355262)
[ANSWER]
[{'concept': 'Q2235308'}, 'P176', 'Q3523533'] [{'concept': 'Q2235308'}, 'P176', 'Q7295007'] [{'concept': 'Q2235308'}, 'P176', 'Q18355262']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2235308 . ?v property:P176 resource:Q3523533 }
Hindustan Shipyard Rashtriya Ispat Nigam Sarawagi Group
Did you mean Rashtriya Ispat Nigam ?
Rashtriya Ispat Nigam
[{'concept': 'ship type'}, 'manufacturer', 'Hindustan Shipyard'] [{'concept': 'ship type'}, 'manufacturer', 'Rashtriya Ispat Nigam'] [{'concept': 'ship type'}, 'manufacturer', 'Sarawagi Group']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:ship_type . ?v property:manufacturer resource:Hindustan_Shipyard }
[]
Simple Question (Coreferenced)
USER
No, I meant Hindustan Shipyard. Could you tell me the answer for that?
(c(Q2235308),P176,Q3523533)
Q3523533
[{'concept': 'Q2235308'}, 'P176', 'Q3523533']
[{'concept': 'ship type'}, 'manufacturer', 'Hindustan Shipyard']
[]
Q3535607 Q5972649 Q5972656
SYSTEM
Magar class amphibious warfare vessel, INS Sarayu, INS Savitri
Q7390978 Q3535607 Q5972649 Q5972656 Q5972508 Q7390976 Q5972667 Q7292949 Q11707833 Q5972586
(c(Q2235308),P176,Q3523533)
action filter_type
action find_reverse
entity Q3523533
relation P176
type Q2235308
[ANSWERS] were produced by that organization
[{'concept': 'Q2235308'}, 'P176', 'Q3523533']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2235308 . ?v property:P176 resource:Q3523533 }
SLNS Sagara Magar class amphibious warfare vessel INS Sarayu INS Savitri INS Gharial SLNS Sayura INS Sharada Rani Abbakka-class inshore patrol vessel Ambika-class replenishment ship INS Magar
Magar class amphibious warfare vessel, INS Sarayu and INS Savitri were produced by that organization
Magar class amphibious warfare vessel INS Sarayu INS Savitri
action filter_type
action find_reverse
entity Hindustan Shipyard
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'Hindustan Shipyard']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:ship_type . ?v property:manufacturer resource:Hindustan_Shipyard }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q2235308 Q5962346
USER
How many classification schemes have atleast 1 ship type as their namesake ?
(c(Q5962346),P138,c(Q2235308))
action count
action atleast
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
value 1
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?l ) WHERE { ?h property:P138 ?i . ?h rdf:type ontology:Q5962346 . ?i rdf:type ontology:Q2235308 } GROUP BY ?h } . FILTER ( ?l >= 1 ) }
action count
action atleast
action find_tuple_counts
relation named after
type classification scheme
type ship type
value 1
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?l ) WHERE { ?h property:named_after ?i . ?h rdf:type ontology:classification_scheme . ?i rdf:type ontology:ship_type } GROUP BY ?h } . FILTER ( ?l >= 1 ) }
[]
ship type classification scheme
SYSTEM
100
Q604884 Q2707876 Q19510619 Q633556 Q1785063 Q7862873 Q861626 Q699842 Q7862878 Q2478091 Q19735222 Q640482 Q1224797 Q864181 Q4001382 Q2599168 Q26721518 Q545685 Q864160 Q10669459 Q3496128 Q2455100 Q6378043 Q1956921 Q938245 Q1195377 Q5234874 Q3679320 Q1516486 Q1141901 Q11378713 Q3679483 Q3679481 Q16151071 Q3793687 Q2161866 Q1146715 Q625467 Q713262 Q4367169 Q2117340 Q4367162 Q294566 Q4367165 Q531597 Q18844669 Q18844668 Q736723 Q1324568 Q231533 Q389149 Q1476763 Q9771135 Q3496182 Q2449695 Q719824 Q917315 Q2212420 Q18759041 Q4367179 Q914213 Q4367170 Q274841 Q5551294 Q3679466 Q6405078 Q18702896 Q3679377 Q2975963 Q4367180 Q2519345 Q1506792 Q1124859 Q1800152 Q2596671 Q7108083 Q732680 Q11378714 Q2149669 Q1061181 Q665249 Q18702864 Q1541289 Q596164 Q116633 Q1078065 Q2914356 Q656321 Q6134876 Q6134878 Q1997574 Q7862868 Q10884810 Q7862861 Q2455127 Q3792101 Q3679282 Q121982 Q404541 Q7905814
(c(Q5962346),P138,c(Q2235308))
action count
action atleast
action find_tuple_counts
relation P138
type Q5962346
type Q2235308
value 1
[ANSWER]
[{'concept': 'Q5962346'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?l ) WHERE { ?h property:P138 ?i . ?h rdf:type ontology:Q5962346 . ?i rdf:type ontology:Q2235308 } GROUP BY ?h } . FILTER ( ?l >= 1 ) }
Rainbow-class submarine Sjöormen-class submarine Narhvalen-class submarine Virginia-class submarine Grampus-class submarine U-27-class submarine Seawolf-class submarine Balao-class submarine U-43-class submarine Dolfijn-class submarine Salta-class submarine Borei-class submarine Sturgeon-class submarine Type C3 Japanese submarine German Type U 151 submarine Valiant-class submarine German Type U 17 submarine Cagni-class submarine Type B3 submarine Sjölejonet-class submarine Shishumar-class submarine Draken-class submarine Katsonis-class submarine Mystic-class deep-submergence rescue vehicle Vanguard-class submarine Oyashio-class submarine United States Barracuda-class submarine Glauco-class submarine Walrus-class submarine Gotland-class submarine I-156-class submarine Settembrini-class submarine Acciaio-class submarine Type J1 submarine Vetehinen-class submarine I-201-class submarine I-400-class submarine Circé-class submarine Hai Lung-class submarine Type J3 submarine Södermanland-class submarine I-162-class submarine Type AM submarine KD7-type Japanese submarine Odin-class submarine Type D3 submarine Type D2 submarine Benjamin Franklin-class submarine Type A1 submarine Zwaardvis-class submarine Ohio-class submarine Permit class submarine Tikuna-class submarine Sindhughosh-class submarine Type C1 Japanese submarine James Madison-class submarine Brin-class submarine I-121-class submarine Type C2 Japanese submarine Hajen-class submarine Ula-class submarine Ro-60-class submarine Émeraude-class submarine Type U 93 Consul class submersible Type A2 submarine Type J1M submarine Liuzzi-class submarine Parthian-class submarine Hrabri-class submarine Archimede-class submarine George Washington class submarine Oberon-class submarine Lafayette-class submarine Type B1 submarine Osvetnik-class submarine British R-class submarine I-153-class submarine K XI-class submarine Triomphant-class submarine Los Angeles-class submarine Type J2 submarine Västergötland-class submarine Ethan Allen-class submarine O 19-class submarine Lada-class submarine O 2-class submarine Calvi-class submarine KD6a-type Japanese submarine KD6b-type Japanese submarine Orzeł-class submarine U-20-class submarine KD5-type Japanese submarine U-10-class submarine Näcken-class submarine Pisces-class deep submergence vehicle Dupuy de Lôme-class submarine Astute-class submarine Aigrette-class submarine V-boat
100
action count
action atleast
action find_tuple_counts
relation named after
type classification scheme
type ship type
value 1
[{'concept': 'classification scheme'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?l ) WHERE { ?h property:named_after ?i . ?h rdf:type ontology:classification_scheme . ?i rdf:type ontology:ship_type } GROUP BY ?h } . FILTER ( ?l >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3535607
P176
Q43229
USER
Who is the producer of Magar class amphibious warfare vessel ?
(Q3535607,P176,c(Q43229))
action filter_type
action find
entity Q3535607
relation P176
type Q43229
['Q3535607', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q3535607 property:P176 ?y . ?y rdf:type ontology:Q43229 }
Magar class amphibious warfare vessel
action filter_type
action find
entity Magar class amphibious warfare vessel
relation manufacturer
type organization
['Magar class amphibious warfare vessel', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Magar_class_amphibious_warfare_vessel property:manufacturer ?y . ?y rdf:type ontology:organization }
[]
organization
Q3523533
SYSTEM
Hindustan Shipyard
Q3523533
(Q3535607,P176,c(Q43229))
action filter_type
action find
entity Q3535607
relation P176
type Q43229
The producer of Magar class amphibious warfare vessel is the [ANSWER]
['Q3535607', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q3535607 property:P176 ?y . ?y rdf:type ontology:Q43229 }
Hindustan Shipyard
The producer of Magar class amphibious warfare vessel is the Hindustan Shipyard
Hindustan Shipyard
action filter_type
action find
entity Magar class amphibious warfare vessel
relation manufacturer
type organization
['Magar class amphibious warfare vessel', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Magar_class_amphibious_warfare_vessel property:manufacturer ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3535607
P137
Q781132
USER
Who manages that ship type ?
(Q3523533,P137,c(Q781132))
action filter_type
action find
entity Q3535607
relation P137
type Q781132
['Q3523533', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { resource:Q3535607 property:P137 ?t . ?t rdf:type ontology:Q781132 }
Magar class amphibious warfare vessel
action filter_type
action find
entity Magar class amphibious warfare vessel
relation operator
type military branch
['Hindustan Shipyard', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { resource:Magar_class_amphibious_warfare_vessel property:operator ?t . ?t rdf:type ontology:military_branch }
[]
military branch
Q356359
SYSTEM
Indian Navy
Q356359
(Q3523533,P137,c(Q781132))
action filter_type
action find
entity Q3535607
relation P137
type Q781132
[ANSWER] manages that ship type
['Q3523533', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { resource:Q3535607 property:P137 ?t . ?t rdf:type ontology:Q781132 }
Indian Navy
Indian Navy manages that ship type
Indian Navy
action filter_type
action find
entity Magar class amphibious warfare vessel
relation operator
type military branch
['Hindustan Shipyard', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { resource:Magar_class_amphibious_warfare_vessel property:operator ?t . ?t rdf:type ontology:military_branch }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P121
Q20027951 Q781132
USER
How many military branches manage more number of aircraft power classes than that military branch ?
(c(Q781132),P121,c(Q20027951))
action count
action greater
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action count
action filter_type
action find
entity Q356359
relation P121
type Q781132
[{'concept': 'Q781132'}, 'P121', {'concept': 'Q20027951'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q356359 property:P121 ?e . ?e rdf:type ontology:Q781132 } } . FILTER ( ?l > ?g ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { ?p property:P121 ?c . ?p rdf:type ontology:Q781132 . ?c rdf:type ontology:Q20027951 } GROUP BY ?p } }
action count
action greater
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action count
action filter_type
action find
entity Indian Navy
relation item operated
type military branch
[{'concept': 'military branch'}, 'item operated', {'concept': 'aircraft power class'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Indian_Navy property:item_operated ?e . ?e rdf:type ontology:military_branch } } . FILTER ( ?l > ?g ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { ?p property:item_operated ?c . ?p rdf:type ontology:military_branch . ?c rdf:type ontology:aircraft_power_class } GROUP BY ?p } }
[]
aircraft power class military branch
SYSTEM
1
Q4419309
(c(Q781132),P121,c(Q20027951))
action count
action greater
action find_tuple_counts
relation P121
type Q781132
type Q20027951
action count
action filter_type
action find
entity Q356359
relation P121
type Q781132
[ANSWER]
[{'concept': 'Q781132'}, 'P121', {'concept': 'Q20027951'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q356359 property:P121 ?e . ?e rdf:type ontology:Q781132 } } . FILTER ( ?l > ?g ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { ?p property:P121 ?c . ?p rdf:type ontology:Q781132 . ?c rdf:type ontology:Q20027951 } GROUP BY ?p } }
Kazakh Air and Air Defence Forces
1
action count
action greater
action find_tuple_counts
relation item operated
type military branch
type aircraft power class
action count
action filter_type
action find
entity Indian Navy
relation item operated
type military branch
[{'concept': 'military branch'}, 'item operated', {'concept': 'aircraft power class'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Indian_Navy property:item_operated ?e . ?e rdf:type ontology:military_branch } } . FILTER ( ?l > ?g ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { ?p property:item_operated ?c . ?p rdf:type ontology:military_branch . ?c rdf:type ontology:aircraft_power_class } GROUP BY ?p } }
[]