Simple Question (Direct)
Simple Question
Q69274
P47
Q13220204
USER
Which administrative country subdivisions have a shared border with Lichtensteig ?
(Q69274,P47,c(Q13220204))
action filter_type
action find
entity Q69274
relation P47
type Q13220204
['Q69274', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q13220204 . resource:Q69274 property:P47 ?u }
Lichtensteig
action filter_type
action find
entity Lichtensteig
relation shares border with
type second-level administrative country subdivision
['Lichtensteig', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:second-level_administrative_country_subdivision . resource:Lichtensteig property:shares_border_with ?u }
[]
second-level administrative country subdivision
Q66601 Q66958
SYSTEM
Wattwil, Oberhelfenschwil
Q66601 Q66958
(Q69274,P47,c(Q13220204))
action filter_type
action find
entity Q69274
relation P47
type Q13220204
[ANSWERS] have a shared border with Lichtensteig
['Q69274', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q13220204 . resource:Q69274 property:P47 ?u }
Wattwil Oberhelfenschwil
Wattwil and Oberhelfenschwil have a shared border with Lichtensteig
Wattwil Oberhelfenschwil
action filter_type
action find
entity Lichtensteig
relation shares border with
type second-level administrative country subdivision
['Lichtensteig', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:second-level_administrative_country_subdivision . resource:Lichtensteig property:shares_border_with ?u }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q66601 Q66958
P47
Q56061
USER
Which administrative territories do those administrative country subdivisions share a border with ?
(c(Q56061),P47,Q66601) (c(Q56061),P47,Q66958)
action filter_type
action find
entity prev_answer
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q66601'] [{'concept': 'Q56061'}, 'P47', 'Q66958']
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Q66601 ) ( resource:Q66958 ) } . ?j property:P47 ?p . ?p rdf:type ontology:Q56061 }
Wattwil Oberhelfenschwil
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Wattwil'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Oberhelfenschwil']
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Wattwil ) ( resource:Oberhelfenschwil ) } . ?j property:shares_border_with ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q869624 Q65676 Q65676
SYSTEM
Bütschwil for 2nd, 3rd, Mogelsberg for 1st
Q644378 Q65676 Q67307 Q66870 Q869624 Q644378 Q65676 Q65461
(c(Q56061),P47,Q66601) (c(Q56061),P47,Q66958)
action filter_type
action find
entity prev_answer
relation P47
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P47', 'Q66601'] [{'concept': 'Q56061'}, 'P47', 'Q66958']
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Q66601 ) ( resource:Q66958 ) } . ?j property:P47 ?p . ?p rdf:type ontology:Q56061 }
Brunnadern Bütschwil Ernetschwil St. Gallenkappel Mogelsberg Brunnadern Bütschwil Ganterschwil
Those administrative country subdivisions share a border with Mogelsberg, Bütschwil and Bütschwil
Mogelsberg Bütschwil Bütschwil
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Wattwil'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Oberhelfenschwil']
SELECT DISTINCT ?p WHERE { VALUES ( ?j ) { ( resource:Wattwil ) ( resource:Oberhelfenschwil ) } . ?j property:shares_border_with ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q869624
P361
Q13220204
USER
What is Mogelsberg a part of ?
(Q869624,P361,c(Q13220204))
action filter_type
action find
entity Q869624
relation P361
type Q13220204
['Q869624', 'P361', {'concept': 'Q13220204'}]
SELECT DISTINCT ?l WHERE { resource:Q869624 property:P361 ?l . ?l rdf:type ontology:Q13220204 }
Mogelsberg
action filter_type
action find
entity Mogelsberg
relation part of
type second-level administrative country subdivision
['Mogelsberg', 'part of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?l WHERE { resource:Mogelsberg property:part_of ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q68864
SYSTEM
Neckertal
Q68864
(Q869624,P361,c(Q13220204))
action filter_type
action find
entity Q869624
relation P361
type Q13220204
Mogelsberg a part of is the [ANSWER]
['Q869624', 'P361', {'concept': 'Q13220204'}]
SELECT DISTINCT ?l WHERE { resource:Q869624 property:P361 ?l . ?l rdf:type ontology:Q13220204 }
Neckertal
Mogelsberg a part of is the Neckertal
Neckertal
action filter_type
action find
entity Mogelsberg
relation part of
type second-level administrative country subdivision
['Mogelsberg', 'part of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?l WHERE { resource:Mogelsberg property:part_of ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q68864
P17
Q15617994
USER
Which administrative territory is that administrative country subdivision situated in ?
(Q68864,P17,c(Q15617994))
action filter_type
action find
entity Q68864
relation P17
type Q15617994
['Q68864', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q68864 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Neckertal
action filter_type
action find
entity Neckertal
relation country
type designation for an administrative territorial entity
['Neckertal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Neckertal property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q68864,P17,c(Q15617994))
action filter_type
action find
entity Q68864
relation P17
type Q15617994
That administrative country subdivision is situated in [ANSWER]
['Q68864', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q68864 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Switzerland
That administrative country subdivision is situated in Switzerland
Switzerland
action filter_type
action find
entity Neckertal
relation country
type designation for an administrative territorial entity
['Neckertal', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Neckertal property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q484652 Q43229
USER
How many international organizations or organizations had that administrative territory as their member ?
(Q39,P463,c(Q484652)) (Q39,P463,c(Q43229)) (Q39,P463,c(Q484652)) (Q39,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q39
relation P463
type Q484652
action filter_type
action find
entity Q39
relation P463
type Q43229
['Q39', 'P463', {'concept': 'Q484652'}] ['Q39', 'P463', {'concept': 'Q43229'}] ['Q39', 'P463', {'concept': 'Q484652'}] ['Q39', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:Q484652 ) ( ontology:Q43229 ) } }
action count
action union
action filter_type
action find
entity Switzerland
relation member of
type international organization
action filter_type
action find
entity Switzerland
relation member of
type organization
['Switzerland', 'member of', {'concept': 'international organization'}] ['Switzerland', 'member of', {'concept': 'organization'}] ['Switzerland', 'member of', {'concept': 'international organization'}] ['Switzerland', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:international_organization ) ( ontology:organization ) } }
[]
international organization organization
SYSTEM
14
Q340195 Q81299 Q191384 Q1065 Q41550 Q166546 Q656801 Q151991 Q42262 Q899770 Q188822 Q7825 Q827525 Q1043527
(Q39,P463,c(Q484652)) (Q39,P463,c(Q43229)) (Q39,P463,c(Q484652)) (Q39,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q39
relation P463
type Q484652
action filter_type
action find
entity Q39
relation P463
type Q43229
[ANSWER]
['Q39', 'P463', {'concept': 'Q484652'}] ['Q39', 'P463', {'concept': 'Q43229'}] ['Q39', 'P463', {'concept': 'Q484652'}] ['Q39', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:Q484652 ) ( ontology:Q43229 ) } }
African Development Bank Organization for Security and Co-operation in Europe International Bank for Reconstruction and Development United Nations Organisation for Economic Co-operation and Development European Free Trade Association International Finance Corporation European Southern Observatory European Space Agency International Centre for Settlement of Investment Disputes Asian Development Bank World Trade Organization International Development Association Multilateral Investment Guarantee Agency
14
action count
action union
action filter_type
action find
entity Switzerland
relation member of
type international organization
action filter_type
action find
entity Switzerland
relation member of
type organization
['Switzerland', 'member of', {'concept': 'international organization'}] ['Switzerland', 'member of', {'concept': 'organization'}] ['Switzerland', 'member of', {'concept': 'international organization'}] ['Switzerland', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:international_organization ) ( ontology:organization ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P1532
Q502895
USER
Who play for Switzerland ?
(c(Q502895),P1532,Q39)
action filter_type
action find_reverse
entity Q39
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q39']
SELECT DISTINCT ?k WHERE { ?k property:P1532 resource:Q39 . ?k rdf:type ontology:Q502895 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Switzerland']
SELECT DISTINCT ?k WHERE { ?k property:country_for_sport resource:Switzerland . ?k rdf:type ontology:common_name }
[]
common name
Q22409675 Q275989 Q26111355
SYSTEM
Martha Grossenbacher, Marianne Kaufmann-Abderhalden, Sara Wüest
Q26111355 Q275989 Q26396190 Q22409675
(c(Q502895),P1532,Q39)
action filter_type
action find_reverse
entity Q39
relation P1532
type Q502895
[ANSWERS] play for Switzerland
[{'concept': 'Q502895'}, 'P1532', 'Q39']
SELECT DISTINCT ?k WHERE { ?k property:P1532 resource:Q39 . ?k rdf:type ontology:Q502895 }
Sara Wüest Marianne Kaufmann-Abderhalden Salomé Kora Martha Grossenbacher
Martha Grossenbacher, Marianne Kaufmann-Abderhalden and Sara Wüest play for Switzerland
Martha Grossenbacher Marianne Kaufmann-Abderhalden Sara Wüest
action filter_type
action find_reverse
entity Switzerland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Switzerland']
SELECT DISTINCT ?k WHERE { ?k property:country_for_sport resource:Switzerland . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q22409675 Q275989 Q26111355
P1532
Q15617994
USER
What administrative territories do Martha Grossenbacher, Marianne Kaufmann-Abderhalden and Sara Wüest play for ?
(Q22409675,P1532,c(Q15617994)) (Q275989,P1532,c(Q15617994)) (Q26111355,P1532,c(Q15617994))
action union
action filter_type
action find
entity Q22409675
relation P1532
type Q15617994
action filter_type
action find
entity Q275989
relation P1532
type Q15617994
action filter_type
action find
entity Q26111355
relation P1532
type Q15617994
['Q22409675', 'P1532', {'concept': 'Q15617994'}] ['Q275989', 'P1532', {'concept': 'Q15617994'}] ['Q26111355', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?a property:P1532 ?c . VALUES ( ?a ) { ( resource:Q22409675 ) ( resource:Q275989 ) } }
Martha Grossenbacher Marianne Kaufmann-Abderhalden Sara Wüest
action union
action filter_type
action find
entity Martha Grossenbacher
relation country for sport
type designation for an administrative territorial entity
action filter_type
action find
entity Marianne Kaufmann-Abderhalden
relation country for sport
type designation for an administrative territorial entity
action filter_type
action find
entity Sara Wüest
relation country for sport
type designation for an administrative territorial entity
['Martha Grossenbacher', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Marianne Kaufmann-Abderhalden', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Sara Wüest', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?a property:country_for_sport ?c . VALUES ( ?a ) { ( resource:Martha_Grossenbacher ) ( resource:Marianne_Kaufmann-Abderhalden ) } }
[]
designation for an administrative territorial entity
Q55 Q39 Q39
SYSTEM
Switzerland for 2nd, 3rd, Netherlands for 1st
Q39 Q55 Q39 Q39
(Q22409675,P1532,c(Q15617994)) (Q275989,P1532,c(Q15617994)) (Q26111355,P1532,c(Q15617994))
action union
action filter_type
action find
entity Q22409675
relation P1532
type Q15617994
action filter_type
action find
entity Q275989
relation P1532
type Q15617994
action filter_type
action find
entity Q26111355
relation P1532
type Q15617994
[ANSWERS]
['Q22409675', 'P1532', {'concept': 'Q15617994'}] ['Q275989', 'P1532', {'concept': 'Q15617994'}] ['Q26111355', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?a property:P1532 ?c . VALUES ( ?a ) { ( resource:Q22409675 ) ( resource:Q275989 ) } }
Switzerland Netherlands Switzerland Switzerland
Martha Grossenbacher , Marianne Kaufmann-Abderhalden and Sara Wüest play for the Netherlands, Switzerland and Switzerland
Netherlands Switzerland Switzerland
action union
action filter_type
action find
entity Martha Grossenbacher
relation country for sport
type designation for an administrative territorial entity
action filter_type
action find
entity Marianne Kaufmann-Abderhalden
relation country for sport
type designation for an administrative territorial entity
action filter_type
action find
entity Sara Wüest
relation country for sport
type designation for an administrative territorial entity
['Martha Grossenbacher', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Marianne Kaufmann-Abderhalden', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Sara Wüest', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?a property:country_for_sport ?c . VALUES ( ?a ) { ( resource:Martha_Grossenbacher ) ( resource:Marianne_Kaufmann-Abderhalden ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P495
Q185217
USER
What are that administrative territory a country of origin of ?
(c(Q185217),P495,Q55) (c(Q185217),P495,Q39) (c(Q185217),P495,Q39)
action filter_type
action find_reverse
entity Q39
relation P495
type Q185217
[{'concept': 'Q185217'}, 'P495', 'Q55'] [{'concept': 'Q185217'}, 'P495', 'Q39'] [{'concept': 'Q185217'}, 'P495', 'Q39']
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q39 . ?h rdf:type ontology:Q185217 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation country of origin
type dairy product
[{'concept': 'dairy product'}, 'country of origin', 'Netherlands'] [{'concept': 'dairy product'}, 'country of origin', 'Switzerland'] [{'concept': 'dairy product'}, 'country of origin', 'Switzerland']
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:Switzerland . ?h rdf:type ontology:dairy_product }
[]
dairy product
Q662125 Q666975 Q27684623
SYSTEM
Vacherin Mont-d'Or, Sbrinz, Soubois
Q27684623 Q666975 Q662125 Q19359994
(c(Q185217),P495,Q55) (c(Q185217),P495,Q39) (c(Q185217),P495,Q39)
action filter_type
action find_reverse
entity Q39
relation P495
type Q185217
That administrative territory a country of origin of are the [ANSWERS]
[{'concept': 'Q185217'}, 'P495', 'Q55'] [{'concept': 'Q185217'}, 'P495', 'Q39'] [{'concept': 'Q185217'}, 'P495', 'Q39']
SELECT DISTINCT ?h WHERE { ?h property:P495 resource:Q39 . ?h rdf:type ontology:Q185217 }
Soubois Sbrinz Vacherin Mont-d'Or Swiss cheese
That administrative territory a country of origin of are the Vacherin Mont-d'Or, Sbrinz and Soubois
Vacherin Mont-d'Or Sbrinz Soubois
action filter_type
action find_reverse
entity Switzerland
relation country of origin
type dairy product
[{'concept': 'dairy product'}, 'country of origin', 'Netherlands'] [{'concept': 'dairy product'}, 'country of origin', 'Switzerland'] [{'concept': 'dairy product'}, 'country of origin', 'Switzerland']
SELECT DISTINCT ?h WHERE { ?h property:country_of_origin resource:Switzerland . ?h rdf:type ontology:dairy_product }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18745670 Q39
P47 P27
Q15617994
USER
Which administrative territories share the border with Switzerland or are the native countriesof Norma Nélida Bermejo ?
OR((Q39,P47,c(Q15617994)), (Q18745670,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q39
relation P47
action find
entity Q18745670
relation P27
type Q15617994
{'OR': [['Q39', 'P47', {'concept': 'Q15617994'}], ['Q18745670', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q39 property:P47 ?a } UNION { resource:Q18745670 property:P27 ?a } } }
Norma Nélida Bermejo Switzerland
action filter_type
action union
action find
entity Switzerland
relation shares border with
action find
entity Norma Nélida Bermejo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Switzerland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Norma Nélida Bermejo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Switzerland property:shares_border_with ?a } UNION { resource:Norma_Nélida_Bermejo property:country_of_citizenship ?a } } }
[]
designation for an administrative territorial entity
Q142 Q38 Q414 Q347
SYSTEM
France, Italy, Argentina, Liechtenstein
Q142 Q38 Q414 Q347
OR((Q39,P47,c(Q15617994)), (Q18745670,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q39
relation P47
action find
entity Q18745670
relation P27
type Q15617994
[ANSWERS] share the border with Switzerland or are the native countriesof Norma Nélida Bermejo
{'OR': [['Q39', 'P47', {'concept': 'Q15617994'}], ['Q18745670', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q39 property:P47 ?a } UNION { resource:Q18745670 property:P27 ?a } } }
France Italy Argentina Liechtenstein
France, Italy, Argentina and Liechtenstein share the border with Switzerland or are the native countriesof Norma Nélida Bermejo
France Italy Argentina Liechtenstein
action filter_type
action union
action find
entity Switzerland
relation shares border with
action find
entity Norma Nélida Bermejo
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Switzerland', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Norma Nélida Bermejo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Switzerland property:shares_border_with ?a } UNION { resource:Norma_Nélida_Bermejo property:country_of_citizenship ?a } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1001
Q340169 Q211364
USER
How many medias and principles apply to jurisdiction over that administrative territory ?
(c(Q340169),P1001,Q142) (c(Q211364),P1001,Q142) (c(Q340169),P1001,Q142) (c(Q211364),P1001,Q142) (c(Q340169),P1001,Q38) (c(Q211364),P1001,Q38) (c(Q340169),P1001,Q414) (c(Q211364),P1001,Q414) (c(Q340169),P1001,Q347) (c(Q211364),P1001,Q347)
[{'concept': 'Q340169'}, 'P1001', 'Q142'] [{'concept': 'Q211364'}, 'P1001', 'Q142'] [{'concept': 'Q340169'}, 'P1001', 'Q142'] [{'concept': 'Q211364'}, 'P1001', 'Q142'] [{'concept': 'Q340169'}, 'P1001', 'Q38'] [{'concept': 'Q211364'}, 'P1001', 'Q38'] [{'concept': 'Q340169'}, 'P1001', 'Q414'] [{'concept': 'Q211364'}, 'P1001', 'Q414'] [{'concept': 'Q340169'}, 'P1001', 'Q347'] [{'concept': 'Q211364'}, 'P1001', 'Q347']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q16275867 } UNION { ?y property:P1001 resource:Q16275867 } UNION { ?z property:P1001 resource:Q16275867 } UNION { ?y property:P1001 resource:Q16275867 } UNION { ?z property:P1001 resource:Q977238 } UNION { ?y property:P1001 resource:Q977238 } UNION { ?z property:P1001 resource:Q3622264 } UNION { ?y property:P1001 resource:Q3622264 } UNION { ?z property:P1001 resource:Q237517 } UNION { ?y property:P1001 resource:Q237517 } } . ?z rdf:type ontology:Q340169 . ?y rdf:type ontology:Q1550643 }
[{'concept': 'media'}, 'applies to jurisdiction', 'France'] [{'concept': 'principle'}, 'applies to jurisdiction', 'France'] [{'concept': 'media'}, 'applies to jurisdiction', 'France'] [{'concept': 'principle'}, 'applies to jurisdiction', 'France'] [{'concept': 'media'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'principle'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'media'}, 'applies to jurisdiction', 'Argentina'] [{'concept': 'principle'}, 'applies to jurisdiction', 'Argentina'] [{'concept': 'media'}, 'applies to jurisdiction', 'Liechtenstein'] [{'concept': 'principle'}, 'applies to jurisdiction', 'Liechtenstein']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:France } UNION { ?y property:applies_to_jurisdiction resource:France } UNION { ?z property:applies_to_jurisdiction resource:France } UNION { ?y property:applies_to_jurisdiction resource:France } UNION { ?z property:applies_to_jurisdiction resource:Italy } UNION { ?y property:applies_to_jurisdiction resource:Italy } UNION { ?z property:applies_to_jurisdiction resource:Argentina } UNION { ?y property:applies_to_jurisdiction resource:Argentina } UNION { ?z property:applies_to_jurisdiction resource:Liechtenstein } UNION { ?y property:applies_to_jurisdiction resource:Liechtenstein } } . ?z rdf:type ontology:media . ?y rdf:type ontology:principle }
[]
media principle
Quantitative|Count|Mult. entity type|Clarification
Q347
SYSTEM
Did you mean Liechtenstein ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q16275867 } UNION { ?y property:P1001 resource:Q16275867 } UNION { ?z property:P1001 resource:Q16275867 } UNION { ?y property:P1001 resource:Q16275867 } UNION { ?z property:P1001 resource:Q977238 } UNION { ?y property:P1001 resource:Q977238 } UNION { ?z property:P1001 resource:Q3622264 } UNION { ?y property:P1001 resource:Q3622264 } UNION { ?z property:P1001 resource:Q237517 } UNION { ?y property:P1001 resource:Q237517 } } . ?z rdf:type ontology:Q340169 . ?y rdf:type ontology:Q1550643 }
Did you mean Liechtenstein ?
Liechtenstein
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:France } UNION { ?y property:applies_to_jurisdiction resource:France } UNION { ?z property:applies_to_jurisdiction resource:France } UNION { ?y property:applies_to_jurisdiction resource:France } UNION { ?z property:applies_to_jurisdiction resource:Italy } UNION { ?y property:applies_to_jurisdiction resource:Italy } UNION { ?z property:applies_to_jurisdiction resource:Argentina } UNION { ?y property:applies_to_jurisdiction resource:Argentina } UNION { ?z property:applies_to_jurisdiction resource:Liechtenstein } UNION { ?y property:applies_to_jurisdiction resource:Liechtenstein } } . ?z rdf:type ontology:media . ?y rdf:type ontology:principle }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q340169),P1001,Q142) (c(Q211364),P1001,Q142) (c(Q340169),P1001,Q142) (c(Q211364),P1001,Q142) (c(Q340169),P1001,Q38) (c(Q211364),P1001,Q38) (c(Q340169),P1001,Q414) (c(Q211364),P1001,Q414) (c(Q340169),P1001,Q347) (c(Q211364),P1001,Q347)
Q142
[{'concept': 'Q340169'}, 'P1001', 'Q142'] [{'concept': 'Q211364'}, 'P1001', 'Q142'] [{'concept': 'Q340169'}, 'P1001', 'Q142'] [{'concept': 'Q211364'}, 'P1001', 'Q142'] [{'concept': 'Q340169'}, 'P1001', 'Q38'] [{'concept': 'Q211364'}, 'P1001', 'Q38'] [{'concept': 'Q340169'}, 'P1001', 'Q414'] [{'concept': 'Q211364'}, 'P1001', 'Q414'] [{'concept': 'Q340169'}, 'P1001', 'Q347'] [{'concept': 'Q211364'}, 'P1001', 'Q347']
[{'concept': 'media'}, 'applies to jurisdiction', 'France'] [{'concept': 'principle'}, 'applies to jurisdiction', 'France'] [{'concept': 'media'}, 'applies to jurisdiction', 'France'] [{'concept': 'principle'}, 'applies to jurisdiction', 'France'] [{'concept': 'media'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'principle'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'media'}, 'applies to jurisdiction', 'Argentina'] [{'concept': 'principle'}, 'applies to jurisdiction', 'Argentina'] [{'concept': 'media'}, 'applies to jurisdiction', 'Liechtenstein'] [{'concept': 'principle'}, 'applies to jurisdiction', 'Liechtenstein']
[]
SYSTEM
1 medias and 1 principles
Q16024874 Q2885823
(c(Q340169),P1001,Q142) (c(Q211364),P1001,Q142) (c(Q340169),P1001,Q142) (c(Q211364),P1001,Q142) (c(Q340169),P1001,Q38) (c(Q211364),P1001,Q38) (c(Q340169),P1001,Q414) (c(Q211364),P1001,Q414) (c(Q340169),P1001,Q347) (c(Q211364),P1001,Q347)
[ANSWER]
[{'concept': 'Q340169'}, 'P1001', 'Q142'] [{'concept': 'Q211364'}, 'P1001', 'Q142'] [{'concept': 'Q340169'}, 'P1001', 'Q142'] [{'concept': 'Q211364'}, 'P1001', 'Q142'] [{'concept': 'Q340169'}, 'P1001', 'Q38'] [{'concept': 'Q211364'}, 'P1001', 'Q38'] [{'concept': 'Q340169'}, 'P1001', 'Q414'] [{'concept': 'Q211364'}, 'P1001', 'Q414'] [{'concept': 'Q340169'}, 'P1001', 'Q347'] [{'concept': 'Q211364'}, 'P1001', 'Q347']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q16275867 } UNION { ?y property:P1001 resource:Q16275867 } UNION { ?z property:P1001 resource:Q16275867 } UNION { ?y property:P1001 resource:Q16275867 } UNION { ?z property:P1001 resource:Q977238 } UNION { ?y property:P1001 resource:Q977238 } UNION { ?z property:P1001 resource:Q3622264 } UNION { ?y property:P1001 resource:Q3622264 } UNION { ?z property:P1001 resource:Q237517 } UNION { ?y property:P1001 resource:Q237517 } } . ?z rdf:type ontology:Q340169 . ?y rdf:type ontology:Q1550643 }
tax credit for competitivity and employment barré rouge
1 medias and 1 principles
[{'concept': 'media'}, 'applies to jurisdiction', 'France'] [{'concept': 'principle'}, 'applies to jurisdiction', 'France'] [{'concept': 'media'}, 'applies to jurisdiction', 'France'] [{'concept': 'principle'}, 'applies to jurisdiction', 'France'] [{'concept': 'media'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'principle'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'media'}, 'applies to jurisdiction', 'Argentina'] [{'concept': 'principle'}, 'applies to jurisdiction', 'Argentina'] [{'concept': 'media'}, 'applies to jurisdiction', 'Liechtenstein'] [{'concept': 'principle'}, 'applies to jurisdiction', 'Liechtenstein']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:France } UNION { ?y property:applies_to_jurisdiction resource:France } UNION { ?z property:applies_to_jurisdiction resource:France } UNION { ?y property:applies_to_jurisdiction resource:France } UNION { ?z property:applies_to_jurisdiction resource:Italy } UNION { ?y property:applies_to_jurisdiction resource:Italy } UNION { ?z property:applies_to_jurisdiction resource:Argentina } UNION { ?y property:applies_to_jurisdiction resource:Argentina } UNION { ?z property:applies_to_jurisdiction resource:Liechtenstein } UNION { ?y property:applies_to_jurisdiction resource:Liechtenstein } } . ?z rdf:type ontology:media . ?y rdf:type ontology:principle }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q49160
P17
Q15617994
USER
How many administrative territories are Darbhanga district a part of ?
(Q49160,P17,c(Q15617994))
action count
action filter_type
action find
entity Q49160
relation P17
type Q15617994
['Q49160', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q49160 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Darbhanga district
action count
action filter_type
action find
entity Darbhanga district
relation country
type designation for an administrative territorial entity
['Darbhanga district', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Darbhanga_district property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q668
(Q49160,P17,c(Q15617994))
action count
action filter_type
action find
entity Q49160
relation P17
type Q15617994
[ANSWER]
['Q49160', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q49160 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
India
1
action count
action filter_type
action find
entity Darbhanga district
relation country
type designation for an administrative territorial entity
['Darbhanga district', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Darbhanga_district property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]