Simple Question (Direct)
Simple Question
Q3301255
P21
Q290
USER
What is the sex of Maurice Pertschuk ?
(Q3301255,P21,c(Q290))
action filter_type
action find
entity Q3301255
relation P21
type Q290
['Q3301255', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3301255 property:P21 ?r . ?r rdf:type ontology:Q290 }
Maurice Pertschuk
action filter_type
action find
entity Maurice Pertschuk
relation gender
type sex
['Maurice Pertschuk', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Maurice_Pertschuk property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3301255,P21,c(Q290))
action filter_type
action find
entity Q3301255
relation P21
type Q290
The sex of Maurice Pertschuk is a [ANSWER]
['Q3301255', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3301255 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Maurice Pertschuk is a male
male
action filter_type
action find
entity Maurice Pertschuk
relation gender
type sex
['Maurice Pertschuk', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Maurice_Pertschuk property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3301255
P166
Q618779
USER
Which awards were received by Maurice Pertschuk ?
(Q3301255,P166,c(Q618779))
action filter_type
action find
entity Q3301255
relation P166
type Q618779
['Q3301255', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q3301255 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Maurice Pertschuk
action filter_type
action find
entity Maurice Pertschuk
relation award received
type award
['Maurice Pertschuk', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Maurice_Pertschuk property:award_received ?l . ?l rdf:type ontology:award }
[]
award
Q2547676 Q10855271
SYSTEM
Croix de guerre 1939–1945, Knight of the Legion of Honour
Q2547676 Q10855271
(Q3301255,P166,c(Q618779))
action filter_type
action find
entity Q3301255
relation P166
type Q618779
[ANSWERS] were received by Maurice Pertschuk
['Q3301255', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { resource:Q3301255 property:P166 ?l . ?l rdf:type ontology:Q618779 }
Croix de guerre 1939–1945 Knight of the Legion of Honour
Croix de guerre 1939–1945 and Knight of the Legion of Honour were received by Maurice Pertschuk
Croix de guerre 1939–1945 Knight of the Legion of Honour
action filter_type
action find
entity Maurice Pertschuk
relation award received
type award
['Maurice Pertschuk', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { resource:Maurice_Pertschuk property:award_received ?l . ?l rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2547676 Q10855271
P17
Q15617994
USER
Which administrative territories are Croix de guerre 1939–1945 and Knight of the Legion of Honour present in ?
(Q2547676,P17,c(Q15617994)) (Q10855271,P17,c(Q15617994))
action union
action filter_type
action find
entity Q2547676
relation P17
type Q15617994
action filter_type
action find
entity Q10855271
relation P17
type Q15617994
['Q2547676', 'P17', {'concept': 'Q15617994'}] ['Q10855271', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { resource:Q2547676 property:P17 ?e . ?e rdf:type ontology:Q15617994 } UNION { resource:Q10855271 property:P17 ?e . ?e rdf:type ontology:Q15617994 } }
Croix de guerre 1939–1945 Knight of the Legion of Honour
action union
action filter_type
action find
entity Croix de guerre 1939–1945
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Knight of the Legion of Honour
relation country
type designation for an administrative territorial entity
['Croix de guerre 1939–1945', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Knight of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { resource:Croix_de_guerre_1939–1945 property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Knight_of_the_Legion_of_Honour property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q2547676,P17,c(Q15617994)) (Q10855271,P17,c(Q15617994))
action union
action filter_type
action find
entity Q2547676
relation P17
type Q15617994
action filter_type
action find
entity Q10855271
relation P17
type Q15617994
[ANSWER] and [ANSWER] are Croix de guerre 1939–1945 and Knight of the Legion of Honour present in
['Q2547676', 'P17', {'concept': 'Q15617994'}] ['Q10855271', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { resource:Q2547676 property:P17 ?e . ?e rdf:type ontology:Q15617994 } UNION { resource:Q10855271 property:P17 ?e . ?e rdf:type ontology:Q15617994 } }
France France
France and France are Croix de guerre 1939–1945 and Knight of the Legion of Honour present in
France France
action union
action filter_type
action find
entity Croix de guerre 1939–1945
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Knight of the Legion of Honour
relation country
type designation for an administrative territorial entity
['Croix de guerre 1939–1945', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Knight of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { resource:Croix_de_guerre_1939–1945 property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Knight_of_the_Legion_of_Honour property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q810
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with less number of administrative territories than Jordan ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q810
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?c ) WHERE { ?l property:P530 ?g . ?l rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i rdf:type ontology:Q15617994 . resource:Q810 property:P530 ?i } } . FILTER ( ?c < ?s ) }
Jordan
action count
action less
action find_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
entity Jordan
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 ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?c ) WHERE { ?l property:diplomatic_relation ?g . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jordan property:diplomatic_relation ?i } } . FILTER ( ?c < ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
52
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q810
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?c ) WHERE { ?l property:P530 ?g . ?l rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i rdf:type ontology:Q15617994 . resource:Q810 property:P530 ?i } } . FILTER ( ?c < ?s ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
52
action count
action less
action find_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
entity Jordan
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 ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?g ) AS ?c ) WHERE { ?l property:diplomatic_relation ?g . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jordan property:diplomatic_relation ?i } } . FILTER ( ?c < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q954
P530
Q15617994 Q15617994
USER
And what about Zimbabwe?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q954
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { FILTER ( ?g < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ontology:Q15617994 . resource:Q954 property:P530 ?y } } . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?g ) WHERE { ?f property:P530 ?q . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?f } }
Zimbabwe
action count
action less
action find_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
entity Zimbabwe
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 ( COUNT ( ?f ) AS ?p ) WHERE { FILTER ( ?g < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zimbabwe property:diplomatic_relation ?y } } . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?g ) WHERE { ?f property:diplomatic_relation ?q . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
52
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q954
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { FILTER ( ?g < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ontology:Q15617994 . resource:Q954 property:P530 ?y } } . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?g ) WHERE { ?f property:P530 ?q . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?f } }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
52
action count
action less
action find_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
entity Zimbabwe
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 ( COUNT ( ?f ) AS ?p ) WHERE { FILTER ( ?g < ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zimbabwe property:diplomatic_relation ?y } } . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?g ) WHERE { ?f property:diplomatic_relation ?q . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]