Simple Question (Direct)
Simple Question
Q1470450
P21
Q290
USER
What is the sex of Wolfgang Puschnig ?
(Q1470450,P21,c(Q290))
action filter_type
action find
entity Q1470450
relation P21
type Q290
['Q1470450', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1470450 property:P21 ?n . ?n rdf:type ontology:Q290 }
Wolfgang Puschnig
action filter_type
action find
entity Wolfgang Puschnig
relation gender
type sex
['Wolfgang Puschnig', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Wolfgang_Puschnig property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1470450,P21,c(Q290))
action filter_type
action find
entity Q1470450
relation P21
type Q290
The sex of Wolfgang Puschnig is the [ANSWER]
['Q1470450', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1470450 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Wolfgang Puschnig is the male
male
action filter_type
action find
entity Wolfgang Puschnig
relation gender
type sex
['Wolfgang Puschnig', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Wolfgang_Puschnig property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting expressess that sex ?
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?p WHERE { ?p property:P180 resource:Q6581097 . ?p rdf:type ontology:Q3305213 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?p WHERE { ?p property:depicts resource:male . ?p rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER] expressess that sex
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?p WHERE { ?p property:P180 resource:Q6581097 . ?p rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister expressess that sex
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?p WHERE { ?p property:depicts resource:male . ?p rdf:type ontology:painting }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18713957 Q489215
P17
Q15617994
USER
Is that painting a part of Oberhof ?
(Q18713957,P17,Q489215)
action is_in
entity Q489215
action find
entity Q18713957
relation P17
['Q18713957', 'P17', 'Q489215']
ASK WHERE { resource:Q18713957 property:P17 resource:Q489215 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister Oberhof
action is_in
entity Oberhof
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation country
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'country', 'Oberhof']
ASK WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:country resource:Oberhof }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q18713957,P17,Q489215)
action is_in
entity Q489215
action find
entity Q18713957
relation P17
[ANSWER]
['Q18713957', 'P17', 'Q489215']
ASK WHERE { resource:Q18713957 property:P17 resource:Q489215 }
No
action is_in
entity Oberhof
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation country
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'country', 'Oberhof']
ASK WHERE { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:country resource:Oberhof }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1470450 Q4193980
P27
Q1048835
USER
Is Wolfgang Puschnig a civilian of Zorynivka ?
(Q1470450,P27,Q4193980)
action is_in
entity Q4193980
action find
entity Q1470450
relation P27
['Q1470450', 'P27', 'Q4193980']
ASK WHERE { resource:Q1470450 property:P27 resource:Q4193980 }
Wolfgang Puschnig Zorynivka
action is_in
entity Zorynivka
action find
entity Wolfgang Puschnig
relation country of citizenship
['Wolfgang Puschnig', 'country of citizenship', 'Zorynivka']
ASK WHERE { resource:Wolfgang_Puschnig property:country_of_citizenship resource:Zorynivka }
[]
political territorial entity
SYSTEM
NO
(Q1470450,P27,Q4193980)
action is_in
entity Q4193980
action find
entity Q1470450
relation P27
[ANSWER]
['Q1470450', 'P27', 'Q4193980']
ASK WHERE { resource:Q1470450 property:P27 resource:Q4193980 }
No
action is_in
entity Zorynivka
action find
entity Wolfgang Puschnig
relation country of citizenship
['Wolfgang Puschnig', 'country of citizenship', 'Zorynivka']
ASK WHERE { resource:Wolfgang_Puschnig property:country_of_citizenship resource:Zorynivka }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18713957
P1028
Q502895
USER
What is the name of person which donates Raja Surendra Vikram Shah at the age of 15 with his prime minister ?
(Q18713957,P1028,c(Q502895))
action filter_type
action find
entity Q18713957
relation P1028
type Q502895
['Q18713957', 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q18713957 property:P1028 ?p }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation donated by
type common name
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:donated_by ?p }
[]
common name
Q747341
SYSTEM
Edwin Binney
Q747341
(Q18713957,P1028,c(Q502895))
action filter_type
action find
entity Q18713957
relation P1028
type Q502895
Moon [ANSWER]
['Q18713957', 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q18713957 property:P1028 ?p }
Edwin Binney
Moon Edwin Binney
Edwin Binney
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation donated by
type common name
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:donated_by ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18713957 Q4186
P186
Q8063
USER
How many rocks are used to manufacture Raja Surendra Vikram Shah at the age of 15 with his prime minister or Harz ?
(Q18713957,P186,c(Q8063)) (Q4186,P186,c(Q8063))
action count
action union
action filter_type
action find
entity Q18713957
relation P186
type Q8063
action filter_type
action find
entity Q4186
relation P186
type Q8063
['Q18713957', 'P186', {'concept': 'Q8063'}] ['Q4186', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { resource:Q4186 property:P186 ?a . ?a rdf:type ontology:Q8063 } UNION { resource:Q18713957 property:P186 ?a . ?a rdf:type ontology:Q8063 } }
Raja Surendra Vikram Shah at the age of 15 with his prime minister Harz
action count
action union
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation material used
type rock
action filter_type
action find
entity Harz
relation material used
type rock
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'material used', {'concept': 'rock'}] ['Harz', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { resource:Harz property:material_used ?a . ?a rdf:type ontology:rock } UNION { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:material_used ?a . ?a rdf:type ontology:rock } }
[]
rock
SYSTEM
2
Q41177 Q207079
(Q18713957,P186,c(Q8063)) (Q4186,P186,c(Q8063))
action count
action union
action filter_type
action find
entity Q18713957
relation P186
type Q8063
action filter_type
action find
entity Q4186
relation P186
type Q8063
[ANSWER]
['Q18713957', 'P186', {'concept': 'Q8063'}] ['Q4186', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { resource:Q4186 property:P186 ?a . ?a rdf:type ontology:Q8063 } UNION { resource:Q18713957 property:P186 ?a . ?a rdf:type ontology:Q8063 } }
granite slate
2
action count
action union
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation material used
type rock
action filter_type
action find
entity Harz
relation material used
type rock
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'material used', {'concept': 'rock'}] ['Harz', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { resource:Harz property:material_used ?a . ?a rdf:type ontology:rock } UNION { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:material_used ?a . ?a rdf:type ontology:rock } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1029
Q502895 Q12973014 Q40218
USER
Which people were crew members of max number of sports teams and spacecrafts ?
(c(Q12973014)|c(Q40218),P1029,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
[[{'concept': 'Q12973014'}, {'concept': 'Q40218'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?l ) { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:P1029 ?i . ?i rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12973014 } UNION { ?c property:P1029 ?i . ?i rdf:type ontology:Q502895 . ?c rdf:type ontology:Q40218 } } GROUP BY ?i } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?r ) WHERE { VALUES ( ?m ) { ( ontology:Q12973014 ) ( ontology:Q40218 ) } . ?b rdf:type ?m } GROUP BY ?t } . FILTER ( ?r = ?l ) }
action argmax
action union
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
[[{'concept': 'sports team'}, {'concept': 'spacecraft'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?l ) { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:crew_member ?i . ?i rdf:type ontology:common_name . ?c rdf:type ontology:sports_team } UNION { ?c property:crew_member ?i . ?i rdf:type ontology:common_name . ?c rdf:type ontology:spacecraft } } GROUP BY ?i } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?r ) WHERE { VALUES ( ?m ) { ( ontology:sports_team ) ( ontology:spacecraft ) } . ?b rdf:type ?m } GROUP BY ?t } . FILTER ( ?r = ?l ) }
[]
common name sports team spacecraft
Q97007 Q461881
SYSTEM
Alexandre Imperatori, Mike Conway
Q97007 Q461881
(c(Q12973014)|c(Q40218),P1029,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
[ANSWERS] were crew members of max number of sports teams and spacecrafts
[[{'concept': 'Q12973014'}, {'concept': 'Q40218'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?l ) { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:P1029 ?i . ?i rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12973014 } UNION { ?c property:P1029 ?i . ?i rdf:type ontology:Q502895 . ?c rdf:type ontology:Q40218 } } GROUP BY ?i } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?r ) WHERE { VALUES ( ?m ) { ( ontology:Q12973014 ) ( ontology:Q40218 ) } . ?b rdf:type ?m } GROUP BY ?t } . FILTER ( ?r = ?l ) }
Alexandre Imperatori Mike Conway
Alexandre Imperatori and Mike Conway were crew members of max number of sports teams and spacecrafts
Alexandre Imperatori Mike Conway
action argmax
action union
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
[[{'concept': 'sports team'}, {'concept': 'spacecraft'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?l ) { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?y ) WHERE { { ?c property:crew_member ?i . ?i rdf:type ontology:common_name . ?c rdf:type ontology:sports_team } UNION { ?c property:crew_member ?i . ?i rdf:type ontology:common_name . ?c rdf:type ontology:spacecraft } } GROUP BY ?i } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?r ) WHERE { VALUES ( ?m ) { ( ontology:sports_team ) ( ontology:spacecraft ) } . ?b rdf:type ?m } GROUP BY ?t } . FILTER ( ?r = ?l ) }
[]