Simple Question (Direct)
Simple Question
Q21552794
P19
Q20667921
USER
Which french administrative division was Jean-Claude Chabrier born at ?
(Q21552794,P19,c(Q20667921))
action filter_type
action find
entity Q21552794
relation P19
type Q20667921
['Q21552794', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q21552794 property:P19 ?m . ?m rdf:type ontology:Q20667921 }
Jean-Claude Chabrier
action filter_type
action find
entity Jean-Claude Chabrier
relation place of birth
type type of french administrative division
['Jean-Claude Chabrier', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Jean-Claude_Chabrier property:place_of_birth ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q48958
SYSTEM
Neuilly-sur-Seine
Q48958
(Q21552794,P19,c(Q20667921))
action filter_type
action find
entity Q21552794
relation P19
type Q20667921
Which french administrative division was Jean-Claude Chabrier born at
['Q21552794', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q21552794 property:P19 ?m . ?m rdf:type ontology:Q20667921 }
Neuilly-sur-Seine
Which french administrative division was Jean-Claude Chabrier born at
Neuilly-sur-Seine
action filter_type
action find
entity Jean-Claude Chabrier
relation place of birth
type type of french administrative division
['Jean-Claude Chabrier', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:Jean-Claude_Chabrier property:place_of_birth ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21552794
P512
Q849697
USER
Which doctoral degree does that person hold ?
(Q48958,P512,c(Q849697))
action filter_type
action find
entity Q21552794
relation P512
type Q849697
['Q48958', 'P512', {'concept': 'Q849697'}]
SELECT DISTINCT ?x WHERE { resource:Q21552794 property:P512 ?x . ?x rdf:type ontology:Q849697 }
Jean-Claude Chabrier
action filter_type
action find
entity Jean-Claude Chabrier
relation academic degree
type doctoral degree
['Neuilly-sur-Seine', 'academic degree', {'concept': 'doctoral degree'}]
SELECT DISTINCT ?x WHERE { resource:Jean-Claude_Chabrier property:academic_degree ?x . ?x rdf:type ontology:doctoral_degree }
[]
doctoral degree
Q913404
SYSTEM
Doctor of Medicine
Q913404
(Q48958,P512,c(Q849697))
action filter_type
action find
entity Q21552794
relation P512
type Q849697
That person holds a [ANSWER]
['Q48958', 'P512', {'concept': 'Q849697'}]
SELECT DISTINCT ?x WHERE { resource:Q21552794 property:P512 ?x . ?x rdf:type ontology:Q849697 }
Doctor of Medicine
That person holds a Doctor of Medicine
Doctor of Medicine
action filter_type
action find
entity Jean-Claude Chabrier
relation academic degree
type doctoral degree
['Neuilly-sur-Seine', 'academic degree', {'concept': 'doctoral degree'}]
SELECT DISTINCT ?x WHERE { resource:Jean-Claude_Chabrier property:academic_degree ?x . ?x rdf:type ontology:doctoral_degree }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21552794
P21
Q290
USER
Which sex does Jean-Claude Chabrier have ?
(Q21552794,P21,c(Q290))
action filter_type
action find
entity Q21552794
relation P21
type Q290
['Q21552794', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q21552794 property:P21 ?n . ?n rdf:type ontology:Q290 }
Jean-Claude Chabrier
action filter_type
action find
entity Jean-Claude Chabrier
relation gender
type sex
['Jean-Claude Chabrier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Claude_Chabrier property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q21552794,P21,c(Q290))
action filter_type
action find
entity Q21552794
relation P21
type Q290
Jean-Claude Chabrier has a [ANSWER]
['Q21552794', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q21552794 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Jean-Claude Chabrier has a male
male
action filter_type
action find
entity Jean-Claude Chabrier
relation gender
type sex
['Jean-Claude Chabrier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Jean-Claude_Chabrier property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48958
P706
Q2385804
USER
Which educational institution is located in Neuilly-sur-Seine ?
(c(Q2385804),P706,Q48958)
action filter_type
action find_reverse
entity Q48958
relation P706
type Q2385804
[{'concept': 'Q2385804'}, 'P706', 'Q48958']
SELECT DISTINCT ?g WHERE { ?g property:P706 resource:Q48958 . ?g rdf:type ontology:Q2385804 }
Neuilly-sur-Seine
action filter_type
action find_reverse
entity Neuilly-sur-Seine
relation located on terrain feature
type educational institution
[{'concept': 'educational institution'}, 'located on terrain feature', 'Neuilly-sur-Seine']
SELECT DISTINCT ?g WHERE { ?g property:located_on_terrain_feature resource:Neuilly-sur-Seine . ?g rdf:type ontology:educational_institution }
[]
educational institution
Q3152816
SYSTEM
Institution Notre-Dame de Sainte-Croix
Q3152816
(c(Q2385804),P706,Q48958)
action filter_type
action find_reverse
entity Q48958
relation P706
type Q2385804
[ANSWER] is located in Neuilly-sur-Seine
[{'concept': 'Q2385804'}, 'P706', 'Q48958']
SELECT DISTINCT ?g WHERE { ?g property:P706 resource:Q48958 . ?g rdf:type ontology:Q2385804 }
Institution Notre-Dame de Sainte-Croix
Institution Notre-Dame de Sainte-Croix is located in Neuilly-sur-Seine
Institution Notre-Dame de Sainte-Croix
action filter_type
action find_reverse
entity Neuilly-sur-Seine
relation located on terrain feature
type educational institution
[{'concept': 'educational institution'}, 'located on terrain feature', 'Neuilly-sur-Seine']
SELECT DISTINCT ?g WHERE { ?g property:located_on_terrain_feature resource:Neuilly-sur-Seine . ?g rdf:type ontology:educational_institution }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48958
P1376
Q20667921
USER
Which french administrative divisions have Neuilly-sur-Seine as their capital ?
(Q48958,P1376,c(Q20667921))
action filter_type
action find
entity Q48958
relation P1376
type Q20667921
['Q48958', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q48958 property:P1376 ?b . ?b rdf:type ontology:Q20667921 }
Neuilly-sur-Seine
action filter_type
action find
entity Neuilly-sur-Seine
relation capital of
type type of french administrative division
['Neuilly-sur-Seine', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Neuilly-sur-Seine property:capital_of ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1524987 Q1524959
SYSTEM
canton of Neuilly-sur-Seine-Nord, canton of Neuilly-sur-Seine-Sud
Q1524987 Q1524959
(Q48958,P1376,c(Q20667921))
action filter_type
action find
entity Q48958
relation P1376
type Q20667921
[ANSWERS] have Neuilly-sur-Seine as their capital
['Q48958', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q48958 property:P1376 ?b . ?b rdf:type ontology:Q20667921 }
canton of Neuilly-sur-Seine-Nord canton of Neuilly-sur-Seine-Sud
Canton of Neuilly-sur-Seine-Nord and canton of Neuilly-sur-Seine-Sud have Neuilly-sur-Seine as their capital
canton of Neuilly-sur-Seine-Nord canton of Neuilly-sur-Seine-Sud
action filter_type
action find
entity Neuilly-sur-Seine
relation capital of
type type of french administrative division
['Neuilly-sur-Seine', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Neuilly-sur-Seine property:capital_of ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q833386
P1376
Q20667921
USER
Are Nancuise the capital of those ones ?
(Q833386,P1376,Q1524987) (Q833386,P1376,Q1524959)
action is_in
entity prev_answer
action find
entity Q833386
relation P1376
['Q833386', 'P1376', 'Q1524987'] ['Q833386', 'P1376', 'Q1524959']
ASK WHERE { resource:Q833386 property:P1376 ?p . VALUES ( ?p ) { ( resource:Q1524987 ) ( resource:Q1524959 ) } }
Nancuise
action is_in
entity prev_answer
action find
entity Nancuise
relation capital of
['Nancuise', 'capital of', 'canton of Neuilly-sur-Seine-Nord'] ['Nancuise', 'capital of', 'canton of Neuilly-sur-Seine-Sud']
ASK WHERE { resource:Nancuise property:capital_of ?p . VALUES ( ?p ) { ( resource:canton_of_Neuilly-sur-Seine-Nord ) ( resource:canton_of_Neuilly-sur-Seine-Sud ) } }
[]
type of french administrative division
SYSTEM
NO
(Q833386,P1376,Q1524987) (Q833386,P1376,Q1524959)
action is_in
entity prev_answer
action find
entity Q833386
relation P1376
[ANSWER]
['Q833386', 'P1376', 'Q1524987'] ['Q833386', 'P1376', 'Q1524959']
ASK WHERE { resource:Q833386 property:P1376 ?p . VALUES ( ?p ) { ( resource:Q1524987 ) ( resource:Q1524959 ) } }
No
action is_in
entity prev_answer
action find
entity Nancuise
relation capital of
['Nancuise', 'capital of', 'canton of Neuilly-sur-Seine-Nord'] ['Nancuise', 'capital of', 'canton of Neuilly-sur-Seine-Sud']
ASK WHERE { resource:Nancuise property:capital_of ?p . VALUES ( ?p ) { ( resource:canton_of_Neuilly-sur-Seine-Nord ) ( resource:canton_of_Neuilly-sur-Seine-Sud ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21552794 Q505533 Q5064204
P27
Q15617994
USER
Is Jean-Claude Chabrier a native of Hemsbünde and Ceres Unified School District ?
(Q21552794,P27,Q505533) (Q21552794,P27,Q5064204)
action is_in
entity Q21552794
action intersection
action find_reverse
entity Q505533
relation P27
action find_reverse
entity Q5064204
relation P27
['Q21552794', 'P27', 'Q505533'] ['Q21552794', 'P27', 'Q5064204']
ASK WHERE { resource:Q21552794 property:P27 resource:Q505533 . resource:Q21552794 property:P27 resource:Q5064204 }
Jean-Claude Chabrier Hemsbünde Ceres Unified School District
action is_in
entity Jean-Claude Chabrier
action intersection
action find_reverse
entity Hemsbünde
relation country of citizenship
action find_reverse
entity Ceres Unified School District
relation country of citizenship
['Jean-Claude Chabrier', 'country of citizenship', 'Hemsbünde'] ['Jean-Claude Chabrier', 'country of citizenship', 'Ceres Unified School District']
ASK WHERE { resource:Jean-Claude_Chabrier property:country_of_citizenship resource:Hemsbünde . resource:Jean-Claude_Chabrier property:country_of_citizenship resource:Ceres_Unified_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q21552794,P27,Q505533) (Q21552794,P27,Q5064204)
action is_in
entity Q21552794
action intersection
action find_reverse
entity Q505533
relation P27
action find_reverse
entity Q5064204
relation P27
[ANSWER]
['Q21552794', 'P27', 'Q505533'] ['Q21552794', 'P27', 'Q5064204']
ASK WHERE { resource:Q21552794 property:P27 resource:Q505533 . resource:Q21552794 property:P27 resource:Q5064204 }
No
action is_in
entity Jean-Claude Chabrier
action intersection
action find_reverse
entity Hemsbünde
relation country of citizenship
action find_reverse
entity Ceres Unified School District
relation country of citizenship
['Jean-Claude Chabrier', 'country of citizenship', 'Hemsbünde'] ['Jean-Claude Chabrier', 'country of citizenship', 'Ceres Unified School District']
ASK WHERE { resource:Jean-Claude_Chabrier property:country_of_citizenship resource:Hemsbünde . resource:Jean-Claude_Chabrier property:country_of_citizenship resource:Ceres_Unified_School_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1524959 Q736021 Q48958
P36
Q20667921
USER
Does canton of Neuilly-sur-Seine-Sud have La Chapelle-du-Mont-du-Chat and Neuilly-sur-Seine as its capital ?
(Q1524959,P36,Q736021) (Q1524959,P36,Q48958)
action is_in
entity Q1524959
action intersection
action find_reverse
entity Q736021
relation P36
action find_reverse
entity Q48958
relation P36
['Q1524959', 'P36', 'Q736021'] ['Q1524959', 'P36', 'Q48958']
ASK WHERE { resource:Q1524959 property:P36 resource:Q736021 . resource:Q1524959 property:P36 resource:Q48958 }
canton of Neuilly-sur-Seine-Sud La Chapelle-du-Mont-du-Chat Neuilly-sur-Seine
action is_in
entity canton of Neuilly-sur-Seine-Sud
action intersection
action find_reverse
entity La Chapelle-du-Mont-du-Chat
relation capital
action find_reverse
entity Neuilly-sur-Seine
relation capital
['canton of Neuilly-sur-Seine-Sud', 'capital', 'La Chapelle-du-Mont-du-Chat'] ['canton of Neuilly-sur-Seine-Sud', 'capital', 'Neuilly-sur-Seine']
ASK WHERE { resource:canton_of_Neuilly-sur-Seine-Sud property:capital resource:La_Chapelle-du-Mont-du-Chat . resource:canton_of_Neuilly-sur-Seine-Sud property:capital resource:Neuilly-sur-Seine }
[]
type of french administrative division
SYSTEM
NO and YES respectively
(Q1524959,P36,Q736021) (Q1524959,P36,Q48958)
action is_in
entity Q1524959
action intersection
action find_reverse
entity Q736021
relation P36
action find_reverse
entity Q48958
relation P36
[ANSWER]
['Q1524959', 'P36', 'Q736021'] ['Q1524959', 'P36', 'Q48958']
ASK WHERE { resource:Q1524959 property:P36 resource:Q736021 . resource:Q1524959 property:P36 resource:Q48958 }
NO and YES respectively
action is_in
entity canton of Neuilly-sur-Seine-Sud
action intersection
action find_reverse
entity La Chapelle-du-Mont-du-Chat
relation capital
action find_reverse
entity Neuilly-sur-Seine
relation capital
['canton of Neuilly-sur-Seine-Sud', 'capital', 'La Chapelle-du-Mont-du-Chat'] ['canton of Neuilly-sur-Seine-Sud', 'capital', 'Neuilly-sur-Seine']
ASK WHERE { resource:canton_of_Neuilly-sur-Seine-Sud property:capital resource:La_Chapelle-du-Mont-du-Chat . resource:canton_of_Neuilly-sur-Seine-Sud property:capital resource:Neuilly-sur-Seine }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1524987 Q142
P17
Q15617994
USER
Does canton of Neuilly-sur-Seine-Nord belong to France ?
(Q1524987,P17,Q142)
action is_in
entity Q142
action find
entity Q1524987
relation P17
['Q1524987', 'P17', 'Q142']
ASK WHERE { resource:Q1524987 property:P17 resource:Q142 }
canton of Neuilly-sur-Seine-Nord France
action is_in
entity France
action find
entity canton of Neuilly-sur-Seine-Nord
relation country
['canton of Neuilly-sur-Seine-Nord', 'country', 'France']
ASK WHERE { resource:canton_of_Neuilly-sur-Seine-Nord property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1524987,P17,Q142)
action is_in
entity Q142
action find
entity Q1524987
relation P17
[ANSWER]
['Q1524987', 'P17', 'Q142']
ASK WHERE { resource:Q1524987 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity canton of Neuilly-sur-Seine-Nord
relation country
['canton of Neuilly-sur-Seine-Nord', 'country', 'France']
ASK WHERE { resource:canton_of_Neuilly-sur-Seine-Nord property:country resource:France }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26235292 Q1524959
P17
Q15617994
USER
Which administrative territories are canton of Neuilly-sur-Seine-Sud or The Tumuli and Baobab Tree Known as Durbi-Takusheyi situated in ?
OR((Q1524959,P17,c(Q15617994)), (Q26235292,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1524959
relation P17
action find
entity Q26235292
relation P17
type Q15617994
{'OR': [['Q1524959', 'P17', {'concept': 'Q15617994'}], ['Q26235292', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q1524959 property:P17 ?a } UNION { resource:Q26235292 property:P17 ?a } } }
The Tumuli and Baobab Tree Known as Durbi-Takusheyi canton of Neuilly-sur-Seine-Sud
action filter_type
action union
action find
entity canton of Neuilly-sur-Seine-Sud
relation country
action find
entity The Tumuli and Baobab Tree Known as Durbi-Takusheyi
relation country
type designation for an administrative territorial entity
{'OR': [['canton of Neuilly-sur-Seine-Sud', 'country', {'concept': 'designation for an administrative territorial entity'}], ['The Tumuli and Baobab Tree Known as Durbi-Takusheyi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:canton_of_Neuilly-sur-Seine-Sud property:country ?a } UNION { resource:The_Tumuli_and_Baobab_Tree_Known_as_Durbi-Takusheyi property:country ?a } } }
[]
designation for an administrative territorial entity
Q142 Q1033
SYSTEM
France, Nigeria
Q142 Q1033
OR((Q1524959,P17,c(Q15617994)), (Q26235292,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1524959
relation P17
action find
entity Q26235292
relation P17
type Q15617994
[ANSWERS] are canton of Neuilly-sur-Seine-Sud or The Tumuli and Baobab Tree Known as Durbi-Takusheyi situated in
{'OR': [['Q1524959', 'P17', {'concept': 'Q15617994'}], ['Q26235292', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . { { resource:Q1524959 property:P17 ?a } UNION { resource:Q26235292 property:P17 ?a } } }
France Nigeria
France and Nigeria are canton of Neuilly-sur-Seine-Sud or The Tumuli and Baobab Tree Known as Durbi-Takusheyi situated in
France Nigeria
action filter_type
action union
action find
entity canton of Neuilly-sur-Seine-Sud
relation country
action find
entity The Tumuli and Baobab Tree Known as Durbi-Takusheyi
relation country
type designation for an administrative territorial entity
{'OR': [['canton of Neuilly-sur-Seine-Sud', 'country', {'concept': 'designation for an administrative territorial entity'}], ['The Tumuli and Baobab Tree Known as Durbi-Takusheyi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:canton_of_Neuilly-sur-Seine-Sud property:country ?a } UNION { resource:The_Tumuli_and_Baobab_Tree_Known_as_Durbi-Takusheyi property:country ?a } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P47
Q15617994
USER
Which administrative territories share border with that one ?
(c(Q15617994),P47,Q142)
action filter_type
action find
entity Q142
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q142']
SELECT DISTINCT ?d WHERE { resource:Q142 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
France
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France']
SELECT DISTINCT ?d WHERE { resource:France property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1033
SYSTEM
Did you mean Nigeria ?
Q142 Q1033
(c(Q15617994),P47,Q142) (c(Q15617994),P47,Q1033)
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q15617994'}, 'P47', 'Q1033']
SELECT DISTINCT ?d WHERE { resource:Q142 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
France Nigeria
Did you mean Nigeria ?
Nigeria
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Nigeria']
SELECT DISTINCT ?d WHERE { resource:France property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q15617994),P47,Q142)
Q142
[{'concept': 'Q15617994'}, 'P47', 'Q142']
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France']
[]
Q155 Q38 Q145
SYSTEM
Brazil, Italy, United Kingdom
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39 Q38
(c(Q15617994),P47,Q142)
action filter_type
action find
entity Q142
relation P47
type Q15617994
[ANSWERS] share border with that one
[{'concept': 'Q15617994'}, 'P47', 'Q142']
SELECT DISTINCT ?d WHERE { resource:Q142 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland Italy
Brazil, Italy and United Kingdom share border with that one
Brazil Italy United Kingdom
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France']
SELECT DISTINCT ?d WHERE { resource:France property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P17
Q721639 Q1144661
USER
How many flag carriers and amusement rides are located in that administrative territory ?
(c(Q721639),P17,Q38) (c(Q1144661),P17,Q38) (c(Q721639),P17,Q155) (c(Q1144661),P17,Q155) (c(Q721639),P17,Q38) (c(Q1144661),P17,Q38) (c(Q721639),P17,Q145) (c(Q1144661),P17,Q145)
[{'concept': 'Q721639'}, 'P17', 'Q38'] [{'concept': 'Q1144661'}, 'P17', 'Q38'] [{'concept': 'Q721639'}, 'P17', 'Q155'] [{'concept': 'Q1144661'}, 'P17', 'Q155'] [{'concept': 'Q721639'}, 'P17', 'Q38'] [{'concept': 'Q1144661'}, 'P17', 'Q38'] [{'concept': 'Q721639'}, 'P17', 'Q145'] [{'concept': 'Q1144661'}, 'P17', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q977238 } UNION { ?y property:Q6256 resource:Q977238 } UNION { ?z property:Q6256 resource:Q21475816 } UNION { ?y property:Q6256 resource:Q21475816 } UNION { ?z property:Q6256 resource:Q977238 } UNION { ?y property:Q6256 resource:Q977238 } UNION { ?z property:Q6256 resource:Q225249 } UNION { ?y property:Q6256 resource:Q225249 } } . ?z rdf:type ontology:Q721639 . ?y rdf:type ontology:Q1144661 }
[{'concept': 'flag carrier'}, 'country', 'Italy'] [{'concept': 'amusement ride'}, 'country', 'Italy'] [{'concept': 'flag carrier'}, 'country', 'Brazil'] [{'concept': 'amusement ride'}, 'country', 'Brazil'] [{'concept': 'flag carrier'}, 'country', 'Italy'] [{'concept': 'amusement ride'}, 'country', 'Italy'] [{'concept': 'flag carrier'}, 'country', 'United Kingdom'] [{'concept': 'amusement ride'}, 'country', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country resource:Italy } UNION { ?y property:country resource:Italy } UNION { ?z property:country resource:Brazil } UNION { ?y property:country resource:Brazil } UNION { ?z property:country resource:Italy } UNION { ?y property:country resource:Italy } UNION { ?z property:country resource:United_Kingdom } UNION { ?y property:country resource:United_Kingdom } } . ?z rdf:type ontology:flag_carrier . ?y rdf:type ontology:amusement_ride }
[]
flag carrier amusement ride
Quantitative|Count|Mult. entity type|Clarification
Q145
SYSTEM
Did you mean United Kingdom ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q977238 } UNION { ?y property:Q6256 resource:Q977238 } UNION { ?z property:Q6256 resource:Q21475816 } UNION { ?y property:Q6256 resource:Q21475816 } UNION { ?z property:Q6256 resource:Q977238 } UNION { ?y property:Q6256 resource:Q977238 } UNION { ?z property:Q6256 resource:Q225249 } UNION { ?y property:Q6256 resource:Q225249 } } . ?z rdf:type ontology:Q721639 . ?y rdf:type ontology:Q1144661 }
Did you mean United Kingdom ?
United Kingdom
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country resource:Italy } UNION { ?y property:country resource:Italy } UNION { ?z property:country resource:Brazil } UNION { ?y property:country resource:Brazil } UNION { ?z property:country resource:Italy } UNION { ?y property:country resource:Italy } UNION { ?z property:country resource:United_Kingdom } UNION { ?y property:country resource:United_Kingdom } } . ?z rdf:type ontology:flag_carrier . ?y rdf:type ontology:amusement_ride }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Italy. Could you tell me the answer for that?
(c(Q721639),P17,Q38) (c(Q1144661),P17,Q38) (c(Q721639),P17,Q155) (c(Q1144661),P17,Q155) (c(Q721639),P17,Q38) (c(Q1144661),P17,Q38) (c(Q721639),P17,Q145) (c(Q1144661),P17,Q145)
Q38
[{'concept': 'Q721639'}, 'P17', 'Q38'] [{'concept': 'Q1144661'}, 'P17', 'Q38'] [{'concept': 'Q721639'}, 'P17', 'Q155'] [{'concept': 'Q1144661'}, 'P17', 'Q155'] [{'concept': 'Q721639'}, 'P17', 'Q38'] [{'concept': 'Q1144661'}, 'P17', 'Q38'] [{'concept': 'Q721639'}, 'P17', 'Q145'] [{'concept': 'Q1144661'}, 'P17', 'Q145']
[{'concept': 'flag carrier'}, 'country', 'Italy'] [{'concept': 'amusement ride'}, 'country', 'Italy'] [{'concept': 'flag carrier'}, 'country', 'Brazil'] [{'concept': 'amusement ride'}, 'country', 'Brazil'] [{'concept': 'flag carrier'}, 'country', 'Italy'] [{'concept': 'amusement ride'}, 'country', 'Italy'] [{'concept': 'flag carrier'}, 'country', 'United Kingdom'] [{'concept': 'amusement ride'}, 'country', 'United Kingdom']
[]
SYSTEM
1 flag carriers and 2 amusement rides
Q992894 Q18763206 Q19284011
(c(Q721639),P17,Q38) (c(Q1144661),P17,Q38) (c(Q721639),P17,Q155) (c(Q1144661),P17,Q155) (c(Q721639),P17,Q38) (c(Q1144661),P17,Q38) (c(Q721639),P17,Q145) (c(Q1144661),P17,Q145)
[ANSWER]
[{'concept': 'Q721639'}, 'P17', 'Q38'] [{'concept': 'Q1144661'}, 'P17', 'Q38'] [{'concept': 'Q721639'}, 'P17', 'Q155'] [{'concept': 'Q1144661'}, 'P17', 'Q155'] [{'concept': 'Q721639'}, 'P17', 'Q38'] [{'concept': 'Q1144661'}, 'P17', 'Q38'] [{'concept': 'Q721639'}, 'P17', 'Q145'] [{'concept': 'Q1144661'}, 'P17', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q6256 resource:Q977238 } UNION { ?y property:Q6256 resource:Q977238 } UNION { ?z property:Q6256 resource:Q21475816 } UNION { ?y property:Q6256 resource:Q21475816 } UNION { ?z property:Q6256 resource:Q977238 } UNION { ?y property:Q6256 resource:Q977238 } UNION { ?z property:Q6256 resource:Q225249 } UNION { ?y property:Q6256 resource:Q225249 } } . ?z rdf:type ontology:Q721639 . ?y rdf:type ontology:Q1144661 }
Eurowheel Oblivion: The Black Hole Alitalia - Compagnia Aerea Italiana
1 flag carriers and 2 amusement rides
[{'concept': 'flag carrier'}, 'country', 'Italy'] [{'concept': 'amusement ride'}, 'country', 'Italy'] [{'concept': 'flag carrier'}, 'country', 'Brazil'] [{'concept': 'amusement ride'}, 'country', 'Brazil'] [{'concept': 'flag carrier'}, 'country', 'Italy'] [{'concept': 'amusement ride'}, 'country', 'Italy'] [{'concept': 'flag carrier'}, 'country', 'United Kingdom'] [{'concept': 'amusement ride'}, 'country', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country resource:Italy } UNION { ?y property:country resource:Italy } UNION { ?z property:country resource:Brazil } UNION { ?y property:country resource:Brazil } UNION { ?z property:country resource:Italy } UNION { ?y property:country resource:Italy } UNION { ?z property:country resource:United_Kingdom } UNION { ?y property:country resource:United_Kingdom } } . ?z rdf:type ontology:flag_carrier . ?y rdf:type ontology:amusement_ride }
[]