Simple Question (Direct)
Simple Question
Q1989055
P106
Q12737077
USER
What is the profession of Niema Movassat ?
(Q1989055,P106,c(Q12737077))
action filter_type
action find
entity Q1989055
relation P106
type Q12737077
['Q1989055', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1989055 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Niema Movassat
action filter_type
action find
entity Niema Movassat
relation occupation
type occupation
['Niema Movassat', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Niema_Movassat property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1989055,P106,c(Q12737077))
action filter_type
action find
entity Q1989055
relation P106
type Q12737077
The profession of Niema Movassat is a [ANSWER]
['Q1989055', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q1989055 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
politician
The profession of Niema Movassat is a politician
politician
action filter_type
action find
entity Niema Movassat
relation occupation
type occupation
['Niema Movassat', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Niema_Movassat property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P39
Q502895
USER
Who held the position of that occupation ?
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?y WHERE { ?y property:P39 resource:Q82955 . ?y rdf:type ontology:Q502895 }
politician
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?y WHERE { ?y property:position_held resource:politician . ?y rdf:type ontology:common_name }
[]
common name
Q26215129
SYSTEM
Morteza Azari
Q26215129
(c(Q502895),P39,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWER] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?y WHERE { ?y property:P39 resource:Q82955 . ?y rdf:type ontology:Q502895 }
Morteza Azari
Morteza Azari held the position of that occupation
Morteza Azari
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?y WHERE { ?y property:position_held resource:politician . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82955
P921
Q2342494
USER
Which collectable was primarily based on politician ?
(c(Q2342494),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q82955']
SELECT DISTINCT ?h WHERE { ?h property:P921 resource:Q82955 . ?h rdf:type ontology:Q2342494 }
politician
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'politician']
SELECT DISTINCT ?h WHERE { ?h property:main_subject resource:politician . ?h rdf:type ontology:collectable }
[]
collectable
Q21601944
SYSTEM
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
Q21601944
(c(Q2342494),P921,Q82955)
action filter_type
action find_reverse
entity Q82955
relation P921
type Q2342494
[ANSWER] was primarily based on politician
[{'concept': 'Q2342494'}, 'P921', 'Q82955']
SELECT DISTINCT ?h WHERE { ?h property:P921 resource:Q82955 . ?h rdf:type ontology:Q2342494 }
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales was primarily based on politician
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
action filter_type
action find_reverse
entity politician
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'politician']
SELECT DISTINCT ?h WHERE { ?h property:main_subject resource:politician . ?h rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21601944
P364
Q34770
USER
Which language was used originally for the creation of that collectable ?
(Q21601944,P364,c(Q34770))
action filter_type
action find
entity Q21601944
relation P364
type Q34770
['Q21601944', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q21601944 property:P364 ?s . ?s rdf:type ontology:Q34770 }
Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
action filter_type
action find
entity Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
relation original language of work
type language
['Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Notitia_Parliamentaria,_Or,_An_History_of_the_Counties,_Cities,_and_Boroughs_in_England_and_Wales property:original_language_of_work ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q21601944,P364,c(Q34770))
action filter_type
action find
entity Q21601944
relation P364
type Q34770
[ANSWER] was used originally for the creation of that collectable
['Q21601944', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q21601944 property:P364 ?s . ?s rdf:type ontology:Q34770 }
English
English was used originally for the creation of that collectable
English
action filter_type
action find
entity Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales
relation original language of work
type language
['Notitia Parliamentaria, Or, An History of the Counties, Cities, and Boroughs in England and Wales', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Notitia_Parliamentaria,_Or,_An_History_of_the_Counties,_Cities,_and_Boroughs_in_England_and_Wales property:original_language_of_work ?s . ?s rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
How many writing systems are used as the alphabet set for atmost 1 language ?
(c(Q34770),P282,c(Q8192))
action count
action atmost
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P282 ?z . ?z rdf:type ontology:Q8192 . ?r rdf:type ontology:Q34770 } GROUP BY ?z } }
action count
action atmost
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:writing_system ?z . ?z rdf:type ontology:writing_system . ?r rdf:type ontology:language } GROUP BY ?z } }
[]
writing system language
SYSTEM
32
Q854968 Q689894 Q82946 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q30972 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q48332 Q26803
(c(Q34770),P282,c(Q8192))
action count
action atmost
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P282 ?z . ?z rdf:type ontology:Q8192 . ?r rdf:type ontology:Q34770 } GROUP BY ?z } }
Burmese alphabet Gurmukhī alphabet katakana Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Linear A Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform hiragana Tamil script
32
action count
action atmost
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { FILTER ( ?i <= 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:writing_system ?z . ?z rdf:type ontology:writing_system . ?r rdf:type ontology:language } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?r WHERE { resource:Q1860 property:P361 ?r . ?r rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?r WHERE { resource:English property:part_of ?r . ?r rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?r WHERE { resource:Q1860 property:P361 ?r . ?r rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?r WHERE { resource:English property:part_of ?r . ?r rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q568690 Q5329170
P361
Q5962346
USER
Which classification schemes are Anglo-Frisian languages or German submarine U-42 a part of ?
OR((Q5329170,P361,c(Q5962346)), (Q568690,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q5329170
relation P361
action find
entity Q568690
relation P361
type Q5962346
{'OR': [['Q5329170', 'P361', {'concept': 'Q5962346'}], ['Q568690', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q5329170 property:P361 ?l } UNION { resource:Q568690 property:P361 ?l } } . ?l rdf:type ontology:Q5962346 }
German submarine U-42 Anglo-Frisian languages
action filter_type
action union
action find
entity Anglo-Frisian languages
relation part of
action find
entity German submarine U-42
relation part of
type classification scheme
{'OR': [['Anglo-Frisian languages', 'part of', {'concept': 'classification scheme'}], ['German submarine U-42', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Anglo-Frisian_languages property:part_of ?l } UNION { resource:German_submarine_U-42 property:part_of ?l } } . ?l rdf:type ontology:classification_scheme }
[]
classification scheme
Q26721 Q30134 Q5551283
SYSTEM
West Germanic languages, Ingvaeonic languages, Type IXA submarine
Q26721 Q30134 Q5551283
OR((Q5329170,P361,c(Q5962346)), (Q568690,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q5329170
relation P361
action find
entity Q568690
relation P361
type Q5962346
Submarine [ANSWERS] are Anglo-Frisian languages or German submarine U-42 a part of
{'OR': [['Q5329170', 'P361', {'concept': 'Q5962346'}], ['Q568690', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q5329170 property:P361 ?l } UNION { resource:Q568690 property:P361 ?l } } . ?l rdf:type ontology:Q5962346 }
West Germanic languages Ingvaeonic languages Type IXA submarine
Submarine West Germanic languages, Ingvaeonic languages and Type IXA submarine are Anglo-Frisian languages or German submarine U-42 a part of
West Germanic languages Ingvaeonic languages Type IXA submarine
action filter_type
action union
action find
entity Anglo-Frisian languages
relation part of
action find
entity German submarine U-42
relation part of
type classification scheme
{'OR': [['Anglo-Frisian languages', 'part of', {'concept': 'classification scheme'}], ['German submarine U-42', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Anglo-Frisian_languages property:part_of ?l } UNION { resource:German_submarine_U-42 property:part_of ?l } } . ?l rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q732680
P176
Q4830453 Q43229 Q5962346
USER
Which classification schemes were built by approximately the same number of business enterprises or organizations as British R-class submarine ?
(c(Q5962346),P176,c(Q4830453)|c(Q43229))
action approx
action union
action find_tuple_counts
relation P176
type Q5962346
type Q4830453
action find_tuple_counts
relation P176
type Q5962346
type Q43229
action count
action filter_multi_types
action find
entity Q732680
relation P176
type Q4830453
type Q43229
[{'concept': 'Q5962346'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?k = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q732680 property:P176 ?c . { { ?c rdf:type ontology:Q4830453 } UNION { ?c rdf:type ontology:Q43229 } } } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?t WHERE { { ?t rdf:type ontology:Q5962346 . ?g rdf:type ontology:Q4830453 . ?t property:P176 ?g } UNION { ?t property:P176 ?g . ?t rdf:type ontology:Q5962346 . ?g rdf:type ontology:Q43229 } } GROUP BY ?t } }
British R-class submarine
action approx
action union
action find_tuple_counts
relation manufacturer
type classification scheme
type business enterprise
action find_tuple_counts
relation manufacturer
type classification scheme
type organization
action count
action filter_multi_types
action find
entity British R-class submarine
relation manufacturer
type business enterprise
type organization
[{'concept': 'classification scheme'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?k = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:British_R-class_submarine property:manufacturer ?c . { { ?c rdf:type ontology:business_enterprise } UNION { ?c rdf:type ontology:organization } } } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?t WHERE { { ?t rdf:type ontology:classification_scheme . ?g rdf:type ontology:business_enterprise . ?t property:manufacturer ?g } UNION { ?t property:manufacturer ?g . ?t rdf:type ontology:classification_scheme . ?g rdf:type ontology:organization } } GROUP BY ?t } }
[]
business enterprise organization classification scheme
Q640482 Q1141901 Q1968562
SYSTEM
Borei-class submarine, Gotland-class submarine, Delta III-class submarine
Q4310117 Q2714941 Q1075135 Q3792937 Q2657561 Q633556 Q7862873 Q861626 Q6424119 Q1626579 Q624804 Q1530956 Q1491613 Q7918762 Q640482 Q19735220 Q1136699 Q1224797 Q4001382 Q6995590 Q15240025 Q7860857 Q2599168 Q1661540 Q4785927 Q5068938 Q2994200 Q969480 Q628759 Q15631817 Q3021196 Q925594 Q6158319 Q337990 Q580314 Q1203377 Q373977 Q2366375 Q3496128 Q2455100 Q921222 Q2638670 Q647854 Q528109 Q1378687 Q13360812 Q643854 Q938245 Q321093 Q19734842 Q7862874 Q4789677 Q5234874 Q2975771 Q3679320 Q699842 Q1516486 Q1144934 Q2892685 Q1141901 Q5631890 Q2443866 Q3679481 Q835312 Q1089274 Q3679523 Q3442947 Q19735154 Q6980321 Q913332 Q2062612 Q7632661 Q1207283 Q2993149 Q2117340 Q3442929 Q4172473 Q819452 Q4367164 Q482835 Q736723 Q3545010 Q389149 Q796474 Q1476763 Q2257275 Q2449695 Q719824 Q10599228 Q2481447 Q11706017 Q4367179 Q4367178 Q2140361 Q914213 Q1086999 Q5306791 Q4367170 Q1968562 Q55520 Q167991 Q1363244 Q1046757 Q385242 Q611047 Q1152494 Q5569474 Q5551294 Q3792815 Q4670007 Q3679466 Q5035812 Q5551292 Q5551291 Q301329 Q1185553 Q584865 Q5009407 Q2558183 Q494403 Q1194834 Q967977 Q477419 Q842423 Q11706010 Q3792787 Q11295226 Q694684 Q4649708 Q2118043 Q1279940 Q1968997 Q6405680 Q1800152 Q596164 Q3793315 Q4267279 Q4789611 Q264912 Q808804 Q6424030 Q732680 Q2975986 Q5306773 Q686973 Q621854 Q1061181 Q820105 Q3508746 Q180719 Q15378718 Q1194312 Q2590674 Q2975856 Q1541289 Q869092 Q698417 Q2165906 Q19735064 Q1109767 Q378777 Q1078065 Q2914356 Q5288990 Q2307521 Q1626183 Q2976020 Q2976023 Q7083233 Q3087816 Q278397 Q19735183 Q7862861 Q553917 Q1719789 Q1661538 Q2455127 Q19735216 Q1661534 Q1462910 Q10669459 Q1754293 Q2257235 Q121982 Q4310421 Q5847242 Q17054854 Q7905814 Q1366715 Q765764
(c(Q5962346),P176,c(Q4830453)|c(Q43229))
action approx
action union
action find_tuple_counts
relation P176
type Q5962346
type Q4830453
action find_tuple_counts
relation P176
type Q5962346
type Q43229
action count
action filter_multi_types
action find
entity Q732680
relation P176
type Q4830453
type Q43229
Submarine [ANSWERS] were built by approximately the same number of business enterprises or organizations as British R-class submarine
[{'concept': 'Q5962346'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?k = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q732680 property:P176 ?c . { { ?c rdf:type ontology:Q4830453 } UNION { ?c rdf:type ontology:Q43229 } } } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?t WHERE { { ?t rdf:type ontology:Q5962346 . ?g rdf:type ontology:Q4830453 . ?t property:P176 ?g } UNION { ?t property:P176 ?g . ?t rdf:type ontology:Q5962346 . ?g rdf:type ontology:Q43229 } } GROUP BY ?t } }
United States F-class submarine Tench-class submarine Arihant-class submarine Sailfish-class submarine British C-class submarine Virginia-class submarine U-27-class submarine Seawolf-class submarine Type 3 submergence transport vehicle Japanese submarine I-351 Chang Bogo-class submarine United States S-class submarine Gal-class submarine Vela-class submarine Borei-class submarine Type 209PN submarine Tang-class submarine Sturgeon-class submarine German Type U 151 submarine Neptun-class submarine Hayashio-class submarine Type A submarine Valiant-class submarine Ha-1-class submarine Archer-class submarine Challenger-class submarine Dekabrist-class submarine Churchill-class submarine Trafalgar-class submarine German Type UE I submarine Nautilus class submarine Swiftsure-class submarine Japanese Type 1 submarine Juliett class submarine United States N-class submarine Type 094 submarine Holland-class submarine British Porpoise-class submarine Shishumar-class submarine Draken-class submarine Skate-class submarine Kalev-class submarine Type 205 submarine Hotel-class submarine Type B submarine Delfinen II class submarine Salmon-class submarine Vanguard-class submarine Hecht Type 209-1100 submarine U-3-class submarine Argonaute-class submarine United States Barracuda-class submarine British B-class submarine Glauco-class submarine Balao-class submarine Walrus-class submarine Gato-class submarine Amur-class submarine Gotland-class submarine Cachalot-class submarine Norwegian A-class submarine Acciaio-class submarine German Type Mittel U submarine Perla-class submarine Flutto-class submarine United States K-class submarine Type 209-1300 submarine Natsushio-class submarine S-80-class submarine S1000 class submarines Dreadnought-class submarine British M-class submarine Holland 602 type submarine Södermanland-class submarine United States L-class submarine Echo I class submarine German Type X submarine Junsen type submarine Type 209 submarine Benjamin Franklin-class submarine United States C-class submarine Ohio-class submarine U-50-class submarine Permit class submarine British D-class submarine Type C1 Japanese submarine James Madison-class submarine Neptun class submarine British A-class submarine U-101-class submarine Hajen-class submarine Una-class submarine Sauro-class submarine Ula-class submarine United States E-class submarine United States B-class submarine Ro-60-class submarine Delta III-class submarine Kilo-class submarine German Type VII submarine Redoutable-class submarine Dolphin-class submarine Yūshio-class submarine Barbel-class submarine Scorpène-class submarine United States H-class submarine Type U 93 Tambor-class submarine Abtao-class submarine Consul class submersible Capitan O'Brien-class submarine German Type U 87 submarine German Type U 81 submarine Mackerel-class submarine Type 093 submarine Resolution class submarine CC-class submarine German Type XVII submarine Type 214 submarine Rubis-class submarine United States Porpoise-class submarine Type 202 submarine Foxtrot-class submarine U-48-class submarine Sargo-class submarine Kalvari-class submarine German Type II submarine AA-1-class submarine Skipjack-class submarine India-class submarine TR-1700-class submarine Type D submarine Lafayette-class submarine Ethan Allen-class submarine Tridente-class submarine Matchanu-class submarine Argo-class submarine November-class submarine French Barracuda-class submarine Ro-11-class submarine British R-class submarine British S-class submarine United States R-class submarine Type 206 submarine German Type I submarine Triomphant-class submarine SM U-63 Heroj-class submarine Minerve-class submarine Type 218 submarine Harushio-class submarine British E-class submarine Explorer-class submarine Västergötland-class submarine Kaidai-class submarine German Type XIV submarine Toti-class submarine Type 209-1200 submarine Collins-class submarine Adua-class submarine Lada-class submarine O 2-class submarine Dolgorae-class submarine Losos-class submarine Ro-100-class submarine British V-class submarine British W-class submarine U-52-class submarine German Type U 31 submarine Sōryū-class submarine Type 209-1400 submarine U-10-class submarine Type 201 submarine German UD-class submarine Ha-3-class submarine Näcken-class submarine Type 209-1500 submarine Ha-7-class submarine Amphion-class submarine Sjölejonet-class submarine Upholder/Victoria-class submarine German Type UB I submarine Astute-class submarine United States D-class submarine T-1-class submarine Heroine-class submarine V-boat Type 091 submarine Kobben-class submarine
Submarine Borei-class submarine, Gotland-class submarine and Delta III-class submarine were built by approximately the same number of business enterprises or organizations as British R-class submarine
Borei-class submarine Gotland-class submarine Delta III-class submarine
action approx
action union
action find_tuple_counts
relation manufacturer
type classification scheme
type business enterprise
action find_tuple_counts
relation manufacturer
type classification scheme
type organization
action count
action filter_multi_types
action find
entity British R-class submarine
relation manufacturer
type business enterprise
type organization
[{'concept': 'classification scheme'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ?t WHERE { FILTER ( ?k = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:British_R-class_submarine property:manufacturer ?c . { { ?c rdf:type ontology:business_enterprise } UNION { ?c rdf:type ontology:organization } } } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?t WHERE { { ?t rdf:type ontology:classification_scheme . ?g rdf:type ontology:business_enterprise . ?t property:manufacturer ?g } UNION { ?t property:manufacturer ?g . ?t rdf:type ontology:classification_scheme . ?g rdf:type ontology:organization } } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q7862861
P176
Q4830453 Q43229 Q5962346
USER
And also tell me about U-10-class submarine?
(c(Q5962346),P176,c(Q4830453)|c(Q43229))
action approx
action union
action find_tuple_counts
relation P176
type Q5962346
type Q4830453
action find_tuple_counts
relation P176
type Q5962346
type Q43229
action count
action filter_multi_types
action find
entity Q7862861
relation P176
type Q4830453
type Q43229
[{'concept': 'Q5962346'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?d ) WHERE { VALUES ( ?c ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?z rdf:type ?c } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q7862861 property:P176 ?l . { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } } } . FILTER ( ?d = ?t ) }
U-10-class submarine
action approx
action union
action find_tuple_counts
relation manufacturer
type classification scheme
type business enterprise
action find_tuple_counts
relation manufacturer
type classification scheme
type organization
action count
action filter_multi_types
action find
entity U-10-class submarine
relation manufacturer
type business enterprise
type organization
[{'concept': 'classification scheme'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?d ) WHERE { VALUES ( ?c ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?z rdf:type ?c } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:U-10-class_submarine property:manufacturer ?l . { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:business_enterprise ) ( ontology:organization ) } } } } . FILTER ( ?d = ?t ) }
[]
business enterprise organization classification scheme
Q640482 Q1141901 Q1968562
SYSTEM
Borei-class submarine, Gotland-class submarine, Delta III-class submarine
Q4310117 Q2714941 Q1075135 Q3792937 Q2657561 Q633556 Q7862873 Q861626 Q6424119 Q1626579 Q624804 Q1530956 Q1491613 Q7918762 Q640482 Q19735220 Q1136699 Q1224797 Q4001382 Q6995590 Q15240025 Q7860857 Q2599168 Q1661540 Q4785927 Q5068938 Q2994200 Q969480 Q628759 Q15631817 Q3021196 Q925594 Q6158319 Q337990 Q580314 Q1203377 Q373977 Q2366375 Q3496128 Q2455100 Q921222 Q2638670 Q647854 Q528109 Q1378687 Q13360812 Q643854 Q938245 Q321093 Q19734842 Q7862874 Q4789677 Q5234874 Q2975771 Q3679320 Q699842 Q1516486 Q1144934 Q2892685 Q1141901 Q5631890 Q2443866 Q3679481 Q835312 Q1089274 Q3679523 Q3442947 Q19735154 Q6980321 Q913332 Q2062612 Q7632661 Q1207283 Q2993149 Q2117340 Q3442929 Q4172473 Q819452 Q4367164 Q482835 Q736723 Q3545010 Q389149 Q796474 Q1476763 Q2257275 Q2449695 Q719824 Q10599228 Q2481447 Q11706017 Q4367179 Q4367178 Q2140361 Q914213 Q1086999 Q5306791 Q4367170 Q1968562 Q55520 Q167991 Q1363244 Q1046757 Q385242 Q611047 Q1152494 Q5569474 Q5551294 Q3792815 Q4670007 Q3679466 Q5035812 Q5551292 Q5551291 Q301329 Q1185553 Q584865 Q5009407 Q2558183 Q494403 Q1194834 Q967977 Q477419 Q842423 Q11706010 Q3792787 Q11295226 Q694684 Q4649708 Q2118043 Q1279940 Q1968997 Q6405680 Q1800152 Q596164 Q3793315 Q4267279 Q4789611 Q264912 Q808804 Q6424030 Q732680 Q2975986 Q5306773 Q686973 Q621854 Q1061181 Q820105 Q3508746 Q180719 Q15378718 Q1194312 Q2590674 Q2975856 Q1541289 Q869092 Q698417 Q2165906 Q19735064 Q1109767 Q378777 Q1078065 Q2914356 Q5288990 Q2307521 Q1626183 Q2976020 Q2976023 Q7083233 Q3087816 Q278397 Q19735183 Q7862861 Q553917 Q1719789 Q1661538 Q2455127 Q19735216 Q1661534 Q1462910 Q10669459 Q1754293 Q2257235 Q121982 Q4310421 Q5847242 Q17054854 Q7905814 Q1366715 Q765764
(c(Q5962346),P176,c(Q4830453)|c(Q43229))
action approx
action union
action find_tuple_counts
relation P176
type Q5962346
type Q4830453
action find_tuple_counts
relation P176
type Q5962346
type Q43229
action count
action filter_multi_types
action find
entity Q7862861
relation P176
type Q4830453
type Q43229
[ANSWERS]
[{'concept': 'Q5962346'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?d ) WHERE { VALUES ( ?c ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?z rdf:type ?c } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q7862861 property:P176 ?l . { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } } } . FILTER ( ?d = ?t ) }
United States F-class submarine Tench-class submarine Arihant-class submarine Sailfish-class submarine British C-class submarine Virginia-class submarine U-27-class submarine Seawolf-class submarine Type 3 submergence transport vehicle Japanese submarine I-351 Chang Bogo-class submarine United States S-class submarine Gal-class submarine Vela-class submarine Borei-class submarine Type 209PN submarine Tang-class submarine Sturgeon-class submarine German Type U 151 submarine Neptun-class submarine Hayashio-class submarine Type A submarine Valiant-class submarine Ha-1-class submarine Archer-class submarine Challenger-class submarine Dekabrist-class submarine Churchill-class submarine Trafalgar-class submarine German Type UE I submarine Nautilus class submarine Swiftsure-class submarine Japanese Type 1 submarine Juliett class submarine United States N-class submarine Type 094 submarine Holland-class submarine British Porpoise-class submarine Shishumar-class submarine Draken-class submarine Skate-class submarine Kalev-class submarine Type 205 submarine Hotel-class submarine Type B submarine Delfinen II class submarine Salmon-class submarine Vanguard-class submarine Hecht Type 209-1100 submarine U-3-class submarine Argonaute-class submarine United States Barracuda-class submarine British B-class submarine Glauco-class submarine Balao-class submarine Walrus-class submarine Gato-class submarine Amur-class submarine Gotland-class submarine Cachalot-class submarine Norwegian A-class submarine Acciaio-class submarine German Type Mittel U submarine Perla-class submarine Flutto-class submarine United States K-class submarine Type 209-1300 submarine Natsushio-class submarine S-80-class submarine S1000 class submarines Dreadnought-class submarine British M-class submarine Holland 602 type submarine Södermanland-class submarine United States L-class submarine Echo I class submarine German Type X submarine Junsen type submarine Type 209 submarine Benjamin Franklin-class submarine United States C-class submarine Ohio-class submarine U-50-class submarine Permit class submarine British D-class submarine Type C1 Japanese submarine James Madison-class submarine Neptun class submarine British A-class submarine U-101-class submarine Hajen-class submarine Una-class submarine Sauro-class submarine Ula-class submarine United States E-class submarine United States B-class submarine Ro-60-class submarine Delta III-class submarine Kilo-class submarine German Type VII submarine Redoutable-class submarine Dolphin-class submarine Yūshio-class submarine Barbel-class submarine Scorpène-class submarine United States H-class submarine Type U 93 Tambor-class submarine Abtao-class submarine Consul class submersible Capitan O'Brien-class submarine German Type U 87 submarine German Type U 81 submarine Mackerel-class submarine Type 093 submarine Resolution class submarine CC-class submarine German Type XVII submarine Type 214 submarine Rubis-class submarine United States Porpoise-class submarine Type 202 submarine Foxtrot-class submarine U-48-class submarine Sargo-class submarine Kalvari-class submarine German Type II submarine AA-1-class submarine Skipjack-class submarine India-class submarine TR-1700-class submarine Type D submarine Lafayette-class submarine Ethan Allen-class submarine Tridente-class submarine Matchanu-class submarine Argo-class submarine November-class submarine French Barracuda-class submarine Ro-11-class submarine British R-class submarine British S-class submarine United States R-class submarine Type 206 submarine German Type I submarine Triomphant-class submarine SM U-63 Heroj-class submarine Minerve-class submarine Type 218 submarine Harushio-class submarine British E-class submarine Explorer-class submarine Västergötland-class submarine Kaidai-class submarine German Type XIV submarine Toti-class submarine Type 209-1200 submarine Collins-class submarine Adua-class submarine Lada-class submarine O 2-class submarine Dolgorae-class submarine Losos-class submarine Ro-100-class submarine British V-class submarine British W-class submarine U-52-class submarine German Type U 31 submarine Sōryū-class submarine Type 209-1400 submarine U-10-class submarine Type 201 submarine German UD-class submarine Ha-3-class submarine Näcken-class submarine Type 209-1500 submarine Ha-7-class submarine Amphion-class submarine Sjölejonet-class submarine Upholder/Victoria-class submarine German Type UB I submarine Astute-class submarine United States D-class submarine T-1-class submarine Heroine-class submarine V-boat Type 091 submarine Kobben-class submarine
Borei-class submarine Gotland-class submarine Delta III-class submarine
action approx
action union
action find_tuple_counts
relation manufacturer
type classification scheme
type business enterprise
action find_tuple_counts
relation manufacturer
type classification scheme
type organization
action count
action filter_multi_types
action find
entity U-10-class submarine
relation manufacturer
type business enterprise
type organization
[{'concept': 'classification scheme'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?d ) WHERE { VALUES ( ?c ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?z rdf:type ?c } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:U-10-class_submarine property:manufacturer ?l . { ?l rdf:type ?f . VALUES ( ?f ) { ( ontology:business_enterprise ) ( ontology:organization ) } } } } . FILTER ( ?d = ?t ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1968562
P289
Q2235308
USER
Which ship type has that classification scheme as vessel class ?
(c(Q2235308),P289,Q1968562)
action filter_type
action find_reverse
entity Q1968562
relation P289
type Q2235308
[{'concept': 'Q2235308'}, 'P289', 'Q1968562']
SELECT DISTINCT ?c WHERE { ?c property:P289 resource:Q1968562 . ?c rdf:type ontology:Q2235308 }
Delta III-class submarine
action filter_type
action find_reverse
entity Delta III-class submarine
relation vessel class
type ship type
[{'concept': 'ship type'}, 'vessel class', 'Delta III-class submarine']
SELECT DISTINCT ?c WHERE { ?c property:vessel_class resource:Delta_III-class_submarine . ?c rdf:type ontology:ship_type }
[]
ship type
Clarification for simple ques.
Q1968562
SYSTEM
Did you mean Delta III-class submarine ?
Q640482 Q1141901 Q1968562
(c(Q2235308),P289,Q640482) (c(Q2235308),P289,Q1141901) (c(Q2235308),P289,Q1968562)
[ANSWER]
[{'concept': 'Q2235308'}, 'P289', 'Q640482'] [{'concept': 'Q2235308'}, 'P289', 'Q1141901'] [{'concept': 'Q2235308'}, 'P289', 'Q1968562']
SELECT DISTINCT ?c WHERE { ?c property:P289 resource:Q1968562 . ?c rdf:type ontology:Q2235308 }
Borei-class submarine Gotland-class submarine Delta III-class submarine
Did you mean Delta III-class submarine ?
Delta III-class submarine
[{'concept': 'ship type'}, 'vessel class', 'Borei-class submarine'] [{'concept': 'ship type'}, 'vessel class', 'Gotland-class submarine'] [{'concept': 'ship type'}, 'vessel class', 'Delta III-class submarine']
SELECT DISTINCT ?c WHERE { ?c property:vessel_class resource:Delta_III-class_submarine . ?c rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2235308),P289,Q1968562)
[{'concept': 'Q2235308'}, 'P289', 'Q1968562']
[{'concept': 'ship type'}, 'vessel class', 'Delta III-class submarine']
[]
Q1126882
SYSTEM
Russian submarine K-496 Borisoglebsk
Q1126882
(c(Q2235308),P289,Q1968562)
action filter_type
action find_reverse
entity Q1968562
relation P289
type Q2235308
[ANSWER] has that classification scheme as vessel class
[{'concept': 'Q2235308'}, 'P289', 'Q1968562']
SELECT DISTINCT ?c WHERE { ?c property:P289 resource:Q1968562 . ?c rdf:type ontology:Q2235308 }
Russian submarine K-496 Borisoglebsk
Russian submarine K-496 Borisoglebsk has that classification scheme as vessel class
Russian submarine K-496 Borisoglebsk
action filter_type
action find_reverse
entity Delta III-class submarine
relation vessel class
type ship type
[{'concept': 'ship type'}, 'vessel class', 'Delta III-class submarine']
SELECT DISTINCT ?c WHERE { ?c property:vessel_class resource:Delta_III-class_submarine . ?c rdf:type ontology:ship_type }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1126882 Q465283 Q796754
P137
Q781132
USER
Does that ship type can be described as facility operator of Russian Navy and Soviet Navy ?
(Q1126882,P137,Q465283) (Q1126882,P137,Q796754)
action is_in
entity Q1126882
action intersection
action find_reverse
entity Q465283
relation P137
action find_reverse
entity Q796754
relation P137
['Q1126882', 'P137', 'Q465283'] ['Q1126882', 'P137', 'Q796754']
ASK WHERE { resource:Q1126882 property:P137 resource:Q465283 . resource:Q1126882 property:P137 resource:Q796754 }
Russian submarine K-496 Borisoglebsk Russian Navy Soviet Navy
action is_in
entity Russian submarine K-496 Borisoglebsk
action intersection
action find_reverse
entity Russian Navy
relation operator
action find_reverse
entity Soviet Navy
relation operator
['Russian submarine K-496 Borisoglebsk', 'operator', 'Russian Navy'] ['Russian submarine K-496 Borisoglebsk', 'operator', 'Soviet Navy']
ASK WHERE { resource:Russian_submarine_K-496_Borisoglebsk property:operator resource:Russian_Navy . resource:Russian_submarine_K-496_Borisoglebsk property:operator resource:Soviet_Navy }
[]
military branch
SYSTEM
YES
(Q1126882,P137,Q465283) (Q1126882,P137,Q796754)
action is_in
entity Q1126882
action intersection
action find_reverse
entity Q465283
relation P137
action find_reverse
entity Q796754
relation P137
[ANSWER]
['Q1126882', 'P137', 'Q465283'] ['Q1126882', 'P137', 'Q796754']
ASK WHERE { resource:Q1126882 property:P137 resource:Q465283 . resource:Q1126882 property:P137 resource:Q796754 }
Yes
action is_in
entity Russian submarine K-496 Borisoglebsk
action intersection
action find_reverse
entity Russian Navy
relation operator
action find_reverse
entity Soviet Navy
relation operator
['Russian submarine K-496 Borisoglebsk', 'operator', 'Russian Navy'] ['Russian submarine K-496 Borisoglebsk', 'operator', 'Soviet Navy']
ASK WHERE { resource:Russian_submarine_K-496_Borisoglebsk property:operator resource:Russian_Navy . resource:Russian_submarine_K-496_Borisoglebsk property:operator resource:Soviet_Navy }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P407
Q34770 Q82799 Q1002697
USER
Which languages are the languages of work for max number of names or periodical literatures ?
(c(Q82799)|c(Q1002697),P407,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
[[{'concept': 'Q82799'}, {'concept': 'Q1002697'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?p ) WHERE { { ?r property:P407 ?h . ?h rdf:type ontology:Q34770 . ?r rdf:type ontology:Q82799 } UNION { ?r property:P407 ?h . ?h rdf:type ontology:Q34770 . ?r rdf:type ontology:Q1002697 } } GROUP BY ?h } } . FILTER ( ?e = ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?e ) WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:Q82799 ) ( ontology:Q1002697 ) } } GROUP BY ?i } }
action argmax
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
[[{'concept': 'name'}, {'concept': 'periodical literature'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?p ) WHERE { { ?r property:language_of_work_or_name ?h . ?h rdf:type ontology:language . ?r rdf:type ontology:name } UNION { ?r property:language_of_work_or_name ?h . ?h rdf:type ontology:language . ?r rdf:type ontology:periodical_literature } } GROUP BY ?h } } . FILTER ( ?e = ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?e ) WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:name ) ( ontology:periodical_literature ) } } GROUP BY ?i } }
[]
language name periodical literature
Q1860
SYSTEM
English
Q1860
(c(Q82799)|c(Q1002697),P407,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
[ANSWER] is the languages of work for max number of names or periodical literatures
[[{'concept': 'Q82799'}, {'concept': 'Q1002697'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?p ) WHERE { { ?r property:P407 ?h . ?h rdf:type ontology:Q34770 . ?r rdf:type ontology:Q82799 } UNION { ?r property:P407 ?h . ?h rdf:type ontology:Q34770 . ?r rdf:type ontology:Q1002697 } } GROUP BY ?h } } . FILTER ( ?e = ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?e ) WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:Q82799 ) ( ontology:Q1002697 ) } } GROUP BY ?i } }
English
English is the languages of work for max number of names or periodical literatures
English
action argmax
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
[[{'concept': 'name'}, {'concept': 'periodical literature'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?p ) WHERE { { ?r property:language_of_work_or_name ?h . ?h rdf:type ontology:language . ?r rdf:type ontology:name } UNION { ?r property:language_of_work_or_name ?h . ?h rdf:type ontology:language . ?r rdf:type ontology:periodical_literature } } GROUP BY ?h } } . FILTER ( ?e = ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?e ) WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:name ) ( ontology:periodical_literature ) } } GROUP BY ?i } }
[]