Simple Question (Direct)
Simple Question
Q3102761
P106
Q151885
USER
Which concept is the profession of Georges Garot ?
(Q3102761,P106,c(Q151885))
action filter_type
action find
entity Q3102761
relation P106
type Q151885
['Q3102761', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q3102761 property:P106 ?c . ?c rdf:type ontology:Q151885 }
Georges Garot
action filter_type
action find
entity Georges Garot
relation occupation
type concept
['Georges Garot', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Georges_Garot property:occupation ?c . ?c rdf:type ontology:concept }
[]
concept
Q15627169
SYSTEM
trade unionist
Q15627169
(Q3102761,P106,c(Q151885))
action filter_type
action find
entity Q3102761
relation P106
type Q151885
The [ANSWER] is the profession of Georges Garot
['Q3102761', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { resource:Q3102761 property:P106 ?c . ?c rdf:type ontology:Q151885 }
trade unionist
The trade unionist is the profession of Georges Garot
trade unionist
action filter_type
action find
entity Georges Garot
relation occupation
type concept
['Georges Garot', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { resource:Georges_Garot property:occupation ?c . ?c rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3102761
P39
Q12737077
USER
What was the position for which Georges Garot was appointed ?
(Q3102761,P39,c(Q12737077))
action filter_type
action find
entity Q3102761
relation P39
type Q12737077
['Q3102761', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3102761 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Georges Garot
action filter_type
action find
entity Georges Garot
relation position held
type occupation
['Georges Garot', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Georges_Garot property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q27169
SYSTEM
member of the European Parliament
Q27169
(Q3102761,P39,c(Q12737077))
action filter_type
action find
entity Q3102761
relation P39
type Q12737077
[ANSWER]
['Q3102761', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3102761 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
member of the European Parliament
Member of the European Parliament
member of the European Parliament
action filter_type
action find
entity Georges Garot
relation position held
type occupation
['Georges Garot', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Georges_Garot property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3102761
P937
Q515
USER
Which is the work location of Georges Garot ?
(Q3102761,P937,c(Q515))
action filter_type
action find
entity Q3102761
relation P937
type Q515
['Q3102761', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q515 . resource:Q3102761 property:P937 ?f }
Georges Garot
action filter_type
action find
entity Georges Garot
relation work location
type city
['Georges Garot', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:city . resource:Georges_Garot property:work_location ?f }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q3102761,P937,c(Q515))
action filter_type
action find
entity Q3102761
relation P937
type Q515
[ANSWER] is the work location of Georges Garot
['Q3102761', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q515 . resource:Q3102761 property:P937 ?f }
Strasbourg
Strasbourg is the work location of Georges Garot
Strasbourg
action filter_type
action find
entity Georges Garot
relation work location
type city
['Georges Garot', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:city . resource:Georges_Garot property:work_location ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3102761
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q6602,P102,c(Q7210356))
action filter_type
action find
entity Q3102761
relation P102
type Q7210356
['Q6602', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q3102761 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Georges Garot
action filter_type
action find
entity Georges Garot
relation member of political party
type political organization
['Strasbourg', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Georges_Garot property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q170972
SYSTEM
Socialist Party
Q170972
(Q6602,P102,c(Q7210356))
action filter_type
action find
entity Q3102761
relation P102
type Q7210356
The [ANSWER] is that person a member of
['Q6602', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q3102761 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Socialist Party
The Socialist Party is that person a member of
Socialist Party
action filter_type
action find
entity Georges Garot
relation member of political party
type political organization
['Strasbourg', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Georges_Garot property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3102761
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q170972,P27,c(Q15617994))
action filter_type
action find
entity Q3102761
relation P27
type Q15617994
['Q170972', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3102761 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Georges Garot
action filter_type
action find
entity Georges Garot
relation country of citizenship
type designation for an administrative territorial entity
['Socialist Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Georges_Garot property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q170972,P27,c(Q15617994))
action filter_type
action find
entity Q3102761
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q170972', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q3102761 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
France
The France is that person an inhabitant of
France
action filter_type
action find
entity Georges Garot
relation country of citizenship
type designation for an administrative territorial entity
['Socialist Party', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Georges_Garot property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q858
P840
Q15617994 Q15416 Q838948
USER
Which administrative territories are the narrative locations of around the same number of television programs and works of art as Syria ?
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q858
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?b WHERE { ?e rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P840 resource:Q858 . { VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?l rdf:type ?w } } } . FILTER ( ?y = ?j ) }
Syria
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Syria
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?b WHERE { ?e rdf:type ?q . VALUES ( ?q ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:narrative_location resource:Syria . { VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?l rdf:type ?w } } } . FILTER ( ?y = ?j ) }
[]
designation for an administrative territorial entity television program work of art
Q230 Q159 Q142
SYSTEM
Georgia, Russia, France
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q858
relation P840
type Q15416
type Q838948
[ANSWERS] are the narrative locations of around the same number of television programs and works of art as Syria
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?b WHERE { ?e rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:P840 resource:Q858 . { VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?l rdf:type ?w } } } . FILTER ( ?y = ?j ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia, Russia and France are the narrative locations of around the same number of television programs and works of art as Syria
Georgia Russia France
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Syria
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) ?b WHERE { ?e rdf:type ?q . VALUES ( ?q ) { ( ontology:television_program ) ( ontology:work_of_art ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l property:narrative_location resource:Syria . { VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?l rdf:type ?w } } } . FILTER ( ?y = ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q874
P840
Q15617994 Q15416 Q838948
USER
And how about Turkmenistan?
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q874
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?k WHERE { VALUES ( ?a ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?i rdf:type ?a } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { VALUES ( ?u ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?n rdf:type ?u } . ?n property:P840 resource:Q874 } } . FILTER ( ?s = ?m ) }
Turkmenistan
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Turkmenistan
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?k WHERE { VALUES ( ?a ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?i rdf:type ?a } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { VALUES ( ?u ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?n rdf:type ?u } . ?n property:narrative_location resource:Turkmenistan } } . FILTER ( ?s = ?m ) }
[]
designation for an administrative territorial entity television program work of art
Q230 Q159 Q142
SYSTEM
Georgia, Russia, France
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q874
relation P840
type Q15416
type Q838948
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?k WHERE { VALUES ( ?a ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?i rdf:type ?a } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { VALUES ( ?u ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?n rdf:type ?u } . ?n property:P840 resource:Q874 } } . FILTER ( ?s = ?m ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia Russia France
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Turkmenistan
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) ?k WHERE { VALUES ( ?a ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?i rdf:type ?a } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { VALUES ( ?u ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?n rdf:type ?u } . ?n property:narrative_location resource:Turkmenistan } } . FILTER ( ?s = ?m ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P463
Q43229 Q874405
USER
How many organizations or social groups were that administrative territory a member of ?
(Q142,P463,c(Q43229)) (Q142,P463,c(Q874405)) (Q230,P463,c(Q43229)) (Q230,P463,c(Q874405)) (Q159,P463,c(Q43229)) (Q159,P463,c(Q874405)) (Q142,P463,c(Q43229)) (Q142,P463,c(Q874405))
['Q142', 'P463', {'concept': 'Q43229'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q230', 'P463', {'concept': 'Q43229'}] ['Q230', 'P463', {'concept': 'Q874405'}] ['Q159', 'P463', {'concept': 'Q43229'}] ['Q159', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q43229'}] ['Q142', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q5547323 property:P463 ?z } UNION { resource:Q5547323 property:P463 ?y } UNION { resource:Q24058892 property:P463 ?z } UNION { resource:Q24058892 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q874405 }
['France', 'member of', {'concept': 'organization'}] ['France', 'member of', {'concept': 'social group'}] ['Georgia', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'social group'}] ['Russia', 'member of', {'concept': 'organization'}] ['Russia', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'organization'}] ['France', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:Georgia property:member_of ?z } UNION { resource:Georgia property:member_of ?y } UNION { resource:Russia property:member_of ?z } UNION { resource:Russia property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:social_group }
[]
organization social group
Quantitative|Count|Mult. entity type|Clarification
Q230
SYSTEM
Did you mean Georgia ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q5547323 property:P463 ?z } UNION { resource:Q5547323 property:P463 ?y } UNION { resource:Q24058892 property:P463 ?z } UNION { resource:Q24058892 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q874405 }
Did you mean Georgia ?
Georgia
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:Georgia property:member_of ?z } UNION { resource:Georgia property:member_of ?y } UNION { resource:Russia property:member_of ?z } UNION { resource:Russia property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant France. Could you tell me the answer for that?
(Q142,P463,c(Q43229)) (Q142,P463,c(Q874405)) (Q230,P463,c(Q43229)) (Q230,P463,c(Q874405)) (Q159,P463,c(Q43229)) (Q159,P463,c(Q874405)) (Q142,P463,c(Q43229)) (Q142,P463,c(Q874405))
Q142
['Q142', 'P463', {'concept': 'Q43229'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q230', 'P463', {'concept': 'Q43229'}] ['Q230', 'P463', {'concept': 'Q874405'}] ['Q159', 'P463', {'concept': 'Q43229'}] ['Q159', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q43229'}] ['Q142', 'P463', {'concept': 'Q874405'}]
['France', 'member of', {'concept': 'organization'}] ['France', 'member of', {'concept': 'social group'}] ['Georgia', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'social group'}] ['Russia', 'member of', {'concept': 'organization'}] ['Russia', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'organization'}] ['France', 'member of', {'concept': 'social group'}]
[]
SYSTEM
13
Q340195 Q42944 Q191384 Q899770 Q1331152 Q41550 Q782942 Q8908 Q656801 Q151991 Q7825 Q161549 Q827525
(Q142,P463,c(Q43229)) (Q142,P463,c(Q874405)) (Q230,P463,c(Q43229)) (Q230,P463,c(Q874405)) (Q159,P463,c(Q43229)) (Q159,P463,c(Q874405)) (Q142,P463,c(Q43229)) (Q142,P463,c(Q874405))
[ANSWER]
['Q142', 'P463', {'concept': 'Q43229'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q230', 'P463', {'concept': 'Q43229'}] ['Q230', 'P463', {'concept': 'Q874405'}] ['Q159', 'P463', {'concept': 'Q43229'}] ['Q159', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q43229'}] ['Q142', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q5547323 property:P463 ?z } UNION { resource:Q5547323 property:P463 ?y } UNION { resource:Q24058892 property:P463 ?z } UNION { resource:Q24058892 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q874405 }
African Development Bank European Organization for Nuclear Research International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Open Government Partnership Organisation for Economic Co-operation and Development Australia Group Council of Europe International Finance Corporation European Southern Observatory World Trade Organization European Coal and Steel Community International Development Association
13
['France', 'member of', {'concept': 'organization'}] ['France', 'member of', {'concept': 'social group'}] ['Georgia', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'social group'}] ['Russia', 'member of', {'concept': 'organization'}] ['Russia', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'organization'}] ['France', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:Georgia property:member_of ?z } UNION { resource:Georgia property:member_of ?y } UNION { resource:Russia property:member_of ?z } UNION { resource:Russia property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P530
Q15617994
USER
Which administrative territories have tactful political relations with France ?
(c(Q15617994),P530,Q142)
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q142']
SELECT DISTINCT ?b WHERE { ?b property:P530 resource:Q142 . ?b rdf:type ontology:Q15617994 }
France
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France']
SELECT DISTINCT ?b WHERE { ?b property:diplomatic_relation resource:France . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q948 Q711 Q222 Q801 Q145 Q155 Q1011 Q27 Q225 Q228 Q32 Q17 Q399 Q929 Q403 Q159 Q38 Q184
(c(Q15617994),P530,Q142)
action filter_type
action find_reverse
entity Q142
relation P530
type Q15617994
[ANSWERS] have tactful political relations with France
[{'concept': 'Q15617994'}, 'P530', 'Q142']
SELECT DISTINCT ?b WHERE { ?b property:P530 resource:Q142 . ?b rdf:type ontology:Q15617994 }
Tunisia Mongolia Albania Israel United Kingdom Brazil Cape Verde Ireland Bosnia and Herzegovina Andorra Luxembourg Japan Armenia Central African Republic Serbia Russia Italy Belarus
Italy, Brazil and Russia have tactful political relations with France
Italy Brazil Russia
action filter_type
action find_reverse
entity France
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'France']
SELECT DISTINCT ?b WHERE { ?b property:diplomatic_relation resource:France . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q159
P463
Q874405
USER
Which social groups were those administrative territories a member of ?
(Q38,P463,c(Q874405)) (Q155,P463,c(Q874405)) (Q159,P463,c(Q874405))
action filter_type
action find
entity prev_answer
relation P463
type Q874405
['Q38', 'P463', {'concept': 'Q874405'}] ['Q155', 'P463', {'concept': 'Q874405'}] ['Q159', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q874405 . VALUES ( ?j ) { ( resource:Q948 ) ( resource:Q711 ) ( resource:Q222 ) } . ?j property:P463 ?y }
Italy Brazil Russia
action filter_type
action find
entity prev_answer
relation member of
type social group
['Italy', 'member of', {'concept': 'social group'}] ['Brazil', 'member of', {'concept': 'social group'}] ['Russia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:social_group . VALUES ( ?j ) { ( resource:Tunisia ) ( resource:Mongolia ) ( resource:Albania ) } . ?j property:member_of ?y }
[]
social group
Q7817 Q7817 Q8908
SYSTEM
World Health Organization for 1st, 2nd, Council of Europe for 3rd
Q663492 Q8908 Q376150 Q41984 Q782942 Q848633 Q1374456 Q7817 Q602399 Q47539 Q1484463 Q7817 Q2297670 Q8908
(Q38,P463,c(Q874405)) (Q155,P463,c(Q874405)) (Q159,P463,c(Q874405))
action filter_type
action find
entity prev_answer
relation P463
type Q874405
[ANSWERS]
['Q38', 'P463', {'concept': 'Q874405'}] ['Q155', 'P463', {'concept': 'Q874405'}] ['Q159', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q874405 . VALUES ( ?j ) { ( resource:Q948 ) ( resource:Q711 ) ( resource:Q222 ) } . ?j property:P463 ?y }
Eurocontrol Council of Europe International Telecommunication Union International Atomic Energy Agency Australia Group International Chamber of Commerce Euro-Atlantic Partnership Council World Health Organization Amazon Cooperation Treaty Organization South Atlantic Peace and Cooperation Zone G8+5 World Health Organization Central Asian Cooperation Organization Council of Europe
World Health Organization, World Health Organization and Council of Europe were those administrative territories a member of
World Health Organization World Health Organization Council of Europe
action filter_type
action find
entity prev_answer
relation member of
type social group
['Italy', 'member of', {'concept': 'social group'}] ['Brazil', 'member of', {'concept': 'social group'}] ['Russia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:social_group . VALUES ( ?j ) { ( resource:Tunisia ) ( resource:Mongolia ) ( resource:Albania ) } . ?j property:member_of ?y }
[]