Simple Question (Direct)
Simple Question
Q6391073
P21
Q290
USER
Which sex does Kenny Heitz have ?
(Q6391073,P21,c(Q290))
action filter_type
action find
entity Q6391073
relation P21
type Q290
['Q6391073', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q6391073 property:P21 ?b . ?b rdf:type ontology:Q290 }
Kenny Heitz
action filter_type
action find
entity Kenny Heitz
relation gender
type sex
['Kenny Heitz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Kenny_Heitz property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6391073,P21,c(Q290))
action filter_type
action find
entity Q6391073
relation P21
type Q290
Kenny Heitz has a [ANSWER]
['Q6391073', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q6391073 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Kenny Heitz has a male
male
action filter_type
action find
entity Kenny Heitz
relation gender
type sex
['Kenny Heitz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Kenny_Heitz property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6391073
P641
Q349
USER
What did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q6391073
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q6391073 property:P641 ?i }
Kenny Heitz
action filter_type
action find
entity Kenny Heitz
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Kenny_Heitz property:sport ?i }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q6391073
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q6391073 property:P641 ?i }
basketball
That person participated in basketball
basketball
action filter_type
action find
entity Kenny Heitz
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Kenny_Heitz property:sport ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6391073
P69
Q3914
USER
Which school was Kenny Heitz educated at ?
(Q6391073,P69,c(Q3914))
action filter_type
action find
entity Q6391073
relation P69
type Q3914
['Q6391073', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?h WHERE { resource:Q6391073 property:P69 ?h . ?h rdf:type ontology:Q3914 }
Kenny Heitz
action filter_type
action find
entity Kenny Heitz
relation educated at
type school
['Kenny Heitz', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?h WHERE { resource:Kenny_Heitz property:educated_at ?h . ?h rdf:type ontology:school }
[]
school
Q49122
SYSTEM
Harvard Law School
Q49122
(Q6391073,P69,c(Q3914))
action filter_type
action find
entity Q6391073
relation P69
type Q3914
Kenny Heitz was educated at [ANSWER]
['Q6391073', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?h WHERE { resource:Q6391073 property:P69 ?h . ?h rdf:type ontology:Q3914 }
Harvard Law School
Kenny Heitz was educated at Harvard Law School
Harvard Law School
action filter_type
action find
entity Kenny Heitz
relation educated at
type school
['Kenny Heitz', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?h WHERE { resource:Kenny_Heitz property:educated_at ?h . ?h rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49122
P17
Q15617994
USER
Which administrative territory is that school a part of ?
(Q49122,P17,c(Q15617994))
action filter_type
action find
entity Q49122
relation P17
type Q15617994
['Q49122', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q49122 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Harvard Law School
action filter_type
action find
entity Harvard Law School
relation country
type designation for an administrative territorial entity
['Harvard Law School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Harvard_Law_School property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q49122,P17,c(Q15617994))
action filter_type
action find
entity Q49122
relation P17
type Q15617994
The [ANSWER] is that school a part of
['Q49122', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q49122 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
The United States of America is that school a part of
United States of America
action filter_type
action find
entity Harvard Law School
relation country
type designation for an administrative territorial entity
['Harvard Law School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Harvard_Law_School property:country ?i . ?i 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
Q30 Q3502195 Q5033813
P6
Q502895
USER
Does that administrative territory have Stéphanie Lapointe and Canti Lau as its administrative leader ?
(Q30,P6,Q3502195) (Q30,P6,Q5033813)
action is_in
entity Q30
action intersection
action find_reverse
entity Q3502195
relation P6
action find_reverse
entity Q5033813
relation P6
['Q30', 'P6', 'Q3502195'] ['Q30', 'P6', 'Q5033813']
ASK WHERE { resource:Q30 property:P6 resource:Q3502195 . resource:Q30 property:P6 resource:Q5033813 }
United States of America Stéphanie Lapointe Canti Lau
action is_in
entity United States of America
action intersection
action find_reverse
entity Stéphanie Lapointe
relation head of government
action find_reverse
entity Canti Lau
relation head of government
['United States of America', 'head of government', 'Stéphanie Lapointe'] ['United States of America', 'head of government', 'Canti Lau']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Stéphanie_Lapointe . resource:United_States_of_America property:head_of_government resource:Canti_Lau }
[]
common name
SYSTEM
NO
(Q30,P6,Q3502195) (Q30,P6,Q5033813)
action is_in
entity Q30
action intersection
action find_reverse
entity Q3502195
relation P6
action find_reverse
entity Q5033813
relation P6
[ANSWER]
['Q30', 'P6', 'Q3502195'] ['Q30', 'P6', 'Q5033813']
ASK WHERE { resource:Q30 property:P6 resource:Q3502195 . resource:Q30 property:P6 resource:Q5033813 }
No
action is_in
entity United States of America
action intersection
action find_reverse
entity Stéphanie Lapointe
relation head of government
action find_reverse
entity Canti Lau
relation head of government
['United States of America', 'head of government', 'Stéphanie Lapointe'] ['United States of America', 'head of government', 'Canti Lau']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Stéphanie_Lapointe . resource:United_States_of_America property:head_of_government resource:Canti_Lau }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6391073
P106
Q12737077
USER
What is the job of Kenny Heitz ?
(Q6391073,P106,c(Q12737077))
action filter_type
action find
entity Q6391073
relation P106
type Q12737077
['Q6391073', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q6391073 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Kenny Heitz
action filter_type
action find
entity Kenny Heitz
relation occupation
type occupation
['Kenny Heitz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Kenny_Heitz property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q6391073,P106,c(Q12737077))
action filter_type
action find
entity Q6391073
relation P106
type Q12737077
The job of Kenny Heitz is a [ANSWER]
['Q6391073', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q6391073 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
basketball player
The job of Kenny Heitz is a basketball player
basketball player
action filter_type
action find
entity Kenny Heitz
relation occupation
type occupation
['Kenny Heitz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Kenny_Heitz property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q8205328 Q2235308
USER
Which sports represent the main use of around 1 artefacts or ship types ?
(c(Q8205328)|c(Q2235308),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
value 1
[[{'concept': 'Q8205328'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?c WHERE { { ?c rdf:type ontology:Q349 . ?g rdf:type ontology:Q2235308 . ?g property:P366 ?c } UNION { ?g property:P366 ?c . ?c rdf:type ontology:Q349 . ?g rdf:type ontology:Q8205328 } } GROUP BY ?c } . FILTER ( ?k = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type ship type
value 1
[[{'concept': 'artefact'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?c WHERE { { ?c rdf:type ontology:sport . ?g rdf:type ontology:ship_type . ?g property:use ?c } UNION { ?g property:use ?c . ?c rdf:type ontology:sport . ?g rdf:type ontology:artefact } } GROUP BY ?c } . FILTER ( ?k = 1 ) }
[]
sport artefact ship type
Q14300548 Q108429 Q61065
SYSTEM
skating, archery, water sport
Q14300548 Q108429 Q61065
(c(Q8205328)|c(Q2235308),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q8205328
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
value 1
[ANSWERS] represent the main use of around 1 artefacts or ship types
[[{'concept': 'Q8205328'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?c WHERE { { ?c rdf:type ontology:Q349 . ?g rdf:type ontology:Q2235308 . ?g property:P366 ?c } UNION { ?g property:P366 ?c . ?c rdf:type ontology:Q349 . ?g rdf:type ontology:Q8205328 } } GROUP BY ?c } . FILTER ( ?k = 1 ) }
skating archery water sport
Skating, archery and water sport represent the main use of around 1 artefacts or ship types
skating archery water sport
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type artefact
action find_reverse_tuple_counts
relation use
type sport
type ship type
value 1
[[{'concept': 'artefact'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?c WHERE { { ?c rdf:type ontology:sport . ?g rdf:type ontology:ship_type . ?g property:use ?c } UNION { ?g property:use ?c . ?c rdf:type ontology:sport . ?g rdf:type ontology:artefact } } GROUP BY ?c } . FILTER ( ?k = 1 ) }
[]