Simple Question (Direct)
Simple Question
Q1695197
P102
Q7210356
USER
Which party does Johann Koppensteiner belong to ?
(Q1695197,P102,c(Q7210356))
action filter_type
action find
entity Q1695197
relation P102
type Q7210356
['Q1695197', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q1695197 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Johann Koppensteiner
action filter_type
action find
entity Johann Koppensteiner
relation member of political party
type political organization
['Johann Koppensteiner', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Johann_Koppensteiner property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q179111
SYSTEM
Social Democratic Party of Austria
Q179111
(Q1695197,P102,c(Q7210356))
action filter_type
action find
entity Q1695197
relation P102
type Q7210356
Johann Koppensteiner belongs to [ANSWER]
['Q1695197', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q1695197 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Social Democratic Party of Austria
Johann Koppensteiner belongs to Social Democratic Party of Austria
Social Democratic Party of Austria
action filter_type
action find
entity Johann Koppensteiner
relation member of political party
type political organization
['Johann Koppensteiner', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Johann_Koppensteiner property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1695197
P39
Q12737077
USER
Which occupation was a position for which Johann Koppensteiner was appointed ?
(Q1695197,P39,c(Q12737077))
action filter_type
action find
entity Q1695197
relation P39
type Q12737077
['Q1695197', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1695197 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Johann Koppensteiner
action filter_type
action find
entity Johann Koppensteiner
relation position held
type occupation
['Johann Koppensteiner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Johann_Koppensteiner property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q18821575
SYSTEM
Member of the Landtag of Lower Austria
Q18821575
(Q1695197,P39,c(Q12737077))
action filter_type
action find
entity Q1695197
relation P39
type Q12737077
[ANSWER] was a position for which Johann Koppensteiner was appointed
['Q1695197', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1695197 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Member of the Landtag of Lower Austria
Member of the Landtag of Lower Austria was a position for which Johann Koppensteiner was appointed
Member of the Landtag of Lower Austria
action filter_type
action find
entity Johann Koppensteiner
relation position held
type occupation
['Johann Koppensteiner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Johann_Koppensteiner property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1695197
P20
Q486972
USER
Where did the expiration of Johann Koppensteiner occur ?
(Q1695197,P20,c(Q486972))
action filter_type
action find
entity Q1695197
relation P20
type Q486972
['Q1695197', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q486972 . resource:Q1695197 property:P20 ?v }
Johann Koppensteiner
action filter_type
action find
entity Johann Koppensteiner
relation place of death
type human settlement
['Johann Koppensteiner', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:human_settlement . resource:Johann_Koppensteiner property:place_of_death ?v }
[]
human settlement
Q661329
SYSTEM
Bruck an der Leitha
Q661329
(Q1695197,P20,c(Q486972))
action filter_type
action find
entity Q1695197
relation P20
type Q486972
The expiration of Johann Koppensteiner occurred in [ANSWER]
['Q1695197', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q486972 . resource:Q1695197 property:P20 ?v }
Bruck an der Leitha
The expiration of Johann Koppensteiner occurred in Bruck an der Leitha
Bruck an der Leitha
action filter_type
action find
entity Johann Koppensteiner
relation place of death
type human settlement
['Johann Koppensteiner', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:human_settlement . resource:Johann_Koppensteiner property:place_of_death ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1695197
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q661329,P106,c(Q12737077))
action filter_type
action find
entity Q1695197
relation P106
type Q12737077
['Q661329', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1695197 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Johann Koppensteiner
action filter_type
action find
entity Johann Koppensteiner
relation occupation
type occupation
['Bruck an der Leitha', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Johann_Koppensteiner property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q661329,P106,c(Q12737077))
action filter_type
action find
entity Q1695197
relation P106
type Q12737077
A [ANSWER] has that person as his/her 's career
['Q661329', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1695197 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
politician
A politician has that person as his/her 's career
politician
action filter_type
action find
entity Johann Koppensteiner
relation occupation
type occupation
['Bruck an der Leitha', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Johann_Koppensteiner property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1695197
P21
Q290
USER
Which sex does that person have ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q1695197
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q1695197 property:P21 ?g }
Johann Koppensteiner
action filter_type
action find
entity Johann Koppensteiner
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Johann_Koppensteiner property:gender ?g }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q1695197
relation P21
type Q290
That person has a [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q1695197 property:P21 ?g }
male
That person has a male
male
action filter_type
action find
entity Johann Koppensteiner
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Johann_Koppensteiner property:gender ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q10383154
P21
Q502895
USER
Is Ton Carfi a that sex ?
(Q10383154,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q10383154
relation P21
['Q10383154', 'P21', 'Q6581097']
ASK WHERE { resource:Q10383154 property:P21 resource:Q6581097 }
male Ton Carfi
action is_in
entity male
action find
entity Ton Carfi
relation gender
['Ton Carfi', 'gender', 'male']
ASK WHERE { resource:Ton_Carfi property:gender resource:male }
[]
common name
SYSTEM
YES
(Q10383154,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q10383154
relation P21
[ANSWER]
['Q10383154', 'P21', 'Q6581097']
ASK WHERE { resource:Q10383154 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Ton Carfi
relation gender
['Ton Carfi', 'gender', 'male']
ASK WHERE { resource:Ton_Carfi property:gender resource:male }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q285356
Q2342494
USER
And how about Fata Morgana?
(Q285356,P921,c(Q2342494))
action filter_type
action find
entity Q285356
relation P921
type Q2342494
['Q285356', 'P921', {'concept': 'Q2342494'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2342494 . resource:Q285356 property:P921 ?r }
Fata Morgana
action filter_type
action find
entity Fata Morgana
relation main subject
type collectable
['Fata Morgana', 'main subject', {'concept': 'collectable'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:collectable . resource:Fata_Morgana property:main_subject ?r }
[]
collectable
Q8258
SYSTEM
One Thousand and One Nights
Q8258
(Q285356,P921,c(Q2342494))
action filter_type
action find
entity Q285356
relation P921
type Q2342494
[ANSWER]
['Q285356', 'P921', {'concept': 'Q2342494'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2342494 . resource:Q285356 property:P921 ?r }
One Thousand and One Nights
One Thousand and One Nights
action filter_type
action find
entity Fata Morgana
relation main subject
type collectable
['Fata Morgana', 'main subject', {'concept': 'collectable'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:collectable . resource:Fata_Morgana property:main_subject ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8258 Q26329699
P361
Q234460
USER
Is The magnitude, science base, and solutions for one of the largest occupational health problems in the United States a component of that collectable ?
(Q26329699,P361,Q8258)
action is_in
entity Q26329699
action find
entity Q8258
relation P361
['Q26329699', 'P361', 'Q8258']
ASK WHERE { resource:Q8258 property:P361 resource:Q26329699 }
One Thousand and One Nights The magnitude, science base, and solutions for one of the largest occupational health problems in the United States
action is_in
entity The magnitude, science base, and solutions for one of the largest occupational health problems in the United States
action find
entity One Thousand and One Nights
relation part of
['The magnitude, science base, and solutions for one of the largest occupational health problems in the United States', 'part of', 'One Thousand and One Nights']
ASK WHERE { resource:One_Thousand_and_One_Nights property:part_of resource:The_magnitude,_science_base,_and_solutions_for_one_of_the_largest_occupational_health_problems_in_the_United_States }
[]
text
SYSTEM
NO
(Q26329699,P361,Q8258)
action is_in
entity Q26329699
action find
entity Q8258
relation P361
[ANSWER]
['Q26329699', 'P361', 'Q8258']
ASK WHERE { resource:Q8258 property:P361 resource:Q26329699 }
No
action is_in
entity The magnitude, science base, and solutions for one of the largest occupational health problems in the United States
action find
entity One Thousand and One Nights
relation part of
['The magnitude, science base, and solutions for one of the largest occupational health problems in the United States', 'part of', 'One Thousand and One Nights']
ASK WHERE { resource:One_Thousand_and_One_Nights property:part_of resource:The_magnitude,_science_base,_and_solutions_for_one_of_the_largest_occupational_health_problems_in_the_United_States }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7766679 Q8258
P50
Q502895
USER
Which people penned One Thousand and One Nights or The Stories of Vladimir Nabokov ?
OR((Q8258,P50,c(Q502895)), (Q7766679,P50,c(Q502895)))
action filter_type
action union
action find
entity Q8258
relation P50
action find
entity Q7766679
relation P50
type Q502895
{'OR': [['Q8258', 'P50', {'concept': 'Q502895'}], ['Q7766679', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . { { resource:Q8258 property:P50 ?j } UNION { resource:Q7766679 property:P50 ?j } } }
The Stories of Vladimir Nabokov One Thousand and One Nights
action filter_type
action union
action find
entity One Thousand and One Nights
relation author
action find
entity The Stories of Vladimir Nabokov
relation author
type common name
{'OR': [['One Thousand and One Nights', 'author', {'concept': 'common name'}], ['The Stories of Vladimir Nabokov', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . { { resource:One_Thousand_and_One_Nights property:author ?j } UNION { resource:The_Stories_of_Vladimir_Nabokov property:author ?j } } }
[]
common name
Q36591 Q4233718
SYSTEM
Vladimir Nabokov, anonymous
Q36591 Q4233718
OR((Q8258,P50,c(Q502895)), (Q7766679,P50,c(Q502895)))
action filter_type
action union
action find
entity Q8258
relation P50
action find
entity Q7766679
relation P50
type Q502895
[ANSWERS] penned One Thousand and One Nights or The Stories of Vladimir Nabokov
{'OR': [['Q8258', 'P50', {'concept': 'Q502895'}], ['Q7766679', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . { { resource:Q8258 property:P50 ?j } UNION { resource:Q7766679 property:P50 ?j } } }
Vladimir Nabokov anonymous
Vladimir Nabokov and anonymous penned One Thousand and One Nights or The Stories of Vladimir Nabokov
Vladimir Nabokov anonymous
action filter_type
action union
action find
entity One Thousand and One Nights
relation author
action find
entity The Stories of Vladimir Nabokov
relation author
type common name
{'OR': [['One Thousand and One Nights', 'author', {'concept': 'common name'}], ['The Stories of Vladimir Nabokov', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . { { resource:One_Thousand_and_One_Nights property:author ?j } UNION { resource:The_Stories_of_Vladimir_Nabokov property:author ?j } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q8258
P674
Q502895 Q15619164
USER
How many people and abstract beings appears as a character in One Thousand and One Nights ?
(Q8258,P674,c(Q502895)) (Q8258,P674,c(Q15619164))
action count
action union
action filter_type
action find
entity Q8258
relation P674
type Q502895
action filter_type
action find
entity Q8258
relation P674
type Q15619164
['Q8258', 'P674', {'concept': 'Q502895'}] ['Q8258', 'P674', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { resource:Q8258 property:P674 ?j . ?j rdf:type ontology:Q502895 } UNION { resource:Q8258 property:P674 ?j . ?j rdf:type ontology:Q15619164 } }
One Thousand and One Nights
action count
action union
action filter_type
action find
entity One Thousand and One Nights
relation characters
type common name
action filter_type
action find
entity One Thousand and One Nights
relation characters
type abstract being
['One Thousand and One Nights', 'characters', {'concept': 'common name'}] ['One Thousand and One Nights', 'characters', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { resource:One_Thousand_and_One_Nights property:characters ?j . ?j rdf:type ontology:common_name } UNION { resource:One_Thousand_and_One_Nights property:characters ?j . ?j rdf:type ontology:abstract_being } }
[]
common name abstract being
SYSTEM
2 people and 6 abstract beings
Q122018 Q37085 Q216445 Q2916046 Q27627475 Q131002 Q488875 Q27734732
(Q8258,P674,c(Q502895)) (Q8258,P674,c(Q15619164))
action count
action union
action filter_type
action find
entity Q8258
relation P674
type Q502895
action filter_type
action find
entity Q8258
relation P674
type Q15619164
[ANSWER]
['Q8258', 'P674', {'concept': 'Q502895'}] ['Q8258', 'P674', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { resource:Q8258 property:P674 ?j . ?j rdf:type ontology:Q502895 } UNION { resource:Q8258 property:P674 ?j . ?j rdf:type ontology:Q15619164 } }
Sinbad the Sailor Solomon Scheherazade Shahryar Aladdin Harun al-Rashid Ali Baba Dunyazad
2 people and 6 abstract beings
action count
action union
action filter_type
action find
entity One Thousand and One Nights
relation characters
type common name
action filter_type
action find
entity One Thousand and One Nights
relation characters
type abstract being
['One Thousand and One Nights', 'characters', {'concept': 'common name'}] ['One Thousand and One Nights', 'characters', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { resource:One_Thousand_and_One_Nights property:characters ?j . ?j rdf:type ontology:common_name } UNION { resource:One_Thousand_and_One_Nights property:characters ?j . ?j rdf:type ontology:abstract_being } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q644440
P1303
Q34379 Q502895
USER
Which musical instruments are played by less number of people than Lap steel guitar ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q644440
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P1303 resource:Q644440 . ?g rdf:type ontology:Q502895 } } . FILTER ( ?i < ?d ) }
Lap steel guitar
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Lap steel guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:instrument resource:Lap_steel_guitar . ?g rdf:type ontology:common_name } } . FILTER ( ?i < ?d ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q644440
relation P1303
type Q502895
[ANSWERS] are played by less number of people than Lap steel guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P1303 resource:Q644440 . ?g rdf:type ontology:Q502895 } } . FILTER ( ?i < ?d ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by less number of people than Lap steel guitar
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Lap steel guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?i ) WHERE { ?c property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:instrument resource:Lap_steel_guitar . ?g rdf:type ontology:common_name } } . FILTER ( ?i < ?d ) }
[]