Simple Question (Direct)
Simple Question
Q825613
P106
Q12737077
USER
What are the job of Bernhard Mayer ?
(Q825613,P106,c(Q12737077))
action filter_type
action find
entity Q825613
relation P106
type Q12737077
['Q825613', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q825613 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Bernhard Mayer
action filter_type
action find
entity Bernhard Mayer
relation occupation
type occupation
['Bernhard Mayer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Bernhard_Mayer property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1234713 Q250867 Q1622272
SYSTEM
theologian, Catholic priest, university teacher
Q1234713 Q250867 Q1622272
(Q825613,P106,c(Q12737077))
action filter_type
action find
entity Q825613
relation P106
type Q12737077
The job of Bernhard Mayer are a [ANSWERS]
['Q825613', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q825613 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
theologian Catholic priest university teacher
The job of Bernhard Mayer are a theologian, Catholic priest and university teacher
theologian Catholic priest university teacher
action filter_type
action find
entity Bernhard Mayer
relation occupation
type occupation
['Bernhard Mayer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Bernhard_Mayer property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1234713
P425
Q1047113
USER
Who is associated with the field of occupation that one ?
(Q1234713,P425,c(Q1047113))
action filter_type
action find
entity Q1234713
relation P425
type Q1047113
['Q1234713', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?o WHERE { resource:Q1234713 property:P425 ?o . ?o rdf:type ontology:Q1047113 }
theologian
action filter_type
action find
entity theologian
relation field of this occupation
type special field
['theologian', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?o WHERE { resource:theologian property:field_of_this_occupation ?o . ?o rdf:type ontology:special_field }
[]
special field
Clarification for simple ques.
Q1234713
SYSTEM
Did you mean theologian ?
Q1234713 Q250867 Q1622272
(Q1234713,P425,c(Q1047113)) (Q250867,P425,c(Q1047113)) (Q1622272,P425,c(Q1047113))
[ANSWER]
['Q1234713', 'P425', {'concept': 'Q1047113'}] ['Q250867', 'P425', {'concept': 'Q1047113'}] ['Q1622272', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?o WHERE { resource:Q1234713 property:P425 ?o . ?o rdf:type ontology:Q1047113 }
theologian Catholic priest university teacher
Did you mean theologian ?
theologian
['theologian', 'field of this occupation', {'concept': 'special field'}] ['Catholic priest', 'field of this occupation', {'concept': 'special field'}] ['university teacher', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?o WHERE { resource:theologian property:field_of_this_occupation ?o . ?o rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1234713,P425,c(Q1047113))
['Q1234713', 'P425', {'concept': 'Q1047113'}]
['theologian', 'field of this occupation', {'concept': 'special field'}]
[]
Q34178
SYSTEM
theology
Q34178
(Q1234713,P425,c(Q1047113))
action filter_type
action find
entity Q1234713
relation P425
type Q1047113
[ANSWER] is associated with the field of occupation that one
['Q1234713', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?o WHERE { resource:Q1234713 property:P425 ?o . ?o rdf:type ontology:Q1047113 }
theology
Theology is associated with the field of occupation that one
theology
action filter_type
action find
entity theologian
relation field of this occupation
type special field
['theologian', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?o WHERE { resource:theologian property:field_of_this_occupation ?o . ?o rdf:type ontology:special_field }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1691100 Q825613
P27
Q1048835
USER
Which political territories are the countries of citizenship of Bernhard Mayer or Jochen Hiltmann ?
OR((Q825613,P27,c(Q1048835)), (Q1691100,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q825613
relation P27
action find
entity Q1691100
relation P27
type Q1048835
{'OR': [['Q825613', 'P27', {'concept': 'Q1048835'}], ['Q1691100', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q825613 property:P27 ?d } UNION { resource:Q1691100 property:P27 ?d } } . ?d rdf:type ontology:Q1048835 }
Jochen Hiltmann Bernhard Mayer
action filter_type
action union
action find
entity Bernhard Mayer
relation country of citizenship
action find
entity Jochen Hiltmann
relation country of citizenship
type political territorial entity
{'OR': [['Bernhard Mayer', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jochen Hiltmann', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Bernhard_Mayer property:country_of_citizenship ?d } UNION { resource:Jochen_Hiltmann property:country_of_citizenship ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q825613,P27,c(Q1048835)), (Q1691100,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q825613
relation P27
action find
entity Q1691100
relation P27
type Q1048835
[ANSWER] is the countries of citizenship of Bernhard Mayer or Jochen Hiltmann
{'OR': [['Q825613', 'P27', {'concept': 'Q1048835'}], ['Q1691100', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q825613 property:P27 ?d } UNION { resource:Q1691100 property:P27 ?d } } . ?d rdf:type ontology:Q1048835 }
Germany
Germany is the countries of citizenship of Bernhard Mayer or Jochen Hiltmann
Germany
action filter_type
action union
action find
entity Bernhard Mayer
relation country of citizenship
action find
entity Jochen Hiltmann
relation country of citizenship
type political territorial entity
{'OR': [['Bernhard Mayer', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jochen Hiltmann', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Bernhard_Mayer property:country_of_citizenship ?d } UNION { resource:Jochen_Hiltmann property:country_of_citizenship ?d } } . ?d rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21887835 Q1691100
P27 P17
Q1048835
USER
Which political territories are the countries of citizenship of Jochen Hiltmann or are Mount Peake situated in ?
OR((Q1691100,P27,c(Q1048835)), (Q21887835,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1691100
relation P27
action find
entity Q21887835
relation P17
type Q1048835
{'OR': [['Q1691100', 'P27', {'concept': 'Q1048835'}], ['Q21887835', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1691100 property:P27 ?n } UNION { resource:Q21887835 property:P17 ?n } } . ?n rdf:type ontology:Q1048835 }
Mount Peake Jochen Hiltmann
action filter_type
action union
action find
entity Jochen Hiltmann
relation country of citizenship
action find
entity Mount Peake
relation country
type political territorial entity
{'OR': [['Jochen Hiltmann', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mount Peake', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Jochen_Hiltmann property:country_of_citizenship ?n } UNION { resource:Mount_Peake property:country ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q1691100,P27,c(Q1048835)), (Q21887835,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1691100
relation P27
action find
entity Q21887835
relation P17
type Q1048835
[ANSWERS] are the countries of citizenship of Jochen Hiltmann or are Mount Peake situated in
{'OR': [['Q1691100', 'P27', {'concept': 'Q1048835'}], ['Q21887835', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1691100 property:P27 ?n } UNION { resource:Q21887835 property:P17 ?n } } . ?n rdf:type ontology:Q1048835 }
Australia Germany
Australia and Germany are the countries of citizenship of Jochen Hiltmann or are Mount Peake situated in
Australia Germany
action filter_type
action union
action find
entity Jochen Hiltmann
relation country of citizenship
action find
entity Mount Peake
relation country
type political territorial entity
{'OR': [['Jochen Hiltmann', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mount Peake', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Jochen_Hiltmann property:country_of_citizenship ?n } UNION { resource:Mount_Peake property:country ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1330571
P495
Q838948
USER
Did Rumor Has It… originate in those political territories ?
(Q1330571,P495,Q408) (Q1330571,P495,Q183)
action is_in
entity prev_answer
action find
entity Q1330571
relation P495
['Q1330571', 'P495', 'Q408'] ['Q1330571', 'P495', 'Q183']
ASK WHERE { resource:Q1330571 property:P495 ?f . VALUES ( ?f ) { ( resource:Q408 ) ( resource:Q183 ) } }
Rumor Has It…
action is_in
entity prev_answer
action find
entity Rumor Has It…
relation country of origin
['Rumor Has It…', 'country of origin', 'Australia'] ['Rumor Has It…', 'country of origin', 'Germany']
ASK WHERE { resource:Rumor_Has_It… property:country_of_origin ?f . VALUES ( ?f ) { ( resource:Australia ) ( resource:Germany ) } }
[]
work of art
SYSTEM
YES
(Q1330571,P495,Q408) (Q1330571,P495,Q183)
action is_in
entity prev_answer
action find
entity Q1330571
relation P495
[ANSWER]
['Q1330571', 'P495', 'Q408'] ['Q1330571', 'P495', 'Q183']
ASK WHERE { resource:Q1330571 property:P495 ?f . VALUES ( ?f ) { ( resource:Q408 ) ( resource:Q183 ) } }
Yes
action is_in
entity prev_answer
action find
entity Rumor Has It…
relation country of origin
['Rumor Has It…', 'country of origin', 'Australia'] ['Rumor Has It…', 'country of origin', 'Germany']
ASK WHERE { resource:Rumor_Has_It… property:country_of_origin ?f . VALUES ( ?f ) { ( resource:Australia ) ( resource:Germany ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Australia ?
(Q408,P1313,c(Q12737077))
action filter_type
action find
entity Q408
relation P1313
type Q12737077
['Q408', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q408 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
Australia
action filter_type
action find
entity Australia
relation office held by head of government
type occupation
['Australia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Australia property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q319145
SYSTEM
Prime Minister of Australia
Q319145
(Q408,P1313,c(Q12737077))
action filter_type
action find
entity Q408
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Australia
['Q408', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q408 property:P1313 ?y . ?y rdf:type ontology:Q12737077 }
Prime Minister of Australia
The Prime Minister of Australia serves as the political office that is fulfilled by the head of the government of Australia
Prime Minister of Australia
action filter_type
action find
entity Australia
relation office held by head of government
type occupation
['Australia', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Australia property:office_held_by_head_of_government ?y . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q319145 Q408
P27
Q1048835
USER
Does Prime Minister of Australia belong to Australia ?
(Q319145,P27,Q408)
action is_in
entity Q408
action find
entity Q319145
relation P27
['Q319145', 'P27', 'Q408']
ASK WHERE { resource:Q319145 property:P27 resource:Q408 }
Prime Minister of Australia Australia
action is_in
entity Australia
action find
entity Prime Minister of Australia
relation country of citizenship
['Prime Minister of Australia', 'country of citizenship', 'Australia']
ASK WHERE { resource:Prime_Minister_of_Australia property:country_of_citizenship resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q319145,P27,Q408)
action is_in
entity Q408
action find
entity Q319145
relation P27
[ANSWER]
['Q319145', 'P27', 'Q408']
ASK WHERE { resource:Q319145 property:P27 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Prime Minister of Australia
relation country of citizenship
['Prime Minister of Australia', 'country of citizenship', 'Australia']
ASK WHERE { resource:Prime_Minister_of_Australia property:country_of_citizenship resource:Australia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q7238841
P17
Q1048835
USER
Is Germany situated in Lysychnyky ?
(Q183,P17,Q7238841)
action is_in
entity Q7238841
action find
entity Q183
relation P17
['Q183', 'P17', 'Q7238841']
ASK WHERE { resource:Q183 property:P17 resource:Q7238841 }
Germany Lysychnyky
action is_in
entity Lysychnyky
action find
entity Germany
relation country
['Germany', 'country', 'Lysychnyky']
ASK WHERE { resource:Germany property:country resource:Lysychnyky }
[]
political territorial entity
SYSTEM
NO
(Q183,P17,Q7238841)
action is_in
entity Q7238841
action find
entity Q183
relation P17
[ANSWER]
['Q183', 'P17', 'Q7238841']
ASK WHERE { resource:Q183 property:P17 resource:Q7238841 }
No
action is_in
entity Lysychnyky
action find
entity Germany
relation country
['Germany', 'country', 'Lysychnyky']
ASK WHERE { resource:Germany property:country resource:Lysychnyky }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q628099
P39
Q502895
USER
Which person held the position of association football manager ?
(c(Q502895),P39,Q628099)
action filter_type
action find_reverse
entity Q628099
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q628099']
SELECT DISTINCT ?m WHERE { ?m property:P39 resource:Q628099 . ?m rdf:type ontology:Q502895 }
association football manager
action filter_type
action find_reverse
entity association football manager
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'association football manager']
SELECT DISTINCT ?m WHERE { ?m property:position_held resource:association_football_manager . ?m rdf:type ontology:common_name }
[]
common name
Q352236
SYSTEM
Wim Jonk
Q352236
(c(Q502895),P39,Q628099)
action filter_type
action find_reverse
entity Q628099
relation P39
type Q502895
[ANSWER] held the position of association football manager
[{'concept': 'Q502895'}, 'P39', 'Q628099']
SELECT DISTINCT ?m WHERE { ?m property:P39 resource:Q628099 . ?m rdf:type ontology:Q502895 }
Wim Jonk
Wim Jonk held the position of association football manager
Wim Jonk
action filter_type
action find_reverse
entity association football manager
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'association football manager']
SELECT DISTINCT ?m WHERE { ?m property:position_held resource:association_football_manager . ?m rdf:type ontology:common_name }
[]