Simple Question (Direct)
Simple Question
Q349822
P19
Q15617994
USER
Which administrative territory was Sigfridus Aronus Forsius born in ?
(Q349822,P19,c(Q15617994))
action filter_type
action find
entity Q349822
relation P19
type Q15617994
['Q349822', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q349822 property:P19 ?r . ?r rdf:type ontology:Q15617994 }
Sigfridus Aronus Forsius
action filter_type
action find
entity Sigfridus Aronus Forsius
relation place of birth
type designation for an administrative territorial entity
['Sigfridus Aronus Forsius', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Sigfridus_Aronus_Forsius property:place_of_birth ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q349822,P19,c(Q15617994))
action filter_type
action find
entity Q349822
relation P19
type Q15617994
Sigfridus Aronus Forsius was born in [ANSWER]
['Q349822', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q349822 property:P19 ?r . ?r rdf:type ontology:Q15617994 }
Finland
Sigfridus Aronus Forsius was born in Finland
Finland
action filter_type
action find
entity Sigfridus Aronus Forsius
relation place of birth
type designation for an administrative territorial entity
['Sigfridus Aronus Forsius', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Sigfridus_Aronus_Forsius property:place_of_birth ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q349822
P21
Q290
USER
Which sex does that person belong to ?
(Q33,P21,c(Q290))
action filter_type
action find
entity Q349822
relation P21
type Q290
['Q33', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q349822 property:P21 ?j . ?j rdf:type ontology:Q290 }
Sigfridus Aronus Forsius
action filter_type
action find
entity Sigfridus Aronus Forsius
relation gender
type sex
['Finland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Sigfridus_Aronus_Forsius property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q33,P21,c(Q290))
action filter_type
action find
entity Q349822
relation P21
type Q290
That person belongs to [ANSWER]
['Q33', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q349822 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Sigfridus Aronus Forsius
relation gender
type sex
['Finland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Sigfridus_Aronus_Forsius property:gender ?j . ?j rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q360685 Q349822
P106
Q12737077
USER
Which occupations are the job of Sigfridus Aronus Forsius and Johannes Stadius ?
AND((Q349822,P106,c(Q12737077)), (Q360685,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q349822
relation P106
action find
entity Q360685
relation P106
type Q12737077
{'AND': [['Q349822', 'P106', {'concept': 'Q12737077'}], ['Q360685', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { resource:Q360685 property:P106 ?c . resource:Q349822 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Johannes Stadius Sigfridus Aronus Forsius
action filter_type
action intersection
action find
entity Sigfridus Aronus Forsius
relation occupation
action find
entity Johannes Stadius
relation occupation
type occupation
{'AND': [['Sigfridus Aronus Forsius', 'occupation', {'concept': 'occupation'}], ['Johannes Stadius', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { resource:Johannes_Stadius property:occupation ?c . resource:Sigfridus_Aronus_Forsius property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q11063
SYSTEM
astronomer
Q11063
AND((Q349822,P106,c(Q12737077)), (Q360685,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q349822
relation P106
action find
entity Q360685
relation P106
type Q12737077
The [ANSWER] is the job of Sigfridus Aronus Forsius and Johannes Stadius
{'AND': [['Q349822', 'P106', {'concept': 'Q12737077'}], ['Q360685', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { resource:Q360685 property:P106 ?c . resource:Q349822 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
astronomer
The astronomer is the job of Sigfridus Aronus Forsius and Johannes Stadius
astronomer
action filter_type
action intersection
action find
entity Sigfridus Aronus Forsius
relation occupation
action find
entity Johannes Stadius
relation occupation
type occupation
{'AND': [['Sigfridus Aronus Forsius', 'occupation', {'concept': 'occupation'}], ['Johannes Stadius', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { resource:Johannes_Stadius property:occupation ?c . resource:Sigfridus_Aronus_Forsius property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11063 Q315069
P106
Q502895
USER
Does David Brin have the profession of that occupation ?
(Q315069,P106,Q11063)
action is_in
entity Q11063
action find
entity Q315069
relation P106
['Q315069', 'P106', 'Q11063']
ASK WHERE { resource:Q315069 property:P106 resource:Q11063 }
astronomer David Brin
action is_in
entity astronomer
action find
entity David Brin
relation occupation
['David Brin', 'occupation', 'astronomer']
ASK WHERE { resource:David_Brin property:occupation resource:astronomer }
[]
common name
SYSTEM
YES
(Q315069,P106,Q11063)
action is_in
entity Q11063
action find
entity Q315069
relation P106
[ANSWER]
['Q315069', 'P106', 'Q11063']
ASK WHERE { resource:Q315069 property:P106 resource:Q11063 }
Yes
action is_in
entity astronomer
action find
entity David Brin
relation occupation
['David Brin', 'occupation', 'astronomer']
ASK WHERE { resource:David_Brin property:occupation resource:astronomer }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12782
P138
Q34442 Q223557 Q15617994
USER
How many administrative territories are the eponym of around the same number of roads and physical objects as Territoire de Belfort ?
(c(Q15617994),P138,c(Q34442)|c(Q223557))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action find_tuple_counts
relation P138
type Q15617994
type Q223557
action count
action filter_multi_types
action find
entity Q12782
relation P138
type Q34442
type Q223557
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q34442'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?r WHERE { { ?r property:P138 ?g . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q223557 } UNION { ?r property:P138 ?g . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q34442 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q12782 property:P138 ?l . { { ?l rdf:type ontology:Q34442 } UNION { ?l rdf:type ontology:Q223557 } } } } . FILTER ( ?d = ?w ) }
Territoire de Belfort
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find
entity Territoire de Belfort
relation named after
type road
type physical object
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'road'}, {'concept': 'physical object'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?r WHERE { { ?r property:named_after ?g . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:physical_object } UNION { ?r property:named_after ?g . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:road } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Territoire_de_Belfort property:named_after ?l . { { ?l rdf:type ontology:road } UNION { ?l rdf:type ontology:physical_object } } } } . FILTER ( ?d = ?w ) }
[]
road physical object designation for an administrative territorial entity
SYSTEM
316
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q34442)|c(Q223557))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action find_tuple_counts
relation P138
type Q15617994
type Q223557
action count
action filter_multi_types
action find
entity Q12782
relation P138
type Q34442
type Q223557
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q34442'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?r WHERE { { ?r property:P138 ?g . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q223557 } UNION { ?r property:P138 ?g . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q34442 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q12782 property:P138 ?l . { { ?l rdf:type ontology:Q34442 } UNION { ?l rdf:type ontology:Q223557 } } } } . FILTER ( ?d = ?w ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
316
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find
entity Territoire de Belfort
relation named after
type road
type physical object
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'road'}, {'concept': 'physical object'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) ?r WHERE { { ?r property:named_after ?g . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:physical_object } UNION { ?r property:named_after ?g . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:road } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Territoire_de_Belfort property:named_after ?l . { { ?l rdf:type ontology:road } UNION { ?l rdf:type ontology:physical_object } } } } . FILTER ( ?d = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q27
P138
Q34442 Q223557 Q15617994
USER
And also tell me about Ireland?
(c(Q15617994),P138,c(Q34442)|c(Q223557))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action find_tuple_counts
relation P138
type Q15617994
type Q223557
action count
action filter_multi_types
action find
entity Q27
relation P138
type Q34442
type Q223557
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q34442'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?w WHERE { VALUES ( ?q ) { ( ontology:Q223557 ) ( ontology:Q34442 ) } . ?n rdf:type ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { { ?j rdf:type ontology:Q34442 } UNION { ?j rdf:type ontology:Q223557 } } . resource:Q27 property:P138 ?j } } . FILTER ( ?u = ?d ) }
Ireland
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find
entity Ireland
relation named after
type road
type physical object
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'road'}, {'concept': 'physical object'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?w WHERE { VALUES ( ?q ) { ( ontology:physical_object ) ( ontology:road ) } . ?n rdf:type ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { { ?j rdf:type ontology:road } UNION { ?j rdf:type ontology:physical_object } } . resource:Ireland property:named_after ?j } } . FILTER ( ?u = ?d ) }
[]
road physical object designation for an administrative territorial entity
SYSTEM
316
Q701 Q158876 Q968630 Q705 Q3216 Q707 Q1087137 Q709 Q1421544 Q12789 Q1027 Q12779 Q124000 Q12631 Q1041 Q3305157 Q492430 Q668 Q14697553 Q10919 Q2567507 Q3278 Q12563 Q142 Q33 Q685048 Q21671144 Q801 Q12538 Q1093 Q12536 Q12740 Q189 Q12820 Q1090684 Q657 Q3184 Q1098820 Q1452650 Q12594 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q710 Q1979 Q625403 Q691368 Q1817784 Q199974 Q2998020 Q3083 Q7408058 Q1939894 Q1028 Q12772 Q3286 Q691890 Q3249 Q12607 Q2310748 Q3164 Q15055472 Q1465069 Q12572 Q554491 Q159 Q686924 Q598193 Q1090678 Q12556 Q12526 Q12689 Q12753 Q624428 Q155 Q1232680 Q2527360 Q699731 Q290739 Q3377 Q12576 Q3372 Q231168 Q739 Q12589 Q2521404 Q12574 Q957825 Q1270638 Q3093 Q161258 Q1965 Q1508919 Q979470 Q3259 Q10903 Q786 Q1142326 Q10957559 Q5015782 Q676543 Q1270648 Q2758 Q12694 Q3563282 Q12745 Q12515 Q451448 Q12517 Q3368 Q32 Q31 Q30 Q924 Q36 Q12770 Q928 Q3361 Q39 Q3364 Q302479 Q2514636 Q1452646 Q986 Q541095 Q20211 Q3148 Q219 Q1390630 Q736 Q2567535 Q12798 Q4336071 Q1032 Q1508927 Q11140 Q3068 Q12792 Q676178 Q1268811 Q1338277 Q236 Q492437 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q282355 Q238 Q12620 Q566032 Q12661 Q20 Q4229407 Q621869 Q1042 Q475659 Q691265 Q28 Q1366860 Q12788 Q12584 Q12580 Q1025 Q683555 Q1020 Q2009 Q843 Q12709 Q184 Q548396 Q1029 Q3336 Q1206596 Q3334 Q541811 Q707950 Q3131 Q7084 Q1904 Q27495866 Q12784 Q12578 Q12717 Q3139 Q12782 Q3342 Q12559 Q558771 Q12679 Q12700 Q12703 Q1101 Q12675 Q811 Q1270623 Q347 Q71090 Q1989 Q4165945 Q21915715 Q902 Q153402 Q3207 Q974 Q3120 Q894972 Q894971 Q14810 Q967 Q962 Q963 Q2921370 Q694 Q3125 Q114 Q117 Q81751 Q12569 Q2921378 Q1788988 Q754 Q752 Q750 Q12730 Q12657 Q20095245 Q217 Q12736 Q12642 Q160307 Q12761 Q505607 Q6661829 Q2295479 Q2115819 Q912 Q1270568 Q1270636 Q2136219 Q3514973 Q1090691 Q12765 Q1005 Q977 Q1019 Q1008 Q3509886 Q971 Q3194 Q3113 Q568833 Q252157 Q12652 Q3110307 Q894973 Q541589 Q20310 Q760 Q1033 Q11301 Q1030 Q12804 Q12808 Q894970 Q12722 Q784 Q3326 Q79 Q1234961 Q12553 Q3528124 Q775 Q15060143 Q776 Q810 Q770 Q773 Q46130 Q1393469 Q27 Q1011 Q1013 Q480103 Q12549 Q3266 Q12626 Q8575586 Q12543 Q3105 Q12545 Q1558632 Q1913193 Q4066675 Q12758 Q599866 Q1579364 Q731547 Q12816 Q2938 Q12751 Q1951 Q2236821 Q1952 Q2528268 Q3353 Q3357 Q1231 Q13401101 Q558796 Q12564
(c(Q15617994),P138,c(Q34442)|c(Q223557))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q34442
action find_tuple_counts
relation P138
type Q15617994
type Q223557
action count
action filter_multi_types
action find
entity Q27
relation P138
type Q34442
type Q223557
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q34442'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?w WHERE { VALUES ( ?q ) { ( ontology:Q223557 ) ( ontology:Q34442 ) } . ?n rdf:type ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { { ?j rdf:type ontology:Q34442 } UNION { ?j rdf:type ontology:Q223557 } } . resource:Q27 property:P138 ?j } } . FILTER ( ?u = ?d ) }
North Holland Reinickendorf Taro Zeeland Aveyron Flevoland Rockaway, New Jersey Marshall Islands Wettertal Var Mauritius Tarn-et-Garonne Victoria Meuse Senegal Mella Bouches-de-l'Elbe India Neetzow-Liepen Medebach Arno Charente-Maritime Landes France Finland Simplon Mezhetchina Israel Haute-Garonne Limburg Abbasid caliphate Sarthe Iceland Yvelines Montserrat Chad Ariège Gênes Ombrone Marne Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Kiribati Prince Edward Island Schwielowsee Léman Leninkent, Makhachkala, Republic of Dagestan Hürtgenwald Corse Ain Sam Rayburn Independent School District Upper Oka Principalities Morocco Tarn Cher Corcyre Calvados Haute-Marne Liamone Ardennes Gehlsbach Frise Haute-Loire Banan District Russia Mer-Égée Apennins Sègre Indre-et-Loire Gironde Pas-de-Calais Seine-et-Marne Biebertal Brazil Ithaque Stura Wied Sesia Eure-et-Loir Lot Eure Zuyderzée Colombia Manche Veytal Loiret Yssel-Supérieur Rhine Aisne Clipperton Island New Brunswick Marengo Seine-et-Oise Cantal Finnentrop Dominican Republic Seine Moldavia Cabot Public Schools Sankt Thomas Sieg Mönchengladbach Puy-de-Dôme Rumi District Savoie Gard Am Salzhaff Gers Essonne Luxembourg Belgium United States of America Tanzania Poland Somme Philippines Doubs Switzerland Drôme Ems-Occidental Vogtei Montenotte Eritrea Rhin-et-Moselle Peenehagen Ardèche Bulgaria Ourthe Ecuador Pô Vendée Ordzhonikidzevskiy raion of Zaporizhzhya Niger Méditerranée Möhnesee Loire-Atlantique Vaucluse Viereck Dyle Sambre-et-Meuse Montenegro Bouches-du-Weser Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Nesse-Apfelstädt San Marino Mayenne Rheinbreitbach Nord Norway Komarovsky, Orenburg Oblast Georgsdorf Seychelles Sassenburg Mont-Terrible Hungary Escaut Val-de-Marne Maine-et-Loire Lozère Mauritania Vyronas Malawi Yukon Pakistan Pyrénées-Orientales Belarus Pommerby Mozambique Corse-du-Sud Deux-Nèthes Haute-Corse Ems-Oriental Muldestausee Alpes-de-Haute-Provence Seevetal Ontario Corse Val-d'Oise Lot-et-Garonne Bas-Rhin Alpes-Maritimes Territoire de Belfort Côte-d'Or Isère Wedendorfersee Orne Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Oise Nicaragua Meurthe Liechtenstein Augustusburg Saskatchewan Sheikh Zayed City Kloster Tempzin Bangladesh Roer Aude Democratic Republic of the Congo Jura Bouches-de-l'Yssel Bouches-de-l'Escaut Nettetal Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat South Holland Hautes-Alpes Kenya Ghana Niedereschach Loire Bouches-de-l'Èbre Trasimène Trinidad and Tobago Groningen Bolivia Haute-Saône Nièvre Sept-Saints Republic of Moldova Saône-et-Loire Morbihan Fatimid caliphate Seine-Saint-Denis Philippsreut Llanvaches Zandberg, Zeeland Klein-Ulsda Mali Ems Ruhr Amsterdam, Saskatchewan Tanaro Ter Deux-Sèvres Gambia Djibouti Madagascar Côte d'Ivoire Sègre-Ter Republic of the Congo Aube Allier Meuse-Inférieure Sarre Moselle Golo Bouches-du-Rhin Ems-Supérieur Kuckssee Saint Lucia Nigeria Ennepetal Namibia Vienne Haute-Vienne Bouches-de-la-Meuse Haut-Rhin Dominica Corrèze Egypt Doire Indre Tibre Gelderland Stepenitztal Utrecht Jordan Friesland Overijssel Rhône Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Ille-et-Vilaine Charente Meurthe-et-Moselle Umayyad Caliphate Hauts-de-Seine Vosges Hérault Rome Chkalovsk Microdistrict Annino Seine-Maritime Lev Tolstoy Lys Lippe Yonne Leverkusen Haute-Savoie Alberta Rhône-et-Loire Nova Scotia Mont-Blanc Creuse Dordogne Kosovo Region Brandon Valley School District Obere Warnow Loir-et-Cher
316
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type road
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
action count
action filter_multi_types
action find
entity Ireland
relation named after
type road
type physical object
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'road'}, {'concept': 'physical object'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) ?w WHERE { VALUES ( ?q ) { ( ontology:physical_object ) ( ontology:road ) } . ?n rdf:type ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { { ?j rdf:type ontology:road } UNION { ?j rdf:type ontology:physical_object } } . resource:Ireland property:named_after ?j } } . FILTER ( ?u = ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q349822
P27
Q15617994
USER
Which administrative territories are Sigfridus Aronus Forsius a civilian of ?
(Q349822,P27,c(Q15617994))
action filter_type
action find
entity Q349822
relation P27
type Q15617994
['Q349822', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q349822 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Sigfridus Aronus Forsius
action filter_type
action find
entity Sigfridus Aronus Forsius
relation country of citizenship
type designation for an administrative territorial entity
['Sigfridus Aronus Forsius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sigfridus_Aronus_Forsius property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q34
SYSTEM
Finland, Sweden
Q33 Q34
(Q349822,P27,c(Q15617994))
action filter_type
action find
entity Q349822
relation P27
type Q15617994
[ANSWERS] are Sigfridus Aronus Forsius a civilian of
['Q349822', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q349822 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Finland Sweden
Finland and Sweden are Sigfridus Aronus Forsius a civilian of
Finland Sweden
action filter_type
action find
entity Sigfridus Aronus Forsius
relation country of citizenship
type designation for an administrative territorial entity
['Sigfridus Aronus Forsius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sigfridus_Aronus_Forsius property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q33 Q34
P17
Q874405
USER
Which social groups are located in Finland and Sweden ?
(c(Q874405),P17,Q33) (c(Q874405),P17,Q34)
action union
action filter_type
action find_reverse
entity Q33
relation P17
type Q874405
action filter_type
action find_reverse
entity Q34
relation P17
type Q874405
[{'concept': 'Q874405'}, 'P17', 'Q33'] [{'concept': 'Q874405'}, 'P17', 'Q34']
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:Q874405 . ?p property:P17 resource:Q34 } UNION { ?p property:P17 resource:Q33 . ?p rdf:type ontology:Q874405 } }
Finland Sweden
action union
action filter_type
action find_reverse
entity Finland
relation country
type social group
action filter_type
action find_reverse
entity Sweden
relation country
type social group
[{'concept': 'social group'}, 'country', 'Finland'] [{'concept': 'social group'}, 'country', 'Sweden']
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:social_group . ?p property:country resource:Sweden } UNION { ?p property:country resource:Finland . ?p rdf:type ontology:social_group } }
[]
social group
Q2843522 Q4396847 Q11894838
SYSTEM
Finnish Literature Society, Sibelius Society of Finland, Union of Journalists in Finland
Q2843522 Q6480069 Q11894838 Q5402506 Q3429856 Q4115635 Q4412251 Q18690903 Q20754900 Q525230 Q21054938 Q4396847 Q11859108 Q4303247 Q597897 Q2855039 Q18691036 Q6972165 Q10481197 Q10688047 Q6444531 Q10711550 Q10685213 Q4736423 Q5124550 Q3431861 Q10685078 Q10685075 Q1474680 Q1540483 Q14555025 Q10542224 Q2396794 Q3428368 Q6936888 Q4201529 Q10531505 Q667037 Q3656511 Q3435026 Q7050796 Q7652170 Q10497083 Q7654628 Q15617883 Q7380585 Q10651563 Q10692065 Q10585398 Q831810 Q7088481 Q10528118 Q3352891 Q4582355 Q7652205 Q10614463 Q2274168 Q10520679 Q10549055 Q10589683 Q6755061 Q3092195 Q661112 Q10501533 Q7655062 Q1112962 Q10501170 Q1577256 Q7332370 Q6972528 Q10685973 Q3436963 Q7881455 Q7627783 Q20920071 Q10685259 Q7389975 Q10503899 Q10685368 Q10685376 Q868685 Q10726367 Q7654807 Q4993323 Q15660145 Q7654820 Q7946557
(c(Q874405),P17,Q33) (c(Q874405),P17,Q34)
action union
action filter_type
action find_reverse
entity Q33
relation P17
type Q874405
action filter_type
action find_reverse
entity Q34
relation P17
type Q874405
[ANSWERS] are located in Finland and Sweden
[{'concept': 'Q874405'}, 'P17', 'Q33'] [{'concept': 'Q874405'}, 'P17', 'Q34']
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:Q874405 . ?p property:P17 resource:Q34 } UNION { ?p property:P17 resource:Q33 . ?p rdf:type ontology:Q874405 } }
Finnish Literature Society Lal Lal Lal Union of Journalists in Finland Finnish Road Administration Marxist–Leninist Groups Academic Karelia Society Miessakit Finnish Society of Cinematographers Confédération internationale des accordéonistes Finnish cultural and academic institutes Viite Sibelius Society of Finland Eurosinkut Finnish Maritime Administration nation Religion in Finland Federation of Finnish Learned Societies National Defence Training Association of Finland The Electrum laboratory Sällskapet till belöning för trotjänare Kungliga Automobilklubben Advisory Council on Foreign Affairs Swedish Biathlon Federation Alternativ stad Civil Rights Defenders Ungdomens Nykterhetsförbund Svenska Kennelklubben Swedish Chemical Society Confederation of Swedish Enterprise Piratbyrån Röd Ungdom YWCA-YMCA of Sweden Ancient Order of Druids Swedish Academy for Children's Books Munskänkarna Institute for Information on the Crimes of Communism Medical Responsibility Board Swedish Federation for Lesbian, Gay, Bisexual and Transgender Rights UFO-Sweden Föreningen Vetenskap och Folkbildning Nordisk Copyright Bureau Svenska antipiratbyrån Airforce Medical Centre Swedish Consumers' Association Skandinaviska Alliansmissionen i Sverige Rural parliament Revolutionary Front Association of Swedish Engineering Industries Environmental Advisory Council Swedish Ski Association Olof Palme International Center Hydrographica Swedish Association for Sexuality Education Swedish Humanist Association Sveriges Doktorander P2 – Svenskt Vrakskydd Swedish Society of Composers Hembiträdesföreningarnas centralkommitté Prison and Probation Board Motormännens riksförbund Maratone Studios Swedish Chess Federation Transgender Europe FFV Swedwatch Nature and Youth Sweden Djurens Rätt International Fellowship of Reconciliation Ridderstad Swedish Export Credits Guarantee Board Swedish Magazine Publishers Association Stepchildren of Society Umea Region Student Union in Sundsvall Swedish PEN Club Swedish Volleyball Federation SFRO Swedish Gene Technology Advisory Board Svenska Historiska Föreningen SHL AB Swedish Committee for Afghanistan local public prosecution office Swedish Peace and Arbitration Society Planka.nu The foundation Skärgårdsbåten Swedish Press Council WALTIC
Finnish Literature Society, Sibelius Society of Finland and Union of Journalists in Finland are located in Finland and Sweden
Finnish Literature Society Sibelius Society of Finland Union of Journalists in Finland
action union
action filter_type
action find_reverse
entity Finland
relation country
type social group
action filter_type
action find_reverse
entity Sweden
relation country
type social group
[{'concept': 'social group'}, 'country', 'Finland'] [{'concept': 'social group'}, 'country', 'Sweden']
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:social_group . ?p property:country resource:Sweden } UNION { ?p property:country resource:Finland . ?p rdf:type ontology:social_group } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11894838
P1454
Q2712963
USER
Which abstract noun is the legal form type of that social group ?
(Q11894838,P1454,c(Q2712963))
action filter_type
action find
entity Q11894838
relation P1454
type Q2712963
['Q11894838', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?h WHERE { resource:Q11894838 property:P1454 ?h . ?h rdf:type ontology:Q2712963 }
Union of Journalists in Finland
action filter_type
action find
entity Union of Journalists in Finland
relation legal form
type abstract noun
['Union of Journalists in Finland', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?h WHERE { resource:Union_of_Journalists_in_Finland property:legal_form ?h . ?h rdf:type ontology:abstract_noun }
[]
abstract noun
Clarification for simple ques.
Q4396847
SYSTEM
Did you mean Sibelius Society of Finland ?
Q2843522 Q4396847 Q11894838
(Q2843522,P1454,c(Q2712963)) (Q4396847,P1454,c(Q2712963)) (Q11894838,P1454,c(Q2712963))
[ANSWER]
['Q2843522', 'P1454', {'concept': 'Q2712963'}] ['Q4396847', 'P1454', {'concept': 'Q2712963'}] ['Q11894838', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?h WHERE { resource:Q11894838 property:P1454 ?h . ?h rdf:type ontology:Q2712963 }
Finnish Literature Society Sibelius Society of Finland Union of Journalists in Finland
Did you mean Sibelius Society of Finland ?
Sibelius Society of Finland
['Finnish Literature Society', 'legal form', {'concept': 'abstract noun'}] ['Sibelius Society of Finland', 'legal form', {'concept': 'abstract noun'}] ['Union of Journalists in Finland', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?h WHERE { resource:Union_of_Journalists_in_Finland property:legal_form ?h . ?h rdf:type ontology:abstract_noun }
[]
Simple Question (Coreferenced)
USER
No, I meant Union of Journalists in Finland. Could you tell me the answer for that?
(Q11894838,P1454,c(Q2712963))
Q11894838
['Q11894838', 'P1454', {'concept': 'Q2712963'}]
['Union of Journalists in Finland', 'legal form', {'concept': 'abstract noun'}]
[]
Q7383772
SYSTEM
rekisteröity yhdistys
Q7383772
(Q11894838,P1454,c(Q2712963))
action filter_type
action find
entity Q11894838
relation P1454
type Q2712963
[ANSWER] is the legal form type of that social group
['Q11894838', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?h WHERE { resource:Q11894838 property:P1454 ?h . ?h rdf:type ontology:Q2712963 }
rekisteröity yhdistys
Rekisteröity yhdistys is the legal form type of that social group
rekisteröity yhdistys
action filter_type
action find
entity Union of Journalists in Finland
relation legal form
type abstract noun
['Union of Journalists in Finland', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?h WHERE { resource:Union_of_Journalists_in_Finland property:legal_form ?h . ?h rdf:type ontology:abstract_noun }
[]