Simple Question (Direct)
Simple Question
Q7792712
P641
Q349
USER
Which sport did Thomas Nevers participate in ?
(Q7792712,P641,c(Q349))
action filter_type
action find
entity Q7792712
relation P641
type Q349
['Q7792712', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q7792712 property:P641 ?o . ?o rdf:type ontology:Q349 }
Thomas Nevers
action filter_type
action find
entity Thomas Nevers
relation sport
type sport
['Thomas Nevers', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Nevers property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7792712,P641,c(Q349))
action filter_type
action find
entity Q7792712
relation P641
type Q349
Thomas Nevers participated in [ANSWER]
['Q7792712', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q7792712 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Thomas Nevers participated in association football
association football
action filter_type
action find
entity Thomas Nevers
relation sport
type sport
['Thomas Nevers', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Nevers property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7792712
P21
Q290
USER
Which sex does Thomas Nevers have ?
(Q7792712,P21,c(Q290))
action filter_type
action find
entity Q7792712
relation P21
type Q290
['Q7792712', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q7792712 property:P21 ?q . ?q rdf:type ontology:Q290 }
Thomas Nevers
action filter_type
action find
entity Thomas Nevers
relation gender
type sex
['Thomas Nevers', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Thomas_Nevers property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7792712,P21,c(Q290))
action filter_type
action find
entity Q7792712
relation P21
type Q290
Thomas Nevers has a [ANSWER]
['Q7792712', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q7792712 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Thomas Nevers has a male
male
action filter_type
action find
entity Thomas Nevers
relation gender
type sex
['Thomas Nevers', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Thomas_Nevers property:gender ?q . ?q rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q3287933 Q7792712
P21
Q290
USER
And also Marc Dejean
AND((Q7792712,P21,c(Q290)), (Q3287933,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q7792712
relation P21
action find
entity Q3287933
relation P21
type Q290
{'AND': [['Q7792712', 'P21', {'concept': 'Q290'}], ['Q3287933', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { resource:Q7792712 property:P21 ?m . resource:Q3287933 property:P21 ?m . ?m rdf:type ontology:Q290 }
Marc Dejean Thomas Nevers
action filter_type
action intersection
action find
entity Thomas Nevers
relation gender
action find
entity Marc Dejean
relation gender
type sex
{'AND': [['Thomas Nevers', 'gender', {'concept': 'sex'}], ['Marc Dejean', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { resource:Thomas_Nevers property:gender ?m . resource:Marc_Dejean property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q7792712,P21,c(Q290)), (Q3287933,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q7792712
relation P21
action find
entity Q3287933
relation P21
type Q290
[ANSWER]
{'AND': [['Q7792712', 'P21', {'concept': 'Q290'}], ['Q3287933', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { resource:Q7792712 property:P21 ?m . resource:Q3287933 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Thomas Nevers
relation gender
action find
entity Marc Dejean
relation gender
type sex
{'AND': [['Thomas Nevers', 'gender', {'concept': 'sex'}], ['Marc Dejean', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { resource:Thomas_Nevers property:gender ?m . resource:Marc_Dejean property:gender ?m . ?m rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1330721
P21
Q502895
USER
Does Roy Oswalt have the gender as that sex ?
(Q1330721,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1330721
relation P21
['Q1330721', 'P21', 'Q6581097']
ASK WHERE { resource:Q1330721 property:P21 resource:Q6581097 }
male Roy Oswalt
action is_in
entity male
action find
entity Roy Oswalt
relation gender
['Roy Oswalt', 'gender', 'male']
ASK WHERE { resource:Roy_Oswalt property:gender resource:male }
[]
common name
SYSTEM
YES
(Q1330721,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1330721
relation P21
[ANSWER]
['Q1330721', 'P21', 'Q6581097']
ASK WHERE { resource:Q1330721 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Roy Oswalt
relation gender
['Roy Oswalt', 'gender', 'male']
ASK WHERE { resource:Roy_Oswalt property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7792712 Q1045 Q5597441
P27
Q15617994
USER
Is Thomas Nevers a native of Somalia and Grass Lake School District 36 ?
(Q7792712,P27,Q1045) (Q7792712,P27,Q5597441)
action is_in
entity Q7792712
action intersection
action find_reverse
entity Q1045
relation P27
action find_reverse
entity Q5597441
relation P27
['Q7792712', 'P27', 'Q1045'] ['Q7792712', 'P27', 'Q5597441']
ASK WHERE { resource:Q7792712 property:P27 resource:Q1045 . resource:Q7792712 property:P27 resource:Q5597441 }
Thomas Nevers Somalia Grass Lake School District 36
action is_in
entity Thomas Nevers
action intersection
action find_reverse
entity Somalia
relation country of citizenship
action find_reverse
entity Grass Lake School District 36
relation country of citizenship
['Thomas Nevers', 'country of citizenship', 'Somalia'] ['Thomas Nevers', 'country of citizenship', 'Grass Lake School District 36']
ASK WHERE { resource:Thomas_Nevers property:country_of_citizenship resource:Somalia . resource:Thomas_Nevers property:country_of_citizenship resource:Grass_Lake_School_District_36 }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7792712,P27,Q1045) (Q7792712,P27,Q5597441)
action is_in
entity Q7792712
action intersection
action find_reverse
entity Q1045
relation P27
action find_reverse
entity Q5597441
relation P27
[ANSWER]
['Q7792712', 'P27', 'Q1045'] ['Q7792712', 'P27', 'Q5597441']
ASK WHERE { resource:Q7792712 property:P27 resource:Q1045 . resource:Q7792712 property:P27 resource:Q5597441 }
No
action is_in
entity Thomas Nevers
action intersection
action find_reverse
entity Somalia
relation country of citizenship
action find_reverse
entity Grass Lake School District 36
relation country of citizenship
['Thomas Nevers', 'country of citizenship', 'Somalia'] ['Thomas Nevers', 'country of citizenship', 'Grass Lake School District 36']
ASK WHERE { resource:Thomas_Nevers property:country_of_citizenship resource:Somalia . resource:Thomas_Nevers property:country_of_citizenship resource:Grass_Lake_School_District_36 }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7792712
P19
Q56061
USER
Which administrative territory was that person born in ?
action filter_type
action find
entity Q7792712
relation P19
type Q56061
SELECT DISTINCT ?m WHERE { resource:Q7792712 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Thomas Nevers
action filter_type
action find
entity Thomas Nevers
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?m WHERE { resource:Thomas_Nevers property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49192
SYSTEM
Middletown
Q49192
action filter_type
action find
entity Q7792712
relation P19
type Q56061
That person was born in [ANSWER]
SELECT DISTINCT ?m WHERE { resource:Q7792712 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Middletown
That person was born in Middletown
Middletown
action filter_type
action find
entity Thomas Nevers
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?m WHERE { resource:Thomas_Nevers property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q548859 Q7792712
P27
Q15617994
USER
Which administrative territories are Thomas Nevers or Ronald Fraser an inhabitant of ?
OR((Q7792712,P27,c(Q15617994)), (Q548859,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7792712
relation P27
action find
entity Q548859
relation P27
type Q15617994
{'OR': [['Q7792712', 'P27', {'concept': 'Q15617994'}], ['Q548859', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q7792712 property:P27 ?o } UNION { resource:Q548859 property:P27 ?o } } }
Ronald Fraser Thomas Nevers
action filter_type
action union
action find
entity Thomas Nevers
relation country of citizenship
action find
entity Ronald Fraser
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Thomas Nevers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ronald Fraser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Thomas_Nevers property:country_of_citizenship ?o } UNION { resource:Ronald_Fraser property:country_of_citizenship ?o } } }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q7792712,P27,c(Q15617994)), (Q548859,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7792712
relation P27
action find
entity Q548859
relation P27
type Q15617994
[ANSWERS] are Thomas Nevers or Ronald Fraser an inhabitant of
{'OR': [['Q7792712', 'P27', {'concept': 'Q15617994'}], ['Q548859', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q7792712 property:P27 ?o } UNION { resource:Q548859 property:P27 ?o } } }
United States of America United Kingdom
United States of America and United Kingdom are Thomas Nevers or Ronald Fraser an inhabitant of
United States of America United Kingdom
action filter_type
action union
action find
entity Thomas Nevers
relation country of citizenship
action find
entity Ronald Fraser
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Thomas Nevers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ronald Fraser', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Thomas_Nevers property:country_of_citizenship ?o } UNION { resource:Ronald_Fraser property:country_of_citizenship ?o } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1071
Q478798 Q3305213
USER
How many images and paintings have that administrative territory as their final place of assembly ?
(c(Q478798),P1071,Q30) (c(Q3305213),P1071,Q30) (c(Q478798),P1071,Q30) (c(Q3305213),P1071,Q30) (c(Q478798),P1071,Q145) (c(Q3305213),P1071,Q145)
[{'concept': 'Q478798'}, 'P1071', 'Q30'] [{'concept': 'Q3305213'}, 'P1071', 'Q30'] [{'concept': 'Q478798'}, 'P1071', 'Q30'] [{'concept': 'Q3305213'}, 'P1071', 'Q30'] [{'concept': 'Q478798'}, 'P1071', 'Q145'] [{'concept': 'Q3305213'}, 'P1071', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1071 resource:Q30 } UNION { ?y property:P1071 resource:Q30 } UNION { ?z property:P1071 resource:Q30 } UNION { ?y property:P1071 resource:Q30 } UNION { ?z property:P1071 resource:Q225249 } UNION { ?y property:P1071 resource:Q225249 } } . ?z rdf:type ontology:Q478798 . ?y rdf:type ontology:Q19925980 }
[{'concept': 'image'}, 'location of final assembly', 'United States of America'] [{'concept': 'painting'}, 'location of final assembly', 'United States of America'] [{'concept': 'image'}, 'location of final assembly', 'United States of America'] [{'concept': 'painting'}, 'location of final assembly', 'United States of America'] [{'concept': 'image'}, 'location of final assembly', 'United Kingdom'] [{'concept': 'painting'}, 'location of final assembly', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location_of_final_assembly resource:United_States_of_America } UNION { ?y property:location_of_final_assembly resource:United_States_of_America } UNION { ?z property:location_of_final_assembly resource:United_States_of_America } UNION { ?y property:location_of_final_assembly resource:United_States_of_America } UNION { ?z property:location_of_final_assembly resource:United_Kingdom } UNION { ?y property:location_of_final_assembly resource:United_Kingdom } } . ?z rdf:type ontology:image . ?y rdf:type ontology:painting }
[]
image painting
Quantitative|Count|Mult. entity type|Clarification
Q145
SYSTEM
Did you mean United Kingdom ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1071 resource:Q30 } UNION { ?y property:P1071 resource:Q30 } UNION { ?z property:P1071 resource:Q30 } UNION { ?y property:P1071 resource:Q30 } UNION { ?z property:P1071 resource:Q225249 } UNION { ?y property:P1071 resource:Q225249 } } . ?z rdf:type ontology:Q478798 . ?y rdf:type ontology:Q19925980 }
Did you mean United Kingdom ?
United Kingdom
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location_of_final_assembly resource:United_States_of_America } UNION { ?y property:location_of_final_assembly resource:United_States_of_America } UNION { ?z property:location_of_final_assembly resource:United_States_of_America } UNION { ?y property:location_of_final_assembly resource:United_States_of_America } UNION { ?z property:location_of_final_assembly resource:United_Kingdom } UNION { ?y property:location_of_final_assembly resource:United_Kingdom } } . ?z rdf:type ontology:image . ?y rdf:type ontology:painting }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant United States of America. Could you tell me the answer for that?
(c(Q478798),P1071,Q30) (c(Q3305213),P1071,Q30) (c(Q478798),P1071,Q30) (c(Q3305213),P1071,Q30) (c(Q478798),P1071,Q145) (c(Q3305213),P1071,Q145)
Q30
[{'concept': 'Q478798'}, 'P1071', 'Q30'] [{'concept': 'Q3305213'}, 'P1071', 'Q30'] [{'concept': 'Q478798'}, 'P1071', 'Q30'] [{'concept': 'Q3305213'}, 'P1071', 'Q30'] [{'concept': 'Q478798'}, 'P1071', 'Q145'] [{'concept': 'Q3305213'}, 'P1071', 'Q145']
[{'concept': 'image'}, 'location of final assembly', 'United States of America'] [{'concept': 'painting'}, 'location of final assembly', 'United States of America'] [{'concept': 'image'}, 'location of final assembly', 'United States of America'] [{'concept': 'painting'}, 'location of final assembly', 'United States of America'] [{'concept': 'image'}, 'location of final assembly', 'United Kingdom'] [{'concept': 'painting'}, 'location of final assembly', 'United Kingdom']
[]
SYSTEM
1 images and 3 paintings
Q18579026 Q18713914 Q18572502 Q18346971
(c(Q478798),P1071,Q30) (c(Q3305213),P1071,Q30) (c(Q478798),P1071,Q30) (c(Q3305213),P1071,Q30) (c(Q478798),P1071,Q145) (c(Q3305213),P1071,Q145)
[ANSWER]
[{'concept': 'Q478798'}, 'P1071', 'Q30'] [{'concept': 'Q3305213'}, 'P1071', 'Q30'] [{'concept': 'Q478798'}, 'P1071', 'Q30'] [{'concept': 'Q3305213'}, 'P1071', 'Q30'] [{'concept': 'Q478798'}, 'P1071', 'Q145'] [{'concept': 'Q3305213'}, 'P1071', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1071 resource:Q30 } UNION { ?y property:P1071 resource:Q30 } UNION { ?z property:P1071 resource:Q30 } UNION { ?y property:P1071 resource:Q30 } UNION { ?z property:P1071 resource:Q225249 } UNION { ?y property:P1071 resource:Q225249 } } . ?z rdf:type ontology:Q478798 . ?y rdf:type ontology:Q19925980 }
The Gardener Water Lily in Sunlight Pendant with Miniature Portrait of Ellen Percy Resurrection
1 images and 3 paintings
[{'concept': 'image'}, 'location of final assembly', 'United States of America'] [{'concept': 'painting'}, 'location of final assembly', 'United States of America'] [{'concept': 'image'}, 'location of final assembly', 'United States of America'] [{'concept': 'painting'}, 'location of final assembly', 'United States of America'] [{'concept': 'image'}, 'location of final assembly', 'United Kingdom'] [{'concept': 'painting'}, 'location of final assembly', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location_of_final_assembly resource:United_States_of_America } UNION { ?y property:location_of_final_assembly resource:United_States_of_America } UNION { ?z property:location_of_final_assembly resource:United_States_of_America } UNION { ?y property:location_of_final_assembly resource:United_States_of_America } UNION { ?z property:location_of_final_assembly resource:United_Kingdom } UNION { ?y property:location_of_final_assembly resource:United_Kingdom } } . ?z rdf:type ontology:image . ?y rdf:type ontology:painting }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q13224677 Q7792712
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Thomas Nevers or Leonard Eric Newton ?
OR((Q7792712,P27,c(Q15617994)), (Q13224677,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7792712
relation P27
action find
entity Q13224677
relation P27
type Q15617994
{'OR': [['Q7792712', 'P27', {'concept': 'Q15617994'}], ['Q13224677', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?a property:P27 ?b . VALUES ( ?a ) { ( resource:Q7792712 ) ( resource:Q13224677 ) } } . ?b rdf:type ontology:Q15617994 }
Leonard Eric Newton Thomas Nevers
action filter_type
action union
action find
entity Thomas Nevers
relation country of citizenship
action find
entity Leonard Eric Newton
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Thomas Nevers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Leonard Eric Newton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?a property:country_of_citizenship ?b . VALUES ( ?a ) { ( resource:Thomas_Nevers ) ( resource:Leonard_Eric_Newton ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q117
SYSTEM
United States of America, Ghana
Q30 Q117
OR((Q7792712,P27,c(Q15617994)), (Q13224677,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7792712
relation P27
action find
entity Q13224677
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Thomas Nevers or Leonard Eric Newton
{'OR': [['Q7792712', 'P27', {'concept': 'Q15617994'}], ['Q13224677', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?a property:P27 ?b . VALUES ( ?a ) { ( resource:Q7792712 ) ( resource:Q13224677 ) } } . ?b rdf:type ontology:Q15617994 }
United States of America Ghana
United States of America and Ghana are the countries of citizenship of Thomas Nevers or Leonard Eric Newton
United States of America Ghana
action filter_type
action union
action find
entity Thomas Nevers
relation country of citizenship
action find
entity Leonard Eric Newton
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Thomas Nevers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Leonard Eric Newton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?a property:country_of_citizenship ?b . VALUES ( ?a ) { ( resource:Thomas_Nevers ) ( resource:Leonard_Eric_Newton ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q7275
USER
How many administrative territories and states have a shared border with that administrative territory ?
(Q30,P47,c(Q15617994)) (Q30,P47,c(Q7275)) (Q30,P47,c(Q15617994)) (Q30,P47,c(Q7275)) (Q117,P47,c(Q15617994)) (Q117,P47,c(Q7275))
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q7275'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q7275'}] ['Q117', 'P47', {'concept': 'Q15617994'}] ['Q117', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } UNION { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } UNION { resource:Q1769221 property:P47 ?z } UNION { resource:Q1769221 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7275 }
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}] ['Ghana', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Ghana', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } UNION { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } UNION { resource:Ghana property:shares_border_with ?z } UNION { resource:Ghana property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:state }
[]
designation for an administrative territorial entity state
Quantitative|Count|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } UNION { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } UNION { resource:Q1769221 property:P47 ?z } UNION { resource:Q1769221 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7275 }
Did you mean United States of America ?
United States of America
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } UNION { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } UNION { resource:Ghana property:shares_border_with ?z } UNION { resource:Ghana property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q30,P47,c(Q15617994)) (Q30,P47,c(Q7275)) (Q30,P47,c(Q15617994)) (Q30,P47,c(Q7275)) (Q117,P47,c(Q15617994)) (Q117,P47,c(Q7275))
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q7275'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q7275'}] ['Q117', 'P47', {'concept': 'Q15617994'}] ['Q117', 'P47', {'concept': 'Q7275'}]
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}] ['Ghana', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Ghana', 'shares border with', {'concept': 'state'}]
[]
SYSTEM
12 administrative territories and 1 states
Q248452 Q702 Q804 Q159 Q96 Q17 Q786 Q241 Q683 Q710 Q678 Q717 Q790
(Q30,P47,c(Q15617994)) (Q30,P47,c(Q7275)) (Q30,P47,c(Q15617994)) (Q30,P47,c(Q7275)) (Q117,P47,c(Q15617994)) (Q117,P47,c(Q7275))
[ANSWER]
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q7275'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q7275'}] ['Q117', 'P47', {'concept': 'Q15617994'}] ['Q117', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } UNION { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } UNION { resource:Q1769221 property:P47 ?z } UNION { resource:Q1769221 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q7275 }
British North America Federated States of Micronesia Panama Russia Mexico Japan Dominican Republic Cuba Samoa Kiribati Tonga Venezuela Haiti
12 administrative territories and 1 states
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}] ['Ghana', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Ghana', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } UNION { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } UNION { resource:Ghana property:shares_border_with ?z } UNION { resource:Ghana property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:state }
[]