Simple Question (Direct)
Simple Question
Q3131084
P20
Q20667921
USER
Where did Henri Fiévez die ?
(Q3131084,P20,c(Q20667921))
action filter_type
action find
entity Q3131084
relation P20
type Q20667921
['Q3131084', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q3131084 property:P20 ?p . ?p rdf:type ontology:Q20667921 }
Henri Fiévez
action filter_type
action find
entity Henri Fiévez
relation place of death
type type of french administrative division
['Henri Fiévez', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Henri_Fiévez property:place_of_death ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q212959
SYSTEM
Denain
Q212959
(Q3131084,P20,c(Q20667921))
action filter_type
action find
entity Q3131084
relation P20
type Q20667921
Henri Fiévez died in [ANSWER]
['Q3131084', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q3131084 property:P20 ?p . ?p rdf:type ontology:Q20667921 }
Denain
Henri Fiévez died in Denain
Denain
action filter_type
action find
entity Henri Fiévez
relation place of death
type type of french administrative division
['Henri Fiévez', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Henri_Fiévez property:place_of_death ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212959
P47
Q20667921
USER
Which french administrative divisions share border with that one ?
(c(Q20667921),P47,Q212959)
action filter_type
action find
entity Q212959
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q212959']
SELECT DISTINCT ?i WHERE { resource:Q212959 property:P47 ?i . ?i rdf:type ontology:Q20667921 }
Denain
action filter_type
action find
entity Denain
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Denain']
SELECT DISTINCT ?i WHERE { resource:Denain property:shares_border_with ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q922518 Q681486 Q473417
SYSTEM
Douchy-les-Mines, Escaudain, Wallers
Q473417 Q922518 Q1162796 Q681486 Q1103565 Q1102201 Q1161197 Q741436
(c(Q20667921),P47,Q212959)
action filter_type
action find
entity Q212959
relation P47
type Q20667921
[ANSWERS] share border with that one
[{'concept': 'Q20667921'}, 'P47', 'Q212959']
SELECT DISTINCT ?i WHERE { resource:Q212959 property:P47 ?i . ?i rdf:type ontology:Q20667921 }
Wallers Douchy-les-Mines Oisy Escaudain Haulchin Haveluy Wavrechain-sous-Denain Lourches
Douchy-les-Mines, Escaudain and Wallers share border with that one
Douchy-les-Mines Escaudain Wallers
action filter_type
action find
entity Denain
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Denain']
SELECT DISTINCT ?i WHERE { resource:Denain property:shares_border_with ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q922518 Q681486 Q473417
P19
Q502895
USER
Who have location of birth at Douchy-les-Mines, Escaudain and Wallers ?
(c(Q502895),P19,Q922518) (c(Q502895),P19,Q681486) (c(Q502895),P19,Q473417)
action union
action filter_type
action find_reverse
entity Q922518
relation P19
type Q502895
action filter_type
action find_reverse
entity Q681486
relation P19
type Q502895
action filter_type
action find_reverse
entity Q473417
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q922518'] [{'concept': 'Q502895'}, 'P19', 'Q681486'] [{'concept': 'Q502895'}, 'P19', 'Q473417']
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q502895 . ?i property:P19 resource:Q922518 } UNION { ?i rdf:type ontology:Q502895 . ?i property:P19 resource:Q681486 } }
Douchy-les-Mines Escaudain Wallers
action union
action filter_type
action find_reverse
entity Douchy-les-Mines
relation place of birth
type common name
action filter_type
action find_reverse
entity Escaudain
relation place of birth
type common name
action filter_type
action find_reverse
entity Wallers
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Douchy-les-Mines'] [{'concept': 'common name'}, 'place of birth', 'Escaudain'] [{'concept': 'common name'}, 'place of birth', 'Wallers']
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:common_name . ?i property:place_of_birth resource:Douchy-les-Mines } UNION { ?i rdf:type ontology:common_name . ?i property:place_of_birth resource:Escaudain } }
[]
common name
Q2960189 Q3164841 Q274444
SYSTEM
Charles Samoy, Jean-Claude Bielitzki, Édouard Stako
Q3435929 Q2958813 Q9389675 Q2847431 Q2960189 Q274444 Q23057013 Q20993703 Q3580064 Q3426508 Q3164841
(c(Q502895),P19,Q922518) (c(Q502895),P19,Q681486) (c(Q502895),P19,Q473417)
action union
action filter_type
action find_reverse
entity Q922518
relation P19
type Q502895
action filter_type
action find_reverse
entity Q681486
relation P19
type Q502895
action filter_type
action find_reverse
entity Q473417
relation P19
type Q502895
[ANSWERS] have location of birth at Douchy-les-Mines, Escaudain and Wallers
[{'concept': 'Q502895'}, 'P19', 'Q922518'] [{'concept': 'Q502895'}, 'P19', 'Q681486'] [{'concept': 'Q502895'}, 'P19', 'Q473417']
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q502895 . ?i property:P19 resource:Q922518 } UNION { ?i rdf:type ontology:Q502895 . ?i property:P19 resource:Q681486 } }
Robert Mintkiewicz Charles Alexandre Crauk Zdzisław Grudzień André Canivez Charles Samoy Édouard Stako Pierre Lefebvre Joseph Zapeta Édouard Wojciak René Lecocq Jean-Claude Bielitzki
Charles Samoy, Jean-Claude Bielitzki and Édouard Stako have location of birth at Douchy-les-Mines, Escaudain and Wallers
Charles Samoy Jean-Claude Bielitzki Édouard Stako
action union
action filter_type
action find_reverse
entity Douchy-les-Mines
relation place of birth
type common name
action filter_type
action find_reverse
entity Escaudain
relation place of birth
type common name
action filter_type
action find_reverse
entity Wallers
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Douchy-les-Mines'] [{'concept': 'common name'}, 'place of birth', 'Escaudain'] [{'concept': 'common name'}, 'place of birth', 'Wallers']
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:common_name . ?i property:place_of_birth resource:Douchy-les-Mines } UNION { ?i rdf:type ontology:common_name . ?i property:place_of_birth resource:Escaudain } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2960189 Q3164841 Q274444
P27
Q15617994
USER
Which administrative territories do those people belong to ?
(Q2960189,P27,c(Q15617994)) (Q3164841,P27,c(Q15617994)) (Q274444,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q2960189', 'P27', {'concept': 'Q15617994'}] ['Q3164841', 'P27', {'concept': 'Q15617994'}] ['Q274444', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?s ) { ( resource:Q3435929 ) ( resource:Q2958813 ) ( resource:Q9389675 ) } . ?s property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Charles Samoy Jean-Claude Bielitzki Édouard Stako
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Charles Samoy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jean-Claude Bielitzki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Édouard Stako', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?s ) { ( resource:Robert_Mintkiewicz ) ( resource:Charles_Alexandre_Crauk ) ( resource:Zdzisław_Grudzień ) } . ?s property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142 Q36
(Q2960189,P27,c(Q15617994)) (Q3164841,P27,c(Q15617994)) (Q274444,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q2960189', 'P27', {'concept': 'Q15617994'}] ['Q3164841', 'P27', {'concept': 'Q15617994'}] ['Q274444', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?s ) { ( resource:Q3435929 ) ( resource:Q2958813 ) ( resource:Q9389675 ) } . ?s property:P27 ?z . ?z rdf:type ontology:Q15617994 }
France France France Poland
Those people belong to France, France and France
France France France
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Charles Samoy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jean-Claude Bielitzki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Édouard Stako', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { VALUES ( ?s ) { ( resource:Robert_Mintkiewicz ) ( resource:Charles_Alexandre_Crauk ) ( resource:Zdzisław_Grudzień ) } . ?s property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P30
Q2221906
USER
Which geographic locations are France situated in ?
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q142 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
France
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:France property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
geographic location
Q51 Q15 Q46
SYSTEM
Antarctica, Africa, Europe
Q46 Q15 Q538 Q828 Q51
(Q142,P30,c(Q2221906))
action filter_type
action find
entity Q142
relation P30
type Q2221906
France are situated in [ANSWERS]
['Q142', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q142 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
Europe Africa Oceania Americas Antarctica
France are situated in Antarctica, Africa and Europe
Antarctica Africa Europe
action filter_type
action find
entity France
relation continent
type geographic location
['France', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:France property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4873436
Q2221906
USER
And also tell me about Baudin Peaks?
(Q4873436,P30,c(Q2221906))
action filter_type
action find
entity Q4873436
relation P30
type Q2221906
['Q4873436', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2221906 . resource:Q4873436 property:P30 ?i }
Baudin Peaks
action filter_type
action find
entity Baudin Peaks
relation continent
type geographic location
['Baudin Peaks', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:geographic_location . resource:Baudin_Peaks property:continent ?i }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q4873436,P30,c(Q2221906))
action filter_type
action find
entity Q4873436
relation P30
type Q2221906
[ANSWER]
['Q4873436', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2221906 . resource:Q4873436 property:P30 ?i }
Antarctica
Antarctica
action filter_type
action find
entity Baudin Peaks
relation continent
type geographic location
['Baudin Peaks', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:geographic_location . resource:Baudin_Peaks property:continent ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q51
P61
Q1585199
USER
Which Antarctic expeditions discovered or invented that geographic location ?
(Q51,P61,c(Q1585199))
action filter_type
action find
entity Q51
relation P61
type Q1585199
['Q51', 'P61', {'concept': 'Q1585199'}]
SELECT DISTINCT ?c WHERE { resource:Q51 property:P61 ?c . ?c rdf:type ontology:Q1585199 }
Antarctica
action filter_type
action find
entity Antarctica
relation discoverer or inventor
type List of Antarctic expeditions
['Antarctica', 'discoverer or inventor', {'concept': 'List of Antarctic expeditions'}]
SELECT DISTINCT ?c WHERE { resource:Antarctica property:discoverer_or_inventor ?c . ?c rdf:type ontology:List_of_Antarctic_expeditions }
[]
List of Antarctic expeditions
Q4349082
SYSTEM
First Russian Antarctic expedition
Q4349082
(Q51,P61,c(Q1585199))
action filter_type
action find
entity Q51
relation P61
type Q1585199
[ANSWER] discovered or invented that geographic location
['Q51', 'P61', {'concept': 'Q1585199'}]
SELECT DISTINCT ?c WHERE { resource:Q51 property:P61 ?c . ?c rdf:type ontology:Q1585199 }
First Russian Antarctic expedition
First Russian Antarctic expedition discovered or invented that geographic location
First Russian Antarctic expedition
action filter_type
action find
entity Antarctica
relation discoverer or inventor
type List of Antarctic expeditions
['Antarctica', 'discoverer or inventor', {'concept': 'List of Antarctic expeditions'}]
SELECT DISTINCT ?c WHERE { resource:Antarctica property:discoverer_or_inventor ?c . ?c rdf:type ontology:List_of_Antarctic_expeditions }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q553036 Q56061 Q2221906
USER
Which geographic locations are located in around 1 natural region of Germanys and administrative territories ?
(c(Q2221906),P706,c(Q553036)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P706
type Q2221906
type Q553036
action find_tuple_counts
relation P706
type Q2221906
type Q56061
value 1
[{'concept': 'Q2221906'}, 'P706', [{'concept': 'Q553036'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?x ) WHERE { { ?j property:P706 ?o . ?j rdf:type ontology:Q2221906 . ?o rdf:type ontology:Q553036 } UNION { ?j property:P706 ?o . ?j rdf:type ontology:Q2221906 . ?o rdf:type ontology:Q56061 } } GROUP BY ?j } . FILTER ( ?x = 1 ) }
action approx
action union
action find_tuple_counts
relation located on terrain feature
type geographic location
type natural region of Germany
action find_tuple_counts
relation located on terrain feature
type geographic location
type administrative territorial entity
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', [{'concept': 'natural region of Germany'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?x ) WHERE { { ?j property:located_on_terrain_feature ?o . ?j rdf:type ontology:geographic_location . ?o rdf:type ontology:natural_region_of_Germany } UNION { ?j property:located_on_terrain_feature ?o . ?j rdf:type ontology:geographic_location . ?o rdf:type ontology:administrative_territorial_entity } } GROUP BY ?j } . FILTER ( ?x = 1 ) }
[]
natural region of Germany administrative territorial entity geographic location
Q315496 Q4878573 Q21491032
SYSTEM
Upper Harz, Bechs Mølle, Lower Harz
Q4878573 Q315496 Q1998580 Q21491032 Q5559107 Q2092983 Q2387700
(c(Q2221906),P706,c(Q553036)|c(Q56061))
action approx
action union
action find_tuple_counts
relation P706
type Q2221906
type Q553036
action find_tuple_counts
relation P706
type Q2221906
type Q56061
value 1
[ANSWERS] are located in around 1 natural region of Germanys and administrative territories
[{'concept': 'Q2221906'}, 'P706', [{'concept': 'Q553036'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?x ) WHERE { { ?j property:P706 ?o . ?j rdf:type ontology:Q2221906 . ?o rdf:type ontology:Q553036 } UNION { ?j property:P706 ?o . ?j rdf:type ontology:Q2221906 . ?o rdf:type ontology:Q56061 } } GROUP BY ?j } . FILTER ( ?x = 1 ) }
Bechs Mølle Upper Harz Northern Black Forest Lower Harz Gibney Beach Southern Bukovina Northern Bukovina
Upper Harz, Bechs Mølle and Lower Harz are located in around 1 natural region of Germanys and administrative territories
Upper Harz Bechs Mølle Lower Harz
action approx
action union
action find_tuple_counts
relation located on terrain feature
type geographic location
type natural region of Germany
action find_tuple_counts
relation located on terrain feature
type geographic location
type administrative territorial entity
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', [{'concept': 'natural region of Germany'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?x ) WHERE { { ?j property:located_on_terrain_feature ?o . ?j rdf:type ontology:geographic_location . ?o rdf:type ontology:natural_region_of_Germany } UNION { ?j property:located_on_terrain_feature ?o . ?j rdf:type ontology:geographic_location . ?o rdf:type ontology:administrative_territorial_entity } } GROUP BY ?j } . FILTER ( ?x = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atmost 14 political territories and administrative territories ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action atmost
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 14
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?y ) WHERE { { ?n property:P530 ?w . ?n rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } UNION { ?n property:P530 ?w . ?n rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?y <= 14 ) }
action count
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 14
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?y ) WHERE { { ?n property:diplomatic_relation ?w . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } UNION { ?n property:diplomatic_relation ?w . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?y <= 14 ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
149
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action atmost
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 14
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?y ) WHERE { { ?n property:P530 ?w . ?n rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q1048835 } UNION { ?n property:P530 ?w . ?n rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?y <= 14 ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
149
action count
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 14
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?y ) WHERE { { ?n property:diplomatic_relation ?w . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:political_territorial_entity } UNION { ?n property:diplomatic_relation ?w . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?y <= 14 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7459815 Q15
P361 P706
Q2221906
USER
Which geographic locations are Africa a part of or are Sgùrr na Càrnach located on ?
OR((Q15,P361,c(Q2221906)), (Q7459815,P706,c(Q2221906)))
action filter_type
action union
action find
entity Q15
relation P361
action find
entity Q7459815
relation P706
type Q2221906
{'OR': [['Q15', 'P361', {'concept': 'Q2221906'}], ['Q7459815', 'P706', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2221906 . { { resource:Q15 property:P361 ?v } UNION { resource:Q7459815 property:P706 ?v } } }
Sgùrr na Càrnach Africa
action filter_type
action union
action find
entity Africa
relation part of
action find
entity Sgùrr na Càrnach
relation located on terrain feature
type geographic location
{'OR': [['Africa', 'part of', {'concept': 'geographic location'}], ['Sgùrr na Càrnach', 'located on terrain feature', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:geographic_location . { { resource:Africa property:part_of ?v } UNION { resource:Sgùrr_na_Càrnach property:located_on_terrain_feature ?v } } }
[]
geographic location
Q2035462 Q1084560
SYSTEM
Ostfeste, Northwest Highlands
Q2035462 Q1084560
OR((Q15,P361,c(Q2221906)), (Q7459815,P706,c(Q2221906)))
action filter_type
action union
action find
entity Q15
relation P361
action find
entity Q7459815
relation P706
type Q2221906
[ANSWERS] are Africa a part of or are Sgùrr na Càrnach located on
{'OR': [['Q15', 'P361', {'concept': 'Q2221906'}], ['Q7459815', 'P706', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2221906 . { { resource:Q15 property:P361 ?v } UNION { resource:Q7459815 property:P706 ?v } } }
Ostfeste Northwest Highlands
Ostfeste and Northwest Highlands are Africa a part of or are Sgùrr na Càrnach located on
Ostfeste Northwest Highlands
action filter_type
action union
action find
entity Africa
relation part of
action find
entity Sgùrr na Càrnach
relation located on terrain feature
type geographic location
{'OR': [['Africa', 'part of', {'concept': 'geographic location'}], ['Sgùrr na Càrnach', 'located on terrain feature', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:geographic_location . { { resource:Africa property:part_of ?v } UNION { resource:Sgùrr_na_Càrnach property:located_on_terrain_feature ?v } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16539918 Q212959
P17
Q15617994
USER
Which administrative territories are Denain or Chiesa della Madonna del Giglio situated in ?
OR((Q212959,P17,c(Q15617994)), (Q16539918,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q212959
relation P17
action find
entity Q16539918
relation P17
type Q15617994
{'OR': [['Q212959', 'P17', {'concept': 'Q15617994'}], ['Q16539918', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q212959 property:P17 ?n } UNION { resource:Q16539918 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Chiesa della Madonna del Giglio Denain
action filter_type
action union
action find
entity Denain
relation country
action find
entity Chiesa della Madonna del Giglio
relation country
type designation for an administrative territorial entity
{'OR': [['Denain', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Chiesa della Madonna del Giglio', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Denain property:country ?n } UNION { resource:Chiesa_della_Madonna_del_Giglio property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q212959,P17,c(Q15617994)), (Q16539918,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q212959
relation P17
action find
entity Q16539918
relation P17
type Q15617994
Denain or Chiesa della Madon na del Giglio are situated in the [ANSWERS]
{'OR': [['Q212959', 'P17', {'concept': 'Q15617994'}], ['Q16539918', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q212959 property:P17 ?n } UNION { resource:Q16539918 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
France Italy
Denain or Chiesa della Madon na del Giglio are situated in the France and Italy
France Italy
action filter_type
action union
action find
entity Denain
relation country
action find
entity Chiesa della Madonna del Giglio
relation country
type designation for an administrative territorial entity
{'OR': [['Denain', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Chiesa della Madonna del Giglio', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Denain property:country ?n } UNION { resource:Chiesa_della_Madonna_del_Giglio property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]