Simple Question (Direct)
Simple Question
Q3435619
P54
Q12973014
USER
Which sports teams are Robert Labarthète a member of ?
(Q3435619,P54,c(Q12973014))
action filter_type
action find
entity Q3435619
relation P54
type Q12973014
['Q3435619', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q3435619 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Robert Labarthète
action filter_type
action find
entity Robert Labarthète
relation member of sports team
type sports team
['Robert Labarthète', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Robert_Labarthète property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
sports team
Q518116 Q254209 Q15055309
SYSTEM
France national rugby union team, FC Lourdes, Section Paloise
Q518116 Q254209 Q15055309
(Q3435619,P54,c(Q12973014))
action filter_type
action find
entity Q3435619
relation P54
type Q12973014
[ANSWERS] are Robert Labarthète a member of
['Q3435619', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q3435619 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
France national rugby union team FC Lourdes Section Paloise
France national rugby union team, FC Lourdes and Section Paloise are Robert Labarthète a member of
France national rugby union team FC Lourdes Section Paloise
action filter_type
action find
entity Robert Labarthète
relation member of sports team
type sports team
['Robert Labarthète', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Robert_Labarthète property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3435619
P21
Q290
USER
Which sex does that person have ?
(Q518116,P21,c(Q290)) (Q254209,P21,c(Q290)) (Q15055309,P21,c(Q290))
action filter_type
action find
entity Q3435619
relation P21
type Q290
['Q518116', 'P21', {'concept': 'Q290'}] ['Q254209', 'P21', {'concept': 'Q290'}] ['Q15055309', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3435619 property:P21 ?t . ?t rdf:type ontology:Q290 }
Robert Labarthète
action filter_type
action find
entity Robert Labarthète
relation gender
type sex
['France national rugby union team', 'gender', {'concept': 'sex'}] ['FC Lourdes', 'gender', {'concept': 'sex'}] ['Section Paloise', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Robert_Labarthète property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q518116,P21,c(Q290)) (Q254209,P21,c(Q290)) (Q15055309,P21,c(Q290))
action filter_type
action find
entity Q3435619
relation P21
type Q290
That person has a [ANSWER]
['Q518116', 'P21', {'concept': 'Q290'}] ['Q254209', 'P21', {'concept': 'Q290'}] ['Q15055309', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3435619 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Robert Labarthète
relation gender
type sex
['France national rugby union team', 'gender', {'concept': 'sex'}] ['FC Lourdes', 'gender', {'concept': 'sex'}] ['Section Paloise', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Robert_Labarthète property:gender ?t . ?t rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q27832629 Q3435619
P21
Q290
USER
And also Feliks Khalibekov
AND((Q3435619,P21,c(Q290)), (Q27832629,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q3435619
relation P21
action find
entity Q27832629
relation P21
type Q290
{'AND': [['Q3435619', 'P21', {'concept': 'Q290'}], ['Q27832629', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q3435619 property:P21 ?t . resource:Q27832629 property:P21 ?t }
Feliks Khalibekov Robert Labarthète
action filter_type
action intersection
action find
entity Robert Labarthète
relation gender
action find
entity Feliks Khalibekov
relation gender
type sex
{'AND': [['Robert Labarthète', 'gender', {'concept': 'sex'}], ['Feliks Khalibekov', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Robert_Labarthète property:gender ?t . resource:Feliks_Khalibekov property:gender ?t }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q3435619,P21,c(Q290)), (Q27832629,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q3435619
relation P21
action find
entity Q27832629
relation P21
type Q290
[ANSWER]
{'AND': [['Q3435619', 'P21', {'concept': 'Q290'}], ['Q27832629', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q3435619 property:P21 ?t . resource:Q27832629 property:P21 ?t }
male
male
action filter_type
action intersection
action find
entity Robert Labarthète
relation gender
action find
entity Feliks Khalibekov
relation gender
type sex
{'AND': [['Robert Labarthète', 'gender', {'concept': 'sex'}], ['Feliks Khalibekov', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Robert_Labarthète property:gender ?t . resource:Feliks_Khalibekov property:gender ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q518116
P1346
Q618779
USER
Where was France national rugby union team decalred as a champion ?
(c(Q618779),P1346,Q518116)
action filter_type
action find_reverse
entity Q518116
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q518116']
SELECT DISTINCT ?k WHERE { ?k property:P1346 resource:Q518116 . ?k rdf:type ontology:Q618779 }
France national rugby union team
action filter_type
action find_reverse
entity France national rugby union team
relation winner
type award
[{'concept': 'award'}, 'winner', 'France national rugby union team']
SELECT DISTINCT ?k WHERE { ?k property:winner resource:France_national_rugby_union_team . ?k rdf:type ontology:award }
[]
award
Q1528092
SYSTEM
Giuseppe Garibaldi Trophy
Q1528092
(c(Q618779),P1346,Q518116)
action filter_type
action find_reverse
entity Q518116
relation P1346
type Q618779
France national rugby union team was decalred the [ANSWER] as a champion
[{'concept': 'Q618779'}, 'P1346', 'Q518116']
SELECT DISTINCT ?k WHERE { ?k property:P1346 resource:Q518116 . ?k rdf:type ontology:Q618779 }
Giuseppe Garibaldi Trophy
France national rugby union team was decalred the Giuseppe Garibaldi Trophy as a champion
Giuseppe Garibaldi Trophy
action filter_type
action find_reverse
entity France national rugby union team
relation winner
type award
[{'concept': 'award'}, 'winner', 'France national rugby union team']
SELECT DISTINCT ?k WHERE { ?k property:winner resource:France_national_rugby_union_team . ?k rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q518116
P17
Q15617994
USER
Which administrative territory is that sports team situated in ?
(Q1528092,P17,c(Q15617994))
action filter_type
action find
entity Q518116
relation P17
type Q15617994
['Q1528092', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q518116 property:P17 ?c }
France national rugby union team
action filter_type
action find
entity France national rugby union team
relation country
type designation for an administrative territorial entity
['Giuseppe Garibaldi Trophy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:France_national_rugby_union_team property:country ?c }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1528092,P17,c(Q15617994))
action filter_type
action find
entity Q518116
relation P17
type Q15617994
That sports team is situated in [ANSWER]
['Q1528092', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q518116 property:P17 ?c }
France
That sports team is situated in France
France
action filter_type
action find
entity France national rugby union team
relation country
type designation for an administrative territorial entity
['Giuseppe Garibaldi Trophy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:France_national_rugby_union_team property:country ?c }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q680535 Q155
P47
Q15617994
USER
Does that administrative territory have an adjacent border with Kammerforst and Brazil ?
(Q142,P47,Q680535) (Q142,P47,Q155)
action is_in
entity Q142
action intersection
action find_reverse
entity Q680535
relation P47
action find_reverse
entity Q155
relation P47
['Q142', 'P47', 'Q680535'] ['Q142', 'P47', 'Q155']
ASK WHERE { resource:Q142 property:P47 resource:Q680535 . resource:Q142 property:P47 resource:Q155 }
France Kammerforst Brazil
action is_in
entity France
action intersection
action find_reverse
entity Kammerforst
relation shares border with
action find_reverse
entity Brazil
relation shares border with
['France', 'shares border with', 'Kammerforst'] ['France', 'shares border with', 'Brazil']
ASK WHERE { resource:France property:shares_border_with resource:Kammerforst . resource:France property:shares_border_with resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q142,P47,Q680535) (Q142,P47,Q155)
action is_in
entity Q142
action intersection
action find_reverse
entity Q680535
relation P47
action find_reverse
entity Q155
relation P47
[ANSWER]
['Q142', 'P47', 'Q680535'] ['Q142', 'P47', 'Q155']
ASK WHERE { resource:Q142 property:P47 resource:Q680535 . resource:Q142 property:P47 resource:Q155 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity Kammerforst
relation shares border with
action find_reverse
entity Brazil
relation shares border with
['France', 'shares border with', 'Kammerforst'] ['France', 'shares border with', 'Brazil']
ASK WHERE { resource:France property:shares_border_with resource:Kammerforst . resource:France property:shares_border_with resource:Brazil }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atleast 28 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 28
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { FILTER ( ?y >= 28 ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?y ) WHERE { ?r property:P530 ?m . ?r rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?r } }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 28
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { FILTER ( ?y >= 28 ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?y ) WHERE { ?r property:diplomatic_relation ?m . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
4
Q155 Q38 Q230 Q184
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 28
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { FILTER ( ?y >= 28 ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?y ) WHERE { ?r property:P530 ?m . ?r rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?r } }
Brazil Italy Georgia Belarus
4
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 28
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { FILTER ( ?y >= 28 ) . { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?y ) WHERE { ?r property:diplomatic_relation ?m . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P85
Q571
USER
What is the anthem for France ?
(Q142,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
['Q142', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?i WHERE { resource:Q142 property:P85 ?i . ?i rdf:type ontology:Q571 }
France
action filter_type
action find
entity France
relation anthem
type book
['France', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?i WHERE { resource:France property:anthem ?i . ?i rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
(Q142,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
The anthem for France is [ANSWER]
['Q142', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?i WHERE { resource:Q142 property:P85 ?i . ?i rdf:type ontology:Q571 }
La Marseillaise
The anthem for France is La Marseillaise
La Marseillaise
action filter_type
action find
entity France
relation anthem
type book
['France', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?i WHERE { resource:France property:anthem ?i . ?i rdf:type ontology:book }
[]