Simple Question (Direct)
Simple Question
Q887511
P1344
Q16510064
USER
Which sporting event did Leslie Cliff participate in ?
(Q887511,P1344,c(Q16510064))
action filter_type
action find
entity Q887511
relation P1344
type Q16510064
['Q887511', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?o WHERE { resource:Q887511 property:P1344 ?o . ?o rdf:type ontology:Q16510064 }
Leslie Cliff
action filter_type
action find
entity Leslie Cliff
relation participant of
type sporting event
['Leslie Cliff', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?o WHERE { resource:Leslie_Cliff property:participant_of ?o . ?o rdf:type ontology:sporting_event }
[]
sporting event
Q7656540
SYSTEM
Swimming at the 1972 Summer Olympics – Women's 400 metre individual medley
Q7656540
(Q887511,P1344,c(Q16510064))
action filter_type
action find
entity Q887511
relation P1344
type Q16510064
Leslie Cliff participated in [ANSWER]
['Q887511', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?o WHERE { resource:Q887511 property:P1344 ?o . ?o rdf:type ontology:Q16510064 }
Swimming at the 1972 Summer Olympics – Women's 400 metre individual medley
Leslie Cliff participated in Swimming at the 1972 Summer Olympics – Women's 400 metre individual medley
Swimming at the 1972 Summer Olympics – Women's 400 metre individual medley
action filter_type
action find
entity Leslie Cliff
relation participant of
type sporting event
['Leslie Cliff', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?o WHERE { resource:Leslie_Cliff property:participant_of ?o . ?o rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q887511
P21
Q290
USER
What is the sex of Leslie Cliff ?
(Q887511,P21,c(Q290))
action filter_type
action find
entity Q887511
relation P21
type Q290
['Q887511', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q887511 property:P21 ?x . ?x rdf:type ontology:Q290 }
Leslie Cliff
action filter_type
action find
entity Leslie Cliff
relation gender
type sex
['Leslie Cliff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Leslie_Cliff property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q887511,P21,c(Q290))
action filter_type
action find
entity Q887511
relation P21
type Q290
The sex of Leslie Cliff is the [ANSWER]
['Q887511', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q887511 property:P21 ?x . ?x rdf:type ontology:Q290 }
female
The sex of Leslie Cliff is the female
female
action filter_type
action find
entity Leslie Cliff
relation gender
type sex
['Leslie Cliff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Leslie_Cliff property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q887511
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q6581072,P27,c(Q1048835))
action filter_type
action find
entity Q887511
relation P27
type Q1048835
['Q6581072', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q887511 property:P27 ?p }
Leslie Cliff
action filter_type
action find
entity Leslie Cliff
relation country of citizenship
type political territorial entity
['female', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Leslie_Cliff property:country_of_citizenship ?p }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q6581072,P27,c(Q1048835))
action filter_type
action find
entity Q887511
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q6581072', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q887511 property:P27 ?p }
Canada
Canada is that person a civilian of
Canada
action filter_type
action find
entity Leslie Cliff
relation country of citizenship
type political territorial entity
['female', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Leslie_Cliff property:country_of_citizenship ?p }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories are known to have diplomatic connections with min number of political territories ?
(c(Q15617994),P530,c(Q1048835))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?e ) WHERE { ?k rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 . ?k property:P530 ?c } GROUP BY ?k } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?n ) { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?m ) WHERE { ?s property:P530 ?y . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?s } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?e ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity . ?k property:diplomatic_relation ?c } GROUP BY ?k } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?n ) { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?m ) WHERE { ?s property:diplomatic_relation ?y . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?s } } }
[]
political territorial entity designation for an administrative territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q399 Q398 Q790 Q236 Q842 Q858
(c(Q15617994),P530,c(Q1048835))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWERS] are known to have diplomatic connections with min number of political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?e ) WHERE { ?k rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 . ?k property:P530 ?c } GROUP BY ?k } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?n ) { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?m ) WHERE { ?s property:P530 ?y . ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?s } } }
Yemen Armenia Bahrain Haiti Montenegro Oman Syria
Yemen, Syria and Oman are known to have diplomatic connections with min number of political territories
Yemen Syria Oman
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?e ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity . ?k property:diplomatic_relation ?c } GROUP BY ?k } . FILTER ( ?e = ?n ) . { SELECT DISTINCT ( MIN ( ?m ) AS ?n ) { SELECT DISTINCT ?s ( COUNT ( ?y ) AS ?m ) WHERE { ?s property:diplomatic_relation ?y . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?s } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q773
P1001
Q15617994 Q14660 Q1292279
USER
How many administrative territories apply to jurisdiction of around the same number of flags and political borders as Overijssel ?
(c(Q14660)|c(Q1292279),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q773
relation P1001
type Q14660
type Q1292279
[[{'concept': 'Q14660'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { VALUES ( ?u ) { ( ontology:Q14660 ) ( ontology:Q1292279 ) } . ?d rdf:type ?u } . ?d property:P1001 resource:Q773 } } . FILTER ( ?z = ?f ) . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?z ) WHERE { { ?q property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q14660 } UNION { ?q property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1292279 } } GROUP BY ?h } }
Overijssel
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Overijssel
relation applies to jurisdiction
type flag
type political border
[[{'concept': 'flag'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { VALUES ( ?u ) { ( ontology:flag ) ( ontology:political_border ) } . ?d rdf:type ?u } . ?d property:applies_to_jurisdiction resource:Overijssel } } . FILTER ( ?z = ?f ) . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?z ) WHERE { { ?q property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:flag } UNION { ?q property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_border } } GROUP BY ?h } }
[]
designation for an administrative territorial entity flag political border
SYSTEM
141
Q701 Q804 Q705 Q707 Q706679 Q2765 Q163012 Q22273061 Q55 Q2871 Q189 Q784 Q24764 Q2742 Q398 Q711 Q837 Q443815 Q50198 Q1028 Q187035 Q22274206 Q1462 Q6465 Q1979 Q45 Q792 Q4628 Q884 Q7688 Q3097 Q826 Q158893 Q2942 Q822 Q1965 Q817 Q11340 Q11343 Q1142326 Q1974 Q2899 Q2758 Q1952 Q921 Q4712 Q155019 Q3389 Q423 Q983 Q733 Q854 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q1948 Q233 Q1093 Q238 Q119284 Q3403547 Q27 Q2667658 Q1027 Q1020 Q2009 Q2007 Q1101 Q2003 Q736 Q1904 Q32 Q228 Q3462133 Q225 Q223 Q347 Q1050 Q1989 Q2838 Q902 Q967 Q697 Q694 Q695 Q117 Q752 Q22274534 Q11337 Q11331 Q217 Q12642 Q154547 Q242 Q1216 Q12753 Q2805 Q917 Q2107 Q1007 Q1005 Q1951 Q1438 Q34020 Q2380910 Q686 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q775 Q776 Q770 Q773 Q772 Q1014 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q129003 Q1039 Q672 Q176 Q33788 Q1267638 Q298 Q329609 Q2938 Q2023 Q1231 Q1237
(c(Q14660)|c(Q1292279),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q773
relation P1001
type Q14660
type Q1292279
[ANSWER]
[[{'concept': 'Q14660'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { VALUES ( ?u ) { ( ontology:Q14660 ) ( ontology:Q1292279 ) } . ?d rdf:type ?u } . ?d property:P1001 resource:Q773 } } . FILTER ( ?z = ?f ) . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?z ) WHERE { { ?q property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q14660 } UNION { ?q property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1292279 } } GROUP BY ?h } }
North Holland Panama Zeeland Flevoland Duchy of Bar Gelsenkirchen Pankow Duchy of Nemours Netherlands Hagen Iceland Dominica municipality of the Philippines Münster Bahrain Mongolia Nepal Altomünster province of Thailand Morocco Principality of Albania Duchy of Mercoeur Sardinia department of France Prince Edward Island Portugal El Salvador Faroe Islands South Korea raion Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon New Brunswick Kuwait Sprockhövel Wetter (Ruhr) Seine British Columbia Mülheim an der Ruhr Mönchengladbach Nova Scotia Brunei Duchy of Burgundy Duchy of Lorraine Finistère North Korea Equatorial Guinea Paraguay Sri Lanka Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Manitoba Malta Limburg San Marino Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Ireland Shushary, Saint Petersburg Mauritius Malawi Yukon Northwest Territories North Brabant Newfoundland and Labrador Ecuador Ontario Luxembourg Andorra Saxe-Coburg and Gotha Bosnia and Herzegovina Greenland Liechtenstein Swaziland Saskatchewan Oberhausen Bangladesh Burundi Nauru South Holland Palau Ghana Groningen Duchy of Elbeuf Herdecke Gevelsberg Republic of Moldova Morbihan duchy Belize Piedmont Seine-et-Marne Krefeld Bhutan Wuppertal Guinea-Bissau Gambia Alberta Campania Niue Duchy of Zaslawye Vanuatu East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Uruguay Gelderland Utrecht Friesland Overijssel Drenthe Liberia Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise French Southern and Antarctic Lands Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Beloostrov Chile Lichtenberg Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
141
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Overijssel
relation applies to jurisdiction
type flag
type political border
[[{'concept': 'flag'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { { VALUES ( ?u ) { ( ontology:flag ) ( ontology:political_border ) } . ?d rdf:type ?u } . ?d property:applies_to_jurisdiction resource:Overijssel } } . FILTER ( ?z = ?f ) . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?z ) WHERE { { ?q property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:flag } UNION { ?q property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_border } } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q236
P1001
Q15617994 Q14660 Q1292279
USER
And also tell me about Montenegro?
(c(Q14660)|c(Q1292279),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q236
relation P1001
type Q14660
type Q1292279
[[{'concept': 'Q14660'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?s ) WHERE { { ?p rdf:type ontology:Q14660 . ?f rdf:type ontology:Q15617994 . ?p property:P1001 ?f } UNION { ?p property:P1001 ?f . ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1292279 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P1001 resource:Q236 . { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1292279 ) ( ontology:Q14660 ) } } } } . FILTER ( ?s = ?o ) }
Montenegro
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Montenegro
relation applies to jurisdiction
type flag
type political border
[[{'concept': 'flag'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?s ) WHERE { { ?p rdf:type ontology:flag . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:applies_to_jurisdiction ?f } UNION { ?p property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_border } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:applies_to_jurisdiction resource:Montenegro . { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:political_border ) ( ontology:flag ) } } } } . FILTER ( ?s = ?o ) }
[]
designation for an administrative territorial entity flag political border
SYSTEM
159
Q702 Q804 Q801 Q709 Q811 Q805 Q419 Q668 Q414 Q262 Q189 Q784 Q31 Q265 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q837 Q213 Q1028 Q252 Q399 Q403 Q657 Q258 Q45 Q41 Q155 Q792 Q790 Q796 Q954 Q889 Q884 Q958 Q881 Q826 Q822 Q241 Q817 Q244 Q1019 Q813 Q218 Q33 Q924 Q36 Q34 Q928 Q39 Q986 Q423 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q236 Q230 Q232 Q233 Q20 Q1045 Q1042 Q1041 Q28 Q1025 Q1027 Q783 Q1020 Q843 Q184 Q1029 Q736 Q786 Q32 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q219 Q683 Q242 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q686 Q836 Q760 Q29 Q574 Q1044 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1014 Q1016 Q1011 Q945 Q678 Q800 Q1039 Q672 Q929 Q298 Q863 Q869 Q953
(c(Q14660)|c(Q1292279),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action count
action filter_multi_types
action find_reverse
entity Q236
relation P1001
type Q14660
type Q1292279
[ANSWER]
[[{'concept': 'Q14660'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?s ) WHERE { { ?p rdf:type ontology:Q14660 . ?f rdf:type ontology:Q15617994 . ?p property:P1001 ?f } UNION { ?p property:P1001 ?f . ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1292279 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P1001 resource:Q236 . { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1292279 ) ( ontology:Q14660 ) } } } } . FILTER ( ?s = ?o ) }
Federated States of Micronesia Panama Israel Marshall Islands Nicaragua Yemen Peru India Argentina Algeria Iceland Dominica Belgium Uzbekistan Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Nepal Czech Republic Morocco Indonesia Armenia Serbia Chad South Africa Portugal Greece Brazil El Salvador Haiti Iraq Zimbabwe Afghanistan South Korea South Sudan Vietnam Maldives Lebanon Cuba Kuwait Barbados Madagascar Kyrgyzstan Romania Finland Tanzania Poland Sweden Philippines Switzerland Eritrea North Korea Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Montenegro Georgia Kazakhstan Malta Norway Somalia Seychelles Senegal Hungary Mauritania Mauritius Honduras Malawi Pakistan Belarus Mozambique Ecuador Dominican Republic Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Bulgaria Samoa Belize Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Vanuatu Myanmar Saint Lucia Spain East Timor Sierra Leone Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Liberia Libya Cape Verde Togo Tonga Costa Rica Sao Tomé and Príncipe Tuvalu Central African Republic Chile Tajikistan Thailand Zambia
159
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action count
action filter_multi_types
action find_reverse
entity Montenegro
relation applies to jurisdiction
type flag
type political border
[[{'concept': 'flag'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?p ) AS ?s ) WHERE { { ?p rdf:type ontology:flag . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:applies_to_jurisdiction ?f } UNION { ?p property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_border } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:applies_to_jurisdiction resource:Montenegro . { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:political_border ) ( ontology:flag ) } } } } . FILTER ( ?s = ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q805
P20
Q502895
USER
Which people expired at Yemen ?
(c(Q502895),P20,Q805)
action filter_type
action find_reverse
entity Q805
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q805']
SELECT DISTINCT ?q WHERE { ?q property:P20 resource:Q805 . ?q rdf:type ontology:Q502895 }
Yemen
action filter_type
action find_reverse
entity Yemen
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Yemen']
SELECT DISTINCT ?q WHERE { ?q property:place_of_death resource:Yemen . ?q rdf:type ontology:common_name }
[]
common name
Q27684 Q1658041 Q111334
SYSTEM
Peter Forsskål, Aswad Ansi, Hermann Burchardt
Q27684 Q15996477 Q111334 Q3804407 Q2558262 Q1658041 Q8053978 Q7399872
(c(Q502895),P20,Q805)
action filter_type
action find_reverse
entity Q805
relation P20
type Q502895
[ANSWERS] expired at Yemen
[{'concept': 'Q502895'}, 'P20', 'Q805']
SELECT DISTINCT ?q WHERE { ?q property:P20 resource:Q805 . ?q rdf:type ontology:Q502895 }
Peter Forsskål Robert Miller Hermann Burchardt Italo Gherardini Abdul-Malik al-Houthi Aswad Ansi Yiḥyah Qafiḥ Said Ali al-Shihri
Peter Forsskål, Aswad Ansi and Hermann Burchardt expired at Yemen
Peter Forsskål Aswad Ansi Hermann Burchardt
action filter_type
action find_reverse
entity Yemen
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Yemen']
SELECT DISTINCT ?q WHERE { ?q property:place_of_death resource:Yemen . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q27684 Q1658041 Q111334
P106
Q12737077
USER
Which occupations are the professions of Peter Forsskål, Aswad Ansi and Hermann Burchardt ?
(Q27684,P106,c(Q12737077)) (Q1658041,P106,c(Q12737077)) (Q111334,P106,c(Q12737077))
action union
action filter_type
action find
entity Q27684
relation P106
type Q12737077
action filter_type
action find
entity Q1658041
relation P106
type Q12737077
action filter_type
action find
entity Q111334
relation P106
type Q12737077
['Q27684', 'P106', {'concept': 'Q12737077'}] ['Q1658041', 'P106', {'concept': 'Q12737077'}] ['Q111334', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?r ) { ( resource:Q27684 ) ( resource:Q1658041 ) } . ?r property:P106 ?p }
Peter Forsskål Aswad Ansi Hermann Burchardt
action union
action filter_type
action find
entity Peter Forsskål
relation occupation
type occupation
action filter_type
action find
entity Aswad Ansi
relation occupation
type occupation
action filter_type
action find
entity Hermann Burchardt
relation occupation
type occupation
['Peter Forsskål', 'occupation', {'concept': 'occupation'}] ['Aswad Ansi', 'occupation', {'concept': 'occupation'}] ['Hermann Burchardt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?r ) { ( resource:Peter_Forsskål ) ( resource:Aswad_Ansi ) } . ?r property:occupation ?p }
[]
occupation
Q18805 Q33231 Q4205432
SYSTEM
naturalist, photographer, ichthyologist
Q4205432 Q18805 Q16334509 Q36180 Q2374149 Q11900058 Q432386 Q33231 Q11900058 Q215536
(Q27684,P106,c(Q12737077)) (Q1658041,P106,c(Q12737077)) (Q111334,P106,c(Q12737077))
action union
action filter_type
action find
entity Q27684
relation P106
type Q12737077
action filter_type
action find
entity Q1658041
relation P106
type Q12737077
action filter_type
action find
entity Q111334
relation P106
type Q12737077
The [ANSWERS] are the professions of Peter Forsskål, Aswad Ansi and Hermann Burchardt
['Q27684', 'P106', {'concept': 'Q12737077'}] ['Q1658041', 'P106', {'concept': 'Q12737077'}] ['Q111334', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?r ) { ( resource:Q27684 ) ( resource:Q1658041 ) } . ?r property:P106 ?p }
ichthyologist naturalist pteridologist writer botanist explorer preacher photographer explorer merchant
The naturalist, photographer and ichthyologist are the professions of Peter Forsskål, Aswad Ansi and Hermann Burchardt
naturalist photographer ichthyologist
action union
action filter_type
action find
entity Peter Forsskål
relation occupation
type occupation
action filter_type
action find
entity Aswad Ansi
relation occupation
type occupation
action filter_type
action find
entity Hermann Burchardt
relation occupation
type occupation
['Peter Forsskål', 'occupation', {'concept': 'occupation'}] ['Aswad Ansi', 'occupation', {'concept': 'occupation'}] ['Hermann Burchardt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?r ) { ( resource:Peter_Forsskål ) ( resource:Aswad_Ansi ) } . ?r property:occupation ?p }
[]