Simple Question (Direct)
Simple Question
Q20744236
P69
Q159334
USER
Which secondary school was Ray Willis educated at ?
(Q20744236,P69,c(Q159334))
action filter_type
action find
entity Q20744236
relation P69
type Q159334
['Q20744236', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?z WHERE { resource:Q20744236 property:P69 ?z . ?z rdf:type ontology:Q159334 }
Ray Willis
action filter_type
action find
entity Ray Willis
relation educated at
type secondary school
['Ray Willis', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?z WHERE { resource:Ray_Willis property:educated_at ?z . ?z rdf:type ontology:secondary_school }
[]
secondary school
Q5304325
SYSTEM
Dr. Phillips High School
Q5304325
(Q20744236,P69,c(Q159334))
action filter_type
action find
entity Q20744236
relation P69
type Q159334
Ray Willis was educated at [ANSWER]
['Q20744236', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?z WHERE { resource:Q20744236 property:P69 ?z . ?z rdf:type ontology:Q159334 }
Dr. Phillips High School
Ray Willis was educated at Dr. Phillips High School
Dr. Phillips High School
action filter_type
action find
entity Ray Willis
relation educated at
type secondary school
['Ray Willis', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?z WHERE { resource:Ray_Willis property:educated_at ?z . ?z rdf:type ontology:secondary_school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20744236
P641
Q349
USER
Which sport was that person a part of ?
(Q5304325,P641,c(Q349))
action filter_type
action find
entity Q20744236
relation P641
type Q349
['Q5304325', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q20744236 property:P641 ?c . ?c rdf:type ontology:Q349 }
Ray Willis
action filter_type
action find
entity Ray Willis
relation sport
type sport
['Dr. Phillips High School', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Ray_Willis property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q5304325,P641,c(Q349))
action filter_type
action find
entity Q20744236
relation P641
type Q349
The [ANSWER] was that person a part of
['Q5304325', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q20744236 property:P641 ?c . ?c rdf:type ontology:Q349 }
basketball
The basketball was that person a part of
basketball
action filter_type
action find
entity Ray Willis
relation sport
type sport
['Dr. Phillips High School', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Ray_Willis property:sport ?c . ?c rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3487210 Q20744236
P641
Q349
USER
Or Martin Čakajík?
OR((Q20744236,P641,c(Q349)), (Q3487210,P641,c(Q349)))
action filter_type
action union
action find
entity Q20744236
relation P641
action find
entity Q3487210
relation P641
type Q349
{'OR': [['Q20744236', 'P641', {'concept': 'Q349'}], ['Q3487210', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q3487210 property:P641 ?m } UNION { resource:Q20744236 property:P641 ?m } } . ?m rdf:type ontology:Q349 }
Martin Čakajík Ray Willis
action filter_type
action union
action find
entity Ray Willis
relation sport
action find
entity Martin Čakajík
relation sport
type sport
{'OR': [['Ray Willis', 'sport', {'concept': 'sport'}], ['Martin Čakajík', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Martin_Čakajík property:sport ?m } UNION { resource:Ray_Willis property:sport ?m } } . ?m rdf:type ontology:sport }
[]
sport
Q41466 Q5372
SYSTEM
ice hockey, basketball
Q41466 Q5372
OR((Q20744236,P641,c(Q349)), (Q3487210,P641,c(Q349)))
action filter_type
action union
action find
entity Q20744236
relation P641
action find
entity Q3487210
relation P641
type Q349
[ANSWERS]
{'OR': [['Q20744236', 'P641', {'concept': 'Q349'}], ['Q3487210', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q3487210 property:P641 ?m } UNION { resource:Q20744236 property:P641 ?m } } . ?m rdf:type ontology:Q349 }
ice hockey basketball
ice hockey basketball
action filter_type
action union
action find
entity Ray Willis
relation sport
action find
entity Martin Čakajík
relation sport
type sport
{'OR': [['Ray Willis', 'sport', {'concept': 'sport'}], ['Martin Čakajík', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Martin_Čakajík property:sport ?m } UNION { resource:Ray_Willis property:sport ?m } } . ?m rdf:type ontology:sport }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P101
Q349 Q2342494
USER
Which sports do approximately the same number of collectables belong to as that sport ?
(c(Q2342494),P101,c(Q349))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 }
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport }
[]
sport collectable
Comparative|More/Less|Single entity type|Clarification
Q5372
SYSTEM
Did you mean basketball ?
(c(Q2342494),P101,c(Q349))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 }
Did you mean basketball ?
basketball
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport }
[]
Comparative Reasoning (All)
USER
No, I meant ice hockey. Could you tell me the answer for that?
(c(Q2342494),P101,c(Q349))
Q41466
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
[]
Q809831 Q136851 Q10962
SYSTEM
BASE jumping, curling, rugby league
Q10962 Q136851 Q43450 Q4543 Q170737 Q5375 Q22857 Q14300548 Q1734 Q31920 Q12100 Q8418 Q15991265 Q2215841 Q500050 Q108429 Q592031 Q7707 Q809831 Q847 Q3177899 Q2736 Q177275 Q42486 Q5372 Q2167372 Q130949 Q1497658 Q178678 Q41466 Q114466 Q328716 Q131359 Q201965 Q2922870 Q204686 Q11420 Q124100 Q1541373 Q41323
(c(Q2342494),P101,c(Q349))
[ANSWERS] approximately the same number of collectables belong to as that sport
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 }
rugby league curling gymnastics beach volleyball long jump cricket climbing skating volleyball swimming fencing handball amateur football cycle sport cross country running archery wingsuit flying water polo BASE jumping tennis bowling association football bobsleigh wrestling basketball fell running skiing memory sport kick boxing ice hockey mixed martial arts motorcycle sport professional wrestling Nordic combined boxe winter sport judo bodybuilding sport climbing American football
BASE jumping, curling and rugby league approximately the same number of collectables belong to as that sport
BASE jumping curling rugby league
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q2342494 Q502895
USER
How many sports do lesser number of collectables or people belong to than that sport ?
(c(Q2342494)|c(Q502895),P101,c(Q349))
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:Q627436 ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:field_of_work ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
sport collectable common name
Comparative|Count over More/Less|Mult. entity type|Clarification
Q136851
SYSTEM
Did you mean curling ?
(c(Q2342494)|c(Q502895),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:Q627436 ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
Did you mean curling ?
curling
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?i property:field_of_work ?y . VALUES ( ?i ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant BASE jumping. Could you tell me the answer for that?
(c(Q2342494)|c(Q502895),P101,c(Q349))
Q809831
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
[]
SYSTEM
4
Q14300548 Q130949 Q114466 Q131359
(c(Q2342494)|c(Q502895),P101,c(Q349))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q1567764 . ?x rdf:type ontology:Q502895 }
skating skiing mixed martial arts professional wrestling
4
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:sport . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20744236
P735
Q82799
USER
What is the firstname of Ray Willis ?
(Q20744236,P735,c(Q82799))
action filter_type
action find
entity Q20744236
relation P735
type Q82799
['Q20744236', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q20744236 property:P735 ?y . ?y rdf:type ontology:Q82799 }
Ray Willis
action filter_type
action find
entity Ray Willis
relation given name
type name
['Ray Willis', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Ray_Willis property:given_name ?y . ?y rdf:type ontology:name }
[]
name
Q2133832
SYSTEM
Ray
Q2133832
(Q20744236,P735,c(Q82799))
action filter_type
action find
entity Q20744236
relation P735
type Q82799
The firstname of [ANSWER] Willis is the [ANSWER]
['Q20744236', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q20744236 property:P735 ?y . ?y rdf:type ontology:Q82799 }
Ray
The firstname of Ray Willis is the Ray
Ray
action filter_type
action find
entity Ray Willis
relation given name
type name
['Ray Willis', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Ray_Willis property:given_name ?y . ?y rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20744236
P54
Q12973014
USER
What is Ray Willis a member of ?
(Q20744236,P54,c(Q12973014))
action filter_type
action find
entity Q20744236
relation P54
type Q12973014
['Q20744236', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?g WHERE { resource:Q20744236 property:P54 ?g . ?g rdf:type ontology:Q12973014 }
Ray Willis
action filter_type
action find
entity Ray Willis
relation member of sports team
type sports team
['Ray Willis', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?g WHERE { resource:Ray_Willis property:member_of_sports_team ?g . ?g rdf:type ontology:sports_team }
[]
sports team
Q17505406
SYSTEM
Maccabi Be'er Ya'akov F.C.
Q17505406
(Q20744236,P54,c(Q12973014))
action filter_type
action find
entity Q20744236
relation P54
type Q12973014
Ray Willis a member of is [ANSWER]
['Q20744236', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?g WHERE { resource:Q20744236 property:P54 ?g . ?g rdf:type ontology:Q12973014 }
Maccabi Be'er Ya'akov F.C.
Ray Willis a member of is Maccabi Be'er Ya'akov F.C.
Maccabi Be'er Ya'akov F.C.
action filter_type
action find
entity Ray Willis
relation member of sports team
type sports team
['Ray Willis', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?g WHERE { resource:Ray_Willis property:member_of_sports_team ?g . ?g rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20744236
P21
Q290
USER
What is the sex of Ray Willis ?
(Q20744236,P21,c(Q290))
action filter_type
action find
entity Q20744236
relation P21
type Q290
['Q20744236', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q20744236 property:P21 ?v }
Ray Willis
action filter_type
action find
entity Ray Willis
relation gender
type sex
['Ray Willis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Ray_Willis property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20744236,P21,c(Q290))
action filter_type
action find
entity Q20744236
relation P21
type Q290
The sex of Ray Willis is a [ANSWER]
['Q20744236', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q20744236 property:P21 ?v }
male
The sex of Ray Willis is a male
male
action filter_type
action find
entity Ray Willis
relation gender
type sex
['Ray Willis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Ray_Willis property:gender ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5339374
Q290
USER
And how about Edmund Charles Smith Richards?
(Q5339374,P21,c(Q290))
action filter_type
action find
entity Q5339374
relation P21
type Q290
['Q5339374', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q5339374 property:P21 ?j . ?j rdf:type ontology:Q290 }
Edmund Charles Smith Richards
action filter_type
action find
entity Edmund Charles Smith Richards
relation gender
type sex
['Edmund Charles Smith Richards', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Edmund_Charles_Smith_Richards property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5339374,P21,c(Q290))
action filter_type
action find
entity Q5339374
relation P21
type Q290
[ANSWER]
['Q5339374', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q5339374 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Edmund Charles Smith Richards
relation gender
type sex
['Edmund Charles Smith Richards', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Edmund_Charles_Smith_Richards property:gender ?j . ?j rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q2829274
P21
Q502895
USER
Is Hafsa Bint al-Hajj al-Rukuniyya a that sex ?
(Q2829274,P21,Q6581097)
action is_in
entity Q2829274
action find
entity Q6581097
relation P21
['Q2829274', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q2829274 }
male Hafsa Bint al-Hajj al-Rukuniyya
action is_in
entity Hafsa Bint al-Hajj al-Rukuniyya
action find
entity male
relation gender
['Hafsa Bint al-Hajj al-Rukuniyya', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Hafsa_Bint_al-Hajj_al-Rukuniyya }
[]
common name
SYSTEM
NO
(Q2829274,P21,Q6581097)
action is_in
entity Q2829274
action find
entity Q6581097
relation P21
[ANSWER]
['Q2829274', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q2829274 }
No
action is_in
entity Hafsa Bint al-Hajj al-Rukuniyya
action find
entity male
relation gender
['Hafsa Bint al-Hajj al-Rukuniyya', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Hafsa_Bint_al-Hajj_al-Rukuniyya }
[]