Simple Question (Direct)
Simple Question
Q20745294
P21
Q290
USER
What is the sex of Łukasz Sekulski ?
(Q20745294,P21,c(Q290))
action filter_type
action find
entity Q20745294
relation P21
type Q290
['Q20745294', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q20745294 property:P21 ?c . ?c rdf:type ontology:Q290 }
Łukasz Sekulski
action filter_type
action find
entity Łukasz Sekulski
relation gender
type sex
['Łukasz Sekulski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Łukasz_Sekulski property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20745294,P21,c(Q290))
action filter_type
action find
entity Q20745294
relation P21
type Q290
The sex of Łukasz Sekulski is the [ANSWER]
['Q20745294', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q20745294 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of Łukasz Sekulski is the male
male
action filter_type
action find
entity Łukasz Sekulski
relation gender
type sex
['Łukasz Sekulski', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Łukasz_Sekulski property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20745294
P106
Q12737077
USER
What is the job of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q20745294
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q20745294 property:P106 ?y }
Łukasz Sekulski
action filter_type
action find
entity Łukasz Sekulski
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Łukasz_Sekulski property:occupation ?y }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q20745294
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q20745294 property:P106 ?y }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Łukasz Sekulski
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Łukasz_Sekulski property:occupation ?y }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q937857 Q2736 Q216331
P425
Q349
USER
Does association football and Dubai 24 Hour belong to Q937857 ?
(Q937857,P425,Q2736) (Q937857,P425,Q216331)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q216331
relation P425
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q216331']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q216331 }
association football player association football Dubai 24 Hour
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity Dubai 24 Hour
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'Dubai 24 Hour']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Dubai_24_Hour }
[]
sport
SYSTEM
YES and NO respectively
(Q937857,P425,Q2736) (Q937857,P425,Q216331)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q216331
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q216331']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q216331 }
YES and NO respectively
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity Dubai 24 Hour
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'Dubai 24 Hour']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Dubai_24_Hour }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q20745294 Q104725
P19
Q486972
USER
Was that person born in Płock ?
(Q20745294,P19,Q104725)
action is_in
entity Q104725
action find
entity Q20745294
relation P19
['Q20745294', 'P19', 'Q104725']
ASK WHERE { resource:Q20745294 property:P19 resource:Q104725 }
Łukasz Sekulski Płock
action is_in
entity Płock
action find
entity Łukasz Sekulski
relation place of birth
['Łukasz Sekulski', 'place of birth', 'Płock']
ASK WHERE { resource:Łukasz_Sekulski property:place_of_birth resource:Płock }
[]
human settlement
SYSTEM
YES
(Q20745294,P19,Q104725)
action is_in
entity Q104725
action find
entity Q20745294
relation P19
[ANSWER]
['Q20745294', 'P19', 'Q104725']
ASK WHERE { resource:Q20745294 property:P19 resource:Q104725 }
Yes
action is_in
entity Płock
action find
entity Łukasz Sekulski
relation place of birth
['Łukasz Sekulski', 'place of birth', 'Płock']
ASK WHERE { resource:Łukasz_Sekulski property:place_of_birth resource:Płock }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20745294
P641
Q349
USER
Which sport was that person a part of ?
action filter_type
action find
entity Q20745294
relation P641
type Q349
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q20745294 property:P641 ?t }
Łukasz Sekulski
action filter_type
action find
entity Łukasz Sekulski
relation sport
type sport
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Łukasz_Sekulski property:sport ?t }
[]
sport
Q2736
SYSTEM
association football
Q2736
action filter_type
action find
entity Q20745294
relation P641
type Q349
Football [ANSWER] was that person a part of
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q20745294 property:P641 ?t }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Łukasz Sekulski
relation sport
type sport
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:Łukasz_Sekulski property:sport ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q2385662
P641
Q502895
USER
Does Frodulphe de Barjon play that sport ?
(Q2385662,P641,Q2736)
action is_in
entity Q2385662
action find
entity Q2736
relation P641
['Q2385662', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q2385662 }
association football Frodulphe de Barjon
action is_in
entity Frodulphe de Barjon
action find
entity association football
relation sport
['Frodulphe de Barjon', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Frodulphe_de_Barjon }
[]
common name
SYSTEM
NO
(Q2385662,P641,Q2736)
action is_in
entity Q2385662
action find
entity Q2736
relation P641
[ANSWER]
['Q2385662', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q2385662 }
No
action is_in
entity Frodulphe de Barjon
action find
entity association football
relation sport
['Frodulphe de Barjon', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Frodulphe_de_Barjon }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q386724 Q18783400
USER
Which occupations are expressed in approximately 1 works and genres of sculpture ?
(c(Q386724)|c(Q18783400),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?l WHERE { { ?g property:P180 ?l . ?l rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q386724 } UNION { ?l rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q18783400 . ?g property:P180 ?l } } GROUP BY ?l } }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
value 1
[[{'concept': 'work'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?l WHERE { { ?g property:depicts ?l . ?l rdf:type ontology:occupation . ?g rdf:type ontology:work } UNION { ?l rdf:type ontology:occupation . ?g rdf:type ontology:genre_of_sculpture . ?g property:depicts ?l } } GROUP BY ?l } }
[]
occupation work genre of sculpture
Q131512 Q42603
SYSTEM
farmer, priest
Q131512 Q42603
(c(Q386724)|c(Q18783400),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
value 1
[ANSWERS] are expressed in approximately 1 works and genres of sculpture
[[{'concept': 'Q386724'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?l WHERE { { ?g property:P180 ?l . ?l rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q386724 } UNION { ?l rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q18783400 . ?g property:P180 ?l } } GROUP BY ?l } }
farmer priest
Farmer and priest are expressed in approximately 1 works and genres of sculpture
farmer priest
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
value 1
[[{'concept': 'work'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?l WHERE { { ?g property:depicts ?l . ?l rdf:type ontology:occupation . ?g rdf:type ontology:work } UNION { ?l rdf:type ontology:occupation . ?g rdf:type ontology:genre_of_sculpture . ?g property:depicts ?l } } GROUP BY ?l } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4566894
P106
Q502895
USER
Do Figge Norling have those occupations as his/her means of employment ?
(Q4566894,P106,Q131512) (Q4566894,P106,Q42603)
action is_in
entity prev_answer
action find
entity Q4566894
relation P106
['Q4566894', 'P106', 'Q131512'] ['Q4566894', 'P106', 'Q42603']
ASK WHERE { resource:Q4566894 property:P106 ?a . VALUES ( ?a ) { ( resource:Q131512 ) ( resource:Q42603 ) } }
Figge Norling
action is_in
entity prev_answer
action find
entity Figge Norling
relation occupation
['Figge Norling', 'occupation', 'farmer'] ['Figge Norling', 'occupation', 'priest']
ASK WHERE { resource:Figge_Norling property:occupation ?a . VALUES ( ?a ) { ( resource:farmer ) ( resource:priest ) } }
[]
common name
SYSTEM
NO
(Q4566894,P106,Q131512) (Q4566894,P106,Q42603)
action is_in
entity prev_answer
action find
entity Q4566894
relation P106
[ANSWER]
['Q4566894', 'P106', 'Q131512'] ['Q4566894', 'P106', 'Q42603']
ASK WHERE { resource:Q4566894 property:P106 ?a . VALUES ( ?a ) { ( resource:Q131512 ) ( resource:Q42603 ) } }
No
action is_in
entity prev_answer
action find
entity Figge Norling
relation occupation
['Figge Norling', 'occupation', 'farmer'] ['Figge Norling', 'occupation', 'priest']
ASK WHERE { resource:Figge_Norling property:occupation ?a . VALUES ( ?a ) { ( resource:farmer ) ( resource:priest ) } }
[]