Simple Question (Direct)
Simple Question
Q3124015
P27
Q15617994
USER
Which administrative territory is Gérard Guégan a civilian of ?
(Q3124015,P27,c(Q15617994))
action filter_type
action find
entity Q3124015
relation P27
type Q15617994
['Q3124015', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3124015 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Gérard Guégan
action filter_type
action find
entity Gérard Guégan
relation country of citizenship
type designation for an administrative territorial entity
['Gérard Guégan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Gérard_Guégan property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3124015,P27,c(Q15617994))
action filter_type
action find
entity Q3124015
relation P27
type Q15617994
The [ANSWER] is Gérard Guégan a civilian of
['Q3124015', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3124015 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
France
The France is Gérard Guégan a civilian of
France
action filter_type
action find
entity Gérard Guégan
relation country of citizenship
type designation for an administrative territorial entity
['Gérard Guégan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Gérard_Guégan property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3124015
P106
Q12737077
USER
What do that person do for a living ?
(Q142,P106,c(Q12737077))
action filter_type
action find
entity Q3124015
relation P106
type Q12737077
['Q142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q3124015 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Gérard Guégan
action filter_type
action find
entity Gérard Guégan
relation occupation
type occupation
['France', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Gérard_Guégan property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q1930187 Q15809665 Q333634
SYSTEM
journalist, film critic, translator
Q1930187 Q15809665 Q333634 Q36180
(Q142,P106,c(Q12737077))
action filter_type
action find
entity Q3124015
relation P106
type Q12737077
[ANSWERS] that person do for a living
['Q142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q3124015 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
journalist film critic translator writer
Journalist, film critic and translator that person do for a living
journalist film critic translator
action filter_type
action find
entity Gérard Guégan
relation occupation
type occupation
['France', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Gérard_Guégan property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q228
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories holds diplomatic relationship with less number of political territories or administrative territories than Andorra ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q228
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P530 resource:Q228 . { { ?b rdf:type ontology:Q1048835 } UNION { ?b rdf:type ontology:Q15617994 } } } } . FILTER ( ?a < ?e ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?r WHERE { { ?z property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } UNION { ?z rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 . ?z property:P530 ?r } } GROUP BY ?r } }
Andorra
action less
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Andorra
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:diplomatic_relation resource:Andorra . { { ?b rdf:type ontology:political_territorial_entity } UNION { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?a < ?e ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?r WHERE { { ?z property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?r } } GROUP BY ?r } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q230 Q184 Q948
SYSTEM
Georgia, Belarus, Tunisia
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q238 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q221 Q1036 Q1037 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q228
relation P530
type Q1048835
type Q15617994
[ANSWERS] hold diplomatic relationship with less number of political territories or administrative territories than Andorra
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P530 resource:Q228 . { { ?b rdf:type ontology:Q1048835 } UNION { ?b rdf:type ontology:Q15617994 } } } } . FILTER ( ?a < ?e ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?r WHERE { { ?z property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } UNION { ?z rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 . ?z property:P530 ?r } } GROUP BY ?r } }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan San Marino Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Republic of Macedonia Uganda Rwanda Niger Estonia Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
Georgia, Belarus and Tunisia hold diplomatic relationship with less number of political territories or administrative territories than Andorra
Georgia Belarus Tunisia
action less
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Andorra
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:diplomatic_relation resource:Andorra . { { ?b rdf:type ontology:political_territorial_entity } UNION { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?a < ?e ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?r WHERE { { ?z property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?r } } GROUP BY ?r } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q230 Q184 Q948
P463
Q43229
USER
What were those administrative territories a member of ?
(Q230,P463,c(Q43229)) (Q184,P463,c(Q43229)) (Q948,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q230', 'P463', {'concept': 'Q43229'}] ['Q184', 'P463', {'concept': 'Q43229'}] ['Q948', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q43229 . VALUES ( ?a ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q783 ) } . ?a property:P463 ?t }
Georgia Belarus Tunisia
action filter_type
action find
entity prev_answer
relation member of
type organization
['Georgia', 'member of', {'concept': 'organization'}] ['Belarus', 'member of', {'concept': 'organization'}] ['Tunisia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:organization . VALUES ( ?a ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Honduras ) } . ?a property:member_of ?t }
[]
organization
Q7825 Q7779 Q7825
SYSTEM
World Trade Organization for 1st, 3rd, Commonwealth of Independent States for 2nd
Q380340 Q7825 Q318693 Q191384 Q899770 Q208019 Q7779 Q656801 Q125761 Q340195 Q191384 Q899770 Q624307 Q7825 Q61923 Q177773 Q656801 Q827525
(Q230,P463,c(Q43229)) (Q184,P463,c(Q43229)) (Q948,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
[ANSWERS]
['Q230', 'P463', {'concept': 'Q43229'}] ['Q184', 'P463', {'concept': 'Q43229'}] ['Q948', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q43229 . VALUES ( ?a ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q783 ) } . ?a property:P463 ?t }
Organization of the Black Sea Economic Cooperation World Trade Organization Collective Security Treaty Organisation International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Eastern Partnership Commonwealth of Independent States International Finance Corporation International Civil Aviation Organization African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Arab Monetary Fund World Trade Organization World Tourism Organization World Intellectual Property Organization International Finance Corporation International Development Association
Those administrative territories a member of were the World Trade Organization, Commonwealth of Independent States and World Trade Organization
World Trade Organization Commonwealth of Independent States World Trade Organization
action filter_type
action find
entity prev_answer
relation member of
type organization
['Georgia', 'member of', {'concept': 'organization'}] ['Belarus', 'member of', {'concept': 'organization'}] ['Tunisia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:organization . VALUES ( ?a ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Honduras ) } . ?a property:member_of ?t }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7779
P1001
Q340169
USER
Which media applies to jurisdiction over that organization ?
(c(Q340169),P1001,Q7779)
action filter_type
action find_reverse
entity Q7779
relation P1001
type Q340169
[{'concept': 'Q340169'}, 'P1001', 'Q7779']
SELECT DISTINCT ?l WHERE { ?l property:P1001 resource:Q7779 . ?l rdf:type ontology:Q340169 }
Commonwealth of Independent States
action filter_type
action find_reverse
entity Commonwealth of Independent States
relation applies to jurisdiction
type media
[{'concept': 'media'}, 'applies to jurisdiction', 'Commonwealth of Independent States']
SELECT DISTINCT ?l WHERE { ?l property:applies_to_jurisdiction resource:Commonwealth_of_Independent_States . ?l rdf:type ontology:media }
[]
media
Clarification for simple ques.
Q7779
SYSTEM
Did you mean Commonwealth of Independent States ?
Q7825 Q7779 Q7825
(c(Q340169),P1001,Q7825) (c(Q340169),P1001,Q7779) (c(Q340169),P1001,Q7825)
[ANSWER]
[{'concept': 'Q340169'}, 'P1001', 'Q7825'] [{'concept': 'Q340169'}, 'P1001', 'Q7779'] [{'concept': 'Q340169'}, 'P1001', 'Q7825']
SELECT DISTINCT ?l WHERE { ?l property:P1001 resource:Q7779 . ?l rdf:type ontology:Q340169 }
World Trade Organization Commonwealth of Independent States World Trade Organization
Did you mean Commonwealth of Independent States ?
Commonwealth of Independent States
[{'concept': 'media'}, 'applies to jurisdiction', 'World Trade Organization'] [{'concept': 'media'}, 'applies to jurisdiction', 'Commonwealth of Independent States'] [{'concept': 'media'}, 'applies to jurisdiction', 'World Trade Organization']
SELECT DISTINCT ?l WHERE { ?l property:applies_to_jurisdiction resource:Commonwealth_of_Independent_States . ?l rdf:type ontology:media }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q340169),P1001,Q7779)
[{'concept': 'Q340169'}, 'P1001', 'Q7779']
[{'concept': 'media'}, 'applies to jurisdiction', 'Commonwealth of Independent States']
[]
Q11836865
SYSTEM
Declaration of the USSR Council of the Republics regarding the establishment of the Commonwealth of Independent States
Q11836865
(c(Q340169),P1001,Q7779)
action filter_type
action find_reverse
entity Q7779
relation P1001
type Q340169
The [ANSWER] applies to jurisdiction over that organization
[{'concept': 'Q340169'}, 'P1001', 'Q7779']
SELECT DISTINCT ?l WHERE { ?l property:P1001 resource:Q7779 . ?l rdf:type ontology:Q340169 }
Declaration of the USSR Council of the Republics regarding the establishment of the Commonwealth of Independent States
The Declaration of the USSR Council of the Republics regarding the establishment of the Commonwealth of Independent States applies to jurisdiction over that organization
Declaration of the USSR Council of the Republics regarding the establishment of the Commonwealth of Independent States
action filter_type
action find_reverse
entity Commonwealth of Independent States
relation applies to jurisdiction
type media
[{'concept': 'media'}, 'applies to jurisdiction', 'Commonwealth of Independent States']
SELECT DISTINCT ?l WHERE { ?l property:applies_to_jurisdiction resource:Commonwealth_of_Independent_States . ?l rdf:type ontology:media }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11836865
P361
Q43229
USER
What is that media a component of ?
(Q11836865,P361,c(Q43229))
action filter_type
action find
entity Q11836865
relation P361
type Q43229
['Q11836865', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q11836865 property:P361 ?u . ?u rdf:type ontology:Q43229 }
Declaration of the USSR Council of the Republics regarding the establishment of the Commonwealth of Independent States
action filter_type
action find
entity Declaration of the USSR Council of the Republics regarding the establishment of the Commonwealth of Independent States
relation part of
type organization
['Declaration of the USSR Council of the Republics regarding the establishment of the Commonwealth of Independent States', 'part of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Declaration_of_the_USSR_Council_of_the_Republics_regarding_the_establishment_of_the_Commonwealth_of_Independent_States property:part_of ?u . ?u rdf:type ontology:organization }
[]
organization
Q7779
SYSTEM
Commonwealth of Independent States
Q7779
(Q11836865,P361,c(Q43229))
action filter_type
action find
entity Q11836865
relation P361
type Q43229
That media a component of is the [ANSWER]
['Q11836865', 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q11836865 property:P361 ?u . ?u rdf:type ontology:Q43229 }
Commonwealth of Independent States
That media a component of is the Commonwealth of Independent States
Commonwealth of Independent States
action filter_type
action find
entity Declaration of the USSR Council of the Republics regarding the establishment of the Commonwealth of Independent States
relation part of
type organization
['Declaration of the USSR Council of the Republics regarding the establishment of the Commonwealth of Independent States', 'part of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:Declaration_of_the_USSR_Council_of_the_Republics_regarding_the_establishment_of_the_Commonwealth_of_Independent_States property:part_of ?u . ?u rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q43229 Q44539
USER
How many organizations are greater number of temples a part of than that organization ?
(c(Q44539),P361,c(Q43229))
action count
action greater
action find_tuple_counts
relation P361
type Q43229
type Q44539
action count
action filter_type
action find
entity Q7779
relation P361
type Q43229
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?z ) WHERE { ?r rdf:type ontology:Q43229 . ?i rdf:type ontology:Q44539 . ?r property:P361 ?i } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Q7779 property:P361 ?k . ?k rdf:type ontology:Q43229 } } . FILTER ( ?z > ?v ) }
action count
action greater
action find_tuple_counts
relation part of
type organization
type temple
action count
action filter_type
action find
entity Commonwealth of Independent States
relation part of
type organization
[{'concept': 'temple'}, 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?z ) WHERE { ?r rdf:type ontology:organization . ?i rdf:type ontology:temple . ?r property:part_of ?i } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Commonwealth_of_Independent_States property:part_of ?k . ?k rdf:type ontology:organization } } . FILTER ( ?z > ?v ) }
[]
organization temple
SYSTEM
1
Q897256
(c(Q44539),P361,c(Q43229))
action count
action greater
action find_tuple_counts
relation P361
type Q43229
type Q44539
action count
action filter_type
action find
entity Q7779
relation P361
type Q43229
[ANSWER]
[{'concept': 'Q44539'}, 'P361', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?z ) WHERE { ?r rdf:type ontology:Q43229 . ?i rdf:type ontology:Q44539 . ?r property:P361 ?i } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Q7779 property:P361 ?k . ?k rdf:type ontology:Q43229 } } . FILTER ( ?z > ?v ) }
Evangelical Church in Baden
1
action count
action greater
action find_tuple_counts
relation part of
type organization
type temple
action count
action filter_type
action find
entity Commonwealth of Independent States
relation part of
type organization
[{'concept': 'temple'}, 'part of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?z ) WHERE { ?r rdf:type ontology:organization . ?i rdf:type ontology:temple . ?r property:part_of ?i } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { resource:Commonwealth_of_Independent_States property:part_of ?k . ?k rdf:type ontology:organization } } . FILTER ( ?z > ?v ) }
[]