Simple Question (Direct)
Simple Question
Q3993088
P54
Q1194951
USER
Which national sports team is Toni Tervonen a member of ?
(Q3993088,P54,c(Q1194951))
action filter_type
action find
entity Q3993088
relation P54
type Q1194951
['Q3993088', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q3993088 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Toni Tervonen
action filter_type
action find
entity Toni Tervonen
relation member of sports team
type national sports team
['Toni Tervonen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Toni_Tervonen property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
national sports team
Q186532
SYSTEM
Finland national football team
Q186532
(Q3993088,P54,c(Q1194951))
action filter_type
action find
entity Q3993088
relation P54
type Q1194951
The [ANSWER] is Toni Tervonen a member of
['Q3993088', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q3993088 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Finland national football team
The Finland national football team is Toni Tervonen a member of
Finland national football team
action filter_type
action find
entity Toni Tervonen
relation member of sports team
type national sports team
['Toni Tervonen', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Toni_Tervonen property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3993088
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q186532,P27,c(Q15617994))
action filter_type
action find
entity Q3993088
relation P27
type Q15617994
['Q186532', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3993088 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Toni Tervonen
action filter_type
action find
entity Toni Tervonen
relation country of citizenship
type designation for an administrative territorial entity
['Finland national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Toni_Tervonen property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q186532,P27,c(Q15617994))
action filter_type
action find
entity Q3993088
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q186532', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3993088 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Finland
Finland is that person a civilian of
Finland
action filter_type
action find
entity Toni Tervonen
relation country of citizenship
type designation for an administrative territorial entity
['Finland national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Toni_Tervonen property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3993088
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q33,P19,c(Q56061))
action filter_type
action find
entity Q3993088
relation P19
type Q56061
['Q33', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3993088 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Toni Tervonen
action filter_type
action find
entity Toni Tervonen
relation place of birth
type administrative territorial entity
['Finland', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Toni_Tervonen property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q33,P19,c(Q56061))
action filter_type
action find
entity Q3993088
relation P19
type Q56061
That person was born in [ANSWER]
['Q33', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3993088 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Helsinki
That person was born in Helsinki
Helsinki
action filter_type
action find
entity Toni Tervonen
relation place of birth
type administrative territorial entity
['Finland', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Toni_Tervonen property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q515 Q56061
USER
How many cities or administrative territories are sister town of that administrative territory ?
(c(Q515),P190,Q1757) (c(Q56061),P190,Q1757) (c(Q515),P190,Q1757) (c(Q56061),P190,Q1757)
action count
action union
action filter_type
action find_reverse
entity Q1757
relation P190
type Q515
action filter_type
action find_reverse
entity Q1757
relation P190
type Q56061
[{'concept': 'Q515'}, 'P190', 'Q1757'] [{'concept': 'Q56061'}, 'P190', 'Q1757'] [{'concept': 'Q515'}, 'P190', 'Q1757'] [{'concept': 'Q56061'}, 'P190', 'Q1757']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q515 ) ( ontology:Q56061 ) } }
action count
action union
action filter_type
action find_reverse
entity Helsinki
relation sister city
type city
action filter_type
action find_reverse
entity Helsinki
relation sister city
type administrative territorial entity
[{'concept': 'city'}, 'sister city', 'Helsinki'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Helsinki'] [{'concept': 'city'}, 'sister city', 'Helsinki'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Helsinki']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } }
[]
city administrative territorial entity
SYSTEM
9
Q1764 Q226 Q1754 Q1748 Q585 Q472 Q1899 Q1085 Q10704
(c(Q515),P190,Q1757) (c(Q56061),P190,Q1757) (c(Q515),P190,Q1757) (c(Q56061),P190,Q1757)
action count
action union
action filter_type
action find_reverse
entity Q1757
relation P190
type Q515
action filter_type
action find_reverse
entity Q1757
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q515'}, 'P190', 'Q1757'] [{'concept': 'Q56061'}, 'P190', 'Q1757'] [{'concept': 'Q515'}, 'P190', 'Q1757'] [{'concept': 'Q56061'}, 'P190', 'Q1757']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:Q515 ) ( ontology:Q56061 ) } }
Reykjavík Nuuk Stockholm Copenhagen Oslo Sofia Kyiv Prague Tórshavn
9
action count
action union
action filter_type
action find_reverse
entity Helsinki
relation sister city
type city
action filter_type
action find_reverse
entity Helsinki
relation sister city
type administrative territorial entity
[{'concept': 'city'}, 'sister city', 'Helsinki'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Helsinki'] [{'concept': 'city'}, 'sister city', 'Helsinki'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Helsinki']
SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { ?x rdf:type ?u . VALUES ( ?u ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1135511 Q3993088
P106
Q12737077
USER
Which occupations have Toni Tervonen or Ivan Antonavič Laskoŭ as his/her as a career ?
OR((Q3993088,P106,c(Q12737077)), (Q1135511,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3993088
relation P106
action find
entity Q1135511
relation P106
type Q12737077
{'OR': [['Q3993088', 'P106', {'concept': 'Q12737077'}], ['Q1135511', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { ?b property:P106 ?x . VALUES ( ?b ) { ( resource:Q3993088 ) ( resource:Q1135511 ) } } . ?x rdf:type ontology:Q12737077 }
Ivan Antonavič Laskoŭ Toni Tervonen
action filter_type
action union
action find
entity Toni Tervonen
relation occupation
action find
entity Ivan Antonavič Laskoŭ
relation occupation
type occupation
{'OR': [['Toni Tervonen', 'occupation', {'concept': 'occupation'}], ['Ivan Antonavič Laskoŭ', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { ?b property:occupation ?x . VALUES ( ?b ) { ( resource:Toni_Tervonen ) ( resource:Ivan_Antonavič_Laskoŭ ) } } . ?x rdf:type ontology:occupation }
[]
occupation
Q17167049 Q333634 Q937857 Q36180 Q49757
SYSTEM
specialist in literature, translator, association football player, writer, poet
Q17167049 Q333634 Q937857 Q36180 Q49757
OR((Q3993088,P106,c(Q12737077)), (Q1135511,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3993088
relation P106
action find
entity Q1135511
relation P106
type Q12737077
The [ANSWERS] have Toni Tervonen or Ivan Antonavič Laskoŭ as his/her as a career
{'OR': [['Q3993088', 'P106', {'concept': 'Q12737077'}], ['Q1135511', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?x WHERE { { ?b property:P106 ?x . VALUES ( ?b ) { ( resource:Q3993088 ) ( resource:Q1135511 ) } } . ?x rdf:type ontology:Q12737077 }
specialist in literature translator association football player writer poet
The specialist in literature, translator, association football player, writer and poet have Toni Tervonen or Ivan Antonavič Laskoŭ as his/her as a career
specialist in literature translator association football player writer poet
action filter_type
action union
action find
entity Toni Tervonen
relation occupation
action find
entity Ivan Antonavič Laskoŭ
relation occupation
type occupation
{'OR': [['Toni Tervonen', 'occupation', {'concept': 'occupation'}], ['Ivan Antonavič Laskoŭ', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?x WHERE { { ?b property:occupation ?x . VALUES ( ?b ) { ( resource:Toni_Tervonen ) ( resource:Ivan_Antonavič_Laskoŭ ) } } . ?x rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q188451 Q6619679
USER
How many music genres or fictional humanoids have that occupation as his/her means of employment ?
(c(Q188451),P106,Q937857) (c(Q6619679),P106,Q937857) (c(Q188451),P106,Q17167049) (c(Q6619679),P106,Q17167049) (c(Q188451),P106,Q333634) (c(Q6619679),P106,Q333634) (c(Q188451),P106,Q937857) (c(Q6619679),P106,Q937857) (c(Q188451),P106,Q36180) (c(Q6619679),P106,Q36180) (c(Q188451),P106,Q49757) (c(Q6619679),P106,Q49757)
[{'concept': 'Q188451'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q188451'}, 'P106', 'Q17167049'] [{'concept': 'Q6619679'}, 'P106', 'Q17167049'] [{'concept': 'Q188451'}, 'P106', 'Q333634'] [{'concept': 'Q6619679'}, 'P106', 'Q333634'] [{'concept': 'Q188451'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q188451'}, 'P106', 'Q36180'] [{'concept': 'Q6619679'}, 'P106', 'Q36180'] [{'concept': 'Q188451'}, 'P106', 'Q49757'] [{'concept': 'Q6619679'}, 'P106', 'Q49757']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q17167049 } UNION { ?y property:Q528892 resource:Q17167049 } UNION { ?z property:Q528892 resource:Q4462013 } UNION { ?y property:Q528892 resource:Q4462013 } UNION { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q36180 } UNION { ?y property:Q528892 resource:Q36180 } UNION { ?z property:Q528892 resource:Q49757 } UNION { ?y property:Q528892 resource:Q49757 } } . ?z rdf:type ontology:Q188451 . ?y rdf:type ontology:Q6619679 }
[{'concept': 'music genre'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'music genre'}, 'occupation', 'specialist in literature'] [{'concept': 'fictional humanoid'}, 'occupation', 'specialist in literature'] [{'concept': 'music genre'}, 'occupation', 'translator'] [{'concept': 'fictional humanoid'}, 'occupation', 'translator'] [{'concept': 'music genre'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'music genre'}, 'occupation', 'writer'] [{'concept': 'fictional humanoid'}, 'occupation', 'writer'] [{'concept': 'music genre'}, 'occupation', 'poet'] [{'concept': 'fictional humanoid'}, 'occupation', 'poet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:specialist_in_literature } UNION { ?y property:occupation resource:specialist_in_literature } UNION { ?z property:occupation resource:translator } UNION { ?y property:occupation resource:translator } UNION { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:writer } UNION { ?y property:occupation resource:writer } UNION { ?z property:occupation resource:poet } UNION { ?y property:occupation resource:poet } } . ?z rdf:type ontology:music_genre . ?y rdf:type ontology:fictional_humanoid }
[]
music genre fictional humanoid
Quantitative|Count|Mult. entity type|Clarification
Q36180
SYSTEM
Did you mean writer ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q17167049 } UNION { ?y property:Q528892 resource:Q17167049 } UNION { ?z property:Q528892 resource:Q4462013 } UNION { ?y property:Q528892 resource:Q4462013 } UNION { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q36180 } UNION { ?y property:Q528892 resource:Q36180 } UNION { ?z property:Q528892 resource:Q49757 } UNION { ?y property:Q528892 resource:Q49757 } } . ?z rdf:type ontology:Q188451 . ?y rdf:type ontology:Q6619679 }
Did you mean writer ?
writer
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:specialist_in_literature } UNION { ?y property:occupation resource:specialist_in_literature } UNION { ?z property:occupation resource:translator } UNION { ?y property:occupation resource:translator } UNION { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:writer } UNION { ?y property:occupation resource:writer } UNION { ?z property:occupation resource:poet } UNION { ?y property:occupation resource:poet } } . ?z rdf:type ontology:music_genre . ?y rdf:type ontology:fictional_humanoid }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant association football player. Could you tell me the answer for that?
(c(Q188451),P106,Q937857) (c(Q6619679),P106,Q937857) (c(Q188451),P106,Q17167049) (c(Q6619679),P106,Q17167049) (c(Q188451),P106,Q333634) (c(Q6619679),P106,Q333634) (c(Q188451),P106,Q937857) (c(Q6619679),P106,Q937857) (c(Q188451),P106,Q36180) (c(Q6619679),P106,Q36180) (c(Q188451),P106,Q49757) (c(Q6619679),P106,Q49757)
Q937857
[{'concept': 'Q188451'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q188451'}, 'P106', 'Q17167049'] [{'concept': 'Q6619679'}, 'P106', 'Q17167049'] [{'concept': 'Q188451'}, 'P106', 'Q333634'] [{'concept': 'Q6619679'}, 'P106', 'Q333634'] [{'concept': 'Q188451'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q188451'}, 'P106', 'Q36180'] [{'concept': 'Q6619679'}, 'P106', 'Q36180'] [{'concept': 'Q188451'}, 'P106', 'Q49757'] [{'concept': 'Q6619679'}, 'P106', 'Q49757']
[{'concept': 'music genre'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'music genre'}, 'occupation', 'specialist in literature'] [{'concept': 'fictional humanoid'}, 'occupation', 'specialist in literature'] [{'concept': 'music genre'}, 'occupation', 'translator'] [{'concept': 'fictional humanoid'}, 'occupation', 'translator'] [{'concept': 'music genre'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'music genre'}, 'occupation', 'writer'] [{'concept': 'fictional humanoid'}, 'occupation', 'writer'] [{'concept': 'music genre'}, 'occupation', 'poet'] [{'concept': 'fictional humanoid'}, 'occupation', 'poet']
[]
SYSTEM
25
Q8994224 Q4933787 Q3482197 Q5292194 Q3498435 Q10303719 Q5220860 Q5246215 Q2567460 Q7384370 Q6163280 Q5049092 Q1000043 Q7626893 Q6371793 Q2939461 Q7937796 Q5136888 Q3482651 Q6701906 Q5195672 Q1000560 Q4913115 Q5360264 Q5489814
(c(Q188451),P106,Q937857) (c(Q6619679),P106,Q937857) (c(Q188451),P106,Q17167049) (c(Q6619679),P106,Q17167049) (c(Q188451),P106,Q333634) (c(Q6619679),P106,Q333634) (c(Q188451),P106,Q937857) (c(Q6619679),P106,Q937857) (c(Q188451),P106,Q36180) (c(Q6619679),P106,Q36180) (c(Q188451),P106,Q49757) (c(Q6619679),P106,Q49757)
[ANSWER]
[{'concept': 'Q188451'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q188451'}, 'P106', 'Q17167049'] [{'concept': 'Q6619679'}, 'P106', 'Q17167049'] [{'concept': 'Q188451'}, 'P106', 'Q333634'] [{'concept': 'Q6619679'}, 'P106', 'Q333634'] [{'concept': 'Q188451'}, 'P106', 'Q937857'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q188451'}, 'P106', 'Q36180'] [{'concept': 'Q6619679'}, 'P106', 'Q36180'] [{'concept': 'Q188451'}, 'P106', 'Q49757'] [{'concept': 'Q6619679'}, 'P106', 'Q49757']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q17167049 } UNION { ?y property:Q528892 resource:Q17167049 } UNION { ?z property:Q528892 resource:Q4462013 } UNION { ?y property:Q528892 resource:Q4462013 } UNION { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } UNION { ?z property:Q528892 resource:Q36180 } UNION { ?y property:Q528892 resource:Q36180 } UNION { ?z property:Q528892 resource:Q49757 } UNION { ?y property:Q528892 resource:Q49757 } } . ?z rdf:type ontology:Q188451 . ?y rdf:type ontology:Q6619679 }
Lee Presley Bob Ridley Shingo Aoi Don Barker Stephan Levin Tachibana brothers Danny Sullivan Dean Hocknell Santiago Muñez Cardona Ryan Naysmith Jason Porter Casper Rose Ken Wakashimazu Stuart Naysmith Karl Fletcher Carlos Santana Vivian Wright Clyde Connelly Shun Nitta Luke Davenport Curtis Alexander Hikaru Matsuyama Billy O'Neil Eli Knox Frank Stone
25
[{'concept': 'music genre'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'music genre'}, 'occupation', 'specialist in literature'] [{'concept': 'fictional humanoid'}, 'occupation', 'specialist in literature'] [{'concept': 'music genre'}, 'occupation', 'translator'] [{'concept': 'fictional humanoid'}, 'occupation', 'translator'] [{'concept': 'music genre'}, 'occupation', 'association football player'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'music genre'}, 'occupation', 'writer'] [{'concept': 'fictional humanoid'}, 'occupation', 'writer'] [{'concept': 'music genre'}, 'occupation', 'poet'] [{'concept': 'fictional humanoid'}, 'occupation', 'poet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:specialist_in_literature } UNION { ?y property:occupation resource:specialist_in_literature } UNION { ?z property:occupation resource:translator } UNION { ?y property:occupation resource:translator } UNION { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } UNION { ?z property:occupation resource:writer } UNION { ?y property:occupation resource:writer } UNION { ?z property:occupation resource:poet } UNION { ?y property:occupation resource:poet } } . ?z rdf:type ontology:music_genre . ?y rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1757
P1376
Q15617994
USER
Which administrative territory has Helsinki as its county seat ?
(Q1757,P1376,c(Q15617994))
action filter_type
action find
entity Q1757
relation P1376
type Q15617994
['Q1757', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1757 property:P1376 ?u . ?u rdf:type ontology:Q15617994 }
Helsinki
action filter_type
action find
entity Helsinki
relation capital of
type designation for an administrative territorial entity
['Helsinki', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Helsinki property:capital_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q1757,P1376,c(Q15617994))
action filter_type
action find
entity Q1757
relation P1376
type Q15617994
In [ANSWER] has Helsinki as its county seat
['Q1757', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1757 property:P1376 ?u . ?u rdf:type ontology:Q15617994 }
Finland
In Finland has Helsinki as its county seat
Finland
action filter_type
action find
entity Helsinki
relation capital of
type designation for an administrative territorial entity
['Helsinki', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Helsinki property:capital_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1757
P36
Q1048835
USER
Which political territory consists of Helsinki as its capital ?
(c(Q1048835),P36,Q1757)
action filter_type
action find_reverse
entity Q1757
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q1757']
SELECT DISTINCT ?j WHERE { ?j property:P36 resource:Q1757 . ?j rdf:type ontology:Q1048835 }
Helsinki
action filter_type
action find_reverse
entity Helsinki
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Helsinki']
SELECT DISTINCT ?j WHERE { ?j property:capital resource:Helsinki . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q5711
SYSTEM
Uusimaa
Q5711
(c(Q1048835),P36,Q1757)
action filter_type
action find_reverse
entity Q1757
relation P36
type Q1048835
[ANSWER] consists of Helsinki as its capital
[{'concept': 'Q1048835'}, 'P36', 'Q1757']
SELECT DISTINCT ?j WHERE { ?j property:P36 resource:Q1757 . ?j rdf:type ontology:Q1048835 }
Uusimaa
Uusimaa consists of Helsinki as its capital
Uusimaa
action filter_type
action find_reverse
entity Helsinki
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Helsinki']
SELECT DISTINCT ?j WHERE { ?j property:capital resource:Helsinki . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1757
P931
Q62447
USER
Which city do that administrative territory serve ?
(c(Q62447),P931,Q5711)
action filter_type
action find_reverse
entity Q1757
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q5711']
SELECT DISTINCT ?c WHERE { ?c property:P931 resource:Q1757 . ?c rdf:type ontology:Q62447 }
Helsinki
action filter_type
action find_reverse
entity Helsinki
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Uusimaa']
SELECT DISTINCT ?c WHERE { ?c property:place_served_by_airport resource:Helsinki . ?c rdf:type ontology:aerodrome }
[]
aerodrome
Q1020862 Q20732200 Q215327
SYSTEM
Hernesaari Heliport, Katajanokka Airport, Helsinki Airport
Q1020862 Q20732200 Q215327
(c(Q62447),P931,Q5711)
action filter_type
action find_reverse
entity Q1757
relation P931
type Q62447
That administrative territory serve [ANSWERS]
[{'concept': 'Q62447'}, 'P931', 'Q5711']
SELECT DISTINCT ?c WHERE { ?c property:P931 resource:Q1757 . ?c rdf:type ontology:Q62447 }
Hernesaari Heliport Katajanokka Airport Helsinki Airport
That administrative territory serve Hernesaari Heliport, Katajanokka Airport and Helsinki Airport
Hernesaari Heliport Katajanokka Airport Helsinki Airport
action filter_type
action find_reverse
entity Helsinki
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Uusimaa']
SELECT DISTINCT ?c WHERE { ?c property:place_served_by_airport resource:Helsinki . ?c rdf:type ontology:aerodrome }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1427
Q62447 Q3839081
USER
Which aerodromes do less number of disasters start than that aerodrome ?
(c(Q3839081),P1427,c(Q62447))
[{'concept': 'Q3839081'}, 'P1427', {'concept': 'Q62447'}]
SELECT DISTINCT ?y WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q3839081 . ?y rdf:type ontology:Q62447 }
[{'concept': 'disaster'}, 'start point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?y WHERE { ?z property:start_point ?y . ?z rdf:type ontology:disaster . ?y rdf:type ontology:aerodrome }
[]
aerodrome disaster
Comparative|More/Less|Single entity type|Clarification
Q20732200
SYSTEM
Did you mean Katajanokka Airport ?
(c(Q3839081),P1427,c(Q62447))
[ANSWER]
[{'concept': 'Q3839081'}, 'P1427', {'concept': 'Q62447'}]
SELECT DISTINCT ?y WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q3839081 . ?y rdf:type ontology:Q62447 }
Did you mean Katajanokka Airport ?
Katajanokka Airport
[{'concept': 'disaster'}, 'start point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?y WHERE { ?z property:start_point ?y . ?z rdf:type ontology:disaster . ?y rdf:type ontology:aerodrome }
[]
Comparative Reasoning (All)
USER
No, I meant Helsinki Airport. Could you tell me the answer for that?
(c(Q3839081),P1427,c(Q62447))
Q215327
[{'concept': 'Q3839081'}, 'P1427', {'concept': 'Q62447'}]
[{'concept': 'disaster'}, 'start point', {'concept': 'aerodrome'}]
[]
Q652505 Q1083424 Q1319833
SYSTEM
Detroit Metropolitan Wayne County Airport, Incirlik Air Base, Ottawa Macdonald-Cartier International Airport
Q1048704 Q2886559 Q932514 Q1332829 Q860952 Q1951782 Q8190680 Q19803527 Q645492 Q1837190 Q652505 Q130193 Q1344758 Q1466205 Q1433064 Q1083424 Q2393266 Q1431631 Q16810 Q1432440 Q321224 Q1658147 Q8044188 Q1432149 Q1432399 Q1578972 Q1935013 Q598215 Q623452 Q3545147 Q16208919 Q18214087 Q301121 Q19801298 Q372615 Q19101 Q2985800 Q2231318 Q6388881 Q19953704 Q2566737 Q1431482 Q217226 Q2089913 Q3017040 Q1319833 Q1756906 Q2875811 Q1194015 Q1131604 Q527157 Q1122958 Q5467646 Q702019
(c(Q3839081),P1427,c(Q62447))
[ANSWERS] less number of disasters start than that aerodrome
[{'concept': 'Q3839081'}, 'P1427', {'concept': 'Q62447'}]
SELECT DISTINCT ?y WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q3839081 . ?y rdf:type ontology:Q62447 }
Mactan–Cebu International Airport Shindand Air Base Tenerife North Airport Soewondo Air Force Base Tashkent International Airport Aguenar–Hadj Bey Akhamok Airport Pocatello Regional Airport Cricklewood Aerodrome N'djili Airport Chabua Air Force Station Detroit Metropolitan Wayne County Airport Victoria International Airport San Pablo Airport Trivandrum International Airport Tijuana International Airport Incirlik Air Base Balkhash Airport Juanda International Airport Kaohsiung International Airport Port Columbus International Airport Vancouver International Airport Comandante Gustavo Kraemer Airport Xiangyun Airport Simon Mwansa Kapwepwe International Airport Pokhara Airport Albuquerque International Sunport Prague-Kbely Airport Biskra Airport Houari Boumediene Airport Lincoln Airport Béchar Airport Fort Lamy Air Base Newtownards Airport Metropolitano Airport Toulouse–Blagnac Airport Leonardo da Vinci–Fiumicino Airport Gilgit Airport Albano Machado Airport Miami Executive Airport Kattleberg Airport Yiwu Airport Herat International Airport Tirana International Airport Lubango Airport INS Hansa Ottawa Macdonald-Cartier International Airport Nepalgunj Airport Bamyan Airport Borg El Arab Airport Oulu Airport Kuwait International Airport Juba International Airport Ford Airport Taipei Songshan Airport
Detroit Metropolitan Wayne County Airport, Incirlik Air Base and Ottawa Macdonald-Cartier International Airport less number of disasters start than that aerodrome
Detroit Metropolitan Wayne County Airport Incirlik Air Base Ottawa Macdonald-Cartier International Airport
[{'concept': 'disaster'}, 'start point', {'concept': 'aerodrome'}]
SELECT DISTINCT ?y WHERE { ?z property:start_point ?y . ?z rdf:type ontology:disaster . ?y rdf:type ontology:aerodrome }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q62447 Q3839081
USER
How many disasters end their journey at atmost 1 aerodrome ?
(c(Q3839081),P1444,c(Q62447))
action count
action atmost
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
value 1
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?r ) WHERE { ?o property:P1444 ?k . ?o rdf:type ontology:Q3839081 . ?k rdf:type ontology:Q62447 } GROUP BY ?o } . FILTER ( ?r <= 1 ) }
action count
action atmost
action find_tuple_counts
relation destination point
type disaster
type aerodrome
value 1
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?r ) WHERE { ?o property:destination_point ?k . ?o rdf:type ontology:disaster . ?k rdf:type ontology:aerodrome } GROUP BY ?o } . FILTER ( ?r <= 1 ) }
[]
aerodrome disaster
SYSTEM
53
Q173973 Q4055787 Q21995232 Q251039 Q4217221 Q1434078 Q16986203 Q1573486 Q783597 Q17988809 Q24091473 Q23253749 Q16894153 Q463237 Q15908324 Q7672526 Q406535 Q1326918 Q4816544 Q2054084 Q2634895 Q23936619 Q24908390 Q1428147 Q2062178 Q4016231 Q20823597 Q3562572 Q17374096 Q185380 Q19569675 Q2003519 Q941612 Q18396768 Q7184944 Q21282782 Q18380400 Q4115786 Q4919790 Q384845 Q2335758 Q4969273 Q638603 Q11971365 Q406609 Q17410088 Q18147604 Q2822699 Q381183 Q131311 Q435605 Q1467946 Q223288
(c(Q3839081),P1444,c(Q62447))
action count
action atmost
action find_tuple_counts
relation P1444
type Q3839081
type Q62447
value 1
[ANSWER]
[{'concept': 'Q3839081'}, 'P1444', {'concept': 'Q62447'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?r ) WHERE { ?o property:P1444 ?k . ?o rdf:type ontology:Q3839081 . ?k rdf:type ontology:Q62447 } GROUP BY ?o } . FILTER ( ?r <= 1 ) }
Swissair Flight 306 Cyprus Airways Flight 284 West Air Sweden Flight 294 US Airways Flight 1549 PIA Flight 705 1972 Königs Wusterhausen air disaster Inex-Adria Aviopromet Flight 450 LOT Flight 7 American Airlines Flight 1420 2014 SOCATA TBM crash EgyptAir Flight 804 Flydubai Flight 981 LIAT Flight 319 American Airlines Flight 77 Malaysia Airlines Flight 370 TWA Flight 841 Air France Flight 4590 Ethiopian Airlines Flight 961 Atlantic Southeast Airlines Flight 2311 LOT Polish Airlines Flight 16 Nigeria Airways Flight 2120 2016 Turøy helicopter crash 2016 Sunbird Aviation crash Banat Air Flight 166 Kegworth air disaster Airlines PNG Flight 4684 Trigana Air Service Flight 257 Inex-Adria Aviopromet Flight 1308 Malaysia Airlines Flight 17 Air France Flight 447 Delta Air Lines Flight 1086 Air Canada Flight 797 American Airlines Flight 965 2014 Virgin Galactic crash Philippine Airlines Flight 143 Metrojet Flight 9268 2014 Wichita plane crash TWA Flight 903 Thai Airways International Flight 311 American Airlines Flight 587 Gulf Air Flight 771 Britannia Airways Flight 105 United Airlines Flight 93 Førdesveten plane crash Air Transat Flight 236 Air Algérie Flight 5017 Aero Flight 217 1955 MacArthur Airport United Airlines crash Aero Flight 311 2010 Polish Air Force Tu-154 crash British Airways Flight 9 Malaysian Airline System Flight 653 Tenerife airport disaster
53
action count
action atmost
action find_tuple_counts
relation destination point
type disaster
type aerodrome
value 1
[{'concept': 'disaster'}, 'destination point', {'concept': 'aerodrome'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?r ) WHERE { ?o property:destination_point ?k . ?o rdf:type ontology:disaster . ?k rdf:type ontology:aerodrome } GROUP BY ?o } . FILTER ( ?r <= 1 ) }
[]