Simple Question (Direct)
Simple Question
Q20003551
P1412
Q34770
USER
Which language is spoken by Joan Rigau i Sala ?
(Q20003551,P1412,c(Q34770))
action filter_type
action find
entity Q20003551
relation P1412
type Q34770
['Q20003551', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q20003551 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Joan Rigau i Sala
action filter_type
action find
entity Joan Rigau i Sala
relation languages spoken, written or signed
type language
['Joan Rigau i Sala', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Joan_Rigau_i_Sala property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q20003551,P1412,c(Q34770))
action filter_type
action find
entity Q20003551
relation P1412
type Q34770
And [ANSWER] is spoken by Joan Rigau i Sala
['Q20003551', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q20003551 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Spanish
And Spanish is spoken by Joan Rigau i Sala
Spanish
action filter_type
action find
entity Joan Rigau i Sala
relation languages spoken, written or signed
type language
['Joan Rigau i Sala', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Joan_Rigau_i_Sala property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20003551
P106
Q12737077
USER
Which occupations have Joan Rigau i Sala as his/her 's career ?
(Q20003551,P106,c(Q12737077))
action filter_type
action find
entity Q20003551
relation P106
type Q12737077
['Q20003551', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q20003551 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Joan Rigau i Sala
action filter_type
action find
entity Joan Rigau i Sala
relation occupation
type occupation
['Joan Rigau i Sala', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Joan_Rigau_i_Sala property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q639669 Q1231865
SYSTEM
musician, educationist
Q639669 Q1231865
(Q20003551,P106,c(Q12737077))
action filter_type
action find
entity Q20003551
relation P106
type Q12737077
The [ANSWERS] have Joan Rigau i Sala as his/her 's career
['Q20003551', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q20003551 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
musician educationist
The musician and educationist have Joan Rigau i Sala as his/her 's career
musician educationist
action filter_type
action find
entity Joan Rigau i Sala
relation occupation
type occupation
['Joan Rigau i Sala', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Joan_Rigau_i_Sala property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15300562 Q1231865
P425 P101
Q1047113
USER
What have educationist as the associated field of occupation or are the fields of work of Bernd J. Kröger ?
OR((Q1231865,P425,c(Q1047113)), (Q15300562,P101,c(Q1047113)))
action filter_type
action union
action find
entity Q1231865
relation P425
action find
entity Q15300562
relation P101
type Q1047113
{'OR': [['Q1231865', 'P425', {'concept': 'Q1047113'}], ['Q15300562', 'P101', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1047113 . { { resource:Q1231865 property:P425 ?n } UNION { resource:Q15300562 property:P101 ?n } } }
Bernd J. Kröger educationist
action filter_type
action union
action find
entity educationist
relation field of this occupation
action find
entity Bernd J. Kröger
relation field of work
type special field
{'OR': [['educationist', 'field of this occupation', {'concept': 'special field'}], ['Bernd J. Kröger', 'field of work', {'concept': 'special field'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:special_field . { { resource:educationist property:field_of_this_occupation ?n } UNION { resource:Bernd_J._Kröger property:field_of_work ?n } } }
[]
special field
Q7922 Q35395
SYSTEM
pedagogy, phonetics
Q7922 Q35395
OR((Q1231865,P425,c(Q1047113)), (Q15300562,P101,c(Q1047113)))
action filter_type
action union
action find
entity Q1231865
relation P425
action find
entity Q15300562
relation P101
type Q1047113
The [ANSWERS] have educationist as the associated field of occupation or are the fields of work of Bernd J. Kröger
{'OR': [['Q1231865', 'P425', {'concept': 'Q1047113'}], ['Q15300562', 'P101', {'concept': 'Q1047113'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1047113 . { { resource:Q1231865 property:P425 ?n } UNION { resource:Q15300562 property:P101 ?n } } }
pedagogy phonetics
The pedagogy and phonetics have educationist as the associated field of occupation or are the fields of work of Bernd J. Kröger
pedagogy phonetics
action filter_type
action union
action find
entity educationist
relation field of this occupation
action find
entity Bernd J. Kröger
relation field of work
type special field
{'OR': [['educationist', 'field of this occupation', {'concept': 'special field'}], ['Bernd J. Kröger', 'field of work', {'concept': 'special field'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:special_field . { { resource:educationist property:field_of_this_occupation ?n } UNION { resource:Bernd_J._Kröger property:field_of_work ?n } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7922
P361
Q9332
USER
Which behavior is that special field a component of ?
(Q7922,P361,c(Q9332))
action filter_type
action find
entity Q7922
relation P361
type Q9332
['Q7922', 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { resource:Q7922 property:P361 ?p . ?p rdf:type ontology:Q9332 }
pedagogy
action filter_type
action find
entity pedagogy
relation part of
type behavior
['pedagogy', 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { resource:pedagogy property:part_of ?p . ?p rdf:type ontology:behavior }
[]
behavior
Clarification for simple ques.
Q35395
SYSTEM
Did you mean phonetics ?
Q7922 Q35395
(Q7922,P361,c(Q9332)) (Q35395,P361,c(Q9332))
[ANSWER]
['Q7922', 'P361', {'concept': 'Q9332'}] ['Q35395', 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { resource:Q7922 property:P361 ?p . ?p rdf:type ontology:Q9332 }
pedagogy phonetics
Did you mean phonetics ?
phonetics
['pedagogy', 'part of', {'concept': 'behavior'}] ['phonetics', 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { resource:pedagogy property:part_of ?p . ?p rdf:type ontology:behavior }
[]
Simple Question (Coreferenced)
USER
No, I meant pedagogy. Could you tell me the answer for that?
(Q7922,P361,c(Q9332))
Q7922
['Q7922', 'P361', {'concept': 'Q9332'}]
['pedagogy', 'part of', {'concept': 'behavior'}]
[]
Q8434
SYSTEM
education
Q8434
(Q7922,P361,c(Q9332))
action filter_type
action find
entity Q7922
relation P361
type Q9332
Which behavior is that special field a component of
['Q7922', 'P361', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { resource:Q7922 property:P361 ?p . ?p rdf:type ontology:Q9332 }
education
Which behavior is that special field a component of
education
action filter_type
action find
entity pedagogy
relation part of
type behavior
['pedagogy', 'part of', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { resource:pedagogy property:part_of ?p . ?p rdf:type ontology:behavior }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6625963 Q1231865
P106
Q502895
USER
Which people have a job as educationist and novelist ?
AND((c(Q502895),P106,Q1231865), (c(Q502895),P106,Q6625963))
action filter_type
action intersection
action find_reverse
entity Q1231865
relation P106
action find_reverse
entity Q6625963
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1231865'], [{'concept': 'Q502895'}, 'P106', 'Q6625963']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P106 resource:Q1231865 . ?s property:P106 resource:Q6625963 }
novelist educationist
action filter_type
action intersection
action find_reverse
entity educationist
relation occupation
action find_reverse
entity novelist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'educationist'], [{'concept': 'common name'}, 'occupation', 'novelist']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:occupation resource:educationist . ?s property:occupation resource:novelist }
[]
common name
Q151872 Q5200681 Q58612 Q274144 Q12807 Q6527 Q7243 Q313593 Q469135 Q2940723
SYSTEM
Some of them are Amos Oz, Cyril Dabydeen, Yehuda Amichai, Kathrine Taylor, Umberto Eco, Jean-Jacques Rousseau, Leo Tolstoy, Michael Ondaatje, Anne Michaels, Caryl Phillips
Q41590 Q151872 Q469135 Q2940723 Q12807 Q6527 Q183492 Q313593 Q58612 Q506582 Q5200681 Q7243 Q274144
AND((c(Q502895),P106,Q1231865), (c(Q502895),P106,Q6625963))
action filter_type
action intersection
action find_reverse
entity Q1231865
relation P106
action find_reverse
entity Q6625963
relation P106
type Q502895
[ANSWERS] have a job as educationist and novelist
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1231865'], [{'concept': 'Q502895'}, 'P106', 'Q6625963']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P106 resource:Q1231865 . ?s property:P106 resource:Q6625963 }
Mircea Eliade Amos Oz Anne Michaels Caryl Phillips Umberto Eco Jean-Jacques Rousseau Margaret Atwood Michael Ondaatje Yehuda Amichai Ivan Klíma Cyril Dabydeen Leo Tolstoy Kathrine Taylor
Amos Oz, Cyril Dabydeen, Yehuda Amichai, Kathrine Taylor, Umberto Eco, Jean-Jacques Rousseau, Leo Tolstoy, Michael Ondaatje, Anne Michaels and Caryl Phillips have a job as educationist and novelist
Amos Oz Cyril Dabydeen Yehuda Amichai Kathrine Taylor Umberto Eco Jean-Jacques Rousseau Leo Tolstoy Michael Ondaatje Anne Michaels Caryl Phillips
action filter_type
action intersection
action find_reverse
entity educationist
relation occupation
action find_reverse
entity novelist
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'educationist'], [{'concept': 'common name'}, 'occupation', 'novelist']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:occupation resource:educationist . ?s property:occupation resource:novelist }
[]
Clarification
Simple Question|Single Entity|Indirect
Q274144
P58
Q838948
USER
Which work of art is that person a screenwriter of ?
(c(Q838948),P58,Q274144)
action filter_type
action find_reverse
entity Q274144
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q274144']
SELECT DISTINCT ?f WHERE { ?f property:P58 resource:Q274144 . ?f rdf:type ontology:Q838948 }
Kathrine Taylor
action filter_type
action find_reverse
entity Kathrine Taylor
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Kathrine Taylor']
SELECT DISTINCT ?f WHERE { ?f property:screenwriter resource:Kathrine_Taylor . ?f rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q6527
SYSTEM
Did you mean Jean-Jacques Rousseau ?
Q151872 Q5200681 Q58612 Q274144 Q12807 Q6527 Q7243 Q313593 Q469135 Q2940723
(c(Q838948),P58,Q151872) (c(Q838948),P58,Q5200681) (c(Q838948),P58,Q58612) (c(Q838948),P58,Q274144) (c(Q838948),P58,Q12807) (c(Q838948),P58,Q6527) (c(Q838948),P58,Q7243) (c(Q838948),P58,Q313593) (c(Q838948),P58,Q469135) (c(Q838948),P58,Q2940723)
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q151872'] [{'concept': 'Q838948'}, 'P58', 'Q5200681'] [{'concept': 'Q838948'}, 'P58', 'Q58612'] [{'concept': 'Q838948'}, 'P58', 'Q274144'] [{'concept': 'Q838948'}, 'P58', 'Q12807'] [{'concept': 'Q838948'}, 'P58', 'Q6527'] [{'concept': 'Q838948'}, 'P58', 'Q7243'] [{'concept': 'Q838948'}, 'P58', 'Q313593'] [{'concept': 'Q838948'}, 'P58', 'Q469135'] [{'concept': 'Q838948'}, 'P58', 'Q2940723']
SELECT DISTINCT ?f WHERE { ?f property:P58 resource:Q274144 . ?f rdf:type ontology:Q838948 }
Amos Oz Cyril Dabydeen Yehuda Amichai Kathrine Taylor Umberto Eco Jean-Jacques Rousseau Leo Tolstoy Michael Ondaatje Anne Michaels Caryl Phillips
Did you mean Jean-Jacques Rousseau ?
Jean-Jacques Rousseau
[{'concept': 'work of art'}, 'screenwriter', 'Amos Oz'] [{'concept': 'work of art'}, 'screenwriter', 'Cyril Dabydeen'] [{'concept': 'work of art'}, 'screenwriter', 'Yehuda Amichai'] [{'concept': 'work of art'}, 'screenwriter', 'Kathrine Taylor'] [{'concept': 'work of art'}, 'screenwriter', 'Umberto Eco'] [{'concept': 'work of art'}, 'screenwriter', 'Jean-Jacques Rousseau'] [{'concept': 'work of art'}, 'screenwriter', 'Leo Tolstoy'] [{'concept': 'work of art'}, 'screenwriter', 'Michael Ondaatje'] [{'concept': 'work of art'}, 'screenwriter', 'Anne Michaels'] [{'concept': 'work of art'}, 'screenwriter', 'Caryl Phillips']
SELECT DISTINCT ?f WHERE { ?f property:screenwriter resource:Kathrine_Taylor . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Kathrine Taylor. Could you tell me the answer for that?
(c(Q838948),P58,Q274144)
Q274144
[{'concept': 'Q838948'}, 'P58', 'Q274144']
[{'concept': 'work of art'}, 'screenwriter', 'Kathrine Taylor']
[]
Q787658
SYSTEM
Address Unknown
Q787658
(c(Q838948),P58,Q274144)
action filter_type
action find_reverse
entity Q274144
relation P58
type Q838948
[ANSWER] is that person a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q274144']
SELECT DISTINCT ?f WHERE { ?f property:P58 resource:Q274144 . ?f rdf:type ontology:Q838948 }
Address Unknown
Address Unknown is that person a screenwriter of
Address Unknown
action filter_type
action find_reverse
entity Kathrine Taylor
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Kathrine Taylor']
SELECT DISTINCT ?f WHERE { ?f property:screenwriter resource:Kathrine_Taylor . ?f rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4917288
P361
Q1047113 Q234460 Q151885
USER
How many special fields are more number of texts or concepts a component of than control engineering ?
(c(Q234460)|c(Q151885),P361,c(Q1047113))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q234460
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q4917288
relation P361
type Q234460
type Q151885
[[{'concept': 'Q234460'}, {'concept': 'Q151885'}], 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { FILTER ( ?e > ?n ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:P361 resource:Q4917288 . { { ?g rdf:type ontology:Q234460 } UNION { ?g rdf:type ontology:Q151885 } } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?x WHERE { { ?t property:P361 ?x . ?x rdf:type ontology:Q1047113 . ?t rdf:type ontology:Q234460 } UNION { ?x rdf:type ontology:Q1047113 . ?t rdf:type ontology:Q151885 . ?t property:P361 ?x } } GROUP BY ?x } }
control engineering
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type special field
type text
action find_reverse_tuple_counts
relation part of
type special field
type concept
action count
action filter_multi_types
action find_reverse
entity control engineering
relation part of
type text
type concept
[[{'concept': 'text'}, {'concept': 'concept'}], 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { FILTER ( ?e > ?n ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:part_of resource:control_engineering . { { ?g rdf:type ontology:text } UNION { ?g rdf:type ontology:concept } } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?x WHERE { { ?t property:part_of ?x . ?x rdf:type ontology:special_field . ?t rdf:type ontology:text } UNION { ?x rdf:type ontology:special_field . ?t rdf:type ontology:concept . ?t property:part_of ?x } } GROUP BY ?x } }
[]
special field text concept
SYSTEM
6
Q21198 Q5891 Q37732 Q34178 Q23498 Q193544
(c(Q234460)|c(Q151885),P361,c(Q1047113))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q234460
action find_reverse_tuple_counts
relation P361
type Q1047113
type Q151885
action count
action filter_multi_types
action find_reverse
entity Q4917288
relation P361
type Q234460
type Q151885
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q151885'}], 'P361', {'concept': 'Q1047113'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { FILTER ( ?e > ?n ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:P361 resource:Q4917288 . { { ?g rdf:type ontology:Q234460 } UNION { ?g rdf:type ontology:Q151885 } } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?x WHERE { { ?t property:P361 ?x . ?x rdf:type ontology:Q1047113 . ?t rdf:type ontology:Q234460 } UNION { ?x rdf:type ontology:Q1047113 . ?t rdf:type ontology:Q151885 . ?t property:P361 ?x } } GROUP BY ?x } }
computer science philosophy demography theology archaeology music theory
6
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type special field
type text
action find_reverse_tuple_counts
relation part of
type special field
type concept
action count
action filter_multi_types
action find_reverse
entity control engineering
relation part of
type text
type concept
[[{'concept': 'text'}, {'concept': 'concept'}], 'part of', {'concept': 'special field'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) WHERE { FILTER ( ?e > ?n ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:part_of resource:control_engineering . { { ?g rdf:type ontology:text } UNION { ?g rdf:type ontology:concept } } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) ?x WHERE { { ?t property:part_of ?x . ?x rdf:type ontology:special_field . ?t rdf:type ontology:text } UNION { ?x rdf:type ontology:special_field . ?t rdf:type ontology:concept . ?t property:part_of ?x } } GROUP BY ?x } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7243
P22
Q502895
USER
How many people have Leo Tolstoy as dad ?
(c(Q502895),P22,Q7243)
action count
action filter_type
action find_reverse
entity Q7243
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q7243']
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P22 resource:Q7243 . ?b rdf:type ontology:Q502895 }
Leo Tolstoy
action count
action filter_type
action find_reverse
entity Leo Tolstoy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Leo Tolstoy']
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:father resource:Leo_Tolstoy . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
6
Q1152362 Q3609559 Q3981441 Q3847918 Q3955946 Q3792538
(c(Q502895),P22,Q7243)
action count
action filter_type
action find_reverse
entity Q7243
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q7243']
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P22 resource:Q7243 . ?b rdf:type ontology:Q502895 }
Lev Lvovich Tolstoy Alexandra Tolstaya Tatyana Sukhotina-Tolstaya Maria L'vovna Tolstaya Sergey Tolstoy Ilya Tolstoy
6
action count
action filter_type
action find_reverse
entity Leo Tolstoy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Leo Tolstoy']
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:father resource:Leo_Tolstoy . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q51673
P2348
Q451967
USER
When did Mark Antony happen ?
(Q51673,P2348,c(Q451967))
action filter_type
action find
entity Q51673
relation P2348
type Q451967
['Q51673', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q451967 . resource:Q51673 property:P2348 ?g }
Mark Antony
action filter_type
action find
entity Mark Antony
relation period
type human action
['Mark Antony', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:human_action . resource:Mark_Antony property:period ?g }
[]
human action
Q17167
SYSTEM
Roman Republic
Q17167
(Q51673,P2348,c(Q451967))
action filter_type
action find
entity Q51673
relation P2348
type Q451967
Mark Antony happened [ANSWER]
['Q51673', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q451967 . resource:Q51673 property:P2348 ?g }
Roman Republic
Mark Antony happened Roman Republic
Roman Republic
action filter_type
action find
entity Mark Antony
relation period
type human action
['Mark Antony', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:human_action . resource:Mark_Antony property:period ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q51673
P40
Q502895
USER
Whose child are Mark Antony ?
(c(Q502895),P40,Q51673)
action filter_type
action find_reverse
entity Q51673
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q51673']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q51673 . ?a rdf:type ontology:Q502895 }
Mark Antony
action filter_type
action find_reverse
entity Mark Antony
relation child
type common name
[{'concept': 'common name'}, 'child', 'Mark Antony']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Mark_Antony . ?a rdf:type ontology:common_name }
[]
common name
Q6485329 Q357585
SYSTEM
Julia, Marcus Antonius Creticus
Q6485329 Q357585
(c(Q502895),P40,Q51673)
action filter_type
action find_reverse
entity Q51673
relation P40
type Q502895
[ANSWERS] are Mark Antony
[{'concept': 'Q502895'}, 'P40', 'Q51673']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q51673 . ?a rdf:type ontology:Q502895 }
Julia Marcus Antonius Creticus
Julia and Marcus Antonius Creticus are Mark Antony
Julia Marcus Antonius Creticus
action filter_type
action find_reverse
entity Mark Antony
relation child
type common name
[{'concept': 'common name'}, 'child', 'Mark Antony']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Mark_Antony . ?a rdf:type ontology:common_name }
[]