Simple Question (Direct)
Simple Question
Q10554311
P734
Q82799
USER
Who is associated with Jonte Smith ?
(Q10554311,P734,c(Q82799))
action filter_type
action find
entity Q10554311
relation P734
type Q82799
['Q10554311', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q10554311 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Jonte Smith
action filter_type
action find
entity Jonte Smith
relation family name
type name
['Jonte Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Jonte_Smith property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q10554311,P734,c(Q82799))
action filter_type
action find
entity Q10554311
relation P734
type Q82799
Ed [ANSWER] is associated with Jonte [ANSWER]
['Q10554311', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q10554311 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Smith
Ed Smith is associated with Jonte Smith
Smith
action filter_type
action find
entity Jonte Smith
relation family name
type name
['Jonte Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Jonte_Smith property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1158446
P407
Q34770
USER
Which language is that name in ?
(Q1158446,P407,c(Q34770))
action filter_type
action find
entity Q1158446
relation P407
type Q34770
['Q1158446', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q1158446 property:P407 ?k }
Smith
action filter_type
action find
entity Smith
relation language of work or name
type language
['Smith', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Smith property:language_of_work_or_name ?k }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1158446,P407,c(Q34770))
action filter_type
action find
entity Q1158446
relation P407
type Q34770
That is name in [ANSWER]
['Q1158446', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q34770 . resource:Q1158446 property:P407 ?k }
English
That is name in English
English
action filter_type
action find
entity Smith
relation language of work or name
type language
['Smith', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:language . resource:Smith property:language_of_work_or_name ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P725
Q11424
USER
Which film did that language do the dubbing for ?
(c(Q11424),P725,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', 'Q1860']
SELECT DISTINCT ?p WHERE { ?p property:P725 resource:Q1860 . ?p rdf:type ontology:Q11424 }
English
action filter_type
action find_reverse
entity English
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', 'English']
SELECT DISTINCT ?p WHERE { ?p property:voice_actor resource:English . ?p rdf:type ontology:film }
[]
film
Q9019373
SYSTEM
The Legend of the North Wind
Q9019373
(c(Q11424),P725,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P725
type Q11424
That language did the dubbing of [ANSWER]
[{'concept': 'Q11424'}, 'P725', 'Q1860']
SELECT DISTINCT ?p WHERE { ?p property:P725 resource:Q1860 . ?p rdf:type ontology:Q11424 }
The Legend of the North Wind
That language did the dubbing of The Legend of the North Wind
The Legend of the North Wind
action filter_type
action find_reverse
entity English
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', 'English']
SELECT DISTINCT ?p WHERE { ?p property:voice_actor resource:English . ?p rdf:type ontology:film }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q82042
USER
Which parts of speech are a component of English ?
(c(Q82042),P361,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P361
type Q82042
[{'concept': 'Q82042'}, 'P361', 'Q1860']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q1860 . ?b rdf:type ontology:Q82042 }
English
action filter_type
action find_reverse
entity English
relation part of
type part of speech
[{'concept': 'part of speech'}, 'part of', 'English']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:English . ?b rdf:type ontology:part_of_speech }
[]
part of speech
Q5574688 Q5348553
SYSTEM
go, Eh
Q5574688 Q5348553
(c(Q82042),P361,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P361
type Q82042
[ANSWERS] are a component of English
[{'concept': 'Q82042'}, 'P361', 'Q1860']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q1860 . ?b rdf:type ontology:Q82042 }
go Eh
Go and Eh are a component of English
go Eh
action filter_type
action find_reverse
entity English
relation part of
type part of speech
[{'concept': 'part of speech'}, 'part of', 'English']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:English . ?b rdf:type ontology:part_of_speech }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5574688
P629
Q1190554
USER
What is that part of speech an edition or translation of ?
(Q5574688,P629,c(Q1190554))
action filter_type
action find
entity Q5574688
relation P629
type Q1190554
['Q5574688', 'P629', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1190554 . resource:Q5574688 property:P629 ?m }
go
action filter_type
action find
entity go
relation edition or translation of
type event
['go', 'edition or translation of', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:event . resource:go property:edition_or_translation_of ?m }
[]
event
Clarification for simple ques.
Q5574688
SYSTEM
Did you mean go ?
Q5574688 Q5348553
(Q5574688,P629,c(Q1190554)) (Q5348553,P629,c(Q1190554))
[ANSWER]
['Q5574688', 'P629', {'concept': 'Q1190554'}] ['Q5348553', 'P629', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1190554 . resource:Q5574688 property:P629 ?m }
go Eh
Did you mean go ?
go
['go', 'edition or translation of', {'concept': 'event'}] ['Eh', 'edition or translation of', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:event . resource:go property:edition_or_translation_of ?m }
[]
Simple Question (Coreferenced)
USER
Yes
(Q5574688,P629,c(Q1190554))
['Q5574688', 'P629', {'concept': 'Q1190554'}]
['go', 'edition or translation of', {'concept': 'event'}]
[]
Q19279529
SYSTEM
go
Q19279529
(Q5574688,P629,c(Q1190554))
action filter_type
action find
entity Q5574688
relation P629
type Q1190554
That part of speech an edition or translation of is [ANSWER]
['Q5574688', 'P629', {'concept': 'Q1190554'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1190554 . resource:Q5574688 property:P629 ?m }
go
That part of speech an edition or translation of is go
go
action filter_type
action find
entity go
relation edition or translation of
type event
['go', 'edition or translation of', {'concept': 'event'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:event . resource:go property:edition_or_translation_of ?m }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5605957 Q10554311
P106
Q12737077
USER
Which occupations are the job of Jonte Smith or Greg Mangano ?
OR((Q10554311,P106,c(Q12737077)), (Q5605957,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q10554311
relation P106
action find
entity Q5605957
relation P106
type Q12737077
{'OR': [['Q10554311', 'P106', {'concept': 'Q12737077'}], ['Q5605957', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Q10554311 ) ( resource:Q5605957 ) } . ?u property:P106 ?a } . ?a rdf:type ontology:Q12737077 }
Greg Mangano Jonte Smith
action filter_type
action union
action find
entity Jonte Smith
relation occupation
action find
entity Greg Mangano
relation occupation
type occupation
{'OR': [['Jonte Smith', 'occupation', {'concept': 'occupation'}], ['Greg Mangano', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Jonte_Smith ) ( resource:Greg_Mangano ) } . ?u property:occupation ?a } . ?a rdf:type ontology:occupation }
[]
occupation
Q937857 Q3665646
SYSTEM
association football player, basketball player
Q937857 Q3665646
OR((Q10554311,P106,c(Q12737077)), (Q5605957,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q10554311
relation P106
action find
entity Q5605957
relation P106
type Q12737077
Player [ANSWERS] are the job of Jonte Smith or Greg Mangano
{'OR': [['Q10554311', 'P106', {'concept': 'Q12737077'}], ['Q5605957', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Q10554311 ) ( resource:Q5605957 ) } . ?u property:P106 ?a } . ?a rdf:type ontology:Q12737077 }
association football player basketball player
Player association football player and basketball player are the job of Jonte Smith or Greg Mangano
association football player basketball player
action filter_type
action union
action find
entity Jonte Smith
relation occupation
action find
entity Greg Mangano
relation occupation
type occupation
{'OR': [['Jonte Smith', 'occupation', {'concept': 'occupation'}], ['Greg Mangano', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Jonte_Smith ) ( resource:Greg_Mangano ) } . ?u property:occupation ?a } . ?a rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23625368 Q5605957
P106
Q12737077
USER
Which occupations are the professions of Greg Mangano or William Haslam ?
OR((Q5605957,P106,c(Q12737077)), (Q23625368,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5605957
relation P106
action find
entity Q23625368
relation P106
type Q12737077
{'OR': [['Q5605957', 'P106', {'concept': 'Q12737077'}], ['Q23625368', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q5605957 property:P106 ?m } UNION { resource:Q23625368 property:P106 ?m } } . ?m rdf:type ontology:Q12737077 }
William Haslam Greg Mangano
action filter_type
action union
action find
entity Greg Mangano
relation occupation
action find
entity William Haslam
relation occupation
type occupation
{'OR': [['Greg Mangano', 'occupation', {'concept': 'occupation'}], ['William Haslam', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Greg_Mangano property:occupation ?m } UNION { resource:William_Haslam property:occupation ?m } } . ?m rdf:type ontology:occupation }
[]
occupation
Q3665646 Q36180 Q2259532
SYSTEM
basketball player, writer, cleric
Q3665646 Q36180 Q2259532
OR((Q5605957,P106,c(Q12737077)), (Q23625368,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q5605957
relation P106
action find
entity Q23625368
relation P106
type Q12737077
The professions of Greg Mangano or William Haslam are professional [ANSWERS]
{'OR': [['Q5605957', 'P106', {'concept': 'Q12737077'}], ['Q23625368', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q5605957 property:P106 ?m } UNION { resource:Q23625368 property:P106 ?m } } . ?m rdf:type ontology:Q12737077 }
basketball player writer cleric
The professions of Greg Mangano or William Haslam are professional basketball player, writer and cleric
basketball player writer cleric
action filter_type
action union
action find
entity Greg Mangano
relation occupation
action find
entity William Haslam
relation occupation
type occupation
{'OR': [['Greg Mangano', 'occupation', {'concept': 'occupation'}], ['William Haslam', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Greg_Mangano property:occupation ?m } UNION { resource:William_Haslam property:occupation ?m } } . ?m rdf:type ontology:occupation }
[]