Simple Question (Direct)
Simple Question
Q3160979
P641
Q349
USER
What was the sport that James Chambers was a part of ?
(Q3160979,P641,c(Q349))
action filter_type
action find
entity Q3160979
relation P641
type Q349
['Q3160979', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3160979 property:P641 ?o . ?o rdf:type ontology:Q349 }
James Chambers
action filter_type
action find
entity James Chambers
relation sport
type sport
['James Chambers', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:James_Chambers property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3160979,P641,c(Q349))
action filter_type
action find
entity Q3160979
relation P641
type Q349
The sport that James Chambers was a part of was [ANSWER]
['Q3160979', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3160979 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
The sport that James Chambers was a part of was association football
association football
action filter_type
action find
entity James Chambers
relation sport
type sport
['James Chambers', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:James_Chambers property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3160979
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q3160979
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q3160979 property:P27 ?v }
James Chambers
action filter_type
action find
entity James Chambers
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_Chambers property:country_of_citizenship ?v }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q3160979
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q3160979 property:P27 ?v }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity James Chambers
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:James_Chambers property:country_of_citizenship ?v }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20754833 Q3160979
P106
Q12737077
USER
Which occupations are the professions of James Chambers or Erich Martin Wolf ?
OR((Q3160979,P106,c(Q12737077)), (Q20754833,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3160979
relation P106
action find
entity Q20754833
relation P106
type Q12737077
{'OR': [['Q3160979', 'P106', {'concept': 'Q12737077'}], ['Q20754833', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3160979 property:P106 ?n } UNION { resource:Q20754833 property:P106 ?n } } . ?n rdf:type ontology:Q12737077 }
Erich Martin Wolf James Chambers
action filter_type
action union
action find
entity James Chambers
relation occupation
action find
entity Erich Martin Wolf
relation occupation
type occupation
{'OR': [['James Chambers', 'occupation', {'concept': 'occupation'}], ['Erich Martin Wolf', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?n WHERE { { { resource:James_Chambers property:occupation ?n } UNION { resource:Erich_Martin_Wolf property:occupation ?n } } . ?n rdf:type ontology:occupation }
[]
occupation
Q2259451 Q33999 Q937857 Q3387717
SYSTEM
stage actor, actor, association football player, theatre director
Q2259451 Q33999 Q937857 Q3387717
OR((Q3160979,P106,c(Q12737077)), (Q20754833,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3160979
relation P106
action find
entity Q20754833
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q3160979', 'P106', {'concept': 'Q12737077'}], ['Q20754833', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q3160979 property:P106 ?n } UNION { resource:Q20754833 property:P106 ?n } } . ?n rdf:type ontology:Q12737077 }
stage actor actor association football player theatre director
The professions of James Chambers or Erich Martin are an stage actor, association football player and theatre director
stage actor actor association football player theatre director
action filter_type
action union
action find
entity James Chambers
relation occupation
action find
entity Erich Martin Wolf
relation occupation
type occupation
{'OR': [['James Chambers', 'occupation', {'concept': 'occupation'}], ['Erich Martin Wolf', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?n WHERE { { { resource:James_Chambers property:occupation ?n } UNION { resource:Erich_Martin_Wolf property:occupation ?n } } . ?n rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q937857
P800
Q502895
USER
Who is author of that occupation ?
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q937857 . ?m rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:association_football_player . ?m rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q937857
SYSTEM
Did you mean association football player ?
Q2259451 Q33999 Q937857 Q3387717
(c(Q502895),P800,Q2259451) (c(Q502895),P800,Q33999) (c(Q502895),P800,Q937857) (c(Q502895),P800,Q3387717)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q2259451'] [{'concept': 'Q502895'}, 'P800', 'Q33999'] [{'concept': 'Q502895'}, 'P800', 'Q937857'] [{'concept': 'Q502895'}, 'P800', 'Q3387717']
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q937857 . ?m rdf:type ontology:Q502895 }
stage actor actor association football player theatre director
Did you mean association football player ?
association football player
[{'concept': 'common name'}, 'notable work', 'stage actor'] [{'concept': 'common name'}, 'notable work', 'actor'] [{'concept': 'common name'}, 'notable work', 'association football player'] [{'concept': 'common name'}, 'notable work', 'theatre director']
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:association_football_player . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P800,Q937857)
[{'concept': 'Q502895'}, 'P800', 'Q937857']
[{'concept': 'common name'}, 'notable work', 'association football player']
[]
Q23047441
SYSTEM
Hugh Morgan-Owen
Q23047441
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
Is author of that occupation [ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?m WHERE { ?m property:P800 resource:Q937857 . ?m rdf:type ontology:Q502895 }
Hugh Morgan-Owen
Is author of that occupation Hugh Morgan-Owen
Hugh Morgan-Owen
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?m WHERE { ?m property:notable_work resource:association_football_player . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P27
Q43229 Q4164871
USER
How many organizations or positions are a citizen of United Kingdom ?
(c(Q43229),P27,Q145) (c(Q4164871),P27,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P27
type Q43229
action filter_type
action find_reverse
entity Q145
relation P27
type Q4164871
[{'concept': 'Q43229'}, 'P27', 'Q145'] [{'concept': 'Q4164871'}, 'P27', 'Q145']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:Q43229 . ?i property:P27 resource:Q145 } UNION { ?i property:P27 resource:Q145 . ?i rdf:type ontology:Q4164871 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation country of citizenship
type organization
action filter_type
action find_reverse
entity United Kingdom
relation country of citizenship
type position
[{'concept': 'organization'}, 'country of citizenship', 'United Kingdom'] [{'concept': 'position'}, 'country of citizenship', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:organization . ?i property:country_of_citizenship resource:United_Kingdom } UNION { ?i property:country_of_citizenship resource:United_Kingdom . ?i rdf:type ontology:position } }
[]
organization position
SYSTEM
2
Q19957306 Q7911020
(c(Q43229),P27,Q145) (c(Q4164871),P27,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P27
type Q43229
action filter_type
action find_reverse
entity Q145
relation P27
type Q4164871
[ANSWER]
[{'concept': 'Q43229'}, 'P27', 'Q145'] [{'concept': 'Q4164871'}, 'P27', 'Q145']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:Q43229 . ?i property:P27 resource:Q145 } UNION { ?i property:P27 resource:Q145 . ?i rdf:type ontology:Q4164871 } }
Mims Davies Valentine Stockdale
2
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation country of citizenship
type organization
action filter_type
action find_reverse
entity United Kingdom
relation country of citizenship
type position
[{'concept': 'organization'}, 'country of citizenship', 'United Kingdom'] [{'concept': 'position'}, 'country of citizenship', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { ?i rdf:type ontology:organization . ?i property:country_of_citizenship resource:United_Kingdom } UNION { ?i property:country_of_citizenship resource:United_Kingdom . ?i rdf:type ontology:position } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7291
P366
Q349 Q1076486 Q1875621
USER
Which sports represent the main use of greater number of sports venues or aircraft classes than badminton ?
(c(Q1076486)|c(Q1875621),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q1076486
type Q1875621
[[{'concept': 'Q1076486'}, {'concept': 'Q1875621'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P366 resource:Q7291 . { { ?b rdf:type ontology:Q1076486 } UNION { ?b rdf:type ontology:Q1875621 } } } } . FILTER ( ?l > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?a WHERE { VALUES ( ?u ) { ( ontology:Q1076486 ) ( ontology:Q1875621 ) } . ?p rdf:type ?u } GROUP BY ?a } }
badminton
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type sports venue
type aircraft class
[[{'concept': 'sports venue'}, {'concept': 'aircraft class'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:use resource:badminton . { { ?b rdf:type ontology:sports_venue } UNION { ?b rdf:type ontology:aircraft_class } } } } . FILTER ( ?l > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?a WHERE { VALUES ( ?u ) { ( ontology:sports_venue ) ( ontology:aircraft_class ) } . ?p rdf:type ?u } GROUP BY ?a } }
[]
sport sports venue aircraft class
Q183018 Q2736 Q1875777
SYSTEM
bandy, association football, air racing
Q183018 Q1875777 Q2736 Q41466 Q1194269
(c(Q1076486)|c(Q1875621),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q1076486
type Q1875621
[ANSWERS] represent the main use of greater number of sports venues or aircraft classes than badminton
[[{'concept': 'Q1076486'}, {'concept': 'Q1875621'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P366 resource:Q7291 . { { ?b rdf:type ontology:Q1076486 } UNION { ?b rdf:type ontology:Q1875621 } } } } . FILTER ( ?l > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?a WHERE { VALUES ( ?u ) { ( ontology:Q1076486 ) ( ontology:Q1875621 ) } . ?p rdf:type ?u } GROUP BY ?a } }
bandy air racing association football ice hockey harness racing
Bandy, association football and air racing represent the main use of greater number of sports venues or aircraft classes than badminton
bandy association football air racing
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type sports venue
type aircraft class
[[{'concept': 'sports venue'}, {'concept': 'aircraft class'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:use resource:badminton . { { ?b rdf:type ontology:sports_venue } UNION { ?b rdf:type ontology:aircraft_class } } } } . FILTER ( ?l > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?a WHERE { VALUES ( ?u ) { ( ontology:sports_venue ) ( ontology:aircraft_class ) } . ?p rdf:type ?u } GROUP BY ?a } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q500050
P366
Q349 Q1076486 Q1875621
USER
And what about cross country running?
(c(Q1076486)|c(Q1875621),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q500050
relation P366
type Q1076486
type Q1875621
[[{'concept': 'Q1076486'}, {'concept': 'Q1875621'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:P366 ?b . ?b rdf:type ontology:Q349 . ?h rdf:type ontology:Q1076486 } UNION { ?h property:P366 ?b . ?b rdf:type ontology:Q349 . ?h rdf:type ontology:Q1875621 } } GROUP BY ?b } . FILTER ( ?n > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P366 resource:Q500050 . { { ?s rdf:type ontology:Q1076486 } UNION { ?s rdf:type ontology:Q1875621 } } } } }
cross country running
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action count
action filter_multi_types
action find_reverse
entity cross country running
relation use
type sports venue
type aircraft class
[[{'concept': 'sports venue'}, {'concept': 'aircraft class'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:use ?b . ?b rdf:type ontology:sport . ?h rdf:type ontology:sports_venue } UNION { ?h property:use ?b . ?b rdf:type ontology:sport . ?h rdf:type ontology:aircraft_class } } GROUP BY ?b } . FILTER ( ?n > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:use resource:cross_country_running . { { ?s rdf:type ontology:sports_venue } UNION { ?s rdf:type ontology:aircraft_class } } } } }
[]
sport sports venue aircraft class
Q183018 Q2736 Q1875777
SYSTEM
bandy, association football, air racing
Q183018 Q1875777 Q2736 Q41466 Q1194269
(c(Q1076486)|c(Q1875621),P366,c(Q349))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q500050
relation P366
type Q1076486
type Q1875621
[ANSWERS]
[[{'concept': 'Q1076486'}, {'concept': 'Q1875621'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:P366 ?b . ?b rdf:type ontology:Q349 . ?h rdf:type ontology:Q1076486 } UNION { ?h property:P366 ?b . ?b rdf:type ontology:Q349 . ?h rdf:type ontology:Q1875621 } } GROUP BY ?b } . FILTER ( ?n > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P366 resource:Q500050 . { { ?s rdf:type ontology:Q1076486 } UNION { ?s rdf:type ontology:Q1875621 } } } } }
bandy air racing association football ice hockey harness racing
bandy association football air racing
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action count
action filter_multi_types
action find_reverse
entity cross country running
relation use
type sports venue
type aircraft class
[[{'concept': 'sports venue'}, {'concept': 'aircraft class'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:use ?b . ?b rdf:type ontology:sport . ?h rdf:type ontology:sports_venue } UNION { ?h property:use ?b . ?b rdf:type ontology:sport . ?h rdf:type ontology:aircraft_class } } GROUP BY ?b } . FILTER ( ?n > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:use resource:cross_country_running . { { ?s rdf:type ontology:sports_venue } UNION { ?s rdf:type ontology:aircraft_class } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P2416
Q502895
USER
Which people competed in association football ?
(c(Q502895),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[{'concept': 'Q502895'}, 'P2416', 'Q2736']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P2416 resource:Q2736 }
association football
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:sports_discipline_competed_in resource:association_football }
[]
common name
Q22998602 Q3939068 Q1975921
SYSTEM
Maximilian Mittelstädt, Roberto Policano, Agustín Gómez Pagóla
Q23902692 Q3939068 Q22687929 Q22998602 Q877207 Q1975921 Q23095388 Q24006307
(c(Q502895),P2416,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P2416
type Q502895
[ANSWERS] competed in association football
[{'concept': 'Q502895'}, 'P2416', 'Q2736']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P2416 resource:Q2736 }
Florian Kohls Roberto Policano Pedro Confesor Maximilian Mittelstädt Horst Bertram Agustín Gómez Pagóla Eberhard Dallagrazia Lion Schweers
Maximilian Mittelstädt, Roberto Policano and Agustín Gómez Pagóla competed in association football
Maximilian Mittelstädt Roberto Policano Agustín Gómez Pagóla
action filter_type
action find_reverse
entity association football
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'association football']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:sports_discipline_competed_in resource:association_football }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q22998602 Q3939068 Q1975921
P21
Q290
USER
Which sexes do those people possess ?
(Q22998602,P21,c(Q290)) (Q3939068,P21,c(Q290)) (Q1975921,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q22998602', 'P21', {'concept': 'Q290'}] ['Q3939068', 'P21', {'concept': 'Q290'}] ['Q1975921', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?a property:P21 ?s . VALUES ( ?a ) { ( resource:Q23902692 ) ( resource:Q3939068 ) ( resource:Q22687929 ) } . ?s rdf:type ontology:Q290 }
Maximilian Mittelstädt Roberto Policano Agustín Gómez Pagóla
action filter_type
action find
entity prev_answer
relation gender
type sex
['Maximilian Mittelstädt', 'gender', {'concept': 'sex'}] ['Roberto Policano', 'gender', {'concept': 'sex'}] ['Agustín Gómez Pagóla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?a property:gender ?s . VALUES ( ?a ) { ( resource:Florian_Kohls ) ( resource:Roberto_Policano ) ( resource:Pedro_Confesor ) } . ?s rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q22998602,P21,c(Q290)) (Q3939068,P21,c(Q290)) (Q1975921,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people possess a [ANSWER], [ANSWER] and [ANSWER]
['Q22998602', 'P21', {'concept': 'Q290'}] ['Q3939068', 'P21', {'concept': 'Q290'}] ['Q1975921', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?a property:P21 ?s . VALUES ( ?a ) { ( resource:Q23902692 ) ( resource:Q3939068 ) ( resource:Q22687929 ) } . ?s rdf:type ontology:Q290 }
male male male
Those people possess a male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Maximilian Mittelstädt', 'gender', {'concept': 'sex'}] ['Roberto Policano', 'gender', {'concept': 'sex'}] ['Agustín Gómez Pagóla', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?a property:gender ?s . VALUES ( ?a ) { ( resource:Florian_Kohls ) ( resource:Roberto_Policano ) ( resource:Pedro_Confesor ) } . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P361
Q476300
USER
Which competition is a portion of association football ?
(c(Q476300),P361,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P361
type Q476300
[{'concept': 'Q476300'}, 'P361', 'Q2736']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q2736 . ?b rdf:type ontology:Q476300 }
association football
action filter_type
action find_reverse
entity association football
relation part of
type competition
[{'concept': 'competition'}, 'part of', 'association football']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:association_football . ?b rdf:type ontology:competition }
[]
competition
Q16466010
SYSTEM
association football match
Q16466010
(c(Q476300),P361,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P361
type Q476300
Matches [ANSWER] is a portion of association football
[{'concept': 'Q476300'}, 'P361', 'Q2736']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q2736 . ?b rdf:type ontology:Q476300 }
association football match
Matches association football match is a portion of association football
association football match
action filter_type
action find_reverse
entity association football
relation part of
type competition
[{'concept': 'competition'}, 'part of', 'association football']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:association_football . ?b rdf:type ontology:competition }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
What is the country of origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?t WHERE { resource:Q2736 property:P495 ?t . ?t rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:association_football property:country_of_origin ?t . ?t rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The country of origin of association football is from [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?t WHERE { resource:Q2736 property:P495 ?t . ?t rdf:type ontology:Q1496967 }
England
The country of origin of association football is from England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:association_football property:country_of_origin ?t . ?t rdf:type ontology:territorial_entity }
[]