Simple Question (Direct)
Simple Question
Q1531686
P734
Q82799
USER
Who has the surname Kyle Visser ?
(Q1531686,P734,c(Q82799))
action filter_type
action find
entity Q1531686
relation P734
type Q82799
['Q1531686', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q1531686 property:P734 ?p }
Kyle Visser
action filter_type
action find
entity Kyle Visser
relation family name
type name
['Kyle Visser', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Kyle_Visser property:family_name ?p }
[]
name
Q18340752
SYSTEM
Visser
Q18340752
(Q1531686,P734,c(Q82799))
action filter_type
action find
entity Q1531686
relation P734
type Q82799
[ANSWER] has the surname Kyle [ANSWER]
['Q1531686', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q1531686 property:P734 ?p }
Visser
Visser has the surname Kyle Visser
Visser
action filter_type
action find
entity Kyle Visser
relation family name
type name
['Kyle Visser', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Kyle_Visser property:family_name ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1531686
P106
Q12737077
USER
Which occupation has Kyle Visser as his/her 's career ?
(Q1531686,P106,c(Q12737077))
action filter_type
action find
entity Q1531686
relation P106
type Q12737077
['Q1531686', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1531686 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Kyle Visser
action filter_type
action find
entity Kyle Visser
relation occupation
type occupation
['Kyle Visser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Kyle_Visser property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q1531686,P106,c(Q12737077))
action filter_type
action find
entity Q1531686
relation P106
type Q12737077
Player [ANSWER] has Kyle Visser as his/her 's career
['Q1531686', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1531686 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
basketball player
Player basketball player has Kyle Visser as his/her 's career
basketball player
action filter_type
action find
entity Kyle Visser
relation occupation
type occupation
['Kyle Visser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Kyle_Visser property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1531686
P21
Q290
USER
Which sex does that person have ?
(Q3665646,P21,c(Q290))
action filter_type
action find
entity Q1531686
relation P21
type Q290
['Q3665646', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1531686 property:P21 ?o . ?o rdf:type ontology:Q290 }
Kyle Visser
action filter_type
action find
entity Kyle Visser
relation gender
type sex
['basketball player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Kyle_Visser property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3665646,P21,c(Q290))
action filter_type
action find
entity Q1531686
relation P21
type Q290
That person has a [ANSWER]
['Q3665646', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1531686 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Kyle Visser
relation gender
type sex
['basketball player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Kyle_Visser property:gender ?o . ?o rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3091
Q3745054 Q502895 Q502895
USER
Which people ride on a around 6 horse breeds or people ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 6
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?x WHERE { { ?x property:P3091 ?i . ?x rdf:type ontology:Q502895 . ?i rdf:type ontology:Q3745054 } UNION { ?x property:P3091 ?i . ?x rdf:type ontology:Q502895 . ?i rdf:type ontology:Q502895 } } GROUP BY ?x } . FILTER ( ?p = 6 ) }
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 6
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?x WHERE { { ?x property:mount ?i . ?x rdf:type ontology:common_name . ?i rdf:type ontology:horse_breed } UNION { ?x property:mount ?i . ?x rdf:type ontology:common_name . ?i rdf:type ontology:common_name } } GROUP BY ?x } . FILTER ( ?p = 6 ) }
[]
horse breed common name common name
Q724288
SYSTEM
Rodrigo Pessoa
Q724288
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 6
[ANSWER] ride on a around 6 horse breeds or people
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?x WHERE { { ?x property:P3091 ?i . ?x rdf:type ontology:Q502895 . ?i rdf:type ontology:Q3745054 } UNION { ?x property:P3091 ?i . ?x rdf:type ontology:Q502895 . ?i rdf:type ontology:Q502895 } } GROUP BY ?x } . FILTER ( ?p = 6 ) }
Rodrigo Pessoa
Rodrigo Pessoa ride on a around 6 horse breeds or people
Rodrigo Pessoa
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 6
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?x WHERE { { ?x property:mount ?i . ?x rdf:type ontology:common_name . ?i rdf:type ontology:horse_breed } UNION { ?x property:mount ?i . ?x rdf:type ontology:common_name . ?i rdf:type ontology:common_name } } GROUP BY ?x } . FILTER ( ?p = 6 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q724288
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q724288,P27,c(Q15617994))
action filter_type
action find
entity Q724288
relation P27
type Q15617994
['Q724288', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q724288 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Rodrigo Pessoa
action filter_type
action find
entity Rodrigo Pessoa
relation country of citizenship
type designation for an administrative territorial entity
['Rodrigo Pessoa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Rodrigo_Pessoa property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q724288,P27,c(Q15617994))
action filter_type
action find
entity Q724288
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q724288', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q724288 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Brazil
Brazil is the country of citizenship of that person
Brazil
action filter_type
action find
entity Rodrigo Pessoa
relation country of citizenship
type designation for an administrative territorial entity
['Rodrigo Pessoa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Rodrigo_Pessoa property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q155 Q2008857 Q917
P530
Q15617994
USER
Does that administrative territory have tactful political relations with Ober-Scharbach and Bhutan ?
(Q155,P530,Q2008857) (Q155,P530,Q917)
action is_in
entity Q155
action intersection
action find_reverse
entity Q2008857
relation P530
action find_reverse
entity Q917
relation P530
['Q155', 'P530', 'Q2008857'] ['Q155', 'P530', 'Q917']
ASK WHERE { resource:Q155 property:P530 resource:Q2008857 . resource:Q155 property:P530 resource:Q917 }
Brazil Ober-Scharbach Bhutan
action is_in
entity Brazil
action intersection
action find_reverse
entity Ober-Scharbach
relation diplomatic relation
action find_reverse
entity Bhutan
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Ober-Scharbach'] ['Brazil', 'diplomatic relation', 'Bhutan']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Ober-Scharbach . resource:Brazil property:diplomatic_relation resource:Bhutan }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q155,P530,Q2008857) (Q155,P530,Q917)
action is_in
entity Q155
action intersection
action find_reverse
entity Q2008857
relation P530
action find_reverse
entity Q917
relation P530
[ANSWER]
['Q155', 'P530', 'Q2008857'] ['Q155', 'P530', 'Q917']
ASK WHERE { resource:Q155 property:P530 resource:Q2008857 . resource:Q155 property:P530 resource:Q917 }
NO and YES respectively
action is_in
entity Brazil
action intersection
action find_reverse
entity Ober-Scharbach
relation diplomatic relation
action find_reverse
entity Bhutan
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Ober-Scharbach'] ['Brazil', 'diplomatic relation', 'Bhutan']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Ober-Scharbach . resource:Brazil property:diplomatic_relation resource:Bhutan }
[]