Simple Question (Direct)
Simple Question
Q4912742
P641
Q349
USER
Which sport was Billy Hughes a part of ?
(Q4912742,P641,c(Q349))
action filter_type
action find
entity Q4912742
relation P641
type Q349
['Q4912742', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q4912742 property:P641 ?i }
Billy Hughes
action filter_type
action find
entity Billy Hughes
relation sport
type sport
['Billy Hughes', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Billy_Hughes property:sport ?i }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4912742,P641,c(Q349))
action filter_type
action find
entity Q4912742
relation P641
type Q349
Which sport was Billy Hughes a part of
['Q4912742', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q4912742 property:P641 ?i }
association football
Which sport was Billy Hughes a part of
association football
action filter_type
action find
entity Billy Hughes
relation sport
type sport
['Billy Hughes', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Billy_Hughes property:sport ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4912742
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4912742
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q4912742 property:P21 ?l . ?l rdf:type ontology:Q290 }
Billy Hughes
action filter_type
action find
entity Billy Hughes
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Billy_Hughes property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q4912742
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q4912742 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Billy Hughes
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Billy_Hughes property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4912742
P19
Q56061
USER
Which administrative territory was Billy Hughes born in ?
(Q4912742,P19,c(Q56061))
action filter_type
action find
entity Q4912742
relation P19
type Q56061
['Q4912742', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q4912742 property:P19 ?i }
Billy Hughes
action filter_type
action find
entity Billy Hughes
relation place of birth
type administrative territorial entity
['Billy Hughes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Billy_Hughes property:place_of_birth ?i }
[]
administrative territorial entity
Q990125
SYSTEM
Llanelli
Q990125
(Q4912742,P19,c(Q56061))
action filter_type
action find
entity Q4912742
relation P19
type Q56061
Billy Hughes was born in [ANSWER]
['Q4912742', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q4912742 property:P19 ?i }
Llanelli
Billy Hughes was born in Llanelli
Llanelli
action filter_type
action find
entity Billy Hughes
relation place of birth
type administrative territorial entity
['Billy Hughes', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Billy_Hughes property:place_of_birth ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4912742
P54
Q1194951
USER
Which national sports teams are Billy Hughes a member of ?
(Q4912742,P54,c(Q1194951))
action filter_type
action find
entity Q4912742
relation P54
type Q1194951
['Q4912742', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { resource:Q4912742 property:P54 ?k . ?k rdf:type ontology:Q1194951 }
Billy Hughes
action filter_type
action find
entity Billy Hughes
relation member of sports team
type national sports team
['Billy Hughes', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { resource:Billy_Hughes property:member_of_sports_team ?k . ?k rdf:type ontology:national_sports_team }
[]
national sports team
Q918214 Q180857
SYSTEM
United Kingdom national football team, Wales national football team
Q918214 Q180857
(Q4912742,P54,c(Q1194951))
action filter_type
action find
entity Q4912742
relation P54
type Q1194951
The [ANSWERS] are Billy Hughes a member of
['Q4912742', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { resource:Q4912742 property:P54 ?k . ?k rdf:type ontology:Q1194951 }
United Kingdom national football team Wales national football team
The United Kingdom national football team and Wales national football team are Billy Hughes a member of
United Kingdom national football team Wales national football team
action filter_type
action find
entity Billy Hughes
relation member of sports team
type national sports team
['Billy Hughes', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { resource:Billy_Hughes property:member_of_sports_team ?k . ?k rdf:type ontology:national_sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2464826
Q1194951
USER
And how about Karl Oskar Fjørtoft?
(Q2464826,P54,c(Q1194951))
action filter_type
action find
entity Q2464826
relation P54
type Q1194951
['Q2464826', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q2464826 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Karl Oskar Fjørtoft
action filter_type
action find
entity Karl Oskar Fjørtoft
relation member of sports team
type national sports team
['Karl Oskar Fjørtoft', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Karl_Oskar_Fjørtoft property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
national sports team
Q184387
SYSTEM
Norway national football team
Q184387
(Q2464826,P54,c(Q1194951))
action filter_type
action find
entity Q2464826
relation P54
type Q1194951
[ANSWER]
['Q2464826', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?t WHERE { resource:Q2464826 property:P54 ?t . ?t rdf:type ontology:Q1194951 }
Norway national football team
Norway national football team
action filter_type
action find
entity Karl Oskar Fjørtoft
relation member of sports team
type national sports team
['Karl Oskar Fjørtoft', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?t WHERE { resource:Karl_Oskar_Fjørtoft property:member_of_sports_team ?t . ?t rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1923
Q15275719 Q1375427
USER
How many recurring events and European Championships did that national sports team take part in ?
(c(Q15275719),P1923,Q184387) (c(Q1375427),P1923,Q184387) (c(Q15275719),P1923,Q184387) (c(Q1375427),P1923,Q184387)
action count
action union
action filter_type
action find_reverse
entity Q184387
relation P1923
type Q15275719
action filter_type
action find_reverse
entity Q184387
relation P1923
type Q1375427
[{'concept': 'Q15275719'}, 'P1923', 'Q184387'] [{'concept': 'Q1375427'}, 'P1923', 'Q184387'] [{'concept': 'Q15275719'}, 'P1923', 'Q184387'] [{'concept': 'Q1375427'}, 'P1923', 'Q184387']
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { ?w rdf:type ontology:Q1375427 . ?w property:P1923 resource:Q184387 } UNION { ?w property:P1923 resource:Q184387 . ?w rdf:type ontology:Q15275719 } }
action count
action union
action filter_type
action find_reverse
entity Norway national football team
relation participating teams
type recurring event
action filter_type
action find_reverse
entity Norway national football team
relation participating teams
type European Championship
[{'concept': 'recurring event'}, 'participating teams', 'Norway national football team'] [{'concept': 'European Championship'}, 'participating teams', 'Norway national football team'] [{'concept': 'recurring event'}, 'participating teams', 'Norway national football team'] [{'concept': 'European Championship'}, 'participating teams', 'Norway national football team']
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { ?w rdf:type ontology:European_Championship . ?w property:participating_teams resource:Norway_national_football_team } UNION { ?w property:participating_teams resource:Norway_national_football_team . ?w rdf:type ontology:recurring_event } }
[]
recurring event European Championship
SYSTEM
3 recurring events and 1 European Championships
Q131591 Q101751 Q101730 Q131239
(c(Q15275719),P1923,Q184387) (c(Q1375427),P1923,Q184387) (c(Q15275719),P1923,Q184387) (c(Q1375427),P1923,Q184387)
action count
action union
action filter_type
action find_reverse
entity Q184387
relation P1923
type Q15275719
action filter_type
action find_reverse
entity Q184387
relation P1923
type Q1375427
[ANSWER]
[{'concept': 'Q15275719'}, 'P1923', 'Q184387'] [{'concept': 'Q1375427'}, 'P1923', 'Q184387'] [{'concept': 'Q15275719'}, 'P1923', 'Q184387'] [{'concept': 'Q1375427'}, 'P1923', 'Q184387']
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { ?w rdf:type ontology:Q1375427 . ?w property:P1923 resource:Q184387 } UNION { ?w property:P1923 resource:Q184387 . ?w rdf:type ontology:Q15275719 } }
1938 FIFA World Cup 1994 FIFA World Cup 1998 FIFA World Cup UEFA Euro 2000
3 recurring events and 1 European Championships
action count
action union
action filter_type
action find_reverse
entity Norway national football team
relation participating teams
type recurring event
action filter_type
action find_reverse
entity Norway national football team
relation participating teams
type European Championship
[{'concept': 'recurring event'}, 'participating teams', 'Norway national football team'] [{'concept': 'European Championship'}, 'participating teams', 'Norway national football team'] [{'concept': 'recurring event'}, 'participating teams', 'Norway national football team'] [{'concept': 'European Championship'}, 'participating teams', 'Norway national football team']
SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) WHERE { { ?w rdf:type ontology:European_Championship . ?w property:participating_teams resource:Norway_national_football_team } UNION { ?w property:participating_teams resource:Norway_national_football_team . ?w rdf:type ontology:recurring_event } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11851639
P559
Q56061 Q34442 Q83620
USER
Which administrative territories are the terminus for more number of roads and thoroughfares than Annalankangas ?
(c(Q34442)|c(Q83620),P559,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q11851639
relation P559
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P559 resource:Q11851639 . { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } } } . FILTER ( ?b > ?m ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?u WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?u } }
Annalankangas
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Annalankangas
relation terminus
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:terminus resource:Annalankangas . { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:road ) ( ontology:thoroughfare ) } } } } . FILTER ( ?b > ?m ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?u WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?u } }
[]
administrative territorial entity road thoroughfare
Q3001 Q1318695 Q12892
SYSTEM
Paramaribo, Apoera, Antwerp
Q3001 Q1318695 Q12892
(c(Q34442)|c(Q83620),P559,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q11851639
relation P559
type Q34442
type Q83620
[ANSWERS] are the terminus for more number of roads and thoroughfares than Annalankangas
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P559 resource:Q11851639 . { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } } } . FILTER ( ?b > ?m ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?u WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?u } }
Paramaribo Apoera Antwerp
Paramaribo, Apoera and Antwerp are the terminus for more number of roads and thoroughfares than Annalankangas
Paramaribo Apoera Antwerp
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Annalankangas
relation terminus
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:terminus resource:Annalankangas . { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:road ) ( ontology:thoroughfare ) } } } } . FILTER ( ?b > ?m ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?u WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3001 Q1318695 Q12892
P17
Q15617994
USER
Which administrative territories are Paramaribo, Apoera and Antwerp situated in ?
(Q3001,P17,c(Q15617994)) (Q1318695,P17,c(Q15617994)) (Q12892,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3001
relation P17
type Q15617994
action filter_type
action find
entity Q1318695
relation P17
type Q15617994
action filter_type
action find
entity Q12892
relation P17
type Q15617994
['Q3001', 'P17', {'concept': 'Q15617994'}] ['Q1318695', 'P17', {'concept': 'Q15617994'}] ['Q12892', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { resource:Q3001 property:P17 ?y . ?y rdf:type ontology:Q15617994 } UNION { resource:Q1318695 property:P17 ?y . ?y rdf:type ontology:Q15617994 } }
Paramaribo Apoera Antwerp
action union
action filter_type
action find
entity Paramaribo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Apoera
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Antwerp
relation country
type designation for an administrative territorial entity
['Paramaribo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Apoera', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Antwerp', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { resource:Paramaribo property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Apoera property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q730 Q730 Q31
SYSTEM
Suriname for 1st, 2nd, Belgium for 3rd
Q730 Q730 Q31
(Q3001,P17,c(Q15617994)) (Q1318695,P17,c(Q15617994)) (Q12892,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3001
relation P17
type Q15617994
action filter_type
action find
entity Q1318695
relation P17
type Q15617994
action filter_type
action find
entity Q12892
relation P17
type Q15617994
[ANSWERS]
['Q3001', 'P17', {'concept': 'Q15617994'}] ['Q1318695', 'P17', {'concept': 'Q15617994'}] ['Q12892', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { resource:Q3001 property:P17 ?y . ?y rdf:type ontology:Q15617994 } UNION { resource:Q1318695 property:P17 ?y . ?y rdf:type ontology:Q15617994 } }
Suriname Suriname Belgium
Paramaribo , Apoera and Antwerp are situated in Suriname, Suriname and Belgium
Suriname Suriname Belgium
action union
action filter_type
action find
entity Paramaribo
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Apoera
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Antwerp
relation country
type designation for an administrative territorial entity
['Paramaribo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Apoera', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Antwerp', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { resource:Paramaribo property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Apoera property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q730
P495
Q1269299
USER
What originated in that administrative territory ?
(c(Q1269299),P495,Q730)
action filter_type
action find_reverse
entity Q730
relation P495
type Q1269299
[{'concept': 'Q1269299'}, 'P495', 'Q730']
SELECT DISTINCT ?e WHERE { ?e property:P495 resource:Q730 . ?e rdf:type ontology:Q1269299 }
Suriname
action filter_type
action find_reverse
entity Suriname
relation country of origin
type type of business entity
[{'concept': 'type of business entity'}, 'country of origin', 'Suriname']
SELECT DISTINCT ?e WHERE { ?e property:country_of_origin resource:Suriname . ?e rdf:type ontology:type_of_business_entity }
[]
type of business entity
Clarification for simple ques.
Q730
SYSTEM
Did you mean Suriname ?
Q730 Q730 Q31
(c(Q1269299),P495,Q730) (c(Q1269299),P495,Q730) (c(Q1269299),P495,Q31)
[ANSWER]
[{'concept': 'Q1269299'}, 'P495', 'Q730'] [{'concept': 'Q1269299'}, 'P495', 'Q730'] [{'concept': 'Q1269299'}, 'P495', 'Q31']
SELECT DISTINCT ?e WHERE { ?e property:P495 resource:Q730 . ?e rdf:type ontology:Q1269299 }
Suriname Suriname Belgium
Did you mean Suriname ?
Suriname
[{'concept': 'type of business entity'}, 'country of origin', 'Suriname'] [{'concept': 'type of business entity'}, 'country of origin', 'Suriname'] [{'concept': 'type of business entity'}, 'country of origin', 'Belgium']
SELECT DISTINCT ?e WHERE { ?e property:country_of_origin resource:Suriname . ?e rdf:type ontology:type_of_business_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1269299),P495,Q730)
[{'concept': 'Q1269299'}, 'P495', 'Q730']
[{'concept': 'type of business entity'}, 'country of origin', 'Suriname']
[]
Q19853483
SYSTEM
EnergieBedrijven Suriname
Q19853483
(c(Q1269299),P495,Q730)
action filter_type
action find_reverse
entity Q730
relation P495
type Q1269299
[ANSWER] originated in that administrative territory
[{'concept': 'Q1269299'}, 'P495', 'Q730']
SELECT DISTINCT ?e WHERE { ?e property:P495 resource:Q730 . ?e rdf:type ontology:Q1269299 }
EnergieBedrijven Suriname
EnergieBedrijven Suriname originated in that administrative territory
EnergieBedrijven Suriname
action filter_type
action find_reverse
entity Suriname
relation country of origin
type type of business entity
[{'concept': 'type of business entity'}, 'country of origin', 'Suriname']
SELECT DISTINCT ?e WHERE { ?e property:country_of_origin resource:Suriname . ?e rdf:type ontology:type_of_business_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q19853483 Q116656 Q730
P495
Q15617994
USER
Does that business organization have Samzhubzê District and Suriname as its place of origin ?
(Q19853483,P495,Q116656) (Q19853483,P495,Q730)
action is_in
entity Q19853483
action intersection
action find_reverse
entity Q116656
relation P495
action find_reverse
entity Q730
relation P495
['Q19853483', 'P495', 'Q116656'] ['Q19853483', 'P495', 'Q730']
ASK WHERE { resource:Q19853483 property:P495 resource:Q730 . resource:Q19853483 property:P495 resource:Q116656 }
EnergieBedrijven Suriname Samzhubzê District Suriname
action is_in
entity EnergieBedrijven Suriname
action intersection
action find_reverse
entity Samzhubzê District
relation country of origin
action find_reverse
entity Suriname
relation country of origin
['EnergieBedrijven Suriname', 'country of origin', 'Samzhubzê District'] ['EnergieBedrijven Suriname', 'country of origin', 'Suriname']
ASK WHERE { resource:EnergieBedrijven_Suriname property:country_of_origin resource:Suriname . resource:EnergieBedrijven_Suriname property:country_of_origin resource:Samzhubzê_District }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q19853483,P495,Q116656) (Q19853483,P495,Q730)
action is_in
entity Q19853483
action intersection
action find_reverse
entity Q116656
relation P495
action find_reverse
entity Q730
relation P495
[ANSWER]
['Q19853483', 'P495', 'Q116656'] ['Q19853483', 'P495', 'Q730']
ASK WHERE { resource:Q19853483 property:P495 resource:Q730 . resource:Q19853483 property:P495 resource:Q116656 }
NO and YES respectively
action is_in
entity EnergieBedrijven Suriname
action intersection
action find_reverse
entity Samzhubzê District
relation country of origin
action find_reverse
entity Suriname
relation country of origin
['EnergieBedrijven Suriname', 'country of origin', 'Samzhubzê District'] ['EnergieBedrijven Suriname', 'country of origin', 'Suriname']
ASK WHERE { resource:EnergieBedrijven_Suriname property:country_of_origin resource:Suriname . resource:EnergieBedrijven_Suriname property:country_of_origin resource:Samzhubzê_District }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1429955 Q19853483
P19 P495
Q15617994
USER
Which administrative territories are the origins of EnergieBedrijven Suriname or were Florian Weber born in ?
OR((Q19853483,P495,c(Q15617994)), (Q1429955,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q19853483
relation P495
action find
entity Q1429955
relation P19
type Q15617994
{'OR': [['Q19853483', 'P495', {'concept': 'Q15617994'}], ['Q1429955', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q19853483 property:P495 ?b } UNION { resource:Q1429955 property:P19 ?b } } . ?b rdf:type ontology:Q15617994 }
Florian Weber EnergieBedrijven Suriname
action filter_type
action union
action find
entity EnergieBedrijven Suriname
relation country of origin
action find
entity Florian Weber
relation place of birth
type designation for an administrative territorial entity
{'OR': [['EnergieBedrijven Suriname', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Florian Weber', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:EnergieBedrijven_Suriname property:country_of_origin ?b } UNION { resource:Florian_Weber property:place_of_birth ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q730 Q3922
SYSTEM
Suriname, Detmold
Q730 Q3922
OR((Q19853483,P495,c(Q15617994)), (Q1429955,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q19853483
relation P495
action find
entity Q1429955
relation P19
type Q15617994
[ANSWERS] are the origins of EnergieBedrijven Suriname or were Florian Weber born in
{'OR': [['Q19853483', 'P495', {'concept': 'Q15617994'}], ['Q1429955', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q19853483 property:P495 ?b } UNION { resource:Q1429955 property:P19 ?b } } . ?b rdf:type ontology:Q15617994 }
Suriname Detmold
Suriname and Detmold are the origins of EnergieBedrijven Suriname or were Florian Weber born in
Suriname Detmold
action filter_type
action union
action find
entity EnergieBedrijven Suriname
relation country of origin
action find
entity Florian Weber
relation place of birth
type designation for an administrative territorial entity
{'OR': [['EnergieBedrijven Suriname', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Florian Weber', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:EnergieBedrijven_Suriname property:country_of_origin ?b } UNION { resource:Florian_Weber property:place_of_birth ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1429955
P734
Q82799
USER
Who has the surname that person ?
(Q730,P734,c(Q82799)) (Q3922,P734,c(Q82799))
action filter_type
action find
entity Q1429955
relation P734
type Q82799
['Q730', 'P734', {'concept': 'Q82799'}] ['Q3922', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q1429955 property:P734 ?j }
Florian Weber
action filter_type
action find
entity Florian Weber
relation family name
type name
['Suriname', 'family name', {'concept': 'name'}] ['Detmold', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Florian_Weber property:family_name ?j }
[]
name
Q1409226
SYSTEM
Weber
Q1409226
(Q730,P734,c(Q82799)) (Q3922,P734,c(Q82799))
action filter_type
action find
entity Q1429955
relation P734
type Q82799
[ANSWER] has the surname that person
['Q730', 'P734', {'concept': 'Q82799'}] ['Q3922', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q1429955 property:P734 ?j }
Weber
Weber has the surname that person
Weber
action filter_type
action find
entity Florian Weber
relation family name
type name
['Suriname', 'family name', {'concept': 'name'}] ['Detmold', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Florian_Weber property:family_name ?j }
[]