Simple Question (Direct)
Simple Question
Q63781
P734
Q82799
USER
Who is associated with Alfred Abel ?
(Q63781,P734,c(Q82799))
action filter_type
action find
entity Q63781
relation P734
type Q82799
['Q63781', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q63781 property:P734 ?q }
Alfred Abel
action filter_type
action find
entity Alfred Abel
relation family name
type name
['Alfred Abel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Alfred_Abel property:family_name ?q }
[]
name
Q318363
SYSTEM
Abel
Q318363
(Q63781,P734,c(Q82799))
action filter_type
action find
entity Q63781
relation P734
type Q82799
[ANSWER] is associated with Alfred [ANSWER]
['Q63781', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q63781 property:P734 ?q }
Abel
Abel is associated with Alfred Abel
Abel
action filter_type
action find
entity Alfred Abel
relation family name
type name
['Alfred Abel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Alfred_Abel property:family_name ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q318363
P407
Q5962346
USER
Which classification scheme is that name composed in ?
(Q318363,P407,c(Q5962346))
action filter_type
action find
entity Q318363
relation P407
type Q5962346
['Q318363', 'P407', {'concept': 'Q5962346'}]
SELECT DISTINCT ?d WHERE { resource:Q318363 property:P407 ?d . ?d rdf:type ontology:Q5962346 }
Abel
action filter_type
action find
entity Abel
relation language of work or name
type classification scheme
['Abel', 'language of work or name', {'concept': 'classification scheme'}]
SELECT DISTINCT ?d WHERE { resource:Abel property:language_of_work_or_name ?d . ?d rdf:type ontology:classification_scheme }
[]
classification scheme
Q21200
SYSTEM
Germanic languages
Q21200
(Q318363,P407,c(Q5962346))
action filter_type
action find
entity Q318363
relation P407
type Q5962346
That name is composed by [ANSWER]
['Q318363', 'P407', {'concept': 'Q5962346'}]
SELECT DISTINCT ?d WHERE { resource:Q318363 property:P407 ?d . ?d rdf:type ontology:Q5962346 }
Germanic languages
That name is composed by Germanic languages
Germanic languages
action filter_type
action find
entity Abel
relation language of work or name
type classification scheme
['Abel', 'language of work or name', {'concept': 'classification scheme'}]
SELECT DISTINCT ?d WHERE { resource:Abel property:language_of_work_or_name ?d . ?d rdf:type ontology:classification_scheme }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2823956 Q63781
P19
Q515
USER
Which cities are the birthplace of Alfred Abel or Adam Helcelet ?
OR((Q63781,P19,c(Q515)), (Q2823956,P19,c(Q515)))
action filter_type
action union
action find
entity Q63781
relation P19
action find
entity Q2823956
relation P19
type Q515
{'OR': [['Q63781', 'P19', {'concept': 'Q515'}], ['Q2823956', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q63781 property:P19 ?i } UNION { resource:Q2823956 property:P19 ?i } } . ?i rdf:type ontology:Q515 }
Adam Helcelet Alfred Abel
action filter_type
action union
action find
entity Alfred Abel
relation place of birth
action find
entity Adam Helcelet
relation place of birth
type city
{'OR': [['Alfred Abel', 'place of birth', {'concept': 'city'}], ['Adam Helcelet', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Alfred_Abel property:place_of_birth ?i } UNION { resource:Adam_Helcelet property:place_of_birth ?i } } . ?i rdf:type ontology:city }
[]
city
Q2079 Q851419
SYSTEM
Leipzig, Turnov
Q2079 Q851419
OR((Q63781,P19,c(Q515)), (Q2823956,P19,c(Q515)))
action filter_type
action union
action find
entity Q63781
relation P19
action find
entity Q2823956
relation P19
type Q515
[ANSWERS] are the birthplace of Alfred Abel or Adam Helcelet
{'OR': [['Q63781', 'P19', {'concept': 'Q515'}], ['Q2823956', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q63781 property:P19 ?i } UNION { resource:Q2823956 property:P19 ?i } } . ?i rdf:type ontology:Q515 }
Leipzig Turnov
Leipzig and Turnov are the birthplace of Alfred Abel or Adam Helcelet
Leipzig Turnov
action filter_type
action union
action find
entity Alfred Abel
relation place of birth
action find
entity Adam Helcelet
relation place of birth
type city
{'OR': [['Alfred Abel', 'place of birth', {'concept': 'city'}], ['Adam Helcelet', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Alfred_Abel property:place_of_birth ?i } UNION { resource:Adam_Helcelet property:place_of_birth ?i } } . ?i rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q63781
P161
Q838948 Q201658
USER
How many works of art or film genres have Alfred Abel as actor ?
(c(Q838948),P161,Q63781) (c(Q201658),P161,Q63781)
action count
action union
action filter_type
action find_reverse
entity Q63781
relation P161
type Q838948
action filter_type
action find_reverse
entity Q63781
relation P161
type Q201658
[{'concept': 'Q838948'}, 'P161', 'Q63781'] [{'concept': 'Q201658'}, 'P161', 'Q63781']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q201658 ) } . ?q rdf:type ?z }
Alfred Abel
action count
action union
action filter_type
action find_reverse
entity Alfred Abel
relation cast member
type work of art
action filter_type
action find_reverse
entity Alfred Abel
relation cast member
type film genre
[{'concept': 'work of art'}, 'cast member', 'Alfred Abel'] [{'concept': 'film genre'}, 'cast member', 'Alfred Abel']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:film_genre ) } . ?q rdf:type ?z }
[]
work of art film genre
SYSTEM
64
Q14949890 Q570180 Q552747 Q2675901 Q15308347 Q17040206 Q568994 Q15990767 Q22001182 Q7734335 Q22001089 Q22000720 Q21869224 Q22973910 Q15068718 Q3705771 Q7622329 Q21999914 Q21999877 Q302695 Q22969376 Q14949888 Q22973859 Q3705784 Q1168989 Q20814780 Q15279655 Q3023521 Q14952548 Q18209638 Q1713241 Q13601479 Q7740608 Q15053918 Q21646395 Q3072316 Q21869672 Q7421074 Q2133469 Q3702908 Q14949937 Q21869991 Q7772517 Q151599 Q14930453 Q479253 Q22969026 Q19948770 Q1306289 Q21869254 Q22000171 Q21077013 Q2631364 Q708497 Q14825898 Q21869699 Q16954069 Q19796697 Q3818898 Q3720687 Q1454446 Q21869738 Q1918005 Q19796453
(c(Q838948),P161,Q63781) (c(Q201658),P161,Q63781)
action count
action union
action filter_type
action find_reverse
entity Q63781
relation P161
type Q838948
action filter_type
action find_reverse
entity Q63781
relation P161
type Q201658
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q63781'] [{'concept': 'Q201658'}, 'P161', 'Q63781']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q201658 ) } . ?q rdf:type ?z }
Marriage in Trouble Phantom The Burning Soil The Trunks of Mr. O.F. Poison Gas Madame de La Pommeraye's Intrigues Der Kongreß tanzt The White Demon The Woman in Heaven The Flame Thieves on Strike The Man with the Limp Certificates of Death Rasputin, the Holy Sinner Johnny Steals Europe The Guardsman Strauss Is Playing Today Between Day and Dream Anesthesia L'Argent Lola Montez Man Overboard Lotte Lore The False Dimitri The Court Concert A Strange Guest People to Each Other The Duke of Reichstadt Scandal at the Fledermaus The Scoundrel Game on Board Cagliostro The House of Dora Green The Secret of Bombay The Fate of Renate Langen The Burning Secret The Night of the Medici Sappho Intoxication The Sacrifice of Ellen Larsen Wandering Souls The White Roses The Vice of Humanity Metropolis Maria, die Magd The Grand Duke's Finances Comrades From Caligari to Hitler: German Cinema in the Age of the Masses A Modern Dubarry Contest Dolly Gets Ahead Man Against Man 1914 Dr. Mabuse the Gambler My Heart is a Jazz Band One Night in Yoshiwara Dancing Vienna The Buddenbrooks The Beautiful Adventure A Day of Roses in August Mary Princess Olala My Wife Princess Suwarin
64
action count
action union
action filter_type
action find_reverse
entity Alfred Abel
relation cast member
type work of art
action filter_type
action find_reverse
entity Alfred Abel
relation cast member
type film genre
[{'concept': 'work of art'}, 'cast member', 'Alfred Abel'] [{'concept': 'film genre'}, 'cast member', 'Alfred Abel']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:film_genre ) } . ?q rdf:type ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q592471
P136
Q151885
USER
What can be considered as category for Symptom of the Universe: The Original Black Sabbath 1970–1978 ?
(Q592471,P136,c(Q151885))
action filter_type
action find
entity Q592471
relation P136
type Q151885
['Q592471', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { resource:Q592471 property:P136 ?y . ?y rdf:type ontology:Q151885 }
Symptom of the Universe: The Original Black Sabbath 1970–1978
action filter_type
action find
entity Symptom of the Universe: The Original Black Sabbath 1970–1978
relation genre
type concept
['Symptom of the Universe: The Original Black Sabbath 1970–1978', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { resource:Symptom_of_the_Universe:_The_Original_Black_Sabbath_1970–1978 property:genre ?y . ?y rdf:type ontology:concept }
[]
concept
Q38848
SYSTEM
heavy metal music
Q38848
(Q592471,P136,c(Q151885))
action filter_type
action find
entity Q592471
relation P136
type Q151885
[ANSWER] can be considered as category for Symptom of the Universe: The Original Black Sabbath 1970–1978
['Q592471', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { resource:Q592471 property:P136 ?y . ?y rdf:type ontology:Q151885 }
heavy metal music
Heavy metal music can be considered as category for Symptom of the Universe: The Original Black Sabbath 1970–1978
heavy metal music
action filter_type
action find
entity Symptom of the Universe: The Original Black Sabbath 1970–1978
relation genre
type concept
['Symptom of the Universe: The Original Black Sabbath 1970–1978', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { resource:Symptom_of_the_Universe:_The_Original_Black_Sabbath_1970–1978 property:genre ?y . ?y rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15436803
Q151885
USER
And what about Anthony Holland?
(Q15436803,P136,c(Q151885))
action filter_type
action find
entity Q15436803
relation P136
type Q151885
['Q15436803', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q15436803 property:P136 ?k . ?k rdf:type ontology:Q151885 }
Anthony Holland
action filter_type
action find
entity Anthony Holland
relation genre
type concept
['Anthony Holland', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Anthony_Holland property:genre ?k . ?k rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q15436803,P136,c(Q151885))
action filter_type
action find
entity Q15436803
relation P136
type Q151885
[ANSWER]
['Q15436803', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q15436803 property:P136 ?k . ?k rdf:type ontology:Q151885 }
jazz
jazz
action filter_type
action find
entity Anthony Holland
relation genre
type concept
['Anthony Holland', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Anthony_Holland property:genre ?k . ?k rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8341 Q2163287
P136
Q502895
USER
Does Rolf Bänninger have that concept as genre ?
(Q2163287,P136,Q8341)
action is_in
entity Q8341
action find
entity Q2163287
relation P136
['Q2163287', 'P136', 'Q8341']
ASK WHERE { resource:Q2163287 property:P136 resource:Q8341 }
jazz Rolf Bänninger
action is_in
entity jazz
action find
entity Rolf Bänninger
relation genre
['Rolf Bänninger', 'genre', 'jazz']
ASK WHERE { resource:Rolf_Bänninger property:genre resource:jazz }
[]
common name
SYSTEM
YES
(Q2163287,P136,Q8341)
action is_in
entity Q8341
action find
entity Q2163287
relation P136
[ANSWER]
['Q2163287', 'P136', 'Q8341']
ASK WHERE { resource:Q2163287 property:P136 resource:Q8341 }
Yes
action is_in
entity jazz
action find
entity Rolf Bänninger
relation genre
['Rolf Bänninger', 'genre', 'jazz']
ASK WHERE { resource:Rolf_Bänninger property:genre resource:jazz }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q63781
P20
Q56061
USER
Where did the expiration of Alfred Abel occur ?
(Q63781,P20,c(Q56061))
action filter_type
action find
entity Q63781
relation P20
type Q56061
['Q63781', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q63781 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Alfred Abel
action filter_type
action find
entity Alfred Abel
relation place of death
type administrative territorial entity
['Alfred Abel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Alfred_Abel property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q63781,P20,c(Q56061))
action filter_type
action find
entity Q63781
relation P20
type Q56061
The expiration of Alfred Abel occurred in [ANSWER]
['Q63781', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q63781 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Berlin
The expiration of Alfred Abel occurred in Berlin
Berlin
action filter_type
action find
entity Alfred Abel
relation place of death
type administrative territorial entity
['Alfred Abel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Alfred_Abel property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q63781
P21
Q290
USER
Which sex does that person belong to ?
(Q64,P21,c(Q290))
action filter_type
action find
entity Q63781
relation P21
type Q290
['Q64', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q63781 property:P21 ?d . ?d rdf:type ontology:Q290 }
Alfred Abel
action filter_type
action find
entity Alfred Abel
relation gender
type sex
['Berlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Alfred_Abel property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q64,P21,c(Q290))
action filter_type
action find
entity Q63781
relation P21
type Q290
That person belongs to [ANSWER]
['Q64', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q63781 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Alfred Abel
relation gender
type sex
['Berlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Alfred_Abel property:gender ?d . ?d rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q948383
P21
Q502895
USER
Is Diodorus of Aspendus a that sex ?
(Q948383,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q948383
relation P21
['Q948383', 'P21', 'Q6581097']
ASK WHERE { resource:Q948383 property:P21 resource:Q6581097 }
male Diodorus of Aspendus
action is_in
entity male
action find
entity Diodorus of Aspendus
relation gender
['Diodorus of Aspendus', 'gender', 'male']
ASK WHERE { resource:Diodorus_of_Aspendus property:gender resource:male }
[]
common name
SYSTEM
YES
(Q948383,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q948383
relation P21
[ANSWER]
['Q948383', 'P21', 'Q6581097']
ASK WHERE { resource:Q948383 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Diodorus of Aspendus
relation gender
['Diodorus of Aspendus', 'gender', 'male']
ASK WHERE { resource:Diodorus_of_Aspendus property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q63781 Q2079 Q390156
P19
Q515
USER
Was Alfred Abel born at Leipzig and Petrila ?
(Q63781,P19,Q2079) (Q63781,P19,Q390156)
action is_in
entity Q63781
action intersection
action find_reverse
entity Q2079
relation P19
action find_reverse
entity Q390156
relation P19
['Q63781', 'P19', 'Q2079'] ['Q63781', 'P19', 'Q390156']
ASK WHERE { resource:Q63781 property:P19 resource:Q2079 . resource:Q63781 property:P19 resource:Q390156 }
Alfred Abel Leipzig Petrila
action is_in
entity Alfred Abel
action intersection
action find_reverse
entity Leipzig
relation place of birth
action find_reverse
entity Petrila
relation place of birth
['Alfred Abel', 'place of birth', 'Leipzig'] ['Alfred Abel', 'place of birth', 'Petrila']
ASK WHERE { resource:Alfred_Abel property:place_of_birth resource:Leipzig . resource:Alfred_Abel property:place_of_birth resource:Petrila }
[]
city
SYSTEM
YES and NO respectively
(Q63781,P19,Q2079) (Q63781,P19,Q390156)
action is_in
entity Q63781
action intersection
action find_reverse
entity Q2079
relation P19
action find_reverse
entity Q390156
relation P19
[ANSWER]
['Q63781', 'P19', 'Q2079'] ['Q63781', 'P19', 'Q390156']
ASK WHERE { resource:Q63781 property:P19 resource:Q2079 . resource:Q63781 property:P19 resource:Q390156 }
YES and NO respectively
action is_in
entity Alfred Abel
action intersection
action find_reverse
entity Leipzig
relation place of birth
action find_reverse
entity Petrila
relation place of birth
['Alfred Abel', 'place of birth', 'Leipzig'] ['Alfred Abel', 'place of birth', 'Petrila']
ASK WHERE { resource:Alfred_Abel property:place_of_birth resource:Leipzig . resource:Alfred_Abel property:place_of_birth resource:Petrila }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q63781
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
action filter_type
action find
entity Q63781
relation P106
type Q12737077
SELECT DISTINCT ?t WHERE { resource:Q63781 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Alfred Abel
action filter_type
action find
entity Alfred Abel
relation occupation
type occupation
SELECT DISTINCT ?t WHERE { resource:Alfred_Abel property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
action filter_type
action find
entity Q63781
relation P106
type Q12737077
The [ANSWERS] have that person as his/her 's career
SELECT DISTINCT ?t WHERE { resource:Q63781 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
actor stage actor
The actor and stage actor have that person as his/her 's career
actor stage actor
action filter_type
action find
entity Alfred Abel
relation occupation
type occupation
SELECT DISTINCT ?t WHERE { resource:Alfred_Abel property:occupation ?t . ?t rdf:type ontology:occupation }
[]