Simple Question (Direct)
Simple Question
Q1388609
P21
Q290
USER
Which sex does Julius James possess ?
(Q1388609,P21,c(Q290))
action filter_type
action find
entity Q1388609
relation P21
type Q290
['Q1388609', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1388609 property:P21 ?v . ?v rdf:type ontology:Q290 }
Julius James
action filter_type
action find
entity Julius James
relation gender
type sex
['Julius James', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Julius_James property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1388609,P21,c(Q290))
action filter_type
action find
entity Q1388609
relation P21
type Q290
Julius James possesses a [ANSWER]
['Q1388609', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1388609 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Julius James possesses a male
male
action filter_type
action find
entity Julius James
relation gender
type sex
['Julius James', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Julius_James property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1388609
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q6581097,P54,c(Q1194951))
action filter_type
action find
entity Q1388609
relation P54
type Q1194951
['Q6581097', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?a WHERE { resource:Q1388609 property:P54 ?a . ?a rdf:type ontology:Q1194951 }
Julius James
action filter_type
action find
entity Julius James
relation member of sports team
type national sports team
['male', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?a WHERE { resource:Julius_James property:member_of_sports_team ?a . ?a rdf:type ontology:national_sports_team }
[]
national sports team
Q192149
SYSTEM
Trinidad and Tobago national football team
Q192149
(Q6581097,P54,c(Q1194951))
action filter_type
action find
entity Q1388609
relation P54
type Q1194951
And [ANSWER] is that person a member of
['Q6581097', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?a WHERE { resource:Q1388609 property:P54 ?a . ?a rdf:type ontology:Q1194951 }
Trinidad and Tobago national football team
And Trinidad and Tobago national football team is that person a member of
Trinidad and Tobago national football team
action filter_type
action find
entity Julius James
relation member of sports team
type national sports team
['male', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?a WHERE { resource:Julius_James property:member_of_sports_team ?a . ?a rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1388609
P734
Q82799
USER
Who is associated with that person ?
(Q192149,P734,c(Q82799))
action filter_type
action find
entity Q1388609
relation P734
type Q82799
['Q192149', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q1388609 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Julius James
action filter_type
action find
entity Julius James
relation family name
type name
['Trinidad and Tobago national football team', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Julius_James property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q12188082
SYSTEM
James
Q12188082
(Q192149,P734,c(Q82799))
action filter_type
action find
entity Q1388609
relation P734
type Q82799
[ANSWER] is associated with that person
['Q192149', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q1388609 property:P734 ?k . ?k rdf:type ontology:Q82799 }
James
James is associated with that person
James
action filter_type
action find
entity Julius James
relation family name
type name
['Trinidad and Tobago national football team', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Julius_James property:family_name ?k . ?k rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q12188082 Q11994066
P361
Q853614
USER
Is James a component of Norwegian organization number ?
(Q12188082,P361,Q11994066)
action is_in
entity Q11994066
action find
entity Q12188082
relation P361
['Q12188082', 'P361', 'Q11994066']
ASK WHERE { resource:Q12188082 property:P361 resource:Q11994066 }
James Norwegian organization number
action is_in
entity Norwegian organization number
action find
entity James
relation part of
['James', 'part of', 'Norwegian organization number']
ASK WHERE { resource:James property:part_of resource:Norwegian_organization_number }
[]
identifier
SYSTEM
NO
(Q12188082,P361,Q11994066)
action is_in
entity Q11994066
action find
entity Q12188082
relation P361
[ANSWER]
['Q12188082', 'P361', 'Q11994066']
ASK WHERE { resource:Q12188082 property:P361 resource:Q11994066 }
No
action is_in
entity Norwegian organization number
action find
entity James
relation part of
['James', 'part of', 'Norwegian organization number']
ASK WHERE { resource:James property:part_of resource:Norwegian_organization_number }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q386724 Q17335294
USER
Which names are demonstrated in max number of works and coats of arms ?
(c(Q386724)|c(Q17335294),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
[[{'concept': 'Q386724'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:Q386724 ) ( ontology:Q17335294 ) } } GROUP BY ?u } } . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?e ) WHERE { VALUES ( ?n ) { ( ontology:Q386724 ) ( ontology:Q17335294 ) } . ?a rdf:type ?n } GROUP BY ?i } . FILTER ( ?e = ?s ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'work'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:work ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?u } } . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?e ) WHERE { VALUES ( ?n ) { ( ontology:work ) ( ontology:flag_or_coat_of_arms ) } . ?a rdf:type ?n } GROUP BY ?i } . FILTER ( ?e = ?s ) }
[]
name work flag or coat of arms
Q726
SYSTEM
horse
Q726
(c(Q386724)|c(Q17335294),P180,c(Q82799))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
[ANSWER] is demonstrated in max number of works and coats of arms
[[{'concept': 'Q386724'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:Q386724 ) ( ontology:Q17335294 ) } } GROUP BY ?u } } . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?e ) WHERE { VALUES ( ?n ) { ( ontology:Q386724 ) ( ontology:Q17335294 ) } . ?a rdf:type ?n } GROUP BY ?i } . FILTER ( ?e = ?s ) }
horse
Horse is demonstrated in max number of works and coats of arms
horse
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
[[{'concept': 'work'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?t ) WHERE { ?y rdf:type ?c . VALUES ( ?c ) { ( ontology:work ) ( ontology:flag_or_coat_of_arms ) } } GROUP BY ?u } } . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?e ) WHERE { VALUES ( ?n ) { ( ontology:work ) ( ontology:flag_or_coat_of_arms ) } . ?a rdf:type ?n } GROUP BY ?i } . FILTER ( ?e = ?s ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q853614 Q9332 Q82799
USER
Which names are a component of min number of identifiers or behaviors ?
(c(Q82799),P361,c(Q853614)|c(Q9332))
action argmin
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q9332
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?b ) { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:Q853614 ) ( ontology:Q9332 ) } . ?k rdf:type ?j } GROUP BY ?o } } . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?z ) WHERE { { ?a property:P361 ?m . ?a rdf:type ontology:Q82799 . ?m rdf:type ontology:Q9332 } UNION { ?a property:P361 ?m . ?a rdf:type ontology:Q82799 . ?m rdf:type ontology:Q853614 } } GROUP BY ?a } . FILTER ( ?z = ?b ) }
action argmin
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?b ) { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:identifier ) ( ontology:behavior ) } . ?k rdf:type ?j } GROUP BY ?o } } . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?z ) WHERE { { ?a property:part_of ?m . ?a rdf:type ontology:name . ?m rdf:type ontology:behavior } UNION { ?a property:part_of ?m . ?a rdf:type ontology:name . ?m rdf:type ontology:identifier } } GROUP BY ?a } . FILTER ( ?z = ?b ) }
[]
identifier behavior name
Q1058384 Q27352651 Q27350540
SYSTEM
hakham, Seon, Sang
Q2168099 Q5791319 Q11283653 Q26156283 Q1058384 Q7071783 Q15629245 Q235598 Q16882305 Q1240901 Q24251030 Q1093580 Q742083 Q10145967 Q252216 Q272914 Q2553935 Q18645909 Q15238609 Q25695405 Q24091156 Q20875974 Q3281200 Q26266311 Q10587130 Q15926381 Q19687637 Q21470412 Q21534988 Q21405537 Q26266310 Q12624980 Q2876425 Q5 Q631147 Q27651154 Q26736681 Q27352651 Q15788891 Q4400681 Q12600404 Q21484879 Q24090418 Q12601635 Q5461714 Q27350540 Q1399288 Q2491016 Q1557998 Q19831835 Q27450724 Q15711050 Q26736416 Q26736415 Q26741038 Q1915243 Q263542 Q21484914 Q4835658 Q746990 Q20064977 Q876933 Q21538548 Q5034376 Q26741034 Q861966
(c(Q82799),P361,c(Q853614)|c(Q9332))
action argmin
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q9332
[ANSWERS] are a component of min number of identifiers or behaviors
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?b ) { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:Q853614 ) ( ontology:Q9332 ) } . ?k rdf:type ?j } GROUP BY ?o } } . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?z ) WHERE { { ?a property:P361 ?m . ?a rdf:type ontology:Q82799 . ?m rdf:type ontology:Q9332 } UNION { ?a property:P361 ?m . ?a rdf:type ontology:Q82799 . ?m rdf:type ontology:Q853614 } } GROUP BY ?a } . FILTER ( ?z = ?b ) }
human Rotavirusses Tajinaste Czech family name Whittingstall hakham O'Donovan family lizard Piso Rostopchin praenomen Barnaby Han surname Princes of Paliano Grand Master of the Teutonic Knights Árnadóttir Çubukçubaşı Wedekind Abe nomen Curtis Abe Ševela Tent caterpillar Trimnell Moa He Rahim Tyrell Yaşar Edward Ritchard Hyeon Aïssata human infraspecific name Gottlieb Veit Seon Blake Russian surname Sang Salman Hara Seon Florida black bass Sang Fearnley orthographical variant Gyalwang Drukpa Qutb Freundel Lu Roveda Roveda Patti McKeown Griffith Clay BIFF Brahman Dong magi Biff Caomhánach Patti dung beetles
Hakham, Seon and Sang are a component of min number of identifiers or behaviors
hakham Seon Sang
action argmin
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type behavior
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?b ) { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?j ) { ( ontology:identifier ) ( ontology:behavior ) } . ?k rdf:type ?j } GROUP BY ?o } } . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?z ) WHERE { { ?a property:part_of ?m . ?a rdf:type ontology:name . ?m rdf:type ontology:behavior } UNION { ?a property:part_of ?m . ?a rdf:type ontology:name . ?m rdf:type ontology:identifier } } GROUP BY ?a } . FILTER ( ?z = ?b ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27350540
P1533
Q82799
USER
Which name is same as that one ?
(Q27350540,P1533,c(Q82799))
action filter_type
action find
entity Q27350540
relation P1533
type Q82799
['Q27350540', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q27350540 property:P1533 ?l }
Sang
action filter_type
action find
entity Sang
relation family name identical to this first name
type name
['Sang', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Sang property:family_name_identical_to_this_first_name ?l }
[]
name
Clarification for simple ques.
Q27352651
SYSTEM
Did you mean Seon ?
Q1058384 Q27352651 Q27350540
(Q1058384,P1533,c(Q82799)) (Q27352651,P1533,c(Q82799)) (Q27350540,P1533,c(Q82799))
[ANSWER]
['Q1058384', 'P1533', {'concept': 'Q82799'}] ['Q27352651', 'P1533', {'concept': 'Q82799'}] ['Q27350540', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q27350540 property:P1533 ?l }
hakham Seon Sang
Did you mean Seon ?
Seon
['hakham', 'family name identical to this first name', {'concept': 'name'}] ['Seon', 'family name identical to this first name', {'concept': 'name'}] ['Sang', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Sang property:family_name_identical_to_this_first_name ?l }
[]
Simple Question (Coreferenced)
USER
No, I meant Sang. Could you tell me the answer for that?
(Q27350540,P1533,c(Q82799))
Q27350540
['Q27350540', 'P1533', {'concept': 'Q82799'}]
['Sang', 'family name identical to this first name', {'concept': 'name'}]
[]
Q12600404
SYSTEM
Sang
Q12600404
(Q27350540,P1533,c(Q82799))
action filter_type
action find
entity Q27350540
relation P1533
type Q82799
[ANSWER] is same as that one
['Q27350540', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q82799 . resource:Q27350540 property:P1533 ?l }
Sang
Sang is same as that one
Sang
action filter_type
action find
entity Sang
relation family name identical to this first name
type name
['Sang', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:name . resource:Sang property:family_name_identical_to_this_first_name ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q726 Q831765
P366
Q31629
USER
How many types of sport are considered as the main functionality of horse or game clock ?
(Q726,P366,c(Q31629)) (Q831765,P366,c(Q31629))
action count
action union
action filter_type
action find
entity Q726
relation P366
type Q31629
action filter_type
action find
entity Q831765
relation P366
type Q31629
['Q726', 'P366', {'concept': 'Q31629'}] ['Q831765', 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?h property:P366 ?x . VALUES ( ?h ) { ( resource:Q726 ) ( resource:Q831765 ) } }
horse game clock
action count
action union
action filter_type
action find
entity horse
relation use
type type of sport
action filter_type
action find
entity game clock
relation use
type type of sport
['horse', 'use', {'concept': 'type of sport'}] ['game clock', 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?h property:use ?x . VALUES ( ?h ) { ( resource:horse ) ( resource:game_clock ) } }
[]
type of sport
SYSTEM
2
Q718 Q179226
(Q726,P366,c(Q31629)) (Q831765,P366,c(Q31629))
action count
action union
action filter_type
action find
entity Q726
relation P366
type Q31629
action filter_type
action find
entity Q831765
relation P366
type Q31629
[ANSWER]
['Q726', 'P366', {'concept': 'Q31629'}] ['Q831765', 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?h property:P366 ?x . VALUES ( ?h ) { ( resource:Q726 ) ( resource:Q831765 ) } }
chess equestrianism
2
action count
action union
action filter_type
action find
entity horse
relation use
type type of sport
action filter_type
action find
entity game clock
relation use
type type of sport
['horse', 'use', {'concept': 'type of sport'}] ['game clock', 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { ?h property:use ?x . VALUES ( ?h ) { ( resource:horse ) ( resource:game_clock ) } }
[]