Simple Question (Direct)
Simple Question
Q7850044
P735
Q82799
USER
Which name is Tsukasa Kobiki known by ?
(Q7850044,P735,c(Q82799))
action filter_type
action find
entity Q7850044
relation P735
type Q82799
['Q7850044', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q7850044 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Tsukasa Kobiki
action filter_type
action find
entity Tsukasa Kobiki
relation given name
type name
['Tsukasa Kobiki', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Tsukasa_Kobiki property:given_name ?j . ?j rdf:type ontology:name }
[]
name
Q975963
SYSTEM
Tsukasa
Q975963
(Q7850044,P735,c(Q82799))
action filter_type
action find
entity Q7850044
relation P735
type Q82799
[ANSWER] Kobiki is known as [ANSWER]
['Q7850044', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q7850044 property:P735 ?j . ?j rdf:type ontology:Q82799 }
Tsukasa
Tsukasa Kobiki is known as Tsukasa
Tsukasa
action filter_type
action find
entity Tsukasa Kobiki
relation given name
type name
['Tsukasa Kobiki', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Tsukasa_Kobiki property:given_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7850044
P39
Q12737077
USER
Which occupation was a position held by Tsukasa Kobiki ?
(Q7850044,P39,c(Q12737077))
action filter_type
action find
entity Q7850044
relation P39
type Q12737077
['Q7850044', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q7850044 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Tsukasa Kobiki
action filter_type
action find
entity Tsukasa Kobiki
relation position held
type occupation
['Tsukasa Kobiki', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Tsukasa_Kobiki property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q17506823
SYSTEM
member of the House of Representatives of Japan
Q17506823
(Q7850044,P39,c(Q12737077))
action filter_type
action find
entity Q7850044
relation P39
type Q12737077
A [ANSWER] was a position held by Tsukasa Kobiki
['Q7850044', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q7850044 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
member of the House of Representatives of Japan
A member of the House of Representatives of Japan was a position held by Tsukasa Kobiki
member of the House of Representatives of Japan
action filter_type
action find
entity Tsukasa Kobiki
relation position held
type occupation
['Tsukasa Kobiki', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Tsukasa_Kobiki property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1542281 Q7850044
P39 P106
Q12737077
USER
Which occupations were a position held by Tsukasa Kobiki or do Richard Mathes do for a living ?
OR((Q7850044,P39,c(Q12737077)), (Q1542281,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7850044
relation P39
action find
entity Q1542281
relation P106
type Q12737077
{'OR': [['Q7850044', 'P39', {'concept': 'Q12737077'}], ['Q1542281', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . { { resource:Q7850044 property:P39 ?v } UNION { resource:Q1542281 property:P106 ?v } } }
Richard Mathes Tsukasa Kobiki
action filter_type
action union
action find
entity Tsukasa Kobiki
relation position held
action find
entity Richard Mathes
relation occupation
type occupation
{'OR': [['Tsukasa Kobiki', 'position held', {'concept': 'occupation'}], ['Richard Mathes', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . { { resource:Tsukasa_Kobiki property:position_held ?v } UNION { resource:Richard_Mathes property:occupation ?v } } }
[]
occupation
Q17506823 Q250867 Q1622272
SYSTEM
member of the House of Representatives of Japan, Catholic priest, university teacher
Q17506823 Q250867 Q1622272
OR((Q7850044,P39,c(Q12737077)), (Q1542281,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7850044
relation P39
action find
entity Q1542281
relation P106
type Q12737077
[ANSWERS] were a position held by Tsukasa Kobiki or do Richard Mathes do for a living
{'OR': [['Q7850044', 'P39', {'concept': 'Q12737077'}], ['Q1542281', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . { { resource:Q7850044 property:P39 ?v } UNION { resource:Q1542281 property:P106 ?v } } }
member of the House of Representatives of Japan Catholic priest university teacher
Member of the House of Representatives of Japan, Catholic priest and university teacher were a position held by Tsukasa Kobiki or do Richard Mathes do for a living
member of the House of Representatives of Japan Catholic priest university teacher
action filter_type
action union
action find
entity Tsukasa Kobiki
relation position held
action find
entity Richard Mathes
relation occupation
type occupation
{'OR': [['Tsukasa Kobiki', 'position held', {'concept': 'occupation'}], ['Richard Mathes', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . { { resource:Tsukasa_Kobiki property:position_held ?v } UNION { resource:Richard_Mathes property:occupation ?v } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7850044
P102
Q7210356
USER
Which political organization is Tsukasa Kobiki a member of ?
(Q7850044,P102,c(Q7210356))
action filter_type
action find
entity Q7850044
relation P102
type Q7210356
['Q7850044', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q7850044 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Tsukasa Kobiki
action filter_type
action find
entity Tsukasa Kobiki
relation member of political party
type political organization
['Tsukasa Kobiki', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Tsukasa_Kobiki property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q232595
SYSTEM
Liberal Democratic Party
Q232595
(Q7850044,P102,c(Q7210356))
action filter_type
action find
entity Q7850044
relation P102
type Q7210356
Party [ANSWER] is Tsukasa Kobiki a member of
['Q7850044', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q7850044 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Liberal Democratic Party
Party Liberal Democratic Party is Tsukasa Kobiki a member of
Liberal Democratic Party
action filter_type
action find
entity Tsukasa Kobiki
relation member of political party
type political organization
['Tsukasa Kobiki', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Tsukasa_Kobiki property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q232595
P159
Q486972
USER
Where is the headquarter of that political organization located ?
(Q232595,P159,c(Q486972))
action filter_type
action find
entity Q232595
relation P159
type Q486972
['Q232595', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q232595 property:P159 ?x . ?x rdf:type ontology:Q486972 }
Liberal Democratic Party
action filter_type
action find
entity Liberal Democratic Party
relation headquarters location
type human settlement
['Liberal Democratic Party', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Liberal_Democratic_Party property:headquarters_location ?x . ?x rdf:type ontology:human_settlement }
[]
human settlement
Q214051
SYSTEM
Chiyoda-ku
Q214051
(Q232595,P159,c(Q486972))
action filter_type
action find
entity Q232595
relation P159
type Q486972
[ANSWER] is the headquarter of that political organization located
['Q232595', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?x WHERE { resource:Q232595 property:P159 ?x . ?x rdf:type ontology:Q486972 }
Chiyoda-ku
Chiyoda-ku is the headquarter of that political organization located
Chiyoda-ku
action filter_type
action find
entity Liberal Democratic Party
relation headquarters location
type human settlement
['Liberal Democratic Party', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?x WHERE { resource:Liberal_Democratic_Party property:headquarters_location ?x . ?x rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1622272 Q1254302
P106
Q502895
USER
How many people have career as university teacher and Archaeology of the roman provinces ?
(c(Q502895),P106,Q1622272) (c(Q502895),P106,Q1254302)
action count
action intersection
action filter_type
action find_reverse
entity Q1622272
relation P106
type Q502895
action filter_type
action find_reverse
entity Q1254302
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q1622272'] [{'concept': 'Q502895'}, 'P106', 'Q1254302']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P106 resource:Q1254302 . ?l rdf:type ontology:Q502895 . ?l property:P106 resource:Q1622272 . ?l rdf:type ontology:Q502895 }
university teacher Archaeology of the roman provinces
action count
action intersection
action filter_type
action find_reverse
entity university teacher
relation occupation
type common name
action filter_type
action find_reverse
entity Archaeology of the roman provinces
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'university teacher'] [{'concept': 'common name'}, 'occupation', 'Archaeology of the roman provinces']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:occupation resource:Archaeology_of_the_roman_provinces . ?l rdf:type ontology:common_name . ?l property:occupation resource:university_teacher . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q1298878 Q14330943 Q21678779 Q24038667 Q1224243
(c(Q502895),P106,Q1622272) (c(Q502895),P106,Q1254302)
action count
action intersection
action filter_type
action find_reverse
entity Q1622272
relation P106
type Q502895
action filter_type
action find_reverse
entity Q1254302
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q1622272'] [{'concept': 'Q502895'}, 'P106', 'Q1254302']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P106 resource:Q1254302 . ?l rdf:type ontology:Q502895 . ?l property:P106 resource:Q1622272 . ?l rdf:type ontology:Q502895 }
Egon Schallmayer Elisabeth Walde Rolf Nierhaus Salvatore Ortisi Dietwulf Baatz
5
action count
action intersection
action filter_type
action find_reverse
entity university teacher
relation occupation
type common name
action filter_type
action find_reverse
entity Archaeology of the roman provinces
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'university teacher'] [{'concept': 'common name'}, 'occupation', 'Archaeology of the roman provinces']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:occupation resource:Archaeology_of_the_roman_provinces . ?l rdf:type ontology:common_name . ?l property:occupation resource:university_teacher . ?l rdf:type ontology:common_name }
[]