Simple Question (Direct)
Simple Question
Q2960675
P19
Q20667921
USER
Which french administrative division was Charles de Pomairols born in ?
(Q2960675,P19,c(Q20667921))
action filter_type
action find
entity Q2960675
relation P19
type Q20667921
['Q2960675', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q2960675 property:P19 ?e . ?e rdf:type ontology:Q20667921 }
Charles de Pomairols
action filter_type
action find
entity Charles de Pomairols
relation place of birth
type type of french administrative division
['Charles de Pomairols', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Charles_de_Pomairols property:place_of_birth ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q213501
SYSTEM
Villefranche-de-Rouergue
Q213501
(Q2960675,P19,c(Q20667921))
action filter_type
action find
entity Q2960675
relation P19
type Q20667921
Charles de Pomairols was born in [ANSWER]
['Q2960675', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q2960675 property:P19 ?e . ?e rdf:type ontology:Q20667921 }
Villefranche-de-Rouergue
Charles de Pomairols was born in Villefranche-de-Rouergue
Villefranche-de-Rouergue
action filter_type
action find
entity Charles de Pomairols
relation place of birth
type type of french administrative division
['Charles de Pomairols', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Charles_de_Pomairols property:place_of_birth ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2960675
P20
Q20667921
USER
Which french administrative division is the place of death of Charles de Pomairols ?
(Q2960675,P20,c(Q20667921))
action filter_type
action find
entity Q2960675
relation P20
type Q20667921
['Q2960675', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q2960675 property:P20 ?k . ?k rdf:type ontology:Q20667921 }
Charles de Pomairols
action filter_type
action find
entity Charles de Pomairols
relation place of death
type type of french administrative division
['Charles de Pomairols', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Charles_de_Pomairols property:place_of_death ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q213501
SYSTEM
Villefranche-de-Rouergue
Q213501
(Q2960675,P20,c(Q20667921))
action filter_type
action find
entity Q2960675
relation P20
type Q20667921
[ANSWER] is the place of death of Charles de Pomairols
['Q2960675', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q2960675 property:P20 ?k . ?k rdf:type ontology:Q20667921 }
Villefranche-de-Rouergue
Villefranche-de-Rouergue is the place of death of Charles de Pomairols
Villefranche-de-Rouergue
action filter_type
action find
entity Charles de Pomairols
relation place of death
type type of french administrative division
['Charles de Pomairols', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Charles_de_Pomairols property:place_of_death ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213501
P1376
Q20667921
USER
Which french administrative division has that one as its county seat ?
(Q213501,P1376,c(Q20667921))
action filter_type
action find
entity Q213501
relation P1376
type Q20667921
['Q213501', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q213501 property:P1376 ?h . ?h rdf:type ontology:Q20667921 }
Villefranche-de-Rouergue
action filter_type
action find
entity Villefranche-de-Rouergue
relation capital of
type type of french administrative division
['Villefranche-de-Rouergue', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Villefranche-de-Rouergue property:capital_of ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q118890
SYSTEM
canton of Villefranche-de-Rouergue
Q118890
(Q213501,P1376,c(Q20667921))
action filter_type
action find
entity Q213501
relation P1376
type Q20667921
The [ANSWER] has that one as its county seat
['Q213501', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q213501 property:P1376 ?h . ?h rdf:type ontology:Q20667921 }
canton of Villefranche-de-Rouergue
The canton of Villefranche-de-Rouergue has that one as its county seat
canton of Villefranche-de-Rouergue
action filter_type
action find
entity Villefranche-de-Rouergue
relation capital of
type type of french administrative division
['Villefranche-de-Rouergue', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Villefranche-de-Rouergue property:capital_of ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q678071 Q213501
P47 P1376
Q20667921
USER
Which french administrative divisions have Villefranche-de-Rouergue have their first city or are adjacent to Innimond ?
OR((Q213501,P1376,c(Q20667921)), (Q678071,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q213501
relation P1376
action find
entity Q678071
relation P47
type Q20667921
{'OR': [['Q213501', 'P1376', {'concept': 'Q20667921'}], ['Q678071', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q213501 property:P1376 ?b } UNION { resource:Q678071 property:P47 ?b } } . ?b rdf:type ontology:Q20667921 }
Innimond Villefranche-de-Rouergue
action filter_type
action union
action find
entity Villefranche-de-Rouergue
relation capital of
action find
entity Innimond
relation shares border with
type type of french administrative division
{'OR': [['Villefranche-de-Rouergue', 'capital of', {'concept': 'type of french administrative division'}], ['Innimond', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Villefranche-de-Rouergue property:capital_of ?b } UNION { resource:Innimond property:shares_border_with ?b } } . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q193812 Q118890 Q542133 Q590958 Q988672 Q515730 Q739814 Q840079
SYSTEM
Ambléon, canton of Villefranche-de-Rouergue, Marchamp, Cheignieu-la-Balme, Ordonnaz, Saint-Germain-les-Paroisses, Contrevoz, Lompnas
Q193812 Q118890 Q542133 Q590958 Q988672 Q515730 Q739814 Q840079
OR((Q213501,P1376,c(Q20667921)), (Q678071,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q213501
relation P1376
action find
entity Q678071
relation P47
type Q20667921
[ANSWERS] have Villefranche-de-Rouergue have their first city or are adjacent to Innimond
{'OR': [['Q213501', 'P1376', {'concept': 'Q20667921'}], ['Q678071', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q213501 property:P1376 ?b } UNION { resource:Q678071 property:P47 ?b } } . ?b rdf:type ontology:Q20667921 }
Ambléon canton of Villefranche-de-Rouergue Marchamp Cheignieu-la-Balme Ordonnaz Saint-Germain-les-Paroisses Contrevoz Lompnas
Ambléon, canton of Villefranche-de-Rouergue, Marchamp, Cheignieu-la-Balme, Ordonnaz, Saint-Germain-les-Paroisses, Contrevoz and Lompnas have Villefranche-de-Rouergue have their first city or are adjacent to Innimond
Ambléon canton of Villefranche-de-Rouergue Marchamp Cheignieu-la-Balme Ordonnaz Saint-Germain-les-Paroisses Contrevoz Lompnas
action filter_type
action union
action find
entity Villefranche-de-Rouergue
relation capital of
action find
entity Innimond
relation shares border with
type type of french administrative division
{'OR': [['Villefranche-de-Rouergue', 'capital of', {'concept': 'type of french administrative division'}], ['Innimond', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Villefranche-de-Rouergue property:capital_of ?b } UNION { resource:Innimond property:shares_border_with ?b } } . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q193812 Q7109
P47
Q13220204
USER
How many administrative country subdivisions are bordered by Ambléon or Hohenrain ?
(c(Q13220204),P47,Q193812) (c(Q13220204),P47,Q7109)
action count
action union
action filter_type
action find_reverse
entity Q193812
relation P47
type Q13220204
action filter_type
action find_reverse
entity Q7109
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q193812'] [{'concept': 'Q13220204'}, 'P47', 'Q7109']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P47 ?o . VALUES ( ?o ) { ( resource:Q7109 ) ( resource:Q193812 ) } }
Ambléon Hohenrain
action count
action union
action filter_type
action find_reverse
entity Ambléon
relation shares border with
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Hohenrain
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Ambléon'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Hohenrain']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:shares_border_with ?o . VALUES ( ?o ) { ( resource:Hohenrain ) ( resource:Ambléon ) } }
[]
second-level administrative country subdivision
SYSTEM
7
Q64420 Q7102 Q64372 Q65024 Q669306 Q7096 Q69219
(c(Q13220204),P47,Q193812) (c(Q13220204),P47,Q7109)
action count
action union
action filter_type
action find_reverse
entity Q193812
relation P47
type Q13220204
action filter_type
action find_reverse
entity Q7109
relation P47
type Q13220204
[ANSWER]
[{'concept': 'Q13220204'}, 'P47', 'Q193812'] [{'concept': 'Q13220204'}, 'P47', 'Q7109']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P47 ?o . VALUES ( ?o ) { ( resource:Q7109 ) ( resource:Q193812 ) } }
Auw Hochdorf Sins Beinwil Gelfingen Ballwil Abtwil
7
action count
action union
action filter_type
action find_reverse
entity Ambléon
relation shares border with
type second-level administrative country subdivision
action filter_type
action find_reverse
entity Hohenrain
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Ambléon'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Hohenrain']
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:shares_border_with ?o . VALUES ( ?o ) { ( resource:Hohenrain ) ( resource:Ambléon ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5802736 Q2960675
P27 P17
Q15617994
USER
Which administrative territories are Charles de Pomairols a civilian of or are Jir Duzan present in ?
OR((Q2960675,P27,c(Q15617994)), (Q5802736,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2960675
relation P27
action find
entity Q5802736
relation P17
type Q15617994
{'OR': [['Q2960675', 'P27', {'concept': 'Q15617994'}], ['Q5802736', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q5802736 property:P17 ?x } UNION { resource:Q2960675 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Jir Duzan Charles de Pomairols
action filter_type
action union
action find
entity Charles de Pomairols
relation country of citizenship
action find
entity Jir Duzan
relation country
type designation for an administrative territorial entity
{'OR': [['Charles de Pomairols', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jir Duzan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Jir_Duzan property:country ?x } UNION { resource:Charles_de_Pomairols property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q794
SYSTEM
France, Iran
Q142 Q794
OR((Q2960675,P27,c(Q15617994)), (Q5802736,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2960675
relation P27
action find
entity Q5802736
relation P17
type Q15617994
[ANSWERS] are Charles de Pomairols a civilian of or are Jir Duzan present in
{'OR': [['Q2960675', 'P27', {'concept': 'Q15617994'}], ['Q5802736', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q5802736 property:P17 ?x } UNION { resource:Q2960675 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
France Iran
France and Iran are Charles de Pomairols a civilian of or are Jir Duzan present in
France Iran
action filter_type
action union
action find
entity Charles de Pomairols
relation country of citizenship
action find
entity Jir Duzan
relation country
type designation for an administrative territorial entity
{'OR': [['Charles de Pomairols', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jir Duzan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Jir_Duzan property:country ?x } UNION { resource:Charles_de_Pomairols property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2451799 Q794
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with Iran or are São Brás situated in ?
OR((Q794,P530,c(Q15617994)), (Q2451799,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q794
relation P530
action find
entity Q2451799
relation P17
type Q15617994
{'OR': [['Q794', 'P530', {'concept': 'Q15617994'}], ['Q2451799', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q794 property:P530 ?e } UNION { resource:Q2451799 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
São Brás Iran
action filter_type
action union
action find
entity Iran
relation diplomatic relation
action find
entity São Brás
relation country
type designation for an administrative territorial entity
{'OR': [['Iran', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['São Brás', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Iran property:diplomatic_relation ?e } UNION { resource:São_Brás property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q805 Q38 Q801 Q45
SYSTEM
Brazil, Yemen, Italy, Israel, Portugal
Q155 Q805 Q38 Q801 Q45
OR((Q794,P530,c(Q15617994)), (Q2451799,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q794
relation P530
action find
entity Q2451799
relation P17
type Q15617994
[ANSWERS] have diplomatic relations with Iran or are São Brás situated in
{'OR': [['Q794', 'P530', {'concept': 'Q15617994'}], ['Q2451799', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q794 property:P530 ?e } UNION { resource:Q2451799 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Brazil Yemen Italy Israel Portugal
Brazil, Yemen, Italy, Israel and Portugal have diplomatic relations with Iran or are São Brás situated in
Brazil Yemen Italy Israel Portugal
action filter_type
action union
action find
entity Iran
relation diplomatic relation
action find
entity São Brás
relation country
type designation for an administrative territorial entity
{'OR': [['Iran', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['São Brás', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Iran property:diplomatic_relation ?e } UNION { resource:São_Brás property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16558819 Q2451799
P27 P17
Q15617994
USER
Which administrative territories are São Brás located in or are Georgios Louridas an inhabitant of ?
OR((Q2451799,P17,c(Q15617994)), (Q16558819,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2451799
relation P17
action find
entity Q16558819
relation P27
type Q15617994
{'OR': [['Q2451799', 'P17', {'concept': 'Q15617994'}], ['Q16558819', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q2451799 property:P17 ?h } UNION { resource:Q16558819 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Georgios Louridas São Brás
action filter_type
action union
action find
entity São Brás
relation country
action find
entity Georgios Louridas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['São Brás', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georgios Louridas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:São_Brás property:country ?h } UNION { resource:Georgios_Louridas property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45 Q41
SYSTEM
Portugal, Greece
Q45 Q41
OR((Q2451799,P17,c(Q15617994)), (Q16558819,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2451799
relation P17
action find
entity Q16558819
relation P27
type Q15617994
São Brás are located in or are Georgios Louridas an inhabitant of both [ANSWERS]
{'OR': [['Q2451799', 'P17', {'concept': 'Q15617994'}], ['Q16558819', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q2451799 property:P17 ?h } UNION { resource:Q16558819 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Portugal Greece
São Brás are located in or are Georgios Louridas an inhabitant of both Portugal and Greece
Portugal Greece
action filter_type
action union
action find
entity São Brás
relation country
action find
entity Georgios Louridas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['São Brás', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Georgios Louridas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:São_Brás property:country ?h } UNION { resource:Georgios_Louridas property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4377261 Q118890
P17
Q15617994
USER
Which administrative territories are canton of Villefranche-de-Rouergue or Preobrazhenka present in ?
OR((Q118890,P17,c(Q15617994)), (Q4377261,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q118890
relation P17
action find
entity Q4377261
relation P17
type Q15617994
{'OR': [['Q118890', 'P17', {'concept': 'Q15617994'}], ['Q4377261', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { VALUES ( ?d ) { ( resource:Q118890 ) ( resource:Q4377261 ) } . ?d property:P17 ?c } }
Preobrazhenka canton of Villefranche-de-Rouergue
action filter_type
action union
action find
entity canton of Villefranche-de-Rouergue
relation country
action find
entity Preobrazhenka
relation country
type designation for an administrative territorial entity
{'OR': [['canton of Villefranche-de-Rouergue', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Preobrazhenka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?d ) { ( resource:canton_of_Villefranche-de-Rouergue ) ( resource:Preobrazhenka ) } . ?d property:country ?c } }
[]
designation for an administrative territorial entity
Q142 Q212
SYSTEM
France, Ukraine
Q142 Q212
OR((Q118890,P17,c(Q15617994)), (Q4377261,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q118890
relation P17
action find
entity Q4377261
relation P17
type Q15617994
[ANSWERS] are canton of Villefranche-de-Rouergue or Preobrazhenka present in
{'OR': [['Q118890', 'P17', {'concept': 'Q15617994'}], ['Q4377261', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { VALUES ( ?d ) { ( resource:Q118890 ) ( resource:Q4377261 ) } . ?d property:P17 ?c } }
France Ukraine
France and Ukraine are canton of Villefranche-de-Rouergue or Preobrazhenka present in
France Ukraine
action filter_type
action union
action find
entity canton of Villefranche-de-Rouergue
relation country
action find
entity Preobrazhenka
relation country
type designation for an administrative territorial entity
{'OR': [['canton of Villefranche-de-Rouergue', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Preobrazhenka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?d ) { ( resource:canton_of_Villefranche-de-Rouergue ) ( resource:Preobrazhenka ) } . ?d property:country ?c } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q7725634
USER
Which administrative territories are the countries of origin of lesser number of film genres or literary works than that administrative territory ?
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:P495 ?y } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:country_of_origin ?y } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
designation for an administrative territorial entity film genre literary work
Comparative|More/Less|Mult. entity type|Clarification
Q142
SYSTEM
Did you mean France ?
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:P495 ?y } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Did you mean France ?
France
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( ?z ) ( ?x ) } . ?v property:country_of_origin ?y } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (All)
USER
No, I meant Ukraine. Could you tell me the answer for that?
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
Q212
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q230 Q953 Q801
SYSTEM
Georgia, Zambia, Israel
Q805 Q804 Q801 Q800 Q1462 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q792 Q790 Q4628 Q796 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q924 Q928 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q191 Q967 Q962 Q963 Q115 Q114 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
[ANSWERS] are the countries of origin of lesser number of film genres or literary works than that administrative territory
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Yemen Panama Israel Costa Rica Sardinia Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad El Salvador Haiti Faroe Islands Iraq Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Tanzania Philippines Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Bangladesh Uganda Rwanda Niger Nigeria Namibia Estonia Burundi Benin Botswana Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
Georgia, Zambia and Israel are the countries of origin of lesser number of film genres or literary works than that administrative territory
Georgia Zambia Israel
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1951
P1001
Q15617994 Q11204 Q12737077
USER
How many administrative territories are judicially linked to less number of legislatures and occupations than Alberta ?
(c(Q11204)|c(Q12737077),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q1951
relation P1001
type Q11204
type Q12737077
[[{'concept': 'Q11204'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?b WHERE { VALUES ( ?u ) { ( ontology:Q11204 ) ( ontology:Q12737077 ) } . ?x rdf:type ?u } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:P1001 resource:Q1951 . { { ?v rdf:type ontology:Q12737077 } UNION { ?v rdf:type ontology:Q11204 } } } } . FILTER ( ?p < ?r ) }
Alberta
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Alberta
relation applies to jurisdiction
type legislature
type occupation
[[{'concept': 'legislature'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?b WHERE { VALUES ( ?u ) { ( ontology:legislature ) ( ontology:occupation ) } . ?x rdf:type ?u } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:applies_to_jurisdiction resource:Alberta . { { ?v rdf:type ontology:occupation } UNION { ?v rdf:type ontology:legislature } } } } . FILTER ( ?p < ?r ) }
[]
designation for an administrative territorial entity legislature occupation
SYSTEM
121
Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q163012 Q22273061 Q2871 Q24764 Q2742 Q842 Q874 Q443815 Q50198 Q187035 Q22274206 Q1462 Q657 Q6465 Q4628 Q7688 Q3097 Q158893 Q2942 Q822 Q817 Q11340 Q11343 Q1142326 Q2899 Q2758 Q813 Q921 Q4712 Q155019 Q3389 Q986 Q734 Q163966 Q769680 Q3068 Q1013 Q11323 Q1093 Q238 Q119284 Q3403547 Q2667658 Q1025 Q1101 Q1029 Q32 Q228 Q3462133 Q224 Q223 Q229 Q347 Q1050 Q2838 Q1032 Q965 Q962 Q697 Q752 Q22274534 Q11337 Q11331 Q12642 Q154547 Q683 Q1216 Q12753 Q912 Q2805 Q917 Q2107 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q11301 Q2904 Q158095 Q1044 Q858 Q878 Q775 Q770 Q773 Q772 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q33788 Q929 Q1267638 Q329609 Q2938 Q2023 Q1231 Q1237
(c(Q11204)|c(Q12737077),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q1951
relation P1001
type Q11204
type Q12737077
[ANSWER]
[[{'concept': 'Q11204'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?b WHERE { VALUES ( ?u ) { ( ontology:Q11204 ) ( ontology:Q12737077 ) } . ?x rdf:type ?u } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:P1001 resource:Q1951 . { { ?v rdf:type ontology:Q12737077 } UNION { ?v rdf:type ontology:Q11204 } } } } . FILTER ( ?p < ?r ) }
Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Pankow Duchy of Nemours Hagen municipality of the Philippines Münster Oman Turkmenistan Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Sardinia Chad department of France Faroe Islands raion Remscheid Friedrichshain-Kreuzberg Solingen Lebanon Kuwait Sprockhövel Wetter (Ruhr) Seine Mülheim an der Ruhr Mönchengladbach Kyrgyzstan Brunei Duchy of Burgundy Duchy of Lorraine Finistère Eritrea Guyana Mitte Bornholm Loire-Atlantique Lesotho Breckerfeld Limburg San Marino Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Shushary, Saint Petersburg Mauritania North Brabant Mozambique Luxembourg Andorra Saxe-Coburg and Gotha Croatia Greenland Cyprus Liechtenstein Swaziland Oberhausen Niger Burkina Faso Benin Nauru Groningen Duchy of Elbeuf Herdecke Gevelsberg Morbihan duchy Samoa Piedmont Seine-et-Marne Mali Krefeld Bhutan Wuppertal Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Syria United Arab Emirates Gelderland Friesland Overijssel Drenthe Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Beloostrov Lichtenberg Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
121
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Alberta
relation applies to jurisdiction
type legislature
type occupation
[[{'concept': 'legislature'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) ?b WHERE { VALUES ( ?u ) { ( ontology:legislature ) ( ontology:occupation ) } . ?x rdf:type ?u } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v property:applies_to_jurisdiction resource:Alberta . { { ?v rdf:type ontology:occupation } UNION { ?v rdf:type ontology:legislature } } } } . FILTER ( ?p < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1042
P1001
Q15617994 Q11204 Q12737077
USER
And how about Seychelles?
(c(Q11204)|c(Q12737077),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q1042
relation P1001
type Q11204
type Q12737077
[[{'concept': 'Q11204'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?s WHERE { VALUES ( ?l ) { ( ontology:Q11204 ) ( ontology:Q12737077 ) } . ?p rdf:type ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P1001 resource:Q1042 . { { ?n rdf:type ontology:Q12737077 } UNION { ?n rdf:type ontology:Q11204 } } } } . FILTER ( ?c < ?r ) }
Seychelles
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Seychelles
relation applies to jurisdiction
type legislature
type occupation
[[{'concept': 'legislature'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?s WHERE { VALUES ( ?l ) { ( ontology:legislature ) ( ontology:occupation ) } . ?p rdf:type ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:applies_to_jurisdiction resource:Seychelles . { { ?n rdf:type ontology:occupation } UNION { ?n rdf:type ontology:legislature } } } } . FILTER ( ?c < ?r ) }
[]
designation for an administrative territorial entity legislature occupation
SYSTEM
160
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q163012 Q414 Q22273061 Q2871 Q784 Q24764 Q2742 Q842 Q398 Q874 Q711 Q443815 Q50198 Q187035 Q22274206 Q1462 Q657 Q6465 Q1979 Q792 Q4628 Q958 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q817 Q11340 Q11343 Q1142326 Q1974 Q2899 Q2758 Q813 Q921 Q4712 Q155019 Q3389 Q986 Q423 Q854 Q734 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q1093 Q238 Q119284 Q3403547 Q1041 Q2667658 Q1025 Q783 Q2009 Q1101 Q1029 Q2003 Q786 Q32 Q228 Q3462133 Q227 Q224 Q223 Q221 Q229 Q347 Q1050 Q1989 Q2838 Q1036 Q1032 Q965 Q967 Q962 Q963 Q697 Q694 Q754 Q752 Q22274534 Q11337 Q11331 Q217 Q12642 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q2107 Q1007 Q1006 Q1005 Q977 Q1951 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q858 Q878 Q775 Q948 Q776 Q770 Q773 Q772 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q33788 Q929 Q1267638 Q329609 Q2938 Q2023 Q1231 Q1237
(c(Q11204)|c(Q12737077),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q1042
relation P1001
type Q11204
type Q12737077
[ANSWER]
[[{'concept': 'Q11204'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?s WHERE { VALUES ( ?l ) { ( ontology:Q11204 ) ( ontology:Q12737077 ) } . ?p rdf:type ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:P1001 resource:Q1042 . { { ?n rdf:type ontology:Q12737077 } UNION { ?n rdf:type ontology:Q11204 } } } } . FILTER ( ?c < ?r ) }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Pankow Argentina Duchy of Nemours Hagen Dominica municipality of the Philippines Münster Oman Bahrain Turkmenistan Mongolia Altomünster province of Thailand Principality of Albania Duchy of Mercoeur Sardinia Chad department of France Prince Edward Island El Salvador Faroe Islands South Sudan raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba Kuwait Sprockhövel Wetter (Ruhr) Seine British Columbia Mülheim an der Ruhr Mönchengladbach Kyrgyzstan Brunei Duchy of Burgundy Duchy of Lorraine Finistère Eritrea North Korea Sri Lanka Guyana Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Limburg San Marino Marzahn-Hellersdorf principality of Phalsbourg and Lixheim Senegal Shushary, Saint Petersburg Mauritania Honduras Yukon North Brabant Mozambique Newfoundland and Labrador Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Croatia Greenland Republic of Macedonia Cyprus Liechtenstein Swaziland Saskatchewan Oberhausen Uganda Niger Burkina Faso Burundi Benin Botswana Nauru South Holland Trinidad and Tobago Groningen Duchy of Elbeuf Herdecke Gevelsberg Republic of Moldova Morbihan duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Wuppertal Guinea-Bissau Guinea Gambia Djibouti Alberta Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Syria United Arab Emirates Gelderland Tunisia Utrecht Friesland Overijssel Drenthe Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Beloostrov Lichtenberg Leverkusen Nunavut Kosovo Region Trentino-South Tyrol
160
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
action count
action filter_multi_types
action find_reverse
entity Seychelles
relation applies to jurisdiction
type legislature
type occupation
[[{'concept': 'legislature'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) ?s WHERE { VALUES ( ?l ) { ( ontology:legislature ) ( ontology:occupation ) } . ?p rdf:type ?l } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?n property:applies_to_jurisdiction resource:Seychelles . { { ?n rdf:type ontology:occupation } UNION { ?n rdf:type ontology:legislature } } } } . FILTER ( ?c < ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P276
Q8065 Q1190554
USER
How many natural disasters and events are located at France ?
(c(Q8065),P276,Q142) (c(Q1190554),P276,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P276
type Q8065
action filter_type
action find_reverse
entity Q142
relation P276
type Q1190554
[{'concept': 'Q8065'}, 'P276', 'Q142'] [{'concept': 'Q1190554'}, 'P276', 'Q142']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:Q8065 ) ( ontology:Q1190554 ) } . ?r rdf:type ?c }
France
action count
action union
action filter_type
action find_reverse
entity France
relation location
type natural disaster
action filter_type
action find_reverse
entity France
relation location
type event
[{'concept': 'natural disaster'}, 'location', 'France'] [{'concept': 'event'}, 'location', 'France']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:natural_disaster ) ( ontology:event ) } . ?r rdf:type ?c }
[]
natural disaster event
SYSTEM
1 natural disasters and 4 events
Q151340 Q2890541 Q24287229 Q250747 Q750567
(c(Q8065),P276,Q142) (c(Q1190554),P276,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P276
type Q8065
action filter_type
action find_reverse
entity Q142
relation P276
type Q1190554
[ANSWER]
[{'concept': 'Q8065'}, 'P276', 'Q142'] [{'concept': 'Q1190554'}, 'P276', 'Q142']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:Q8065 ) ( ontology:Q1190554 ) } . ?r rdf:type ?c }
Battle of France Battle of La Malmaison 2016 European floods Race to the Sea Spring Offensive
1 natural disasters and 4 events
action count
action union
action filter_type
action find_reverse
entity France
relation location
type natural disaster
action filter_type
action find_reverse
entity France
relation location
type event
[{'concept': 'natural disaster'}, 'location', 'France'] [{'concept': 'event'}, 'location', 'France']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:natural_disaster ) ( ontology:event ) } . ?r rdf:type ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q801 Q36091
P194
Q1752346
USER
How many assemblies are the legislative bodies for Israel or Minneapolis ?
(Q801,P194,c(Q1752346)) (Q36091,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q801
relation P194
type Q1752346
action filter_type
action find
entity Q36091
relation P194
type Q1752346
['Q801', 'P194', {'concept': 'Q1752346'}] ['Q36091', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { resource:Q801 property:P194 ?a . ?a rdf:type ontology:Q1752346 } UNION { ?a rdf:type ontology:Q1752346 . resource:Q36091 property:P194 ?a } }
Israel Minneapolis
action count
action union
action filter_type
action find
entity Israel
relation legislative body
type assembly
action filter_type
action find
entity Minneapolis
relation legislative body
type assembly
['Israel', 'legislative body', {'concept': 'assembly'}] ['Minneapolis', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { resource:Israel property:legislative_body ?a . ?a rdf:type ontology:assembly } UNION { ?a rdf:type ontology:assembly . resource:Minneapolis property:legislative_body ?a } }
[]
assembly
SYSTEM
2
Q6867972 Q133396
(Q801,P194,c(Q1752346)) (Q36091,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q801
relation P194
type Q1752346
action filter_type
action find
entity Q36091
relation P194
type Q1752346
[ANSWER]
['Q801', 'P194', {'concept': 'Q1752346'}] ['Q36091', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { resource:Q801 property:P194 ?a . ?a rdf:type ontology:Q1752346 } UNION { ?a rdf:type ontology:Q1752346 . resource:Q36091 property:P194 ?a } }
Minneapolis City Council Knesset
2
action count
action union
action filter_type
action find
entity Israel
relation legislative body
type assembly
action filter_type
action find
entity Minneapolis
relation legislative body
type assembly
['Israel', 'legislative body', {'concept': 'assembly'}] ['Minneapolis', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { resource:Israel property:legislative_body ?a . ?a rdf:type ontology:assembly } UNION { ?a rdf:type ontology:assembly . resource:Minneapolis property:legislative_body ?a } }
[]