Simple Question (Direct)
Simple Question
Q4885611
P54
Q12973014
USER
Which sports teams are Ben Evans a member of ?
(Q4885611,P54,c(Q12973014))
action filter_type
action find
entity Q4885611
relation P54
type Q12973014
['Q4885611', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { resource:Q4885611 property:P54 ?s . ?s rdf:type ontology:Q12973014 }
Ben Evans
action filter_type
action find
entity Ben Evans
relation member of sports team
type sports team
['Ben Evans', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { resource:Ben_Evans property:member_of_sports_team ?s . ?s rdf:type ontology:sports_team }
[]
sports team
Q6184915 Q842510 Q822877
SYSTEM
Jersey R.F.C., Cardiff RFC, Wales national rugby union team
Q6184915 Q842510 Q822877
(Q4885611,P54,c(Q12973014))
action filter_type
action find
entity Q4885611
relation P54
type Q12973014
[ANSWERS] are Ben Evans a member of
['Q4885611', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { resource:Q4885611 property:P54 ?s . ?s rdf:type ontology:Q12973014 }
Jersey R.F.C. Cardiff RFC Wales national rugby union team
Jersey R.F.C., Cardiff RFC and Wales national rugby union team are Ben Evans a member of
Jersey R.F.C. Cardiff RFC Wales national rugby union team
action filter_type
action find
entity Ben Evans
relation member of sports team
type sports team
['Ben Evans', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { resource:Ben_Evans property:member_of_sports_team ?s . ?s rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q842510
P466
Q811979
USER
What is the architectural structure occupied by Cardiff RFC ?
(c(Q811979),P466,Q842510)
action filter_type
action find_reverse
entity Q842510
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q842510']
SELECT DISTINCT ?h WHERE { ?h property:P466 resource:Q842510 . ?h rdf:type ontology:Q811979 }
Cardiff RFC
action filter_type
action find_reverse
entity Cardiff RFC
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Cardiff RFC']
SELECT DISTINCT ?h WHERE { ?h property:occupant resource:Cardiff_RFC . ?h rdf:type ontology:architectural_structure }
[]
architectural structure
Q432321
SYSTEM
Cardiff Arms Park
Q432321
(c(Q811979),P466,Q842510)
action filter_type
action find_reverse
entity Q842510
relation P466
type Q811979
The architectural structure occupied by Cardiff RFC is in [ANSWER]
[{'concept': 'Q811979'}, 'P466', 'Q842510']
SELECT DISTINCT ?h WHERE { ?h property:P466 resource:Q842510 . ?h rdf:type ontology:Q811979 }
Cardiff Arms Park
The architectural structure occupied by Cardiff RFC is in Cardiff Arms Park
Cardiff Arms Park
action filter_type
action find_reverse
entity Cardiff RFC
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Cardiff RFC']
SELECT DISTINCT ?h WHERE { ?h property:occupant resource:Cardiff_RFC . ?h rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q432321
P84
Q502895
USER
Who is the designer of that architectural structure ?
(Q432321,P84,c(Q502895))
action filter_type
action find
entity Q432321
relation P84
type Q502895
['Q432321', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q432321 property:P84 ?w . ?w rdf:type ontology:Q502895 }
Cardiff Arms Park
action filter_type
action find
entity Cardiff Arms Park
relation architect
type common name
['Cardiff Arms Park', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Cardiff_Arms_Park property:architect ?w . ?w rdf:type ontology:common_name }
[]
common name
Q344137
SYSTEM
Archibald Leitch
Q344137
(Q432321,P84,c(Q502895))
action filter_type
action find
entity Q432321
relation P84
type Q502895
The designer of that architectural structure is the [ANSWER]
['Q432321', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q432321 property:P84 ?w . ?w rdf:type ontology:Q502895 }
Archibald Leitch
The designer of that architectural structure is the Archibald Leitch
Archibald Leitch
action filter_type
action find
entity Cardiff Arms Park
relation architect
type common name
['Cardiff Arms Park', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Cardiff_Arms_Park property:architect ?w . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16427289 Q432321
P6 P84
Q502895
USER
Which people are the architects of Cardiff Arms Park or do Bocșa serve as the head of government for ?
OR((Q432321,P84,c(Q502895)), (Q16427289,P6,c(Q502895)))
action filter_type
action union
action find
entity Q432321
relation P84
action find
entity Q16427289
relation P6
type Q502895
{'OR': [['Q432321', 'P84', {'concept': 'Q502895'}], ['Q16427289', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q432321 property:P84 ?j } UNION { resource:Q16427289 property:P6 ?j } } . ?j rdf:type ontology:Q502895 }
Bocșa Cardiff Arms Park
action filter_type
action union
action find
entity Cardiff Arms Park
relation architect
action find
entity Bocșa
relation head of government
type common name
{'OR': [['Cardiff Arms Park', 'architect', {'concept': 'common name'}], ['Bocșa', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Cardiff_Arms_Park property:architect ?j } UNION { resource:Bocșa property:head_of_government ?j } } . ?j rdf:type ontology:common_name }
[]
common name
Q344137 Q26701537 Q26701941
SYSTEM
Archibald Leitch, Ioan Barou, István Demyen
Q344137 Q26701537 Q26701941
OR((Q432321,P84,c(Q502895)), (Q16427289,P6,c(Q502895)))
action filter_type
action union
action find
entity Q432321
relation P84
action find
entity Q16427289
relation P6
type Q502895
[ANSWERS] are the architects of Cardiff Arms Park or do Bocșa serve as the head of government for
{'OR': [['Q432321', 'P84', {'concept': 'Q502895'}], ['Q16427289', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q432321 property:P84 ?j } UNION { resource:Q16427289 property:P6 ?j } } . ?j rdf:type ontology:Q502895 }
Archibald Leitch Ioan Barou István Demyen
Archibald Leitch, Ioan Barou and István Demyen are the architects of Cardiff Arms Park or do Bocșa serve as the head of government for
Archibald Leitch Ioan Barou István Demyen
action filter_type
action union
action find
entity Cardiff Arms Park
relation architect
action find
entity Bocșa
relation head of government
type common name
{'OR': [['Cardiff Arms Park', 'architect', {'concept': 'common name'}], ['Bocșa', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Cardiff_Arms_Park property:architect ?j } UNION { resource:Bocșa property:head_of_government ?j } } . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26701537
P102
Q7210356
USER
Which party is Ioan Barou affiliated with ?
(Q26701537,P102,c(Q7210356))
action filter_type
action find
entity Q26701537
relation P102
type Q7210356
['Q26701537', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q26701537 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Ioan Barou
action filter_type
action find
entity Ioan Barou
relation member of political party
type political organization
['Ioan Barou', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Ioan_Barou property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q797760
SYSTEM
Social Liberal Union
Q797760
(Q26701537,P102,c(Q7210356))
action filter_type
action find
entity Q26701537
relation P102
type Q7210356
Ioan Barou is affiliated with [ANSWER]
['Q26701537', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q26701537 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Social Liberal Union
Ioan Barou is affiliated with Social Liberal Union
Social Liberal Union
action filter_type
action find
entity Ioan Barou
relation member of political party
type political organization
['Ioan Barou', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Ioan_Barou property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q797760 Q26240230
P102
Q502895
USER
Does Gheorghe Sorin Blaga belong to the political party that one ?
(Q26240230,P102,Q797760)
action is_in
entity Q797760
action find
entity Q26240230
relation P102
['Q26240230', 'P102', 'Q797760']
ASK WHERE { resource:Q26240230 property:P102 resource:Q797760 }
Social Liberal Union Gheorghe Sorin Blaga
action is_in
entity Social Liberal Union
action find
entity Gheorghe Sorin Blaga
relation member of political party
['Gheorghe Sorin Blaga', 'member of political party', 'Social Liberal Union']
ASK WHERE { resource:Gheorghe_Sorin_Blaga property:member_of_political_party resource:Social_Liberal_Union }
[]
common name
SYSTEM
YES
(Q26240230,P102,Q797760)
action is_in
entity Q797760
action find
entity Q26240230
relation P102
[ANSWER]
['Q26240230', 'P102', 'Q797760']
ASK WHERE { resource:Q26240230 property:P102 resource:Q797760 }
Yes
action is_in
entity Social Liberal Union
action find
entity Gheorghe Sorin Blaga
relation member of political party
['Gheorghe Sorin Blaga', 'member of political party', 'Social Liberal Union']
ASK WHERE { resource:Gheorghe_Sorin_Blaga property:member_of_political_party resource:Social_Liberal_Union }
[]