Simple Question (Direct)
Simple Question
Q14042691
P102
Q7278
USER
Which political party is Antoni Poveda Zapata a member of ?
(Q14042691,P102,c(Q7278))
action filter_type
action find
entity Q14042691
relation P102
type Q7278
['Q14042691', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7278 . resource:Q14042691 property:P102 ?h }
Antoni Poveda Zapata
action filter_type
action find
entity Antoni Poveda Zapata
relation member of political party
type political party
['Antoni Poveda Zapata', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_party . resource:Antoni_Poveda_Zapata property:member_of_political_party ?h }
[]
political party
Q2055003
SYSTEM
Socialists' Party of Catalonia
Q2055003
(Q14042691,P102,c(Q7278))
action filter_type
action find
entity Q14042691
relation P102
type Q7278
[ANSWER] is Antoni Poveda Zapata a member of
['Q14042691', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7278 . resource:Q14042691 property:P102 ?h }
Socialists' Party of Catalonia
Socialists' Party of Catalonia is Antoni Poveda Zapata a member of
Socialists' Party of Catalonia
action filter_type
action find
entity Antoni Poveda Zapata
relation member of political party
type political party
['Antoni Poveda Zapata', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_party . resource:Antoni_Poveda_Zapata property:member_of_political_party ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14042691
P1412
Q34770
USER
Which language can Antoni Poveda Zapata understand ?
(Q14042691,P1412,c(Q34770))
action filter_type
action find
entity Q14042691
relation P1412
type Q34770
['Q14042691', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q14042691 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Antoni Poveda Zapata
action filter_type
action find
entity Antoni Poveda Zapata
relation languages spoken, written or signed
type language
['Antoni Poveda Zapata', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Antoni_Poveda_Zapata property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q14042691,P1412,c(Q34770))
action filter_type
action find
entity Q14042691
relation P1412
type Q34770
Antoni Poveda Zapata can understand the [ANSWER]
['Q14042691', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q14042691 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Spanish
Antoni Poveda Zapata can understand the Spanish
Spanish
action filter_type
action find
entity Antoni Poveda Zapata
relation languages spoken, written or signed
type language
['Antoni Poveda Zapata', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Antoni_Poveda_Zapata property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1682658
Q34770
USER
And how about Janet Groth?
(Q1682658,P1412,c(Q34770))
action filter_type
action find
entity Q1682658
relation P1412
type Q34770
['Q1682658', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q1682658 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Janet Groth
action filter_type
action find
entity Janet Groth
relation languages spoken, written or signed
type language
['Janet Groth', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Janet_Groth property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1682658,P1412,c(Q34770))
action filter_type
action find
entity Q1682658
relation P1412
type Q34770
[ANSWER]
['Q1682658', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q1682658 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Janet Groth
relation languages spoken, written or signed
type language
['Janet Groth', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Janet_Groth property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P282
Q9779 Q2001982 Q34770
USER
How many languages utilizes greater number of alphabets or notations as the writing system than that language ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q9779
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?f ) WHERE { { ?q property:P282 ?w . ?q rdf:type ontology:Q34770 . ?w rdf:type ontology:Q9779 } UNION { ?q property:P282 ?w . ?q rdf:type ontology:Q34770 . ?w rdf:type ontology:Q2001982 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q1860 property:P282 ?r . { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } } } . FILTER ( ?f > ?h ) }
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity English
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?f ) WHERE { { ?q property:writing_system ?w . ?q rdf:type ontology:language . ?w rdf:type ontology:alphabet } UNION { ?q property:writing_system ?w . ?q rdf:type ontology:language . ?w rdf:type ontology:notation } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:English property:writing_system ?r . { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:alphabet ) ( ontology:notation ) } } } } . FILTER ( ?f > ?h ) }
[]
alphabet notation language
SYSTEM
15
Q182695 Q29572 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q9779
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?f ) WHERE { { ?q property:P282 ?w . ?q rdf:type ontology:Q34770 . ?w rdf:type ontology:Q9779 } UNION { ?q property:P282 ?w . ?q rdf:type ontology:Q34770 . ?w rdf:type ontology:Q2001982 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q1860 property:P282 ?r . { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } } } . FILTER ( ?f > ?h ) }
Late Old Japanese Avestan Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
15
action count
action greater
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity English
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?f ) WHERE { { ?q property:writing_system ?w . ?q rdf:type ontology:language . ?w rdf:type ontology:alphabet } UNION { ?q property:writing_system ?w . ?q rdf:type ontology:language . ?w rdf:type ontology:notation } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:English property:writing_system ?r . { ?r rdf:type ?e . VALUES ( ?e ) { ( ontology:alphabet ) ( ontology:notation ) } } } } . FILTER ( ?f > ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14042691
P6
Q1048835
USER
Which political territory is Antoni Poveda Zapata the head of the goverment of ?
(c(Q1048835),P6,Q14042691)
action filter_type
action find_reverse
entity Q14042691
relation P6
type Q1048835
[{'concept': 'Q1048835'}, 'P6', 'Q14042691']
SELECT DISTINCT ?s WHERE { ?s property:P6 resource:Q14042691 . ?s rdf:type ontology:Q1048835 }
Antoni Poveda Zapata
action filter_type
action find_reverse
entity Antoni Poveda Zapata
relation head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of government', 'Antoni Poveda Zapata']
SELECT DISTINCT ?s WHERE { ?s property:head_of_government resource:Antoni_Poveda_Zapata . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q15640
SYSTEM
Sant Joan Despí
Q15640
(c(Q1048835),P6,Q14042691)
action filter_type
action find_reverse
entity Q14042691
relation P6
type Q1048835
[ANSWER] is Antoni Poveda Zapata the head of the goverment of
[{'concept': 'Q1048835'}, 'P6', 'Q14042691']
SELECT DISTINCT ?s WHERE { ?s property:P6 resource:Q14042691 . ?s rdf:type ontology:Q1048835 }
Sant Joan Despí
Sant Joan Despí is Antoni Poveda Zapata the head of the goverment of
Sant Joan Despí
action filter_type
action find_reverse
entity Antoni Poveda Zapata
relation head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of government', 'Antoni Poveda Zapata']
SELECT DISTINCT ?s WHERE { ?s property:head_of_government resource:Antoni_Poveda_Zapata . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15640
P19
Q502895
USER
Who were born at that political territory ?
(c(Q502895),P19,Q15640)
action filter_type
action find_reverse
entity Q15640
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q15640']
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q15640 . ?k rdf:type ontology:Q502895 }
Sant Joan Despí
action filter_type
action find_reverse
entity Sant Joan Despí
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Sant Joan Despí']
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Sant_Joan_Despí . ?k rdf:type ontology:common_name }
[]
common name
Q1423311 Q2918636 Q1690713
SYSTEM
Josep Seguer, Martín Domínguez, Joan Babot i Xaus
Q1690713 Q1423311 Q22694710 Q2918636 Q4893910 Q2479529
(c(Q502895),P19,Q15640)
action filter_type
action find_reverse
entity Q15640
relation P19
type Q502895
[ANSWERS] were born at that political territory
[{'concept': 'Q502895'}, 'P19', 'Q15640']
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q15640 . ?k rdf:type ontology:Q502895 }
Joan Babot i Xaus Josep Seguer Pablo Maffeo Martín Domínguez Xavier Vendrell i Segura Francisco Calvet
Josep Seguer, Martín Domínguez and Joan Babot i Xaus were born at that political territory
Josep Seguer Martín Domínguez Joan Babot i Xaus
action filter_type
action find_reverse
entity Sant Joan Despí
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Sant Joan Despí']
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Sant_Joan_Despí . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1423311 Q2918636 Q1690713
P106
Q12737077
USER
What are the professions of those people ?
(Q1423311,P106,c(Q12737077)) (Q2918636,P106,c(Q12737077)) (Q1690713,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q1423311', 'P106', {'concept': 'Q12737077'}] ['Q2918636', 'P106', {'concept': 'Q12737077'}] ['Q1690713', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?m property:P106 ?w . ?w rdf:type ontology:Q12737077 . VALUES ( ?m ) { ( resource:Q1690713 ) ( resource:Q1423311 ) ( resource:Q22694710 ) } }
Josep Seguer Martín Domínguez Joan Babot i Xaus
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Josep Seguer', 'occupation', {'concept': 'occupation'}] ['Martín Domínguez', 'occupation', {'concept': 'occupation'}] ['Joan Babot i Xaus', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?m property:occupation ?w . ?w rdf:type ontology:occupation . VALUES ( ?m ) { ( resource:Joan_Babot_i_Xaus ) ( resource:Josep_Seguer ) ( resource:Pablo_Maffeo ) } }
[]
occupation
Q628099 Q937857 Q937857
SYSTEM
association football manager for 1st, association football player for 2nd, 3rd
Q628099 Q937857 Q937857 Q937857
(Q1423311,P106,c(Q12737077)) (Q2918636,P106,c(Q12737077)) (Q1690713,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q1423311', 'P106', {'concept': 'Q12737077'}] ['Q2918636', 'P106', {'concept': 'Q12737077'}] ['Q1690713', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?m property:P106 ?w . ?w rdf:type ontology:Q12737077 . VALUES ( ?m ) { ( resource:Q1690713 ) ( resource:Q1423311 ) ( resource:Q22694710 ) } }
association football manager association football player association football player association football player
The professions of those people are association football manager, association football player and association football player
association football manager association football player association football player
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Josep Seguer', 'occupation', {'concept': 'occupation'}] ['Martín Domínguez', 'occupation', {'concept': 'occupation'}] ['Joan Babot i Xaus', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?m property:occupation ?w . ?w rdf:type ontology:occupation . VALUES ( ?m ) { ( resource:Joan_Babot_i_Xaus ) ( resource:Josep_Seguer ) ( resource:Pablo_Maffeo ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1423311
P734
Q82799
USER
Who has the surname that person ?
(Q1423311,P734,c(Q82799))
action filter_type
action find
entity Q1423311
relation P734
type Q82799
['Q1423311', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1423311 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Josep Seguer
action filter_type
action find
entity Josep Seguer
relation family name
type name
['Josep Seguer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Josep_Seguer property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q1423311
SYSTEM
Did you mean Josep Seguer ?
Q628099 Q937857 Q937857
(Q628099,P734,c(Q82799)) (Q937857,P734,c(Q82799)) (Q937857,P734,c(Q82799))
[ANSWER]
['Q628099', 'P734', {'concept': 'Q82799'}] ['Q937857', 'P734', {'concept': 'Q82799'}] ['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1423311 property:P734 ?d . ?d rdf:type ontology:Q82799 }
association football manager association football player association football player
Did you mean Josep Seguer ?
Josep Seguer
['association football manager', 'family name', {'concept': 'name'}] ['association football player', 'family name', {'concept': 'name'}] ['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Josep_Seguer property:family_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1423311,P734,c(Q82799))
['Q1423311', 'P734', {'concept': 'Q82799'}]
['Josep Seguer', 'family name', {'concept': 'name'}]
[]
Q16863062
SYSTEM
Seguer
Q16863062
(Q1423311,P734,c(Q82799))
action filter_type
action find
entity Q1423311
relation P734
type Q82799
[ANSWER] has the surname that person
['Q1423311', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1423311 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Seguer
Seguer has the surname that person
Seguer
action filter_type
action find
entity Josep Seguer
relation family name
type name
['Josep Seguer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Josep_Seguer property:family_name ?d . ?d rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1423311
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Josep Seguer ?
(Q1423311,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1423311
relation P27
type Q15617994
['Q1423311', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q1423311 property:P27 ?z }
Josep Seguer
action count
action filter_type
action find
entity Josep Seguer
relation country of citizenship
type designation for an administrative territorial entity
['Josep Seguer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Josep_Seguer property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q1423311,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1423311
relation P27
type Q15617994
[ANSWER]
['Q1423311', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q1423311 property:P27 ?z }
Spain
1
action count
action filter_type
action find
entity Josep Seguer
relation country of citizenship
type designation for an administrative territorial entity
['Josep Seguer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Josep_Seguer property:country_of_citizenship ?z }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q351788
Q15617994
USER
And also tell me about Robert Stoller?
(Q351788,P27,c(Q15617994))
action count
action filter_type
action find
entity Q351788
relation P27
type Q15617994
['Q351788', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Q351788 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Robert Stoller
action count
action filter_type
action find
entity Robert Stoller
relation country of citizenship
type designation for an administrative territorial entity
['Robert Stoller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Robert_Stoller property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q351788,P27,c(Q15617994))
action count
action filter_type
action find
entity Q351788
relation P27
type Q15617994
[ANSWER]
['Q351788', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Q351788 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Robert Stoller
relation country of citizenship
type designation for an administrative territorial entity
['Robert Stoller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Robert_Stoller property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q351788
P21
Q290
USER
Which sex does Robert Stoller belong to ?
(Q351788,P21,c(Q290))
action filter_type
action find
entity Q351788
relation P21
type Q290
['Q351788', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q351788 property:P21 ?q . ?q rdf:type ontology:Q290 }
Robert Stoller
action filter_type
action find
entity Robert Stoller
relation gender
type sex
['Robert Stoller', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Robert_Stoller property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q351788,P21,c(Q290))
action filter_type
action find
entity Q351788
relation P21
type Q290
Robert Stoller belongs to [ANSWER]
['Q351788', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q351788 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Robert Stoller belongs to male
male
action filter_type
action find
entity Robert Stoller
relation gender
type sex
['Robert Stoller', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Robert_Stoller property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1423311
P54
Q1194951
USER
Which national sports teams are Josep Seguer a member of ?
(Q1423311,P54,c(Q1194951))
action filter_type
action find
entity Q1423311
relation P54
type Q1194951
['Q1423311', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { resource:Q1423311 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Josep Seguer
action filter_type
action find
entity Josep Seguer
relation member of sports team
type national sports team
['Josep Seguer', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { resource:Josep_Seguer property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
national sports team
Q42267 Q17228
SYSTEM
Spain national football team, Catalonia national football team
Q42267 Q17228
(Q1423311,P54,c(Q1194951))
action filter_type
action find
entity Q1423311
relation P54
type Q1194951
The [ANSWERS] are Josep Seguer a member of
['Q1423311', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?f WHERE { resource:Q1423311 property:P54 ?f . ?f rdf:type ontology:Q1194951 }
Spain national football team Catalonia national football team
The Spain national football team and Catalonia national football team are Josep Seguer a member of
Spain national football team Catalonia national football team
action filter_type
action find
entity Josep Seguer
relation member of sports team
type national sports team
['Josep Seguer', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?f WHERE { resource:Josep_Seguer property:member_of_sports_team ?f . ?f rdf:type ontology:national_sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42267
P710
Q13406554
USER
Which sport competitions did that national sports team participate in ?
(c(Q13406554),P710,Q42267)
action filter_type
action find_reverse
entity Q42267
relation P710
type Q13406554
[{'concept': 'Q13406554'}, 'P710', 'Q42267']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q42267 . ?u rdf:type ontology:Q13406554 }
Spain national football team
action filter_type
action find_reverse
entity Spain national football team
relation participant
type sport competition
[{'concept': 'sport competition'}, 'participant', 'Spain national football team']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:Spain_national_football_team . ?u rdf:type ontology:sport_competition }
[]
sport competition
Clarification for simple ques.
Q17228
SYSTEM
Did you mean Catalonia national football team ?
Q42267 Q17228
(c(Q13406554),P710,Q42267) (c(Q13406554),P710,Q17228)
[ANSWER]
[{'concept': 'Q13406554'}, 'P710', 'Q42267'] [{'concept': 'Q13406554'}, 'P710', 'Q17228']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q42267 . ?u rdf:type ontology:Q13406554 }
Spain national football team Catalonia national football team
Did you mean Catalonia national football team ?
Catalonia national football team
[{'concept': 'sport competition'}, 'participant', 'Spain national football team'] [{'concept': 'sport competition'}, 'participant', 'Catalonia national football team']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:Spain_national_football_team . ?u rdf:type ontology:sport_competition }
[]
Simple Question (Coreferenced)
USER
No, I meant Spain national football team. Could you tell me the answer for that?
(c(Q13406554),P710,Q42267)
Q42267
[{'concept': 'Q13406554'}, 'P710', 'Q42267']
[{'concept': 'sport competition'}, 'participant', 'Spain national football team']
[]
Q208401 Q308607 Q752359
SYSTEM
2010 FIFA World Cup Final, UEFA Euro 2012 Final, UEFA Euro 2008 Final
Q752359 Q208401 Q308607 Q17253973
(c(Q13406554),P710,Q42267)
action filter_type
action find_reverse
entity Q42267
relation P710
type Q13406554
That national sports team participated in [ANSWERS]
[{'concept': 'Q13406554'}, 'P710', 'Q42267']
SELECT DISTINCT ?u WHERE { ?u property:P710 resource:Q42267 . ?u rdf:type ontology:Q13406554 }
UEFA Euro 2008 Final 2010 FIFA World Cup Final UEFA Euro 2012 Final Spain - Netherlands
That national sports team participated in 2010 FIFA World Cup Final, UEFA Euro 2012 Final and UEFA Euro 2008 Final
2010 FIFA World Cup Final UEFA Euro 2012 Final UEFA Euro 2008 Final
action filter_type
action find_reverse
entity Spain national football team
relation participant
type sport competition
[{'concept': 'sport competition'}, 'participant', 'Spain national football team']
SELECT DISTINCT ?u WHERE { ?u property:participant resource:Spain_national_football_team . ?u rdf:type ontology:sport_competition }
[]