Simple Question (Direct)
Simple Question
Q5524983
P54
Q874405
USER
Which social groups are Gary Divorty a member of ?
(Q5524983,P54,c(Q874405))
action filter_type
action find
entity Q5524983
relation P54
type Q874405
['Q5524983', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { resource:Q5524983 property:P54 ?u . ?u rdf:type ontology:Q874405 }
Gary Divorty
action filter_type
action find
entity Gary Divorty
relation member of sports team
type social group
['Gary Divorty', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { resource:Gary_Divorty property:member_of_sports_team ?u . ?u rdf:type ontology:social_group }
[]
social group
Q863661 Q3572603 Q1202117
SYSTEM
Hull F.C., York City Knights, Leeds Rhinos
Q863661 Q3572603 Q1202117
(Q5524983,P54,c(Q874405))
action filter_type
action find
entity Q5524983
relation P54
type Q874405
[ANSWERS]
['Q5524983', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { resource:Q5524983 property:P54 ?u . ?u rdf:type ontology:Q874405 }
Hull F.C. York City Knights Leeds Rhinos
Which social groups are Gary Divorty a member of
Hull F.C. York City Knights Leeds Rhinos
action filter_type
action find
entity Gary Divorty
relation member of sports team
type social group
['Gary Divorty', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { resource:Gary_Divorty property:member_of_sports_team ?u . ?u rdf:type ontology:social_group }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3572603
P466
Q811979
USER
Which architectural structure is occupied by that social group ?
(c(Q811979),P466,Q3572603)
action filter_type
action find_reverse
entity Q3572603
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q3572603']
SELECT DISTINCT ?u WHERE { ?u property:P466 resource:Q3572603 . ?u rdf:type ontology:Q811979 }
York City Knights
action filter_type
action find_reverse
entity York City Knights
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'York City Knights']
SELECT DISTINCT ?u WHERE { ?u property:occupant resource:York_City_Knights . ?u rdf:type ontology:architectural_structure }
[]
architectural structure
Clarification for simple ques.
Q3572603
SYSTEM
Did you mean York City Knights ?
Q863661 Q3572603 Q1202117
(c(Q811979),P466,Q863661) (c(Q811979),P466,Q3572603) (c(Q811979),P466,Q1202117)
[ANSWER]
[{'concept': 'Q811979'}, 'P466', 'Q863661'] [{'concept': 'Q811979'}, 'P466', 'Q3572603'] [{'concept': 'Q811979'}, 'P466', 'Q1202117']
SELECT DISTINCT ?u WHERE { ?u property:P466 resource:Q3572603 . ?u rdf:type ontology:Q811979 }
Hull F.C. York City Knights Leeds Rhinos
Did you mean York City Knights ?
York City Knights
[{'concept': 'architectural structure'}, 'occupant', 'Hull F.C.'] [{'concept': 'architectural structure'}, 'occupant', 'York City Knights'] [{'concept': 'architectural structure'}, 'occupant', 'Leeds Rhinos']
SELECT DISTINCT ?u WHERE { ?u property:occupant resource:York_City_Knights . ?u rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q811979),P466,Q3572603)
[{'concept': 'Q811979'}, 'P466', 'Q3572603']
[{'concept': 'architectural structure'}, 'occupant', 'York City Knights']
[]
Q5945473
SYSTEM
Huntington Stadium
Q5945473
(c(Q811979),P466,Q3572603)
action filter_type
action find_reverse
entity Q3572603
relation P466
type Q811979
[ANSWER] is occupied by that social group
[{'concept': 'Q811979'}, 'P466', 'Q3572603']
SELECT DISTINCT ?u WHERE { ?u property:P466 resource:Q3572603 . ?u rdf:type ontology:Q811979 }
Huntington Stadium
Huntington Stadium is occupied by that social group
Huntington Stadium
action filter_type
action find_reverse
entity York City Knights
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'York City Knights']
SELECT DISTINCT ?u WHERE { ?u property:occupant resource:York_City_Knights . ?u rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2851451
P1454
Q1269299 Q2712963 Q874405
USER
How many social groups have their legal form as approximately the same number of business organizations or abstract nouns as Les Anneaux de la Mémoire ?
(c(Q874405),P1454,c(Q1269299)|c(Q2712963))
action count
action approx
action union
action find_tuple_counts
relation P1454
type Q874405
type Q1269299
action find_tuple_counts
relation P1454
type Q874405
type Q2712963
action count
action filter_multi_types
action find
entity Q2851451
relation P1454
type Q1269299
type Q2712963
[{'concept': 'Q874405'}, 'P1454', [{'concept': 'Q1269299'}, {'concept': 'Q2712963'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1269299 ) ( ontology:Q2712963 ) } } GROUP BY ?y } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q2851451 property:P1454 ?h . { { ?h rdf:type ontology:Q1269299 } UNION { ?h rdf:type ontology:Q2712963 } } } } }
Les Anneaux de la Mémoire
action count
action approx
action union
action find_tuple_counts
relation legal form
type social group
type type of business entity
action find_tuple_counts
relation legal form
type social group
type abstract noun
action count
action filter_multi_types
action find
entity Les Anneaux de la Mémoire
relation legal form
type type of business entity
type abstract noun
[{'concept': 'social group'}, 'legal form', [{'concept': 'type of business entity'}, {'concept': 'abstract noun'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:type_of_business_entity ) ( ontology:abstract_noun ) } } GROUP BY ?y } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Les_Anneaux_de_la_Mémoire property:legal_form ?h . { { ?h rdf:type ontology:type_of_business_entity } UNION { ?h rdf:type ontology:abstract_noun } } } } }
[]
type of business entity abstract noun social group
SYSTEM
125
Q430109 Q3289803 Q57208 Q892432 Q379901 Q3508314 Q2985268 Q2628691 Q19965728 Q1022341 Q1800946 Q2543504 Q3021558 Q1454136 Q14289857 Q2851451 Q3083531 Q24574628 Q452752 Q1253105 Q2843522 Q3550282 Q1747944 Q1824774 Q529212 Q1824246 Q3051455 Q18690903 Q365515 Q5937516 Q316626 Q12771915 Q1421083 Q14468778 Q14175571 Q2926535 Q3106650 Q1450110 Q2957683 Q553927 Q2044206 Q11894838 Q15912931 Q2828740 Q1203555 Q1699265 Q3423379 Q14078028 Q787915 Q2603688 Q3226293 Q1555572 Q2307410 Q2393743 Q691748 Q3488339 Q43078 Q20181258 Q4396847 Q1565910 Q3458199 Q1960989 Q1101257 Q2307577 Q11788418 Q2399832 Q3080414 Q2406645 Q883662 Q2858967 Q2867919 Q1790699 Q20366048 Q3661920 Q2307588 Q2992908 Q1750284 Q2530746 Q2307500 Q1351844 Q2139990 Q1107319 Q287612 Q2985251 Q5244297 Q1245045 Q2873039 Q364949 Q2867770 Q2307677 Q1467821 Q2920390 Q2822267 Q35305 Q2017801 Q1162908 Q9305102 Q1327655 Q527187 Q952244 Q2109703 Q19931441 Q15441637 Q2867603 Q1868196 Q2135877 Q1310001 Q3287226 Q3117642 Q2307724 Q1747771 Q388593 Q2556298 Q7885780 Q795944 Q2623410 Q1883634 Q796944 Q1432025 Q1188738 Q1091468 Q3316836 Q1326661 Q627681 Q584914
(c(Q874405),P1454,c(Q1269299)|c(Q2712963))
action count
action approx
action union
action find_tuple_counts
relation P1454
type Q874405
type Q1269299
action find_tuple_counts
relation P1454
type Q874405
type Q2712963
action count
action filter_multi_types
action find
entity Q2851451
relation P1454
type Q1269299
type Q2712963
[ANSWER]
[{'concept': 'Q874405'}, 'P1454', [{'concept': 'Q1269299'}, {'concept': 'Q2712963'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1269299 ) ( ontology:Q2712963 ) } } GROUP BY ?y } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q2851451 property:P1454 ?h . { { ?h rdf:type ontology:Q1269299 } UNION { ?h rdf:type ontology:Q2712963 } } } } }
Schweizerische Depeschenagentur Marché Plus Kambly Bongrain Aviation Without Borders SELL Comité catholique contre la faim et pour le développement Medbridge Rudolf Flume 1000w Sparkasse Korneuburg Saturn Lasselsberger Scuba Schools International News Corp Les Anneaux de la Mémoire Groupama General Administration for Jewish Welfare Rud. Ibach Sohn Silhouette Finnish Literature Society UFC Que Choisir Syndicat des transports d'Île-de-France International League against Racism and Anti-Semitism Groupe du Louvre Lienzer Sparkasse Elles Bougent Finnish Society of Cinematographers Saurer Human Rights Without Frontiers Duncker & Humblot Mondi SCP Kabelwerke Brugg Herbert Smith Freehills Didier-Werke Bruitparif Gimar Montaz Mautino Wickeder Westfalenstahl Charbonnages de France Marubeni PIK Vrbovec Union of Journalists in Finland Société Française de Génie des Procédés Airparif Deutsche Messe AG Savings bank Bludenz Regards citoyens Norvelita Automotive Lighting International Federation of Little Brothers of the Poor Le refuge Steiermärkische Sparkasse Sparkasse Frankenmarkt Taprogge Assystem Société française des urbanistes War'l Leur Correctiv Sibelius Society of Finland HSBC Global Asset Management ROAM NIGCOMSAT Clifford Chance Sparkasse Neuhofen NWR Karbonia J. M. Weston Framasoft Centre d'Action Laïque Hoesch AG April Association négaWatt Krüger Amsterdam Fund for the Arts Südtiroler Sparkasse – Cassa di Risparmio di Bolzano Sparkasse Oberösterreich Conférence des Présidents d'Université Salzburger Sparkasse Volg Sparkasse Kirchschlag Erich-Mühsam-Gesellschaft Reifenhäuser Group Cokin ABUS Comité Para De Buyer European Federation for Transport and Environment Autostrade per l'Italia Unia Association française pour l'information scientifique Sparkasse Schwyz European Federation of Centres of Research and Information on Sectarianism Representative Council of French Jewish Institutions French Catholic Academy Karosa Spanish Maritime Safety Agency TDF Group Redan Elektrowatt Engl Energy Cities Primagas Healthdirect Australia Olivaint Conference of Belgium Association des professionnels navigants de l'aviation ZF Industrieantriebe Witten Red Arrow Entertainment Group Erste Group Maped GISTI Sparkasse Wiesendangen Migrol Metrovías Weinviertler Sparkasse Union Interlinguiste de France BHS Tabletop Aldebaran Robotics Maestrani BRZ Deutschland Loeb Railteam CIAT group Mission laïque française Elektro-Material AG Schweizerische Wagons- und Aufzügefabrik AG Schlieren-Zürich Société Nationale de Sauvetage en Mer
125
action count
action approx
action union
action find_tuple_counts
relation legal form
type social group
type type of business entity
action find_tuple_counts
relation legal form
type social group
type abstract noun
action count
action filter_multi_types
action find
entity Les Anneaux de la Mémoire
relation legal form
type type of business entity
type abstract noun
[{'concept': 'social group'}, 'legal form', [{'concept': 'type of business entity'}, {'concept': 'abstract noun'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?l ) WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:type_of_business_entity ) ( ontology:abstract_noun ) } } GROUP BY ?y } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Les_Anneaux_de_la_Mémoire property:legal_form ?h . { { ?h rdf:type ontology:type_of_business_entity } UNION { ?h rdf:type ontology:abstract_noun } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3117642
P1454
Q1269299 Q2712963 Q874405
USER
And what about GISTI?
(c(Q874405),P1454,c(Q1269299)|c(Q2712963))
action count
action approx
action union
action find_tuple_counts
relation P1454
type Q874405
type Q1269299
action find_tuple_counts
relation P1454
type Q874405
type Q2712963
action count
action filter_multi_types
action find
entity Q3117642
relation P1454
type Q1269299
type Q2712963
[{'concept': 'Q874405'}, 'P1454', [{'concept': 'Q1269299'}, {'concept': 'Q2712963'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?z ) WHERE { { ?b property:P1454 ?s . ?b rdf:type ontology:Q874405 . ?s rdf:type ontology:Q1269299 } UNION { ?b property:P1454 ?s . ?b rdf:type ontology:Q874405 . ?s rdf:type ontology:Q2712963 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q3117642 property:P1454 ?u . { { ?u rdf:type ontology:Q2712963 } UNION { ?u rdf:type ontology:Q1269299 } } } } . FILTER ( ?z = ?e ) }
GISTI
action count
action approx
action union
action find_tuple_counts
relation legal form
type social group
type type of business entity
action find_tuple_counts
relation legal form
type social group
type abstract noun
action count
action filter_multi_types
action find
entity GISTI
relation legal form
type type of business entity
type abstract noun
[{'concept': 'social group'}, 'legal form', [{'concept': 'type of business entity'}, {'concept': 'abstract noun'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?z ) WHERE { { ?b property:legal_form ?s . ?b rdf:type ontology:social_group . ?s rdf:type ontology:type_of_business_entity } UNION { ?b property:legal_form ?s . ?b rdf:type ontology:social_group . ?s rdf:type ontology:abstract_noun } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:GISTI property:legal_form ?u . { { ?u rdf:type ontology:abstract_noun } UNION { ?u rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?z = ?e ) }
[]
type of business entity abstract noun social group
SYSTEM
125
Q430109 Q3289803 Q57208 Q892432 Q379901 Q3508314 Q2985268 Q2628691 Q19965728 Q1022341 Q1800946 Q2543504 Q3021558 Q1454136 Q14289857 Q2851451 Q3083531 Q24574628 Q452752 Q1253105 Q2843522 Q3550282 Q1747944 Q1824774 Q529212 Q1824246 Q3051455 Q18690903 Q365515 Q5937516 Q316626 Q12771915 Q1421083 Q14468778 Q14175571 Q2926535 Q3106650 Q1450110 Q2957683 Q553927 Q2044206 Q11894838 Q15912931 Q2828740 Q1203555 Q1699265 Q3423379 Q14078028 Q787915 Q2603688 Q3226293 Q1555572 Q2307410 Q2393743 Q691748 Q3488339 Q43078 Q20181258 Q4396847 Q1565910 Q3458199 Q1960989 Q1101257 Q2307577 Q11788418 Q2399832 Q3080414 Q2406645 Q883662 Q2858967 Q2867919 Q1790699 Q20366048 Q3661920 Q2307588 Q2992908 Q1750284 Q2530746 Q2307500 Q1351844 Q2139990 Q1107319 Q287612 Q2985251 Q5244297 Q1245045 Q2873039 Q364949 Q2867770 Q2307677 Q1467821 Q2920390 Q2822267 Q35305 Q2017801 Q1162908 Q9305102 Q1327655 Q527187 Q952244 Q2109703 Q19931441 Q15441637 Q2867603 Q1868196 Q2135877 Q1310001 Q3287226 Q3117642 Q2307724 Q1747771 Q388593 Q2556298 Q7885780 Q795944 Q2623410 Q1883634 Q796944 Q1432025 Q1188738 Q1091468 Q3316836 Q1326661 Q627681 Q584914
(c(Q874405),P1454,c(Q1269299)|c(Q2712963))
action count
action approx
action union
action find_tuple_counts
relation P1454
type Q874405
type Q1269299
action find_tuple_counts
relation P1454
type Q874405
type Q2712963
action count
action filter_multi_types
action find
entity Q3117642
relation P1454
type Q1269299
type Q2712963
[ANSWER]
[{'concept': 'Q874405'}, 'P1454', [{'concept': 'Q1269299'}, {'concept': 'Q2712963'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?z ) WHERE { { ?b property:P1454 ?s . ?b rdf:type ontology:Q874405 . ?s rdf:type ontology:Q1269299 } UNION { ?b property:P1454 ?s . ?b rdf:type ontology:Q874405 . ?s rdf:type ontology:Q2712963 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q3117642 property:P1454 ?u . { { ?u rdf:type ontology:Q2712963 } UNION { ?u rdf:type ontology:Q1269299 } } } } . FILTER ( ?z = ?e ) }
Schweizerische Depeschenagentur Marché Plus Kambly Bongrain Aviation Without Borders SELL Comité catholique contre la faim et pour le développement Medbridge Rudolf Flume 1000w Sparkasse Korneuburg Saturn Lasselsberger Scuba Schools International News Corp Les Anneaux de la Mémoire Groupama General Administration for Jewish Welfare Rud. Ibach Sohn Silhouette Finnish Literature Society UFC Que Choisir Syndicat des transports d'Île-de-France International League against Racism and Anti-Semitism Groupe du Louvre Lienzer Sparkasse Elles Bougent Finnish Society of Cinematographers Saurer Human Rights Without Frontiers Duncker & Humblot Mondi SCP Kabelwerke Brugg Herbert Smith Freehills Didier-Werke Bruitparif Gimar Montaz Mautino Wickeder Westfalenstahl Charbonnages de France Marubeni PIK Vrbovec Union of Journalists in Finland Société Française de Génie des Procédés Airparif Deutsche Messe AG Savings bank Bludenz Regards citoyens Norvelita Automotive Lighting International Federation of Little Brothers of the Poor Le refuge Steiermärkische Sparkasse Sparkasse Frankenmarkt Taprogge Assystem Société française des urbanistes War'l Leur Correctiv Sibelius Society of Finland HSBC Global Asset Management ROAM NIGCOMSAT Clifford Chance Sparkasse Neuhofen NWR Karbonia J. M. Weston Framasoft Centre d'Action Laïque Hoesch AG April Association négaWatt Krüger Amsterdam Fund for the Arts Südtiroler Sparkasse – Cassa di Risparmio di Bolzano Sparkasse Oberösterreich Conférence des Présidents d'Université Salzburger Sparkasse Volg Sparkasse Kirchschlag Erich-Mühsam-Gesellschaft Reifenhäuser Group Cokin ABUS Comité Para De Buyer European Federation for Transport and Environment Autostrade per l'Italia Unia Association française pour l'information scientifique Sparkasse Schwyz European Federation of Centres of Research and Information on Sectarianism Representative Council of French Jewish Institutions French Catholic Academy Karosa Spanish Maritime Safety Agency TDF Group Redan Elektrowatt Engl Energy Cities Primagas Healthdirect Australia Olivaint Conference of Belgium Association des professionnels navigants de l'aviation ZF Industrieantriebe Witten Red Arrow Entertainment Group Erste Group Maped GISTI Sparkasse Wiesendangen Migrol Metrovías Weinviertler Sparkasse Union Interlinguiste de France BHS Tabletop Aldebaran Robotics Maestrani BRZ Deutschland Loeb Railteam CIAT group Mission laïque française Elektro-Material AG Schweizerische Wagons- und Aufzügefabrik AG Schlieren-Zürich Société Nationale de Sauvetage en Mer
125
action count
action approx
action union
action find_tuple_counts
relation legal form
type social group
type type of business entity
action find_tuple_counts
relation legal form
type social group
type abstract noun
action count
action filter_multi_types
action find
entity GISTI
relation legal form
type type of business entity
type abstract noun
[{'concept': 'social group'}, 'legal form', [{'concept': 'type of business entity'}, {'concept': 'abstract noun'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?z ) WHERE { { ?b property:legal_form ?s . ?b rdf:type ontology:social_group . ?s rdf:type ontology:type_of_business_entity } UNION { ?b property:legal_form ?s . ?b rdf:type ontology:social_group . ?s rdf:type ontology:abstract_noun } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:GISTI property:legal_form ?u . { { ?u rdf:type ontology:abstract_noun } UNION { ?u rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?z = ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1202117
P466
Q811979
USER
What is the architectural structure occupied by Leeds Rhinos ?
(c(Q811979),P466,Q1202117)
action filter_type
action find_reverse
entity Q1202117
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q1202117']
SELECT DISTINCT ?h WHERE { ?h property:P466 resource:Q1202117 . ?h rdf:type ontology:Q811979 }
Leeds Rhinos
action filter_type
action find_reverse
entity Leeds Rhinos
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Leeds Rhinos']
SELECT DISTINCT ?h WHERE { ?h property:occupant resource:Leeds_Rhinos . ?h rdf:type ontology:architectural_structure }
[]
architectural structure
Q1187032
SYSTEM
Headingley Stadium
Q1187032
(c(Q811979),P466,Q1202117)
action filter_type
action find_reverse
entity Q1202117
relation P466
type Q811979
The architectural structure occupied by Leeds Rhinos is the [ANSWER]
[{'concept': 'Q811979'}, 'P466', 'Q1202117']
SELECT DISTINCT ?h WHERE { ?h property:P466 resource:Q1202117 . ?h rdf:type ontology:Q811979 }
Headingley Stadium
The architectural structure occupied by Leeds Rhinos is the Headingley Stadium
Headingley Stadium
action filter_type
action find_reverse
entity Leeds Rhinos
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Leeds Rhinos']
SELECT DISTINCT ?h WHERE { ?h property:occupant resource:Leeds_Rhinos . ?h rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1202117
P17
Q15617994
USER
Which administrative territory is that social group a part of ?
(Q1187032,P17,c(Q15617994))
action filter_type
action find
entity Q1202117
relation P17
type Q15617994
['Q1187032', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1202117 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Leeds Rhinos
action filter_type
action find
entity Leeds Rhinos
relation country
type designation for an administrative territorial entity
['Headingley Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Leeds_Rhinos property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1187032,P17,c(Q15617994))
action filter_type
action find
entity Q1202117
relation P17
type Q15617994
[ANSWER] is that social group a part of
['Q1187032', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1202117 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that social group a part of
United Kingdom
action filter_type
action find
entity Leeds Rhinos
relation country
type designation for an administrative territorial entity
['Headingley Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Leeds_Rhinos property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6743684 Q1202117
P17
Q15617994
USER
Or Malima?
OR((Q1202117,P17,c(Q15617994)), (Q6743684,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1202117
relation P17
action find
entity Q6743684
relation P17
type Q15617994
{'OR': [['Q1202117', 'P17', {'concept': 'Q15617994'}], ['Q6743684', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1202117 property:P17 ?i } UNION { resource:Q6743684 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Malima Leeds Rhinos
action filter_type
action union
action find
entity Leeds Rhinos
relation country
action find
entity Malima
relation country
type designation for an administrative territorial entity
{'OR': [['Leeds Rhinos', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Malima', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Leeds_Rhinos property:country ?i } UNION { resource:Malima property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q114 Q145
SYSTEM
Kenya, United Kingdom
Q114 Q145
OR((Q1202117,P17,c(Q15617994)), (Q6743684,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1202117
relation P17
action find
entity Q6743684
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q1202117', 'P17', {'concept': 'Q15617994'}], ['Q6743684', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1202117 property:P17 ?i } UNION { resource:Q6743684 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Kenya United Kingdom
Kenya United Kingdom
action filter_type
action union
action find
entity Leeds Rhinos
relation country
action find
entity Malima
relation country
type designation for an administrative territorial entity
{'OR': [['Leeds Rhinos', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Malima', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Leeds_Rhinos property:country ?i } UNION { resource:Malima property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7226077
P530
Q15617994
USER
Are Polwheveral known to have diplomatic connections with those ones ?
(Q7226077,P530,Q114) (Q7226077,P530,Q145)
action is_in
entity prev_answer
action find
entity Q7226077
relation P530
['Q7226077', 'P530', 'Q114'] ['Q7226077', 'P530', 'Q145']
ASK WHERE { resource:Q7226077 property:P530 ?l . VALUES ( ?l ) { ( resource:Q114 ) ( resource:Q145 ) } }
Polwheveral
action is_in
entity prev_answer
action find
entity Polwheveral
relation diplomatic relation
['Polwheveral', 'diplomatic relation', 'Kenya'] ['Polwheveral', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Polwheveral property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Kenya ) ( resource:United_Kingdom ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7226077,P530,Q114) (Q7226077,P530,Q145)
action is_in
entity prev_answer
action find
entity Q7226077
relation P530
[ANSWER]
['Q7226077', 'P530', 'Q114'] ['Q7226077', 'P530', 'Q145']
ASK WHERE { resource:Q7226077 property:P530 ?l . VALUES ( ?l ) { ( resource:Q114 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Polwheveral
relation diplomatic relation
['Polwheveral', 'diplomatic relation', 'Kenya'] ['Polwheveral', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Polwheveral property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Kenya ) ( resource:United_Kingdom ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P36
Q56061 Q20667921 Q15617994
USER
Which administrative territories have max number of administrative territories and french administrative divisions as their capital ?
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action argmax
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?d ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?i ) WHERE { VALUES ( ?j ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?e rdf:type ?j } GROUP BY ?b } } . FILTER ( ?c = ?d ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?c ) WHERE { { ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q56061 . ?g property:P36 ?w } UNION { ?g property:P36 ?w . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q20667921 } } GROUP BY ?g } }
action argmax
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?d ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?i ) WHERE { VALUES ( ?j ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?e rdf:type ?j } GROUP BY ?b } } . FILTER ( ?c = ?d ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?c ) WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:administrative_territorial_entity . ?g property:capital ?w } UNION { ?g property:capital ?w . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?g } }
[]
administrative territorial entity type of french administrative division designation for an administrative territorial entity
Q12789
SYSTEM
Var
Q12789
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action argmax
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
[ANSWER] have max number of administrative territories and french administrative divisions as their capital
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?d ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?i ) WHERE { VALUES ( ?j ) { ( ontology:Q56061 ) ( ontology:Q20667921 ) } . ?e rdf:type ?j } GROUP BY ?b } } . FILTER ( ?c = ?d ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?c ) WHERE { { ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q56061 . ?g property:P36 ?w } UNION { ?g property:P36 ?w . ?g rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q20667921 } } GROUP BY ?g } }
Var
Var have max number of administrative territories and french administrative divisions as their capital
Var
action argmax
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?d ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?i ) WHERE { VALUES ( ?j ) { ( ontology:administrative_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?e rdf:type ?j } GROUP BY ?b } } . FILTER ( ?c = ?d ) . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?c ) WHERE { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:administrative_territorial_entity . ?g property:capital ?w } UNION { ?g property:capital ?w . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?g } }
[]