Simple Question (Direct)
Simple Question
Q15067128
P21
Q290
USER
Which sex does Evgeni Vasilevic Zolotov belong to ?
(Q15067128,P21,c(Q290))
action filter_type
action find
entity Q15067128
relation P21
type Q290
['Q15067128', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q15067128 property:P21 ?n . ?n rdf:type ontology:Q290 }
Evgeni Vasilevic Zolotov
action filter_type
action find
entity Evgeni Vasilevic Zolotov
relation gender
type sex
['Evgeni Vasilevic Zolotov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Evgeni_Vasilevic_Zolotov property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15067128,P21,c(Q290))
action filter_type
action find
entity Q15067128
relation P21
type Q290
Evgeni Vasilevic Zolotov belongs to [ANSWER]
['Q15067128', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q15067128 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Evgeni Vasilevic Zolotov belongs to male
male
action filter_type
action find
entity Evgeni Vasilevic Zolotov
relation gender
type sex
['Evgeni Vasilevic Zolotov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Evgeni_Vasilevic_Zolotov property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15067128
P22
Q502895
USER
Which person has Evgeni Vasilevic Zolotov as dad ?
(c(Q502895),P22,Q15067128)
action filter_type
action find_reverse
entity Q15067128
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q15067128']
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q15067128 . ?p rdf:type ontology:Q502895 }
Evgeni Vasilevic Zolotov
action filter_type
action find_reverse
entity Evgeni Vasilevic Zolotov
relation father
type common name
[{'concept': 'common name'}, 'father', 'Evgeni Vasilevic Zolotov']
SELECT DISTINCT ?p WHERE { ?p property:father resource:Evgeni_Vasilevic_Zolotov . ?p rdf:type ontology:common_name }
[]
common name
Q22068516
SYSTEM
Borisz Jevgenyjevics Zolotov
Q22068516
(c(Q502895),P22,Q15067128)
action filter_type
action find_reverse
entity Q15067128
relation P22
type Q502895
[ANSWER] has Evgeni Vasilevic Zolotov as dad
[{'concept': 'Q502895'}, 'P22', 'Q15067128']
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q15067128 . ?p rdf:type ontology:Q502895 }
Borisz Jevgenyjevics Zolotov
Borisz Jevgenyjevics Zolotov has Evgeni Vasilevic Zolotov as dad
Borisz Jevgenyjevics Zolotov
action filter_type
action find_reverse
entity Evgeni Vasilevic Zolotov
relation father
type common name
[{'concept': 'common name'}, 'father', 'Evgeni Vasilevic Zolotov']
SELECT DISTINCT ?p WHERE { ?p property:father resource:Evgeni_Vasilevic_Zolotov . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15067128
P166
Q618779
USER
What was received by Evgeni Vasilevic Zolotov ?
(Q15067128,P166,c(Q618779))
action filter_type
action find
entity Q15067128
relation P166
type Q618779
['Q15067128', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q15067128 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Evgeni Vasilevic Zolotov
action filter_type
action find
entity Evgeni Vasilevic Zolotov
relation award received
type award
['Evgeni Vasilevic Zolotov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Evgeni_Vasilevic_Zolotov property:award_received ?r . ?r rdf:type ontology:award }
[]
award
Q583881
SYSTEM
Order of Friendship of Peoples
Q583881
(Q15067128,P166,c(Q618779))
action filter_type
action find
entity Q15067128
relation P166
type Q618779
The [ANSWER] was received by Evgeni Vasilevic Zolotov
['Q15067128', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q15067128 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Order of Friendship of Peoples
The Order of Friendship of Peoples was received by Evgeni Vasilevic Zolotov
Order of Friendship of Peoples
action filter_type
action find
entity Evgeni Vasilevic Zolotov
relation award received
type award
['Evgeni Vasilevic Zolotov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Evgeni_Vasilevic_Zolotov property:award_received ?r . ?r rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q583881
P17
Q7275
USER
Which state does that award belong to ?
(Q583881,P17,c(Q7275))
action filter_type
action find
entity Q583881
relation P17
type Q7275
['Q583881', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { resource:Q583881 property:P17 ?u . ?u rdf:type ontology:Q7275 }
Order of Friendship of Peoples
action filter_type
action find
entity Order of Friendship of Peoples
relation country
type state
['Order of Friendship of Peoples', 'country', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { resource:Order_of_Friendship_of_Peoples property:country ?u . ?u rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q583881,P17,c(Q7275))
action filter_type
action find
entity Q583881
relation P17
type Q7275
That award belongs to [ANSWER]
['Q583881', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?u WHERE { resource:Q583881 property:P17 ?u . ?u rdf:type ontology:Q7275 }
Soviet Union
That award belongs to Soviet Union
Soviet Union
action filter_type
action find
entity Order of Friendship of Peoples
relation country
type state
['Order of Friendship of Peoples', 'country', {'concept': 'state'}]
SELECT DISTINCT ?u WHERE { resource:Order_of_Friendship_of_Peoples property:country ?u . ?u rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q22068516
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Borisz Jevgenyjevics Zolotov ?
(Q22068516,P27,c(Q15617994))
action count
action filter_type
action find
entity Q22068516
relation P27
type Q15617994
['Q22068516', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q22068516 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Borisz Jevgenyjevics Zolotov
action count
action filter_type
action find
entity Borisz Jevgenyjevics Zolotov
relation country of citizenship
type designation for an administrative territorial entity
['Borisz Jevgenyjevics Zolotov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Borisz_Jevgenyjevics_Zolotov property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q159
(Q22068516,P27,c(Q15617994))
action count
action filter_type
action find
entity Q22068516
relation P27
type Q15617994
[ANSWER]
['Q22068516', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q22068516 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Russia
1
action count
action filter_type
action find
entity Borisz Jevgenyjevics Zolotov
relation country of citizenship
type designation for an administrative territorial entity
['Borisz Jevgenyjevics Zolotov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Borisz_Jevgenyjevics_Zolotov property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q5749860
P27
Q15617994
USER
And also tell me about Carlos Boloña?
(Q5749860,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5749860
relation P27
type Q15617994
['Q5749860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q5749860 property:P27 ?w }
Carlos Boloña
action count
action filter_type
action find
entity Carlos Boloña
relation country of citizenship
type designation for an administrative territorial entity
['Carlos Boloña', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Carlos_Boloña property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
SYSTEM
1
Q419
(Q5749860,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5749860
relation P27
type Q15617994
[ANSWER]
['Q5749860', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q5749860 property:P27 ?w }
Peru
1
action count
action filter_type
action find
entity Carlos Boloña
relation country of citizenship
type designation for an administrative territorial entity
['Carlos Boloña', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Carlos_Boloña property:country_of_citizenship ?w }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q16189354
Q15617994
USER
And how about Karen Kresge?
(Q16189354,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16189354
relation P27
type Q15617994
['Q16189354', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q16189354 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Karen Kresge
action count
action filter_type
action find
entity Karen Kresge
relation country of citizenship
type designation for an administrative territorial entity
['Karen Kresge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Karen_Kresge property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q16189354,P27,c(Q15617994))
action count
action filter_type
action find
entity Q16189354
relation P27
type Q15617994
[ANSWER]
['Q16189354', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q16189354 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Karen Kresge
relation country of citizenship
type designation for an administrative territorial entity
['Karen Kresge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Karen_Kresge property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17149643 Q15067128
P27
Q15617994
USER
Which administrative territories are Evgeni Vasilevic Zolotov or Valerie Van Peel a civilian of ?
OR((Q15067128,P27,c(Q15617994)), (Q17149643,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15067128
relation P27
action find
entity Q17149643
relation P27
type Q15617994
{'OR': [['Q15067128', 'P27', {'concept': 'Q15617994'}], ['Q17149643', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q15067128 property:P27 ?c } UNION { resource:Q17149643 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Valerie Van Peel Evgeni Vasilevic Zolotov
action filter_type
action union
action find
entity Evgeni Vasilevic Zolotov
relation country of citizenship
action find
entity Valerie Van Peel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Evgeni Vasilevic Zolotov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Valerie Van Peel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Evgeni_Vasilevic_Zolotov property:country_of_citizenship ?c } UNION { resource:Valerie_Van_Peel property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q159
SYSTEM
Belgium, Russia
Q31 Q159
OR((Q15067128,P27,c(Q15617994)), (Q17149643,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15067128
relation P27
action find
entity Q17149643
relation P27
type Q15617994
[ANSWERS] are Evgeni Vasilevic Zolotov or Valerie Van Peel a civilian of
{'OR': [['Q15067128', 'P27', {'concept': 'Q15617994'}], ['Q17149643', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q15067128 property:P27 ?c } UNION { resource:Q17149643 property:P27 ?c } } . ?c rdf:type ontology:Q15617994 }
Belgium Russia
Belgium and Russia are Evgeni Vasilevic Zolotov or Valerie Van Peel a civilian of
Belgium Russia
action filter_type
action union
action find
entity Evgeni Vasilevic Zolotov
relation country of citizenship
action find
entity Valerie Van Peel
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Evgeni Vasilevic Zolotov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Valerie Van Peel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Evgeni_Vasilevic_Zolotov property:country_of_citizenship ?c } UNION { resource:Valerie_Van_Peel property:country_of_citizenship ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with greater number of administrative territories than New Zealand ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { ?x property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Q664 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?b ) }
New Zealand
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { ?x property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:New_Zealand property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?b ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
5
Q40 Q183 Q408 Q35 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { ?x property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:Q664 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?b ) }
Austria Germany Australia Denmark Canada
5
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?k ) WHERE { ?x property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?b ) WHERE { resource:New_Zealand property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q691
P530
Q1048835 Q15617994
USER
And also tell me about Papua New Guinea?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?r ) WHERE { ?a property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Q691 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?r > ?n ) }
Papua New Guinea
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?r ) WHERE { ?a property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Papua_New_Guinea property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r > ?n ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q183 Q408 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?r ) WHERE { ?a property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Q691 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?r > ?n ) }
Gabon Austria Antigua and Barbuda The Bahamas Germany Australia Grenada Denmark Canada New Zealand Jamaica
11
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?r ) WHERE { ?a property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { resource:Papua_New_Guinea property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q958
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with lesser number of administrative territories than South Sudan ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q958
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P530 resource:Q958 . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?c < ?o ) }
South Sudan
action less
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_type
action find_reverse
entity South Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:diplomatic_relation resource:South_Sudan . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c < ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q218 Q20 Q948
SYSTEM
Romania, Norway, Tunisia
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q958
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with lesser number of administrative territories than South Sudan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:P530 resource:Q958 . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?c < ?o ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
Romania, Norway and Tunisia have diplomatic relations with lesser number of administrative territories than South Sudan
Romania Norway Tunisia
action less
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_type
action find_reverse
entity South Sudan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { ?g property:diplomatic_relation resource:South_Sudan . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c < ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q519920 Q15180
P47 P27
Q15617994
USER
Which administrative territories have a shared border with Soviet Union or are Albert Roelofs a civilian of ?
OR((Q15180,P47,c(Q15617994)), (Q519920,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15180
relation P47
action find
entity Q519920
relation P27
type Q15617994
{'OR': [['Q15180', 'P47', {'concept': 'Q15617994'}], ['Q519920', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q519920 property:P27 ?k } UNION { resource:Q15180 property:P47 ?k } } . ?k rdf:type ontology:Q15617994 }
Albert Roelofs Soviet Union
action filter_type
action union
action find
entity Soviet Union
relation shares border with
action find
entity Albert Roelofs
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Soviet Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Albert Roelofs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Albert_Roelofs property:country_of_citizenship ?k } UNION { resource:Soviet_Union property:shares_border_with ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q423 Q29999 Q43 Q148 Q219 Q794 Q33 Q17 Q36 Q889
SYSTEM
North Korea, Kingdom of the Netherlands, Turkey, People's Republic of China, Bulgaria, Iran, Finland, Japan, Poland, Afghanistan
Q423 Q29999 Q43 Q148 Q219 Q794 Q33 Q17 Q36 Q889
OR((Q15180,P47,c(Q15617994)), (Q519920,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15180
relation P47
action find
entity Q519920
relation P27
type Q15617994
[ANSWERS] have a shared border with Soviet Union or are Albert Roelofs a civilian of
{'OR': [['Q15180', 'P47', {'concept': 'Q15617994'}], ['Q519920', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q519920 property:P27 ?k } UNION { resource:Q15180 property:P47 ?k } } . ?k rdf:type ontology:Q15617994 }
North Korea Kingdom of the Netherlands Turkey People's Republic of China Bulgaria Iran Finland Japan Poland Afghanistan
North Korea, Kingdom of the Netherlands, Turkey, People's Republic of China, Bulgaria, Iran, Finland, Japan, Poland and Afghanistan have a shared border with Soviet Union or are Albert Roelofs a civilian of
North Korea Kingdom of the Netherlands Turkey People's Republic of China Bulgaria Iran Finland Japan Poland Afghanistan
action filter_type
action union
action find
entity Soviet Union
relation shares border with
action find
entity Albert Roelofs
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Soviet Union', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Albert Roelofs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Albert_Roelofs property:country_of_citizenship ?k } UNION { resource:Soviet_Union property:shares_border_with ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P122
Q22676587
USER
What best describes the type of government of Japan ?
(Q17,P122,c(Q22676587))
action filter_type
action find
entity Q17
relation P122
type Q22676587
['Q17', 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ?o WHERE { resource:Q17 property:P122 ?o . ?o rdf:type ontology:Q22676587 }
Japan
action filter_type
action find
entity Japan
relation basic form of government
type monarchic system
['Japan', 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ?o WHERE { resource:Japan property:basic_form_of_government ?o . ?o rdf:type ontology:monarchic_system }
[]
monarchic system
Q849242
SYSTEM
hereditary monarchy
Q849242
(Q17,P122,c(Q22676587))
action filter_type
action find
entity Q17
relation P122
type Q22676587
[ANSWER] best describes the type of government of Japan
['Q17', 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ?o WHERE { resource:Q17 property:P122 ?o . ?o rdf:type ontology:Q22676587 }
hereditary monarchy
Hereditary monarchy best describes the type of government of Japan
hereditary monarchy
action filter_type
action find
entity Japan
relation basic form of government
type monarchic system
['Japan', 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ?o WHERE { resource:Japan property:basic_form_of_government ?o . ?o rdf:type ontology:monarchic_system }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P793
Q15275719
USER
What is a significant event associated with Japan ?
(Q17,P793,c(Q15275719))
action filter_type
action find
entity Q17
relation P793
type Q15275719
['Q17', 'P793', {'concept': 'Q15275719'}]
SELECT DISTINCT ?f WHERE { resource:Q17 property:P793 ?f . ?f rdf:type ontology:Q15275719 }
Japan
action filter_type
action find
entity Japan
relation significant event
type recurring event
['Japan', 'significant event', {'concept': 'recurring event'}]
SELECT DISTINCT ?f WHERE { resource:Japan property:significant_event ?f . ?f rdf:type ontology:recurring_event }
[]
recurring event
Q47735
SYSTEM
2002 FIFA World Cup
Q47735
(Q17,P793,c(Q15275719))
action filter_type
action find
entity Q17
relation P793
type Q15275719
A significant event associated with Japan is the [ANSWER]
['Q17', 'P793', {'concept': 'Q15275719'}]
SELECT DISTINCT ?f WHERE { resource:Q17 property:P793 ?f . ?f rdf:type ontology:Q15275719 }
2002 FIFA World Cup
A significant event associated with Japan is the 2002 FIFA World Cup
2002 FIFA World Cup
action filter_type
action find
entity Japan
relation significant event
type recurring event
['Japan', 'significant event', {'concept': 'recurring event'}]
SELECT DISTINCT ?f WHERE { resource:Japan property:significant_event ?f . ?f rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P194
Q11204
USER
Which legislature represents Japan ?
(Q17,P194,c(Q11204))
action filter_type
action find
entity Q17
relation P194
type Q11204
['Q17', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?n WHERE { resource:Q17 property:P194 ?n . ?n rdf:type ontology:Q11204 }
Japan
action filter_type
action find
entity Japan
relation legislative body
type legislature
['Japan', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?n WHERE { resource:Japan property:legislative_body ?n . ?n rdf:type ontology:legislature }
[]
legislature
Q202384
SYSTEM
National Diet
Q202384
(Q17,P194,c(Q11204))
action filter_type
action find
entity Q17
relation P194
type Q11204
[ANSWER] represents Japan
['Q17', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?n WHERE { resource:Q17 property:P194 ?n . ?n rdf:type ontology:Q11204 }
National Diet
National Diet represents Japan
National Diet
action filter_type
action find
entity Japan
relation legislative body
type legislature
['Japan', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?n WHERE { resource:Japan property:legislative_body ?n . ?n rdf:type ontology:legislature }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P276
Q1790144
USER
Which unit of time is located at that administrative territory ?
(c(Q1790144),P276,Q202384)
action filter_type
action find_reverse
entity Q17
relation P276
type Q1790144
[{'concept': 'Q1790144'}, 'P276', 'Q202384']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1790144 . ?e property:P276 resource:Q17 }
Japan
action filter_type
action find_reverse
entity Japan
relation location
type unit of time
[{'concept': 'unit of time'}, 'location', 'National Diet']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:unit_of_time . ?e property:location resource:Japan }
[]
unit of time
Q844172
SYSTEM
Japanese Paleolithic
Q844172
(c(Q1790144),P276,Q202384)
action filter_type
action find_reverse
entity Q17
relation P276
type Q1790144
[ANSWER] is located at that administrative territory
[{'concept': 'Q1790144'}, 'P276', 'Q202384']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1790144 . ?e property:P276 resource:Q17 }
Japanese Paleolithic
Japanese Paleolithic is located at that administrative territory
Japanese Paleolithic
action filter_type
action find_reverse
entity Japan
relation location
type unit of time
[{'concept': 'unit of time'}, 'location', 'National Diet']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:unit_of_time . ?e property:location resource:Japan }
[]