Simple Question (Direct)
Simple Question
Q1703231
P7
Q502895
USER
Who is the brother of Jonathan LaPaglia ?
(Q1703231,P7,c(Q502895))
action filter_type
action find
entity Q1703231
relation P7
type Q502895
['Q1703231', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1703231 property:P7 ?u . ?u rdf:type ontology:Q502895 }
Jonathan LaPaglia
action filter_type
action find
entity Jonathan LaPaglia
relation brother
type common name
['Jonathan LaPaglia', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Jonathan_LaPaglia property:brother ?u . ?u rdf:type ontology:common_name }
[]
common name
Q308124
SYSTEM
Anthony LaPaglia
Q308124
(Q1703231,P7,c(Q502895))
action filter_type
action find
entity Q1703231
relation P7
type Q502895
The brother of Jonathan LaPaglia is named [ANSWER]
['Q1703231', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1703231 property:P7 ?u . ?u rdf:type ontology:Q502895 }
Anthony LaPaglia
The brother of Jonathan LaPaglia is named Anthony LaPaglia
Anthony LaPaglia
action filter_type
action find
entity Jonathan LaPaglia
relation brother
type common name
['Jonathan LaPaglia', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Jonathan_LaPaglia property:brother ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q308124
P1412
Q34770
USER
Which language can that person read ?
(Q308124,P1412,c(Q34770))
action filter_type
action find
entity Q308124
relation P1412
type Q34770
['Q308124', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q308124 property:P1412 ?c }
Anthony LaPaglia
action filter_type
action find
entity Anthony LaPaglia
relation languages spoken, written or signed
type language
['Anthony LaPaglia', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:Anthony_LaPaglia property:languages_spoken,_written_or_signed ?c }
[]
language
Q1860
SYSTEM
English
Q1860
(Q308124,P1412,c(Q34770))
action filter_type
action find
entity Q308124
relation P1412
type Q34770
That person can read the [ANSWER]
['Q308124', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q308124 property:P1412 ?c }
English
That person can read the English
English
action filter_type
action find
entity Anthony LaPaglia
relation languages spoken, written or signed
type language
['Anthony LaPaglia', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:Anthony_LaPaglia property:languages_spoken,_written_or_signed ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1703231
P161
Q838948
USER
Which works of art have Jonathan LaPaglia as actor ?
(c(Q838948),P161,Q1703231)
action filter_type
action find_reverse
entity Q1703231
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1703231']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P161 resource:Q1703231 }
Jonathan LaPaglia
action filter_type
action find_reverse
entity Jonathan LaPaglia
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jonathan LaPaglia']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:cast_member resource:Jonathan_LaPaglia }
[]
work of art
Q4655392 Q14552558
SYSTEM
A Beautiful Life, Pioneer
Q4655392 Q14552558
(c(Q838948),P161,Q1703231)
action filter_type
action find_reverse
entity Q1703231
relation P161
type Q838948
[ANSWERS] have Jonathan LaPaglia as actor
[{'concept': 'Q838948'}, 'P161', 'Q1703231']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P161 resource:Q1703231 }
A Beautiful Life Pioneer
A Beautiful Life and Pioneer have Jonathan LaPaglia as actor
A Beautiful Life Pioneer
action filter_type
action find_reverse
entity Jonathan LaPaglia
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Jonathan LaPaglia']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:cast_member resource:Jonathan_LaPaglia }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4655392 Q14552558
P57
Q502895
USER
Who were the director of A Beautiful Life and Pioneer ?
(Q4655392,P57,c(Q502895)) (Q14552558,P57,c(Q502895))
action union
action filter_type
action find
entity Q4655392
relation P57
type Q502895
action filter_type
action find
entity Q14552558
relation P57
type Q502895
['Q4655392', 'P57', {'concept': 'Q502895'}] ['Q14552558', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { resource:Q14552558 property:P57 ?w . ?w rdf:type ontology:Q502895 } UNION { resource:Q4655392 property:P57 ?w . ?w rdf:type ontology:Q502895 } }
A Beautiful Life Pioneer
action union
action filter_type
action find
entity A Beautiful Life
relation director
type common name
action filter_type
action find
entity Pioneer
relation director
type common name
['A Beautiful Life', 'director', {'concept': 'common name'}] ['Pioneer', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { resource:Pioneer property:director ?w . ?w rdf:type ontology:common_name } UNION { resource:A_Beautiful_Life property:director ?w . ?w rdf:type ontology:common_name } }
[]
common name
Q2832432 Q3056581
SYSTEM
Alejandro Chomski, Erik Skjoldbjærg
Q2832432 Q3056581
(Q4655392,P57,c(Q502895)) (Q14552558,P57,c(Q502895))
action union
action filter_type
action find
entity Q4655392
relation P57
type Q502895
action filter_type
action find
entity Q14552558
relation P57
type Q502895
The director of A Beautiful Life and Pioneer were [ANSWERS]
['Q4655392', 'P57', {'concept': 'Q502895'}] ['Q14552558', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { resource:Q14552558 property:P57 ?w . ?w rdf:type ontology:Q502895 } UNION { resource:Q4655392 property:P57 ?w . ?w rdf:type ontology:Q502895 } }
Alejandro Chomski Erik Skjoldbjærg
The director of A Beautiful Life and Pioneer were Alejandro Chomski and Erik Skjoldbjærg
Alejandro Chomski Erik Skjoldbjærg
action union
action filter_type
action find
entity A Beautiful Life
relation director
type common name
action filter_type
action find
entity Pioneer
relation director
type common name
['A Beautiful Life', 'director', {'concept': 'common name'}] ['Pioneer', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { resource:Pioneer property:director ?w . ?w rdf:type ontology:common_name } UNION { resource:A_Beautiful_Life property:director ?w . ?w rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4655392
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q4655392,P136,c(Q1792379))
action filter_type
action find
entity Q4655392
relation P136
type Q1792379
['Q4655392', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q4655392 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
A Beautiful Life
action filter_type
action find
entity A Beautiful Life
relation genre
type art genre
['A Beautiful Life', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:A_Beautiful_Life property:genre ?o . ?o rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q4655392
SYSTEM
Did you mean A Beautiful Life ?
Q2832432 Q3056581
(Q2832432,P136,c(Q1792379)) (Q3056581,P136,c(Q1792379))
[ANSWER]
['Q2832432', 'P136', {'concept': 'Q1792379'}] ['Q3056581', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q4655392 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
Alejandro Chomski Erik Skjoldbjærg
Did you mean A Beautiful Life ?
A Beautiful Life
['Alejandro Chomski', 'genre', {'concept': 'art genre'}] ['Erik Skjoldbjærg', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:A_Beautiful_Life property:genre ?o . ?o rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4655392,P136,c(Q1792379))
['Q4655392', 'P136', {'concept': 'Q1792379'}]
['A Beautiful Life', 'genre', {'concept': 'art genre'}]
[]
Q130232
SYSTEM
drama film
Q130232
(Q4655392,P136,c(Q1792379))
action filter_type
action find
entity Q4655392
relation P136
type Q1792379
The [ANSWER] can be considered as category for that work of art
['Q4655392', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q4655392 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
drama film
The drama film can be considered as category for that work of art
drama film
action filter_type
action find
entity A Beautiful Life
relation genre
type art genre
['A Beautiful Life', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:A_Beautiful_Life property:genre ?o . ?o rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1351537
P106
Q12737077
USER
What are the job of Eric P. Caspar ?
(Q1351537,P106,c(Q12737077))
action filter_type
action find
entity Q1351537
relation P106
type Q12737077
['Q1351537', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1351537 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Eric P. Caspar
action filter_type
action find
entity Eric P. Caspar
relation occupation
type occupation
['Eric P. Caspar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Eric_P._Caspar property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q33999 Q36180 Q2259451
SYSTEM
actor, writer, stage actor
Q33999 Q36180 Q2259451
(Q1351537,P106,c(Q12737077))
action filter_type
action find
entity Q1351537
relation P106
type Q12737077
The job of Eric P. are stage [ANSWERS]
['Q1351537', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1351537 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
actor writer stage actor
The job of Eric P. are stage actor, writer and stage actor
actor writer stage actor
action filter_type
action find
entity Eric P. Caspar
relation occupation
type occupation
['Eric P. Caspar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Eric_P._Caspar property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1351537
Q28640
USER
And which profession?
(Q1351537,P106,c(Q28640))
action filter_type
action find
entity Q1351537
relation P106
type Q28640
['Q1351537', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?m WHERE { resource:Q1351537 property:P106 ?m . ?m rdf:type ontology:Q28640 }
Eric P. Caspar
action filter_type
action find
entity Eric P. Caspar
relation occupation
type profession
['Eric P. Caspar', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?m WHERE { resource:Eric_P._Caspar property:occupation ?m . ?m rdf:type ontology:profession }
[]
profession
Q10800557
SYSTEM
film actor
Q10800557
(Q1351537,P106,c(Q28640))
action filter_type
action find
entity Q1351537
relation P106
type Q28640
[ANSWER]
['Q1351537', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?m WHERE { resource:Q1351537 property:P106 ?m . ?m rdf:type ontology:Q28640 }
film actor
film actor
action filter_type
action find
entity Eric P. Caspar
relation occupation
type profession
['Eric P. Caspar', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?m WHERE { resource:Eric_P._Caspar property:occupation ?m . ?m rdf:type ontology:profession }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q10800557 Q21006200
P106
Q502895
USER
Does Reinhard von Hacht have career as that profession ?
(Q21006200,P106,Q10800557)
action is_in
entity Q10800557
action find
entity Q21006200
relation P106
['Q21006200', 'P106', 'Q10800557']
ASK WHERE { resource:Q21006200 property:P106 resource:Q10800557 }
film actor Reinhard von Hacht
action is_in
entity film actor
action find
entity Reinhard von Hacht
relation occupation
['Reinhard von Hacht', 'occupation', 'film actor']
ASK WHERE { resource:Reinhard_von_Hacht property:occupation resource:film_actor }
[]
common name
SYSTEM
YES
(Q21006200,P106,Q10800557)
action is_in
entity Q10800557
action find
entity Q21006200
relation P106
[ANSWER]
['Q21006200', 'P106', 'Q10800557']
ASK WHERE { resource:Q21006200 property:P106 resource:Q10800557 }
Yes
action is_in
entity film actor
action find
entity Reinhard von Hacht
relation occupation
['Reinhard von Hacht', 'occupation', 'film actor']
ASK WHERE { resource:Reinhard_von_Hacht property:occupation resource:film_actor }
[]