Simple Question (Direct)
Simple Question
Q314920
P21
Q290
USER
Which sex does Mason Ryan have ?
(Q314920,P21,c(Q290))
action filter_type
action find
entity Q314920
relation P21
type Q290
['Q314920', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q314920 property:P21 ?t . ?t rdf:type ontology:Q290 }
Mason Ryan
action filter_type
action find
entity Mason Ryan
relation gender
type sex
['Mason Ryan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Mason_Ryan property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q314920,P21,c(Q290))
action filter_type
action find
entity Q314920
relation P21
type Q290
Mason Ryan has a [ANSWER]
['Q314920', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q314920 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Mason Ryan has a male
male
action filter_type
action find
entity Mason Ryan
relation gender
type sex
['Mason Ryan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Mason_Ryan property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314920
P641
Q349
USER
What was the sport that Mason Ryan was a part of ?
(Q314920,P641,c(Q349))
action filter_type
action find
entity Q314920
relation P641
type Q349
['Q314920', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q314920 property:P641 ?u . ?u rdf:type ontology:Q349 }
Mason Ryan
action filter_type
action find
entity Mason Ryan
relation sport
type sport
['Mason Ryan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Mason_Ryan property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q314920,P641,c(Q349))
action filter_type
action find
entity Q314920
relation P641
type Q349
The sport that Mason Ryan was a part of was [ANSWER]
['Q314920', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q314920 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
The sport that Mason Ryan was a part of was association football
association football
action filter_type
action find
entity Mason Ryan
relation sport
type sport
['Mason Ryan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Mason_Ryan property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314920
P106
Q12737077
USER
Which occupations have Mason Ryan as his/her 's career ?
(Q314920,P106,c(Q12737077))
action filter_type
action find
entity Q314920
relation P106
type Q12737077
['Q314920', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q314920 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Mason Ryan
action filter_type
action find
entity Mason Ryan
relation occupation
type occupation
['Mason Ryan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Mason_Ryan property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q13474373 Q937857
SYSTEM
professional wrestler, association football player
Q13474373 Q937857
(Q314920,P106,c(Q12737077))
action filter_type
action find
entity Q314920
relation P106
type Q12737077
The [ANSWERS] have Mason Ryan as his/her 's career
['Q314920', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q314920 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
professional wrestler association football player
The professional wrestler and association football player have Mason Ryan as his/her 's career
professional wrestler association football player
action filter_type
action find
entity Mason Ryan
relation occupation
type occupation
['Mason Ryan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Mason_Ryan property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q26911527
P106
Q502895
USER
Do Suki Kwon have the profession as those occupations ?
(Q26911527,P106,Q13474373) (Q26911527,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q26911527
relation P106
['Q26911527', 'P106', 'Q13474373'] ['Q26911527', 'P106', 'Q937857']
ASK WHERE { resource:Q26911527 property:P106 ?g . VALUES ( ?g ) { ( resource:Q13474373 ) ( resource:Q937857 ) } }
Suki Kwon
action is_in
entity prev_answer
action find
entity Suki Kwon
relation occupation
['Suki Kwon', 'occupation', 'professional wrestler'] ['Suki Kwon', 'occupation', 'association football player']
ASK WHERE { resource:Suki_Kwon property:occupation ?g . VALUES ( ?g ) { ( resource:professional_wrestler ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
NO
(Q26911527,P106,Q13474373) (Q26911527,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q26911527
relation P106
[ANSWER]
['Q26911527', 'P106', 'Q13474373'] ['Q26911527', 'P106', 'Q937857']
ASK WHERE { resource:Q26911527 property:P106 ?g . VALUES ( ?g ) { ( resource:Q13474373 ) ( resource:Q937857 ) } }
No
action is_in
entity prev_answer
action find
entity Suki Kwon
relation occupation
['Suki Kwon', 'occupation', 'professional wrestler'] ['Suki Kwon', 'occupation', 'association football player']
ASK WHERE { resource:Suki_Kwon property:occupation ?g . VALUES ( ?g ) { ( resource:professional_wrestler ) ( resource:association_football_player ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q937857 Q2736 Q13412009
P425
Q349
USER
Does association football player have association football and ancient pentathlon as thier field of occupation ?
(Q937857,P425,Q2736) (Q937857,P425,Q13412009)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q13412009
relation P425
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q13412009']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q13412009 }
association football player association football ancient pentathlon
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity ancient pentathlon
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'ancient pentathlon']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:ancient_pentathlon }
[]
sport
SYSTEM
YES and NO respectively
(Q937857,P425,Q2736) (Q937857,P425,Q13412009)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q13412009
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q13412009']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q13412009 }
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 ancient pentathlon
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'ancient pentathlon']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:ancient_pentathlon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314920
P735
Q82799
USER
What is the firstname of Mason Ryan ?
(Q314920,P735,c(Q82799))
action filter_type
action find
entity Q314920
relation P735
type Q82799
['Q314920', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q314920 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Mason Ryan
action filter_type
action find
entity Mason Ryan
relation given name
type name
['Mason Ryan', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Mason_Ryan property:given_name ?l . ?l rdf:type ontology:name }
[]
name
Q12294444
SYSTEM
Mason
Q12294444
(Q314920,P735,c(Q82799))
action filter_type
action find
entity Q314920
relation P735
type Q82799
The firstname of [ANSWER] Ryan is the [ANSWER]
['Q314920', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q314920 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Mason
The firstname of Mason Ryan is the Mason
Mason
action filter_type
action find
entity Mason Ryan
relation given name
type name
['Mason Ryan', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Mason_Ryan property:given_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12294444
P1533
Q82799
USER
Which name is equal to that one ?
(Q12294444,P1533,c(Q82799))
action filter_type
action find
entity Q12294444
relation P1533
type Q82799
['Q12294444', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q82799 . resource:Q12294444 property:P1533 ?g }
Mason
action filter_type
action find
entity Mason
relation family name identical to this first name
type name
['Mason', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:name . resource:Mason property:family_name_identical_to_this_first_name ?g }
[]
name
Q13570290
SYSTEM
Mason
Q13570290
(Q12294444,P1533,c(Q82799))
action filter_type
action find
entity Q12294444
relation P1533
type Q82799
[ANSWER] is equal to that one
['Q12294444', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q82799 . resource:Q12294444 property:P1533 ?g }
Mason
Mason is equal to that one
Mason
action filter_type
action find
entity Mason
relation family name identical to this first name
type name
['Mason', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:name . resource:Mason property:family_name_identical_to_this_first_name ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q13570290 Q1860
P407
Q34770
USER
Is that name in English ?
(Q13570290,P407,Q1860)
action is_in
entity Q1860
action find
entity Q13570290
relation P407
['Q13570290', 'P407', 'Q1860']
ASK WHERE { resource:Q13570290 property:P407 resource:Q1860 }
Mason English
action is_in
entity English
action find
entity Mason
relation language of work or name
['Mason', 'language of work or name', 'English']
ASK WHERE { resource:Mason property:language_of_work_or_name resource:English }
[]
language
SYSTEM
YES
(Q13570290,P407,Q1860)
action is_in
entity Q1860
action find
entity Q13570290
relation P407
[ANSWER]
['Q13570290', 'P407', 'Q1860']
ASK WHERE { resource:Q13570290 property:P407 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Mason
relation language of work or name
['Mason', 'language of work or name', 'English']
ASK WHERE { resource:Mason property:language_of_work_or_name resource:English }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8752
P407
Q34770 Q82799
USER
Which languages are less number of names in than Basque ?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q8752
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:P407 ?d . ?d rdf:type ontology:Q34770 . ?l rdf:type ontology:Q82799 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P407 resource:Q8752 . ?c rdf:type ontology:Q82799 } } . FILTER ( ?m < ?h ) }
Basque
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Basque
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:language_of_work_or_name ?d . ?d rdf:type ontology:language . ?l rdf:type ontology:name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:language_of_work_or_name resource:Basque . ?c rdf:type ontology:name } } . FILTER ( ?m < ?h ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q8752
relation P407
type Q82799
[ANSWERS] are less number of names in than Basque
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:P407 ?d . ?d rdf:type ontology:Q34770 . ?l rdf:type ontology:Q82799 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P407 resource:Q8752 . ?c rdf:type ontology:Q82799 } } . FILTER ( ?m < ?h ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are less number of names in than Basque
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Basque
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?m ) WHERE { ?l property:language_of_work_or_name ?d . ?d rdf:type ontology:language . ?l rdf:type ontology:name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:language_of_work_or_name resource:Basque . ?c rdf:type ontology:name } } . FILTER ( ?m < ?h ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4881001 Q937857
P425 P641
Q349
USER
Which sports have association football player as thier associated field of occupation and were Behrouz Pakniat a part of ?
AND((Q937857,P425,c(Q349)), (Q4881001,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q4881001
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q4881001', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { resource:Q937857 property:P425 ?n . resource:Q4881001 property:P641 ?n . ?n rdf:type ontology:Q349 }
Behrouz Pakniat association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Behrouz Pakniat
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Behrouz Pakniat', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { resource:association_football_player property:field_of_this_occupation ?n . resource:Behrouz_Pakniat property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q4881001,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q4881001
relation P641
type Q349
As [ANSWER] have [ANSWER] player as thier associated field of occupation and were Behrouz Pakniat a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q4881001', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { resource:Q937857 property:P425 ?n . resource:Q4881001 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
As association football have association football player as thier associated field of occupation and were Behrouz Pakniat a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Behrouz Pakniat
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Behrouz Pakniat', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { resource:association_football_player property:field_of_this_occupation ?n . resource:Behrouz_Pakniat property:sport ?n . ?n rdf:type ontology:sport }
[]