Simple Question (Direct)
Simple Question
Q5896801
P19
Q15700808
USER
Which urban unit definition is the place of birth of Peter Kadhammar ?
(Q5896801,P19,c(Q15700808))
action filter_type
action find
entity Q5896801
relation P19
type Q15700808
['Q5896801', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?u WHERE { resource:Q5896801 property:P19 ?u . ?u rdf:type ontology:Q15700808 }
Peter Kadhammar
action filter_type
action find
entity Peter Kadhammar
relation place of birth
type urban unit definition
['Peter Kadhammar', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?u WHERE { resource:Peter_Kadhammar property:place_of_birth ?u . ?u rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q368574
SYSTEM
Säffle
Q368574
(Q5896801,P19,c(Q15700808))
action filter_type
action find
entity Q5896801
relation P19
type Q15700808
[ANSWER] is the place of birth of Peter Kadhammar
['Q5896801', 'P19', {'concept': 'Q15700808'}]
SELECT DISTINCT ?u WHERE { resource:Q5896801 property:P19 ?u . ?u rdf:type ontology:Q15700808 }
Säffle
Säffle is the place of birth of Peter Kadhammar
Säffle
action filter_type
action find
entity Peter Kadhammar
relation place of birth
type urban unit definition
['Peter Kadhammar', 'place of birth', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?u WHERE { resource:Peter_Kadhammar property:place_of_birth ?u . ?u rdf:type ontology:urban_unit_definition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5896801
P21
Q290
USER
Which sex does that person have ?
(Q368574,P21,c(Q290))
action filter_type
action find
entity Q5896801
relation P21
type Q290
['Q368574', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5896801 property:P21 ?i . ?i rdf:type ontology:Q290 }
Peter Kadhammar
action filter_type
action find
entity Peter Kadhammar
relation gender
type sex
['Säffle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Peter_Kadhammar property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q368574,P21,c(Q290))
action filter_type
action find
entity Q5896801
relation P21
type Q290
That person has a [ANSWER]
['Q368574', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5896801 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Peter Kadhammar
relation gender
type sex
['Säffle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Peter_Kadhammar property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5896801
P106
Q12737077
USER
What do Peter Kadhammar do for a living ?
(Q5896801,P106,c(Q12737077))
action filter_type
action find
entity Q5896801
relation P106
type Q12737077
['Q5896801', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5896801 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Peter Kadhammar
action filter_type
action find
entity Peter Kadhammar
relation occupation
type occupation
['Peter Kadhammar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Peter_Kadhammar property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
(Q5896801,P106,c(Q12737077))
action filter_type
action find
entity Q5896801
relation P106
type Q12737077
The [ANSWERS] Peter Kadhammar do for a living
['Q5896801', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5896801 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
journalist writer
The journalist and writer Peter Kadhammar do for a living
journalist writer
action filter_type
action find
entity Peter Kadhammar
relation occupation
type occupation
['Peter Kadhammar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Peter_Kadhammar property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5896801
P27
Q15617994
USER
Which administrative territory is the native country of Peter Kadhammar ?
(Q5896801,P27,c(Q15617994))
action filter_type
action find
entity Q5896801
relation P27
type Q15617994
['Q5896801', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q5896801 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Peter Kadhammar
action filter_type
action find
entity Peter Kadhammar
relation country of citizenship
type designation for an administrative territorial entity
['Peter Kadhammar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Peter_Kadhammar property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q5896801,P27,c(Q15617994))
action filter_type
action find
entity Q5896801
relation P27
type Q15617994
[ANSWER] is the native country of Peter Kadhammar
['Q5896801', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q5896801 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Sweden
Sweden is the native country of Peter Kadhammar
Sweden
action filter_type
action find
entity Peter Kadhammar
relation country of citizenship
type designation for an administrative territorial entity
['Peter Kadhammar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Peter_Kadhammar property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7503982 Q5896801
P27
Q15617994
USER
Or Shrikrishna Narayan Ratanjankar?
OR((Q5896801,P27,c(Q15617994)), (Q7503982,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5896801
relation P27
action find
entity Q7503982
relation P27
type Q15617994
{'OR': [['Q5896801', 'P27', {'concept': 'Q15617994'}], ['Q7503982', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?k ) { ( resource:Q7503982 ) ( resource:Q5896801 ) } . ?k property:P27 ?f } . ?f rdf:type ontology:Q15617994 }
Shrikrishna Narayan Ratanjankar Peter Kadhammar
action filter_type
action union
action find
entity Peter Kadhammar
relation country of citizenship
action find
entity Shrikrishna Narayan Ratanjankar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Peter Kadhammar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Shrikrishna Narayan Ratanjankar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?k ) { ( resource:Shrikrishna_Narayan_Ratanjankar ) ( resource:Peter_Kadhammar ) } . ?k property:country_of_citizenship ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34 Q668
SYSTEM
Sweden, India
Q34 Q668
OR((Q5896801,P27,c(Q15617994)), (Q7503982,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5896801
relation P27
action find
entity Q7503982
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q5896801', 'P27', {'concept': 'Q15617994'}], ['Q7503982', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?k ) { ( resource:Q7503982 ) ( resource:Q5896801 ) } . ?k property:P27 ?f } . ?f rdf:type ontology:Q15617994 }
Sweden India
Sweden India
action filter_type
action union
action find
entity Peter Kadhammar
relation country of citizenship
action find
entity Shrikrishna Narayan Ratanjankar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Peter Kadhammar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Shrikrishna Narayan Ratanjankar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?k ) { ( resource:Shrikrishna_Narayan_Ratanjankar ) ( resource:Peter_Kadhammar ) } . ?k property:country_of_citizenship ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16929791
P27
Q502895
USER
Are Pragya Yadav a citizen of those administrative territories ?
(Q16929791,P27,Q34) (Q16929791,P27,Q668)
action is_in
entity prev_answer
action find
entity Q16929791
relation P27
['Q16929791', 'P27', 'Q34'] ['Q16929791', 'P27', 'Q668']
ASK WHERE { resource:Q16929791 property:P27 ?f . VALUES ( ?f ) { ( resource:Q34 ) ( resource:Q668 ) } }
Pragya Yadav
action is_in
entity prev_answer
action find
entity Pragya Yadav
relation country of citizenship
['Pragya Yadav', 'country of citizenship', 'Sweden'] ['Pragya Yadav', 'country of citizenship', 'India']
ASK WHERE { resource:Pragya_Yadav property:country_of_citizenship ?f . VALUES ( ?f ) { ( resource:Sweden ) ( resource:India ) } }
[]
common name
SYSTEM
YES
(Q16929791,P27,Q34) (Q16929791,P27,Q668)
action is_in
entity prev_answer
action find
entity Q16929791
relation P27
[ANSWER]
['Q16929791', 'P27', 'Q34'] ['Q16929791', 'P27', 'Q668']
ASK WHERE { resource:Q16929791 property:P27 ?f . VALUES ( ?f ) { ( resource:Q34 ) ( resource:Q668 ) } }
Yes
action is_in
entity prev_answer
action find
entity Pragya Yadav
relation country of citizenship
['Pragya Yadav', 'country of citizenship', 'Sweden'] ['Pragya Yadav', 'country of citizenship', 'India']
ASK WHERE { resource:Pragya_Yadav property:country_of_citizenship ?f . VALUES ( ?f ) { ( resource:Sweden ) ( resource:India ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q668
P138
Q102786 Q4373292
USER
How many abbreviations or physical properties are the eponym of India ?
(c(Q102786),P138,Q668) (c(Q4373292),P138,Q668)
action count
action union
action filter_type
action find_reverse
entity Q668
relation P138
type Q102786
action filter_type
action find_reverse
entity Q668
relation P138
type Q4373292
[{'concept': 'Q102786'}, 'P138', 'Q668'] [{'concept': 'Q4373292'}, 'P138', 'Q668']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:P138 resource:Q668 . ?p rdf:type ontology:Q4373292 } UNION { ?p rdf:type ontology:Q102786 . ?p property:P138 resource:Q668 } }
India
action count
action union
action filter_type
action find_reverse
entity India
relation named after
type abbreviation
action filter_type
action find_reverse
entity India
relation named after
type physical property
[{'concept': 'abbreviation'}, 'named after', 'India'] [{'concept': 'physical property'}, 'named after', 'India']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:named_after resource:India . ?p rdf:type ontology:physical_property } UNION { ?p rdf:type ontology:abbreviation . ?p property:named_after resource:India } }
[]
abbreviation physical property
SYSTEM
2
Q833202 Q24574924
(c(Q102786),P138,Q668) (c(Q4373292),P138,Q668)
action count
action union
action filter_type
action find_reverse
entity Q668
relation P138
type Q102786
action filter_type
action find_reverse
entity Q668
relation P138
type Q4373292
[ANSWER]
[{'concept': 'Q102786'}, 'P138', 'Q668'] [{'concept': 'Q4373292'}, 'P138', 'Q668']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:P138 resource:Q668 . ?p rdf:type ontology:Q4373292 } UNION { ?p rdf:type ontology:Q102786 . ?p property:P138 resource:Q668 } }
BRIC India green
2
action count
action union
action filter_type
action find_reverse
entity India
relation named after
type abbreviation
action filter_type
action find_reverse
entity India
relation named after
type physical property
[{'concept': 'abbreviation'}, 'named after', 'India'] [{'concept': 'physical property'}, 'named after', 'India']
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { ?p property:named_after resource:India . ?p rdf:type ontology:physical_property } UNION { ?p rdf:type ontology:abbreviation . ?p property:named_after resource:India } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q34 Q183
P17
Q83620
USER
How many thoroughfares are present in Sweden and Germany ?
(c(Q83620),P17,Q34) (c(Q83620),P17,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q34
relation P17
type Q83620
action filter_type
action find_reverse
entity Q183
relation P17
type Q83620
[{'concept': 'Q83620'}, 'P17', 'Q34'] [{'concept': 'Q83620'}, 'P17', 'Q183']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ontology:Q83620 . ?y property:P17 resource:Q183 . ?y property:P17 resource:Q34 . ?y rdf:type ontology:Q83620 }
Sweden Germany
action count
action intersection
action filter_type
action find_reverse
entity Sweden
relation country
type thoroughfare
action filter_type
action find_reverse
entity Germany
relation country
type thoroughfare
[{'concept': 'thoroughfare'}, 'country', 'Sweden'] [{'concept': 'thoroughfare'}, 'country', 'Germany']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ontology:thoroughfare . ?y property:country resource:Germany . ?y property:country resource:Sweden . ?y rdf:type ontology:thoroughfare }
[]
thoroughfare
SYSTEM
5
Q313410 Q25342377 Q322164 Q276570 Q692012
(c(Q83620),P17,Q34) (c(Q83620),P17,Q183)
action count
action intersection
action filter_type
action find_reverse
entity Q34
relation P17
type Q83620
action filter_type
action find_reverse
entity Q183
relation P17
type Q83620
[ANSWER]
[{'concept': 'Q83620'}, 'P17', 'Q34'] [{'concept': 'Q83620'}, 'P17', 'Q183']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ontology:Q83620 . ?y property:P17 resource:Q183 . ?y property:P17 resource:Q34 . ?y rdf:type ontology:Q83620 }
European route E55 Kaptour European route E22 European route E45 European route E47
5
action count
action intersection
action filter_type
action find_reverse
entity Sweden
relation country
type thoroughfare
action filter_type
action find_reverse
entity Germany
relation country
type thoroughfare
[{'concept': 'thoroughfare'}, 'country', 'Sweden'] [{'concept': 'thoroughfare'}, 'country', 'Germany']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { ?y rdf:type ontology:thoroughfare . ?y property:country resource:Germany . ?y property:country resource:Sweden . ?y rdf:type ontology:thoroughfare }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3185734 Q34
P530 P27
Q1048835
USER
Which political territories have diplomatic relationships with Sweden and are Joseph Versailles an inhabitant of ?
AND((Q34,P530,c(Q1048835)), (Q3185734,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q34
relation P530
action find
entity Q3185734
relation P27
type Q1048835
{'AND': [['Q34', 'P530', {'concept': 'Q1048835'}], ['Q3185734', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q34 property:P530 ?i . resource:Q3185734 property:P27 ?i }
Joseph Versailles Sweden
action filter_type
action intersection
action find
entity Sweden
relation diplomatic relation
action find
entity Joseph Versailles
relation country of citizenship
type political territorial entity
{'AND': [['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Joseph Versailles', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Sweden property:diplomatic_relation ?i . resource:Joseph_Versailles property:country_of_citizenship ?i }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
AND((Q34,P530,c(Q1048835)), (Q3185734,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q34
relation P530
action find
entity Q3185734
relation P27
type Q1048835
[ANSWER] have diplomatic relationships with Sweden and are Joseph Versailles an inhabitant of
{'AND': [['Q34', 'P530', {'concept': 'Q1048835'}], ['Q3185734', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q34 property:P530 ?i . resource:Q3185734 property:P27 ?i }
Canada
Canada have diplomatic relationships with Sweden and are Joseph Versailles an inhabitant of
Canada
action filter_type
action intersection
action find
entity Sweden
relation diplomatic relation
action find
entity Joseph Versailles
relation country of citizenship
type political territorial entity
{'AND': [['Sweden', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Joseph Versailles', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Sweden property:diplomatic_relation ?i . resource:Joseph_Versailles property:country_of_citizenship ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P610
Q14524493
USER
Which terrain is the highest point of that political territory ?
(Q16,P610,c(Q14524493))
action filter_type
action find
entity Q16
relation P610
type Q14524493
['Q16', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { resource:Q16 property:P610 ?j . ?j rdf:type ontology:Q14524493 }
Canada
action filter_type
action find
entity Canada
relation highest point
type terrain
['Canada', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { resource:Canada property:highest_point ?j . ?j rdf:type ontology:terrain }
[]
terrain
Q120306
SYSTEM
Mount Logan
Q120306
(Q16,P610,c(Q14524493))
action filter_type
action find
entity Q16
relation P610
type Q14524493
[ANSWER] is the highest point of that political territory
['Q16', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { resource:Q16 property:P610 ?j . ?j rdf:type ontology:Q14524493 }
Mount Logan
Mount Logan is the highest point of that political territory
Mount Logan
action filter_type
action find
entity Canada
relation highest point
type terrain
['Canada', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { resource:Canada property:highest_point ?j . ?j rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q120306
P186
Q8063
USER
Which rock is used to construct that terrain ?
(Q120306,P186,c(Q8063))
action filter_type
action find
entity Q120306
relation P186
type Q8063
['Q120306', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?v WHERE { resource:Q120306 property:P186 ?v . ?v rdf:type ontology:Q8063 }
Mount Logan
action filter_type
action find
entity Mount Logan
relation material used
type rock
['Mount Logan', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?v WHERE { resource:Mount_Logan property:material_used ?v . ?v rdf:type ontology:rock }
[]
rock
Q41177
SYSTEM
granite
Q41177
(Q120306,P186,c(Q8063))
action filter_type
action find
entity Q120306
relation P186
type Q8063
The [ANSWER] is used to construct that terrain
['Q120306', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?v WHERE { resource:Q120306 property:P186 ?v . ?v rdf:type ontology:Q8063 }
granite
The granite is used to construct that terrain
granite
action filter_type
action find
entity Mount Logan
relation material used
type rock
['Mount Logan', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?v WHERE { resource:Mount_Logan property:material_used ?v . ?v rdf:type ontology:rock }
[]