Simple Question (Direct)
Simple Question
Q822490
P106
Q151885
USER
What is the job of Hans-Johann Färber ?
(Q822490,P106,c(Q151885))
action filter_type
action find
entity Q822490
relation P106
type Q151885
['Q822490', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { resource:Q822490 property:P106 ?b . ?b rdf:type ontology:Q151885 }
Hans-Johann Färber
action filter_type
action find
entity Hans-Johann Färber
relation occupation
type concept
['Hans-Johann Färber', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { resource:Hans-Johann_Färber property:occupation ?b . ?b rdf:type ontology:concept }
[]
concept
Q13382576
SYSTEM
rower
Q13382576
(Q822490,P106,c(Q151885))
action filter_type
action find
entity Q822490
relation P106
type Q151885
The job of Hans-Johann Färber is a [ANSWER]
['Q822490', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { resource:Q822490 property:P106 ?b . ?b rdf:type ontology:Q151885 }
rower
The job of Hans-Johann Färber is a rower
rower
action filter_type
action find
entity Hans-Johann Färber
relation occupation
type concept
['Hans-Johann Färber', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { resource:Hans-Johann_Färber property:occupation ?b . ?b rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q822490
P21
Q290
USER
What is the sex of Hans-Johann Färber ?
(Q822490,P21,c(Q290))
action filter_type
action find
entity Q822490
relation P21
type Q290
['Q822490', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q822490 property:P21 ?m . ?m rdf:type ontology:Q290 }
Hans-Johann Färber
action filter_type
action find
entity Hans-Johann Färber
relation gender
type sex
['Hans-Johann Färber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Hans-Johann_Färber property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q822490,P21,c(Q290))
action filter_type
action find
entity Q822490
relation P21
type Q290
The sex of Hans-Johann Färber is the [ANSWER]
['Q822490', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q822490 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Hans-Johann Färber is the male
male
action filter_type
action find
entity Hans-Johann Färber
relation gender
type sex
['Hans-Johann Färber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Hans-Johann_Färber property:gender ?m . ?m rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q303629 Q822490
P47 P27
Q1048835
USER
Which political territories are Hans-Johann Färber an inhabitant of or share the border with Laguardia, Álava ?
OR((Q822490,P27,c(Q1048835)), (Q303629,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q822490
relation P27
action find
entity Q303629
relation P47
type Q1048835
{'OR': [['Q822490', 'P27', {'concept': 'Q1048835'}], ['Q303629', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q303629 property:P47 ?a } UNION { resource:Q822490 property:P27 ?a } } . ?a rdf:type ontology:Q1048835 }
Laguardia, Álava Hans-Johann Färber
action filter_type
action union
action find
entity Hans-Johann Färber
relation country of citizenship
action find
entity Laguardia, Álava
relation shares border with
type political territorial entity
{'OR': [['Hans-Johann Färber', 'country of citizenship', {'concept': 'political territorial entity'}], ['Laguardia, Álava', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Laguardia,_Álava property:shares_border_with ?a } UNION { resource:Hans-Johann_Färber property:country_of_citizenship ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1368834 Q943857 Q1442870 Q1368822 Q1369053 Q755695 Q1368805 Q1443959 Q183 Q581589
SYSTEM
Some of them are Elciego, Samaniego, Navaridas, Bernedo, Kripan, Fuenmayor, Elvillar/Bilar, Lanciego/Lantziego, Germany, Oyón-Oion
Q1443959 Q1445242 Q943857 Q1442870 Q183 Q1382223 Q1368805 Q581589 Q1382266 Q1368822 Q1368834 Q1369053 Q755695
OR((Q822490,P27,c(Q1048835)), (Q303629,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q822490
relation P27
action find
entity Q303629
relation P47
type Q1048835
[ANSWERS] are Hans-Johann Färber an inhabitant of or share the border with Laguardia, Álava
{'OR': [['Q822490', 'P27', {'concept': 'Q1048835'}], ['Q303629', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q303629 property:P47 ?a } UNION { resource:Q822490 property:P27 ?a } } . ?a rdf:type ontology:Q1048835 }
Lanciego/Lantziego Lapuebla de Labarca Samaniego Navaridas Germany Lagrán Elvillar/Bilar Oyón-Oion Leza Bernedo Elciego Kripan Fuenmayor
Elciego, Samaniego, Navaridas, Bernedo, Kripan, Fuenmayor, Elvillar/Bilar, Lanciego/Lantziego, Germany and Oyón-Oion are Hans-Johann Färber an inhabitant of or share the border with Laguardia, Álava
Elciego Samaniego Navaridas Bernedo Kripan Fuenmayor Elvillar/Bilar Lanciego/Lantziego Germany Oyón-Oion
action filter_type
action union
action find
entity Hans-Johann Färber
relation country of citizenship
action find
entity Laguardia, Álava
relation shares border with
type political territorial entity
{'OR': [['Hans-Johann Färber', 'country of citizenship', {'concept': 'political territorial entity'}], ['Laguardia, Álava', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Laguardia,_Álava property:shares_border_with ?a } UNION { resource:Hans-Johann_Färber property:country_of_citizenship ?a } } . ?a rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21404571 Q822490
P27 P495
Q1048835
USER
Which political territories are Hans-Johann Färber a civilian of or are the countries of origin of Einer von uns ?
OR((Q822490,P27,c(Q1048835)), (Q21404571,P495,c(Q1048835)))
action filter_type
action union
action find
entity Q822490
relation P27
action find
entity Q21404571
relation P495
type Q1048835
{'OR': [['Q822490', 'P27', {'concept': 'Q1048835'}], ['Q21404571', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . { { resource:Q822490 property:P27 ?x } UNION { resource:Q21404571 property:P495 ?x } } }
Einer von uns Hans-Johann Färber
action filter_type
action union
action find
entity Hans-Johann Färber
relation country of citizenship
action find
entity Einer von uns
relation country of origin
type political territorial entity
{'OR': [['Hans-Johann Färber', 'country of citizenship', {'concept': 'political territorial entity'}], ['Einer von uns', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . { { resource:Hans-Johann_Färber property:country_of_citizenship ?x } UNION { resource:Einer_von_uns property:country_of_origin ?x } } }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
OR((Q822490,P27,c(Q1048835)), (Q21404571,P495,c(Q1048835)))
action filter_type
action union
action find
entity Q822490
relation P27
action find
entity Q21404571
relation P495
type Q1048835
[ANSWERS] are Hans-Johann Färber a civilian of or are the countries of origin of Einer von uns
{'OR': [['Q822490', 'P27', {'concept': 'Q1048835'}], ['Q21404571', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . { { resource:Q822490 property:P27 ?x } UNION { resource:Q21404571 property:P495 ?x } } }
Germany Austria
Germany and Austria are Hans-Johann Färber a civilian of or are the countries of origin of Einer von uns
Germany Austria
action filter_type
action union
action find
entity Hans-Johann Färber
relation country of citizenship
action find
entity Einer von uns
relation country of origin
type political territorial entity
{'OR': [['Hans-Johann Färber', 'country of citizenship', {'concept': 'political territorial entity'}], ['Einer von uns', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . { { resource:Hans-Johann_Färber property:country_of_citizenship ?x } UNION { resource:Einer_von_uns property:country_of_origin ?x } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21897376
P17
Q14524493
USER
Are Wolumla Peak located in those political territories ?
(Q21897376,P17,Q183) (Q21897376,P17,Q40)
action is_in
entity prev_answer
action find
entity Q21897376
relation P17
['Q21897376', 'P17', 'Q183'] ['Q21897376', 'P17', 'Q40']
ASK WHERE { VALUES ( ?i ) { ( resource:Q183 ) ( resource:Q40 ) } . resource:Q21897376 property:P17 ?i }
Wolumla Peak
action is_in
entity prev_answer
action find
entity Wolumla Peak
relation country
['Wolumla Peak', 'country', 'Germany'] ['Wolumla Peak', 'country', 'Austria']
ASK WHERE { VALUES ( ?i ) { ( resource:Germany ) ( resource:Austria ) } . resource:Wolumla_Peak property:country ?i }
[]
terrain
SYSTEM
NO
(Q21897376,P17,Q183) (Q21897376,P17,Q40)
action is_in
entity prev_answer
action find
entity Q21897376
relation P17
[ANSWER]
['Q21897376', 'P17', 'Q183'] ['Q21897376', 'P17', 'Q40']
ASK WHERE { VALUES ( ?i ) { ( resource:Q183 ) ( resource:Q40 ) } . resource:Q21897376 property:P17 ?i }
No
action is_in
entity prev_answer
action find
entity Wolumla Peak
relation country
['Wolumla Peak', 'country', 'Germany'] ['Wolumla Peak', 'country', 'Austria']
ASK WHERE { VALUES ( ?i ) { ( resource:Germany ) ( resource:Austria ) } . resource:Wolumla_Peak property:country ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3741
P127
Q1048835 Q483110 Q2668072
USER
How many political territories own approximately the same number of stadia or collections as Special Region of Yogyakarta ?
(c(Q483110)|c(Q2668072),P127,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2668072
action count
action filter_multi_types
action find_reverse
entity Q3741
relation P127
type Q483110
type Q2668072
[[{'concept': 'Q483110'}, {'concept': 'Q2668072'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?c WHERE { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:Q2668072 ) ( ontology:Q483110 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P127 resource:Q3741 . { { ?v rdf:type ontology:Q483110 } UNION { ?v rdf:type ontology:Q2668072 } } } } . FILTER ( ?r = ?d ) }
Special Region of Yogyakarta
action count
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type collection
action count
action filter_multi_types
action find_reverse
entity Special Region of Yogyakarta
relation owned by
type stadium
type collection
[[{'concept': 'stadium'}, {'concept': 'collection'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?c WHERE { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:collection ) ( ontology:stadium ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:owned_by resource:Special_Region_of_Yogyakarta . { { ?v rdf:type ontology:stadium } UNION { ?v rdf:type ontology:collection } } } } . FILTER ( ?r = ?d ) }
[]
political territorial entity stadium collection
SYSTEM
55
Q192536 Q170322 Q1648590 Q3741 Q20937 Q2321093 Q5691 Q188399 Q183 Q490638 Q6040 Q126514 Q211091 Q6053 Q133083 Q74881 Q8543 Q6041 Q2379199 Q6139 Q8178 Q7379734 Q1823 Q8551 Q193317 Q35 Q191091 Q2947 Q13862 Q1135166 Q46070 Q211106 Q202174 Q54902 Q192697 Q188373 Q190930 Q192702 Q2175 Q849584 Q6142 Q909707 Q234 Q100166 Q231 Q40 Q6047 Q6045 Q9337 Q8182 Q23635 Q408 Q193307 Q16 Q206926
(c(Q483110)|c(Q2668072),P127,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2668072
action count
action filter_multi_types
action find_reverse
entity Q3741
relation P127
type Q483110
type Q2668072
[ANSWER]
[[{'concept': 'Q483110'}, {'concept': 'Q2668072'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?c WHERE { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:Q2668072 ) ( ontology:Q483110 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:P127 resource:Q3741 . { { ?v rdf:type ontology:Q483110 } UNION { ?v rdf:type ontology:Q2668072 } } } } . FILTER ( ?r = ?d ) }
Zlín Region Qingdao Manises Special Region of Yogyakarta Gyeonggi Province Chorrillos South Karelia Central Bohemian Region Germany Almendralejo Goslar Dumfries and Galloway Renfrewshire Gifhorn Gauteng Dalian Germersheim Wolfenbüttel politics of Edinburgh Havelland Karlsruhe Aachen Aceh Südliche Weinstraße Pardubice Region Denmark Karlovy Vary Region Dithmarschen Negros Occidental Greater London Authority Plzeň Region Moray Argyll and Bute Fuenlabrada South Moravian Region South Bohemia Region Vysočina Region Ústí nad Labem Region Riau Province Jaraguá do Sul Potsdam-Mittelmark Sestao Flemish Region Orkney Islands Walloon Region Austria Helmstedt Peine Flemish Region Rastatt Bermuda Australia Olomouc Region Canada North Ayrshire
55
action count
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type collection
action count
action filter_multi_types
action find_reverse
entity Special Region of Yogyakarta
relation owned by
type stadium
type collection
[[{'concept': 'stadium'}, {'concept': 'collection'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?c WHERE { ?k rdf:type ?l . VALUES ( ?l ) { ( ontology:collection ) ( ontology:stadium ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v property:owned_by resource:Special_Region_of_Yogyakarta . { { ?v rdf:type ontology:stadium } UNION { ?v rdf:type ontology:collection } } } } . FILTER ( ?r = ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q318314
P127
Q1048835 Q483110 Q2668072
USER
And also tell me about Ipatinga?
(c(Q483110)|c(Q2668072),P127,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2668072
action count
action filter_multi_types
action find_reverse
entity Q318314
relation P127
type Q483110
type Q2668072
[[{'concept': 'Q483110'}, {'concept': 'Q2668072'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?c WHERE { VALUES ( ?i ) { ( ontology:Q2668072 ) ( ontology:Q483110 ) } . ?a rdf:type ?i } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P127 resource:Q318314 . { { ?f rdf:type ontology:Q483110 } UNION { ?f rdf:type ontology:Q2668072 } } } } . FILTER ( ?y = ?r ) }
Ipatinga
action count
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type collection
action count
action filter_multi_types
action find_reverse
entity Ipatinga
relation owned by
type stadium
type collection
[[{'concept': 'stadium'}, {'concept': 'collection'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?c WHERE { VALUES ( ?i ) { ( ontology:collection ) ( ontology:stadium ) } . ?a rdf:type ?i } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:owned_by resource:Ipatinga . { { ?f rdf:type ontology:stadium } UNION { ?f rdf:type ontology:collection } } } } . FILTER ( ?y = ?r ) }
[]
political territorial entity stadium collection
SYSTEM
12
Q318314 Q192387 Q217838 Q6339 Q13786 Q5783 Q741765 Q276176 Q2271 Q17557 Q207111 Q5756
(c(Q483110)|c(Q2668072),P127,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2668072
action count
action filter_multi_types
action find_reverse
entity Q318314
relation P127
type Q483110
type Q2668072
[ANSWER]
[[{'concept': 'Q483110'}, {'concept': 'Q2668072'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?c WHERE { VALUES ( ?i ) { ( ontology:Q2668072 ) ( ontology:Q483110 ) } . ?a rdf:type ?i } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P127 resource:Q318314 . { { ?f rdf:type ontology:Q483110 } UNION { ?f rdf:type ontology:Q2668072 } } } } . FILTER ( ?y = ?r ) }
Ipatinga Londrina Stirling Erzgebirgskreis Cebu Andalusia San Fernando Volta Redonda South Sumatra California Republic North Lanarkshire Community of Madrid
12
action count
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type collection
action count
action filter_multi_types
action find_reverse
entity Ipatinga
relation owned by
type stadium
type collection
[[{'concept': 'stadium'}, {'concept': 'collection'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?c WHERE { VALUES ( ?i ) { ( ontology:collection ) ( ontology:stadium ) } . ?a rdf:type ?i } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:owned_by resource:Ipatinga . { { ?f rdf:type ontology:stadium } UNION { ?f rdf:type ontology:collection } } } } . FILTER ( ?y = ?r ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q318314
P931
Q62447
USER
Which aerodrome is served by that political territory ?
action filter_type
action find_reverse
entity Q318314
relation P931
type Q62447
SELECT DISTINCT ?w WHERE { ?w property:P931 resource:Q318314 . ?w rdf:type ontology:Q62447 }
Ipatinga
action filter_type
action find_reverse
entity Ipatinga
relation place served by airport
type aerodrome
SELECT DISTINCT ?w WHERE { ?w property:place_served_by_airport resource:Ipatinga . ?w rdf:type ontology:aerodrome }
[]
aerodrome
Q7901989
SYSTEM
Usiminas Airport
Q7901989
action filter_type
action find_reverse
entity Q318314
relation P931
type Q62447
[ANSWER] is served by that political territory
SELECT DISTINCT ?w WHERE { ?w property:P931 resource:Q318314 . ?w rdf:type ontology:Q62447 }
Usiminas Airport
Usiminas Airport is served by that political territory
Usiminas Airport
action filter_type
action find_reverse
entity Ipatinga
relation place served by airport
type aerodrome
SELECT DISTINCT ?w WHERE { ?w property:place_served_by_airport resource:Ipatinga . ?w rdf:type ontology:aerodrome }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7901989 Q58909
P17
Q15617994
USER
Does that aerodrome belong to Tora e Piccilli ?
(Q7901989,P17,Q58909)
action is_in
entity Q58909
action find
entity Q7901989
relation P17
['Q7901989', 'P17', 'Q58909']
ASK WHERE { resource:Q7901989 property:P17 resource:Q58909 }
Usiminas Airport Tora e Piccilli
action is_in
entity Tora e Piccilli
action find
entity Usiminas Airport
relation country
['Usiminas Airport', 'country', 'Tora e Piccilli']
ASK WHERE { resource:Usiminas_Airport property:country resource:Tora_e_Piccilli }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7901989,P17,Q58909)
action is_in
entity Q58909
action find
entity Q7901989
relation P17
[ANSWER]
['Q7901989', 'P17', 'Q58909']
ASK WHERE { resource:Q7901989 property:P17 resource:Q58909 }
No
action is_in
entity Tora e Piccilli
action find
entity Usiminas Airport
relation country
['Usiminas Airport', 'country', 'Tora e Piccilli']
ASK WHERE { resource:Usiminas_Airport property:country resource:Tora_e_Piccilli }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1368805 Q192790
P47
Q1048835
USER
How many political territories have an adjacent border with Elvillar/Bilar or Sunda Strait ?
(c(Q1048835),P47,Q1368805) (c(Q1048835),P47,Q192790)
action count
action union
action filter_type
action find_reverse
entity Q1368805
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q192790
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q1368805'] [{'concept': 'Q1048835'}, 'P47', 'Q192790']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:P47 resource:Q1368805 . ?r rdf:type ontology:Q1048835 } UNION { ?r rdf:type ontology:Q1048835 . ?r property:P47 resource:Q192790 } }
Elvillar/Bilar Sunda Strait
action count
action union
action filter_type
action find_reverse
entity Elvillar/Bilar
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Sunda Strait
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Elvillar/Bilar'] [{'concept': 'political territorial entity'}, 'shares border with', 'Sunda Strait']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:shares_border_with resource:Elvillar/Bilar . ?r rdf:type ontology:political_territorial_entity } UNION { ?r rdf:type ontology:political_territorial_entity . ?r property:shares_border_with resource:Sunda_Strait } }
[]
political territorial entity
SYSTEM
3
Q2110 Q303629 Q1443959
(c(Q1048835),P47,Q1368805) (c(Q1048835),P47,Q192790)
action count
action union
action filter_type
action find_reverse
entity Q1368805
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q192790
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q1368805'] [{'concept': 'Q1048835'}, 'P47', 'Q192790']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:P47 resource:Q1368805 . ?r rdf:type ontology:Q1048835 } UNION { ?r rdf:type ontology:Q1048835 . ?r property:P47 resource:Q192790 } }
Lampung Province Laguardia, Álava Lanciego/Lantziego
3
action count
action union
action filter_type
action find_reverse
entity Elvillar/Bilar
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Sunda Strait
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Elvillar/Bilar'] [{'concept': 'political territorial entity'}, 'shares border with', 'Sunda Strait']
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { ?r property:shares_border_with resource:Elvillar/Bilar . ?r rdf:type ontology:political_territorial_entity } UNION { ?r rdf:type ontology:political_territorial_entity . ?r property:shares_border_with resource:Sunda_Strait } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q1048835
USER
How many political territories are known to have diplomatic connections with around 78 political territories and administrative territories ?
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 78
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?b = 78 ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?b ) WHERE { { ?q rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 . ?q property:P530 ?u } UNION { ?q property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } } GROUP BY ?q } }
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 78
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?b = 78 ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?b ) WHERE { { ?q rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity . ?q property:diplomatic_relation ?u } UNION { ?q property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } } GROUP BY ?q } }
[]
political territorial entity designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q408 Q16
(c(Q1048835),P530,c(Q1048835)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 78
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?b = 78 ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?b ) WHERE { { ?q rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 . ?q property:P530 ?u } UNION { ?q property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } } GROUP BY ?q } }
Australia Canada
2
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 78
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { FILTER ( ?b = 78 ) . { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?b ) WHERE { { ?q rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity . ?q property:diplomatic_relation ?u } UNION { ?q property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } } GROUP BY ?q } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q781132 Q62447
USER
How many military branches operate atmost 2 aerodromes ?
(c(Q62447),P137,c(Q781132))
action count
action atmost
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
value 2
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?f ) WHERE { ?v rdf:type ontology:Q781132 . ?q rdf:type ontology:Q62447 . ?q property:P137 ?v } GROUP BY ?v } . FILTER ( ?f <= 2 ) }
action count
action atmost
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
value 2
[{'concept': 'aerodrome'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?f ) WHERE { ?v rdf:type ontology:military_branch . ?q rdf:type ontology:aerodrome . ?q property:operator ?v } GROUP BY ?v } . FILTER ( ?f <= 2 ) }
[]
military branch aerodrome
SYSTEM
130
Q222595 Q2427907 Q169025 Q704397 Q6648444 Q3510333 Q676404 Q246813 Q2705826 Q217406 Q156649 Q702430 Q356359 Q376676 Q1652708 Q2505986 Q1113589 Q3293231 Q1076619 Q741691 Q19562444 Q855186 Q11322507 Q2384177 Q643834 Q1370337 Q465283 Q931281 Q3958034 Q2531890 Q932840 Q3848121 Q796754 Q897614 Q1815399 Q4419309 Q2387294 Q56018 Q2067603 Q2258261 Q56015 Q2055634 Q19344622 Q952444 Q488756 Q16408580 Q2071948 Q1285655 Q1188381 Q2537847 Q1774585 Q25436 Q2630039 Q6479134 Q4114459 Q2370391 Q2292358 Q11218 Q3546162 Q5334371 Q355771 Q159211 Q2074039 Q267167 Q702116 Q2349884 Q583941 Q1322103 Q15705369 Q781360 Q2408298 Q1129369 Q4115107 Q16151032 Q219712 Q1038047 Q833040 Q4114435 Q2575188 Q889751 Q2704661 Q898671 Q2566387 Q1944482 Q1750688 Q4855270 Q7032867 Q208711 Q2083573 Q755179 Q1324290 Q2301347 Q9212 Q861530 Q1046947 Q731647 Q2526431 Q2594652 Q792296 Q3274075 Q17404781 Q1141396 Q2745472 Q11220 Q1062125 Q172771 Q2742227 Q2006452 Q3277832 Q2528358 Q4939559 Q3848018 Q1311627 Q2749588 Q1777326 Q2665572 Q25387 Q1370395 Q1366319 Q3293295 Q2492012 Q151701 Q796411 Q588089 Q2383264 Q510534 Q1124986 Q4303265 Q575932 Q569328
(c(Q62447),P137,c(Q781132))
action count
action atmost
action find_reverse_tuple_counts
relation P137
type Q781132
type Q62447
value 2
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?f ) WHERE { ?v rdf:type ontology:Q781132 . ?q rdf:type ontology:Q62447 . ?q property:P137 ?v } GROUP BY ?v } . FILTER ( ?f <= 2 ) }
British Army Royal Thai Navy National Navy of Uruguay Republic of China Army Lithuanian Army Nigerian Navy Spanish Navy Luxembourg Army Free French Naval Forces French Navy Imperial German Navy Beiyang Fleet Indian Navy Albanian Naval Force South African Navy National Army of Venezuela Saudi Arabian Army Bangladesh Navy French Army Royal Australian Navy Danish-Norwegian navy Regia Marina German Army Norwegian Army German Navy Estonian Navy Russian Navy Royal Netherlands Navy Argentine Army Aviation Republic of Singapore Navy Ukrainian Navy United Arab Emirates Navy Soviet Navy Iraqi Army South African Army Kazakh Air and Air Defence Forces Romanian Naval Forces Joint Medical Service Royal Indian Navy Pakistan Navy German Navy Royal Bahrain Naval Force naval reserve force Peruvian Navy Republic of Korea Navy Eesti Merevägi Finnish Navy Royal Yugoslav Navy Bulgarian Navy Latvian Naval Forces Swedish Amphibious Corps Canadian Army New Zealand Army Egyptian Army Eritrean Navy Royal Bhutan Army Brazilian Army United States Marine Corps Philippine Navy Ecuadorian Army Indian Army Austro-Hungarian Navy Latvian Land Forces Polish Navy Republic of China Navy Croatian Navy Imperial Russian Navy Spanish Army Tudor navy Australian Army Islamic Republic of Iran Navy Hellenic Navy National Army of Colombia Dano-Norwegian Navy Imperial Japanese Navy Irish Army Italian Navy Royal Naval Force Royal Danish Army Japan Ground Self-Defense Force Indonesian Navy Iraqi Navy Yugoslav Navy Mongolian People's Army Brazilian Navy Bangladesh Army Nigerian Army Chilean Navy Royal Norwegian Navy People's Liberation Army Navy Vietnam People's Navy Argentine Army United States Army Royal Malaysian Navy Royal Marines Japan Maritime Self-Defense Force National Navy of Colombia Naval Service Belgian Naval Component Sri Lanka Navy Afghan Special Mission Wing Swedish Navy Chilean Army United States Navy Ottoman Navy Royal Navy Royal Saudi Navy Royal Danish Navy Hungarian Ground Forces Mexican Navy Bolivian Army Italian Co-Belligerent Navy Syrian Navy Royal Thai Army Argentine Navy Algerian National Navy Royal Canadian Navy Estonian Land Forces Libyan Navy Turkish Navy Swedish Army Kriegsmarine Italian Army Portuguese Navy Finnish Army Israeli Navy Confederate States Navy Argentine Marines Royal New Zealand Navy Air Force and Anti-Air Defence Brigade
130
action count
action atmost
action find_reverse_tuple_counts
relation operator
type military branch
type aerodrome
value 2
[{'concept': 'aerodrome'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?f ) WHERE { ?v rdf:type ontology:military_branch . ?q rdf:type ontology:aerodrome . ?q property:operator ?v } GROUP BY ?v } . FILTER ( ?f <= 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q740752 Q62447
USER
How many transport companies operate atmost 15 aerodromes ?
(c(Q62447),P137,c(Q740752))
action count
action atmost
action find_reverse_tuple_counts
relation P137
type Q740752
type Q62447
value 15
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:Q62447 . ?t rdf:type ontology:Q740752 . ?j property:P137 ?t } GROUP BY ?t } . FILTER ( ?d <= 15 ) }
action count
action atmost
action find_reverse_tuple_counts
relation operator
type transport company
type aerodrome
value 15
[{'concept': 'aerodrome'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:aerodrome . ?t rdf:type ontology:transport_company . ?j property:operator ?t } GROUP BY ?t } . FILTER ( ?d <= 15 ) }
[]
transport company aerodrome
SYSTEM
155
Q696056 Q379439 Q6955265 Q466985 Q16951036 Q30850 Q259805 Q11986946 Q13646 Q7596862 Q5314720 Q5531719 Q9322 Q558087 Q2045550 Q5093778 Q822867 Q1502902 Q2304446 Q13882327 Q23239 Q83543 Q498930 Q633760 Q502125 Q1188230 Q20986912 Q1486303 Q3878567 Q629139 Q1201734 Q841227 Q21501365 Q3240991 Q741266 Q4698983 Q524255 Q2245513 Q1332242 Q494088 Q787383 Q19768352 Q13709959 Q833903 Q499071 Q190208 Q291464 Q498366 Q11408721 Q1332019 Q935025 Q652374 Q624798 Q1937120 Q7975717 Q5283358 Q3630199 Q1324935 Q181811 Q247358 Q3138970 Q7880037 Q4154231 Q791050 Q1778084 Q4923279 Q375044 Q1719876 Q177598 Q1662654 Q1140781 Q381636 Q5599675 Q1428642 Q1571428 Q19960466 Q6747270 Q665793 Q591484 Q7283888 Q1190669 Q1332506 Q867040 Q1263077 Q1121154 Q929872 Q5413836 Q7684354 Q1531085 Q4698894 Q7984828 Q83823 Q1433158 Q10682200 Q869251 Q794563 Q2172775 Q690220 Q1868882 Q1069105 Q1631623 Q452140 Q10390136 Q682894 Q1322206 Q1321914 Q4940244 Q83584 Q1188274 Q1967598 Q1652183 Q7684105 Q604174 Q1398696 Q473058 Q10431339 Q18169 Q913248 Q20640459 Q15712205 Q4202182 Q795363 Q8301325 Q83538 Q843251 Q893983 Q1277719 Q10689331 Q933681 Q2105117 Q20060811 Q1244599 Q658126 Q258856 Q23076 Q845951 Q7056819 Q2453128 Q7603486 Q483883 Q4916856 Q589575 Q4121167 Q1674254 Q5350084 Q3115986 Q8046688 Q246824 Q923337 Q18853 Q6921923 Q295619 Q643578 Q1775875 Q617732
(c(Q62447),P137,c(Q740752))
action count
action atmost
action find_reverse_tuple_counts
relation P137
type Q740752
type Q62447
value 15
[ANSWER]
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:Q62447 . ?t rdf:type ontology:Q740752 . ?j property:P137 ?t } GROUP BY ?t } . FILTER ( ?d <= 15 ) }
Hamburg America Line Queensland Rail NSB Gjøvikbanen Thalys Belgian State Railways Meitetsu Bayerische Oberlandbahn Norwegian Civil Aviation Administration SNCF Stagecoach Sheffield Dundalk, Newry and Greenore Railway General Authority of Civil Aviation Deutsche Bahn Ann Arbor Railroad Pacific Mail Steamship Company Chester and Holyhead Railway Hamburg-Köln-Express Underground Electric Railways Company of London South Eastern and Chatham Railway Nederlandsche Rhijnspoorweg-Maatschappij Amtrak Seibu Railway Hokkaido Railway Company Conrail West Japan Railway Company Nankai Electric Railway DB Busverkehr Hessen London and North Western Railway Northern Counties Committee London, Midland and Scottish Railway Deutsch-Australische Dampfschiffs-Gesellschaft Metropolitan Intercity Railway Company Railway Touring Company Lima Airport Partners Southern Railway Airports Company South Africa NMBS/SNCB Sanyo Electric Railway Tokyu Corporation Shinbundang Railroad Company North Eastern Railway Joseph Constantine Steamship Neo Trans Stena Line East Japan Railway Company Zentralbahn Aena Kyushu Railway Company Minamiaso tetsudō Ellerman Lines Metropolitan Railway Norddeutscher Lloyd Canadian National Railway NI Railways Waxholmsbolaget District Railway Airports Authority of India Trenord Great Northern Railway Appenzeller Bahnen (2006) Iyo Railway Ulster Transport Authority Far East Shipping Company Avinor Mitsui O.S.K. Lines Blackpool Transport Stockton and Darlington Railway Stern und Kreisschiffahrt Rhaetian Railway Infraero Hanshin Electric Railway Aeroporti di Roma SpA Great Northern Railway (Ireland) Penn Central Transportation Company Swedavia Finnish State Railways Manchester Airports Group Maatschappij tot Exploitatie van Staatsspoorwegen Connexxion Rail Corporation New South Wales Japan Freight Railway Company Keio Corporation Aizu Railway Dublin Airport Authority Compagnie des chemins de fer de Paris à Lyon et à la Méditerranée Royal Caribbean International Eurostar International Limited Taoyuan International Airport Corporation Kintetsu Airport Authority Hong Kong West Coast Railway Company Ferrovie dello Stato Italiane Helsinki City Transport Strömma Kanalbolaget Nishi-Nippon Railroad Aéroports de Paris Nederlandsche Centraal-Spoorweg-Maatschappij Grand Junction Railway London, Tilbury and Southend Railway Kazakhstan Temir Zholy TAV Airports Holding DB Fernverkehr Viação Férrea Federal Leste Brasileiro Tokyo Metro Keikyu Tobu Railway Bolton and Leigh Railway Odakyu Electric Railway Keihan Electric Railway National Railways of Zimbabwe In-der-City-Bus Tanzania Airports Authority Hakone Tozan Railway Liverpool and Manchester Railway Hankyu Corporation Blidösundsbolaget Korail VR Group Lokaltog intercity bus company Malaysia Airports Heathrow Airport Holdings Limited SJ AB Keisei Electric Railway Great Western Railway BornholmerFærgen East African Railways and Harbours Corporation TBI plc Flughafen Berlin Brandenburg GmbH Hollandsche IJzeren Spoorweg-Maatschappij Rede Ferroviária do Nordeste Nizam's Guaranteed State Railway Syrian Railways Angkasa Pura Nederlandse Spoorwegen Sagami Railway North Staffordshire Railway Karelian Trains State Rail Authority of New South Wales Incheon Transit Corporation Birmingham and Gloucester Railway Eurobahn Sydney Airports Corporation Isle of Man Steam Packet Company Eizan Electric Railway Great Western Steamship Company Yagan Railway BLS AG Ukrainian Railways DB Regio Mount Lyell Mining and Railway Company ANA – Aeroportos de Portugal Fraport Overseas Shipholding Group Montreux-Oberland Bernois
155
action count
action atmost
action find_reverse_tuple_counts
relation operator
type transport company
type aerodrome
value 15
[{'concept': 'aerodrome'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:aerodrome . ?t rdf:type ontology:transport_company . ?j property:operator ?t } GROUP BY ?t } . FILTER ( ?d <= 15 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3115894 Q40
P47 P27
Q1048835
USER
Which political territories are bordered by Austria or are Grazo an inhabitant of ?
OR((Q40,P47,c(Q1048835)), (Q3115894,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q40
relation P47
action find
entity Q3115894
relation P27
type Q1048835
{'OR': [['Q40', 'P47', {'concept': 'Q1048835'}], ['Q3115894', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3115894 property:P27 ?r } UNION { resource:Q40 property:P47 ?r } } . ?r rdf:type ontology:Q1048835 }
Grazo Austria
action filter_type
action union
action find
entity Austria
relation shares border with
action find
entity Grazo
relation country of citizenship
type political territorial entity
{'OR': [['Austria', 'shares border with', {'concept': 'political territorial entity'}], ['Grazo', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Grazo property:country_of_citizenship ?r } UNION { resource:Austria property:shares_border_with ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q40,P47,c(Q1048835)), (Q3115894,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q40
relation P47
action find
entity Q3115894
relation P27
type Q1048835
[ANSWERS] are bordered by Austria or are Grazo an inhabitant of
{'OR': [['Q40', 'P47', {'concept': 'Q1048835'}], ['Q3115894', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3115894 property:P27 ?r } UNION { resource:Q40 property:P47 ?r } } . ?r rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are bordered by Austria or are Grazo an inhabitant of
Canada Germany
action filter_type
action union
action find
entity Austria
relation shares border with
action find
entity Grazo
relation country of citizenship
type political territorial entity
{'OR': [['Austria', 'shares border with', {'concept': 'political territorial entity'}], ['Grazo', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Grazo property:country_of_citizenship ?r } UNION { resource:Austria property:shares_border_with ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16 Q183
P17
Q874405
USER
Which social groups are present in Canada and Germany ?
(c(Q874405),P17,Q16) (c(Q874405),P17,Q183)
action union
action filter_type
action find_reverse
entity Q16
relation P17
type Q874405
action filter_type
action find_reverse
entity Q183
relation P17
type Q874405
[{'concept': 'Q874405'}, 'P17', 'Q16'] [{'concept': 'Q874405'}, 'P17', 'Q183']
SELECT DISTINCT ?u WHERE { { ?u property:P17 resource:Q16 . ?u rdf:type ontology:Q874405 } UNION { ?u property:P17 resource:Q183 . ?u rdf:type ontology:Q874405 } }
Canada Germany
action union
action filter_type
action find_reverse
entity Canada
relation country
type social group
action filter_type
action find_reverse
entity Germany
relation country
type social group
[{'concept': 'social group'}, 'country', 'Canada'] [{'concept': 'social group'}, 'country', 'Germany']
SELECT DISTINCT ?u WHERE { { ?u property:country resource:Canada . ?u rdf:type ontology:social_group } UNION { ?u property:country resource:Germany . ?u rdf:type ontology:social_group } }
[]
social group
Q49653 Q20181258 Q21402595
SYSTEM
ARD, Correctiv, Technoflex International
Q6867664 Q5030463 Q14875241 Q5011064 Q3487720 Q3487723 Q16210224 Q17004461 Q5176370 Q5030620 Q16986502 Q18029271 Q4969730 Q2822353 Q7109231 Q5030648 Q7094650 Q5164728 Q5451985 Q7709980 Q3151854 Q5030000 Q17016834 Q2867377 Q7109261 Q7094902 Q544545 Q4697772 Q18167894 Q3508222 Q6296274 Q5291088 Q18167781 Q7109241 Q3359694 Q5256875 Q3977459 Q5505965 Q7726765 Q7118977 Q16833918 Q6765526 Q7319369 Q5644891 Q7109164 Q7570127 Q18019688 Q5030163 Q20800709 Q3091639 Q18168151 Q1439256 Q21188805 Q3488642 Q24056273 Q7373910 Q2948156 Q4916156 Q24054847 Q6876572 Q5339020 Q7373978 Q18356628 Q5030578 Q4809577 Q19877790 Q7552103 Q5223275 Q3488605 Q5210038 Q7208304 Q5060241 Q7094839 Q3015437 Q6941690 Q7649566 Q6929064 Q5418330 Q16981451 Q4857635 Q3092250 Q4671432 Q5029397 Q21402595 Q1032374 Q6726113 Q6427369 Q7094661 Q5029271 Q7373897 Q7552324 Q21188782 Q5008776 Q7276281 Q5029849 Q3069874 Q6867542 Q3498120 Q5030185 Q17109185 Q2906450 Q3654987 Q1993509 Q7914205 Q5030193 Q5568832 Q7799743 Q7775935 Q2867831 Q3326488 Q4810849 Q7252644 Q6352502 Q5029800 Q7711946 Q5030050 Q7898956 Q7374375 Q4711617 Q4636665 Q7307419 Q3359043 Q7332566 Q2867874 Q7094898 Q4639196 Q6477207 Q3270231 Q7745348 Q2945848 Q774093 Q16983916 Q24055207 Q7840289 Q2873452 Q6876392 Q7374960 Q16932537 Q16958926 Q17514075 Q5034106 Q2983889 Q18712204 Q7270275 Q3553040 Q18355640 Q8038448 Q15994965 Q6083455 Q3488128 Q6039884 Q2993672 Q18352213 Q677937 Q3151856 Q3591464 Q6982650 Q890180 Q16955316 Q5323349 Q2974478 Q14566209 Q7148893 Q6880390 Q20442226 Q5551060 Q7896617 Q3316795 Q6806317 Q6368707 Q5029765 Q4738830 Q7107666 Q478685 Q8001578 Q6980891 Q3022170 Q2883436 Q3487859 Q5030394 Q392496 Q4852579 Q7714734 Q5470697 Q5595043 Q16249312 Q7826475 Q16211576 Q2993792 Q6046681 Q7886411 Q5030588 Q5514121 Q7914144 Q7053823 Q19340777 Q5053204 Q1032100 Q7280653 Q17009916 Q16955245 Q3977254 Q2943074 Q5030520 Q7374609 Q3478318 Q5029773 Q4668433 Q8030964 Q7374611 Q5493608 Q20717550 Q22045560 Q4546487 Q5030349 Q22662805 Q5030567 Q7552504 Q6869672 Q22575812 Q21002393 Q3588987 Q600508 Q21015784 Q18120955 Q5209568 Q2941384 Q7199651 Q7737108 Q7400151 Q7074264 Q3098719 Q5030291 Q5178995 Q5347665 Q3488242 Q5030289 Q5030288 Q1107797 Q3977358 Q18149761 Q7443175 Q6647642 Q1091412 Q3206579 Q5440872 Q7561647 Q5030438 Q7957219 Q13512302 Q7826580 Q8075197 Q4857990 Q5100398 Q14422052 Q6862218 Q5572081 Q4646767 Q5027389 Q4668350 Q5690376 Q5030268 Q5030405 Q550482 Q7200241 Q1332419 Q2170957 Q1413500 Q316626 Q2109703 Q1008925 Q6052706 Q1431315 Q1628438 Q1351844 Q1882104 Q787915 Q17513739 Q1454136 Q1820380 Q314891 Q1478445 Q1203555 Q796944 Q2175119 Q452752 Q1022803 Q1539843 Q1000850 Q287612 Q1890729 Q883662 Q1555392 Q594722 Q2543504 Q370439 Q17513551 Q1571329 Q2175142 Q1073203 Q49653 Q431876 Q1204960 Q1134768 Q5504301 Q1135028 Q1204338 Q17198028 Q1664883 Q18127599 Q828687 Q4877458 Q884524 Q159386 Q5413275 Q2380482 Q1204946 Q20672014 Q1503236 Q1691932 Q1565910 Q1381014 Q1083747 Q1622205 Q565670 Q55156 Q16257846 Q817885 Q835141 Q1916178 Q1341571 Q1005141 Q2178828 Q1719339 Q14625057 Q1439834 Q1005163 Q15293666 Q1608513 Q4310240 Q14175571 Q1496326 Q639369 Q2803256 Q616952 Q2053739 Q1790699 Q18176483 Q2406946 Q1006215 Q1169202 Q2460234 Q1202994 Q1868196 Q891540 Q895645 Q1204618 Q2393743 Q1005032 Q8000792 Q5412860 Q321428 Q197101 Q1103238 Q29325 Q2554868 Q390473 Q17007520 Q820216 Q514802 Q1523703 Q17007511 Q14553312 Q17511486 Q821326 Q26932635 Q1005225 Q1905573 Q799144 Q5513137 Q895999 Q16973199 Q812286 Q527187 Q1203122 Q647422 Q1961427 Q2569926 Q1030068 Q998935 Q5037895 Q829445 Q696045 Q6539171 Q1402366 Q778985 Q1450110 Q1022341 Q26728071 Q315238 Q2135877 Q879829 Q1134934 Q20181258 Q1576283 Q6405018 Q2139990 Q2105133 Q795944 Q244905 Q392866 Q1134964 Q14826943 Q896579 Q6878216 Q218059 Q1594053 Q39396 Q2536998 Q5570098 Q1134827 Q17183065 Q4919768 Q1479038 Q17513791 Q1692186 Q628125 Q806045 Q348506 Q702446 Q19965728 Q24680650
(c(Q874405),P17,Q16) (c(Q874405),P17,Q183)
action union
action filter_type
action find_reverse
entity Q16
relation P17
type Q874405
action filter_type
action find_reverse
entity Q183
relation P17
type Q874405
[ANSWERS] are present in Canada and Germany
[{'concept': 'Q874405'}, 'P17', 'Q16'] [{'concept': 'Q874405'}, 'P17', 'Q183']
SELECT DISTINCT ?u WHERE { { ?u property:P17 resource:Q16 . ?u rdf:type ontology:Q874405 } UNION { ?u property:P17 resource:Q183 . ?u rdf:type ontology:Q874405 } }
Ministry of Youth Protection and Rehabilitation Canadian Peace Congress Kingston Yacht Club CHCA-TV Canadian Identification Society Canadian Psychoanalytic Society Interdepartmental Working Group on Trafficking in Persons Miss World Canada Council of Canadian Academies Canadian Thoroughbred Horse Society Integritybc Territorial Grain Growers' Association British Columbia Medical Association Académie de musique du Québec Ottawa River Runners Canadian Unitarian Council Ontario Dental Association Consumers' Association of Canada Firestone Institute for Respiratory Health Thamil Isai Kalaamanram Institut canadien de Québec Canadian Film Institute Saddle Lake Cree Nation Canadian Association of Physicists Ottawa Trades Council Ontario Society for the Prevention of Cruelty to Animals Fields Institute Air Cadet League of Canada Heliconian Club SPQ Libre Journalists for Human Rights Dominion of Canada Rifle Association Alberta Farmers' Association Ottawa Science Fiction Society PHP Quebec Dene Tha' Sisters of Charity of Saint Vincent de Paul Frontier College The College of Family Physicians Canada PEN Canada Count Me In Mariposa School of Skating Rexdale Women's Centre Hamilton Conservation Authority Ottawa District Badminton Association Southern Medical Program Manitoba Grain Growers Association Canadian Independent Record Production Association Centre de développement du porc du Québec Fédération des femmes du Québec Women's Art Association of Canada Friends of Science Silvera for Seniors Royal Astronomical Society of Canada Poudrette family Royal Canadian Numismatic Association Board of Trade of Metropolitan Montreal Birdtail Sioux First Nation Heart Lake Miss Earth Canada Edmonton Chinese Bilingual Education Association Royal College of Dentists of Canada Furniture Bank Canadian Society of Forensic Science Association in Defence of the Wrongly Convicted Excellence Canada Society for Digital Humanities Dark Illustrated Société pour la promotion de la relève musicale de l'espace francophone Dakota Plains First Nation Pointe-Claire Yacht Club Central Ontario Model Parliament Le Bon Dieu Dans La Rue (Dans La Rue) Music Waves Sustainable Archaeology Mr. Pakistan World EvidenceNetwork.ca French for the Future Baptist General Conference of Canada Fédération étudiante universitaire du Québec Academy of Canadian Cinema & Television Canada Lands Company Technoflex International Canadian Standards Association Madacy Entertainment Kollel Ohr Yosef Ontario Federation of Agriculture Canada-Ukraine Parliamentary Program Royal Canadian Marine Search and Rescue Society for the Study of Architecture in Canada Saugeen Valley Conservation Authority CAP Society of Cape Breton County REAL Women of Canada Canadian Children's Rights Council Caribana Ministry of Skills Development Stella, l’amie de Maimie Canadian Institute of Planners Manitoba Health Research Council CNIB Canadian Institute of Mining, Metallurgy and Petroleum Nisga’a people Vancouver Island Health Authority Canadian Institutes of Health Research Glenn Gould Foundation Thyroid Cancer Canada The World Affairs Conference International Association of Quebec Studies Mouvement Québec français Asthma Society of Canada Provincial Health Services Authority Winnipeg Regional Health Authority Canadian Canoe Association The 519 Church Street Community Centre Canadian Foundation for AIDS Research Upper Thames River Conservation Authority Royal Lake of the Woods Yacht Club Alberta Dental Association and College 3rd Battalion Reform Party of Ontario Oxfam Canada Rideau Canoe Club Canadian Medical Association Ontario Soccer Association 4th Battalion (Central Ontario), CEF Lake Ontario Waterkeeper Royal Canadian Legion The Land Conservancy of British Columbia Centre for Justice and Faith U15 Heritage Canada Kehewin Cree Nation tribal council Avenir d'enfants Miss Community Gardens Royal Vancouver Yacht Club Royal Heraldry Society of Canada Northern Health Canadian Society of Graphic Art Canupawakpa Dakota First Nation Royal College of Physicians and Surgeons of Canada EPACT Network Queen City Yacht Club V Save Ontario Shipwrecks Writers' Trust of Canada Canadian Society of Petroleum Geologists Island Yacht Club Société des designers graphiques du Québec Institute of Asian Research Canadian Broadcast Standards Council Manitoba Political Equality League The Law Society of Upper Canada Canadian Institute of Actuaries Érudit Navy League of Canada Boeing Canada Canadian Journalists for Free Expression EMAS Canada Citizens for a Canadian Republic Canadian Foundation for Healthcare Improvement Pauktuutit Mistigris St. Peters Bay German Canadian Club Hansa University of Windsor Students' Alliance Esprit-Saint Mission Medical Council of Canada Karate Canada Canadian Bar Association Alzheimer Society of Ontario Osterrath Distribution Select Wildwood Park Nature Canada Democracy Watch Provincial Bank of Canada James Bay Energy Canadian Nurses Association Agence métropolitaine de transport Balsillie School of International Affairs Association of Registered Graphic Designers of Ontario FortWhyte Alive Grand River Conservation Authority Canadian Poetry Association Toronto Port Authority Ride for Refuge Conseil de la Souveraineté du Québec Interior Health Union des Municipalités du Québec Canadian Society of Respiratory Therapists GO Info Vancouver Coastal Health North American Native Plant Society White Ribbon Campaign Catholic Missions in Canada Canadian Federation of Engineering Students Radio Amateurs of Canada Proud Politics Canadian Coalition for the Rights of Children Grey Sisters of the Immaculate Conception New Democratic Party Socialist Caucus Canadian Real Estate Association Royal Nova Scotia International Tattoo Pride Week Canadian Battlefields Memorials Commission Abortion Rights Coalition of Canada Women's Legal Education and Action Fund Royal Nova Scotia Yacht Squadron Fraser Health Keystone Agricultural Producers Black Business and Professional Association The 103rd Regiment (Calgary Rifles) Canadian Museums Association Canadian Geotechnical Society Canadian Snowbird Association Society of Graphic Designers of Canada Minto Skating Club Canadian Sociology and Anthropology Association Richmond Animal Protection Society Énergie solaire Québec International Political Science Association LGBTory Saskatchewan Grain Growers' Association Dairy Farmers of Canada Castell of Montreal Pivot Legal Society The Golden Seals Sail and Life Training Society Oakville Yacht Squadron Royal Canadian Geographical Society Canadian Linguistic Association Covenant Health Egale Canada Société du parler français au Canada Canadian Lesbian and Gay Archives Canadian Library Association Cold Lake First Nations Sisters of the Holy Names of Jesus and Mary Canadian Society of Clinical Chemists Second Chance Animal Rescue Society Literary and Historical Society of Quebec Inuit Tapiriit Kanatami La Belle Province Federation of Quebec Maple Syrup Producers Songwriters Association of Canada Canadian Paper Money Society WWF-Canada ICE Advertisements Toronto and Region Conservation Authority Zulu Records Bar of Montreal Chinese Canadian National Council Lufa Farms Mimic ASCII Gloucester Skating Club A&A Records Camp Massad Aboriginal Multi-Media Society HealthLinkBC Canadian Labour Defence League Canadian Organization for Tropical Education and Research Bonsound Place des Arts The Real News Royal Architectural Institute of Canada Hochschule für Musik und Darstellende Kunst Mannheim Duncker & Humblot Primagas Federal Association of Liberal Students Groups International Requirements Engineering Board Ostermann Hornemann Institute Erich-Mühsam-Gesellschaft MZEE.com Automotive Lighting Institute for Market-oriented Management Scuba Schools International Church of Scientology Deutscher Amateur-Radio-Club Rhineland Football Association Deutsche Messe AG BRZ Deutschland Ruhrstahl Rud. Ibach Sohn CAN in Automation Impler Buddhism in Germany ABUS Mannheim Centre for European Social Research Hoesch AG Gussstahl-Werk Witten Jamba! Saturn Verband der Elektrotechnik, Elektronik und Informationstechnik IfM – Small and Medium Sized Companies and Entrepreneurship Walter-Klingenbeck-Realschule Ruhrverband OMF International ARD International Arctic Science Committee Deutscher JKA-Karate Bund Corps Agronomia Hallensis zu Göttingen Friends of Peoples Close to Nature Corps Saxo-Borussia Heidelberg Deutsche Unitarier Religionsgemeinschaft Wolfskehl IISYS Mannheim Centre for Competition and Innovation Cuxhaven Bascats Beaufort Bochum Observatory Rothschild family European Technical Assistance Cooperation South Baden Football Association German Beekeepers Association French Cultural Mission in Germany Geologic Survey North Rhine-Westphalia Kommunalverband für Jugend und Soziales Baden-Württemberg HSBC Global Asset Management Evangelical Church of Westphalia Voice of the Martyrs Hochschule für Musik Nürnberg Friedrichstadt-Palast FOM University of Applied Sciences for Economics and Management CHE ranking Bennigsen Beavers Allgemeine Ortskrankenkasse Mediadesign Hochschule Energy Watch Group Viking League Répertoire International des Sources Musicales Kölner Bergwerks-Verein Netzwerk Frauen- und Geschlechterforschung NRW Foundation for International Business Administration Accreditation Bund der Deutschen Katholischen Jugend Straßenbahn Kleve Soulfood Ernst Strüngmann Institute Didier-Werke Gauting Indians Free Voters Theaterpathologisches Institut GÜFA Parnassus Boicus Krüger Foundation Würth Teuchos Center Federal Institute for Drugs and Medical Devices Das K.O.M.I.T.E.E. Tupamaros Munich German Society for Social-Scientific Sexuality Research ZF Industrieantriebe Witten Bolongaro Sankt Georgen Graduate School of Philosophy and Theology Deutscher Badminton-Verband Taprogge Bund Deutscher PfadfinderInnen Wild Rugby Academy European Network for Training Economic Research Robbe Zezschwitz Club von Berlin National Socialist Underground DB Werk Oberbaustoffe Witten Agape community Miss World Germany Institute for Social Research Prussian Academy of Arts Aschaffenburg University of Applied Sciences Miss International Germany Feuerwehr Heilbronn MAZEM – Mannheim Center for Empirical Multilingual Research Berlin Sluggers CMT Cottbus Bund der Pfadfinderinnen und Pfadfinder Martineum Baden Football Association GEFEK Gruppe SPUR DAAD Artists-in-Berlin Program Bayerische Staatskanzlei Engl Deutsche Hochschule für Politik Thesaurus Linguae Latinae NS-Dokumentationszentrum Wikiwoods Campact Schiedmayer CarbonFix Standard Franz Mayer & Co. Treuhand Praunheimer Werkstätten Feldbergschule German Catholics’ Peace Association Wickeder Westfalenstahl 1000w Rökefloose Robert Schumann Hochschule Red Arrow Entertainment Group Ehrenfeld Group Corps Lusatia Leipzig Correctiv International Forestry Students' Association Kidscall Reifenhäuser Group Portland-Zement Blaubeuren Gebrüder Spohn AG BHS Tabletop Zwischenausschuss AQAS Corps Nassovia Würzburg Deutschen Rentenbank Deutscher Schachbund MissbrauchsOpfer Gegen InternetSperren Zobeltitz Heidelberger Senioren-Convent Fallschirmjäger WDL Luftschiffgesellschaft Global Alliance for EcoMobility Corps Bremensia Göttingen BIT – Business Information Technology Institute Björn Steiger Foundation International Institute of Public Finance Otto-Selz-Institute of Applied Psychology Johann-Sebastian-Bach-Institut Scientology Task Force of the Hamburg Interior Authority BanaFair Adam ChessBase Rudolf Flume HRM Research Institute
ARD, Correctiv and Technoflex International are present in Canada and Germany
ARD Correctiv Technoflex International
action union
action filter_type
action find_reverse
entity Canada
relation country
type social group
action filter_type
action find_reverse
entity Germany
relation country
type social group
[{'concept': 'social group'}, 'country', 'Canada'] [{'concept': 'social group'}, 'country', 'Germany']
SELECT DISTINCT ?u WHERE { { ?u property:country resource:Canada . ?u rdf:type ontology:social_group } UNION { ?u property:country resource:Germany . ?u rdf:type ontology:social_group } }
[]