Simple Question (Direct)
Simple Question
Q15430242
P106
Q12737077
USER
Which occupation is the profession of Paul Harvey ?
(Q15430242,P106,c(Q12737077))
action filter_type
action find
entity Q15430242
relation P106
type Q12737077
['Q15430242', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q15430242 property:P106 ?k }
Paul Harvey
action filter_type
action find
entity Paul Harvey
relation occupation
type occupation
['Paul Harvey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Paul_Harvey property:occupation ?k }
[]
occupation
Q193391
SYSTEM
diplomat
Q193391
(Q15430242,P106,c(Q12737077))
action filter_type
action find
entity Q15430242
relation P106
type Q12737077
The [ANSWER] is the profession of Paul Harvey
['Q15430242', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q15430242 property:P106 ?k }
diplomat
The diplomat is the profession of Paul Harvey
diplomat
action filter_type
action find
entity Paul Harvey
relation occupation
type occupation
['Paul Harvey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Paul_Harvey property:occupation ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15430242
P7
Q502895
USER
Which person had Paul Harvey as brother ?
(c(Q502895),P7,Q15430242)
action filter_type
action find_reverse
entity Q15430242
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q15430242']
SELECT DISTINCT ?r WHERE { ?r property:P7 resource:Q15430242 . ?r rdf:type ontology:Q502895 }
Paul Harvey
action filter_type
action find_reverse
entity Paul Harvey
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Paul Harvey']
SELECT DISTINCT ?r WHERE { ?r property:brother resource:Paul_Harvey . ?r rdf:type ontology:common_name }
[]
common name
Q17418784
SYSTEM
Blanche de Triqueti
Q17418784
(c(Q502895),P7,Q15430242)
action filter_type
action find_reverse
entity Q15430242
relation P7
type Q502895
[ANSWER] had Paul Harvey as brother
[{'concept': 'Q502895'}, 'P7', 'Q15430242']
SELECT DISTINCT ?r WHERE { ?r property:P7 resource:Q15430242 . ?r rdf:type ontology:Q502895 }
Blanche de Triqueti
Blanche de Triqueti had Paul Harvey as brother
Blanche de Triqueti
action filter_type
action find_reverse
entity Paul Harvey
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Paul Harvey']
SELECT DISTINCT ?r WHERE { ?r property:brother resource:Paul_Harvey . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17418784
P22
Q502895
USER
Who was the father of that one ?
(Q17418784,P22,c(Q502895))
action filter_type
action find
entity Q17418784
relation P22
type Q502895
['Q17418784', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q17418784 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Blanche de Triqueti
action filter_type
action find
entity Blanche de Triqueti
relation father
type common name
['Blanche de Triqueti', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Blanche_de_Triqueti property:father ?p . ?p rdf:type ontology:common_name }
[]
common name
Q302580
SYSTEM
Henry de Triqueti
Q302580
(Q17418784,P22,c(Q502895))
action filter_type
action find
entity Q17418784
relation P22
type Q502895
The father of that one was Charles [ANSWER]
['Q17418784', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q17418784 property:P22 ?p . ?p rdf:type ontology:Q502895 }
Henry de Triqueti
The father of that one was Charles Henry de Triqueti
Henry de Triqueti
action filter_type
action find
entity Blanche de Triqueti
relation father
type common name
['Blanche de Triqueti', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Blanche_de_Triqueti property:father ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q302580
P800
Q838948
USER
What is a notable work of that person ?
(Q302580,P800,c(Q838948))
action filter_type
action find
entity Q302580
relation P800
type Q838948
['Q302580', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { resource:Q302580 property:P800 ?f . ?f rdf:type ontology:Q838948 }
Henry de Triqueti
action filter_type
action find
entity Henry de Triqueti
relation notable work
type work of art
['Henry de Triqueti', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { resource:Henry_de_Triqueti property:notable_work ?f . ?f rdf:type ontology:work_of_art }
[]
work of art
Q18147059
SYSTEM
Pierre Lescot
Q18147059
(Q302580,P800,c(Q838948))
action filter_type
action find
entity Q302580
relation P800
type Q838948
A notable work of that person is [ANSWER]
['Q302580', 'P800', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { resource:Q302580 property:P800 ?f . ?f rdf:type ontology:Q838948 }
Pierre Lescot
A notable work of that person is Pierre Lescot
Pierre Lescot
action filter_type
action find
entity Henry de Triqueti
relation notable work
type work of art
['Henry de Triqueti', 'notable work', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { resource:Henry_de_Triqueti property:notable_work ?f . ?f rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23894967 Q302580
P800 P1441
Q838948
USER
Which works of art were done by Henry de Triqueti or are Tony Stark / Iron Man present in ?
OR((Q302580,P800,c(Q838948)), (Q23894967,P1441,c(Q838948)))
action filter_type
action union
action find
entity Q302580
relation P800
action find
entity Q23894967
relation P1441
type Q838948
{'OR': [['Q302580', 'P800', {'concept': 'Q838948'}], ['Q23894967', 'P1441', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q302580 property:P800 ?g } UNION { resource:Q23894967 property:P1441 ?g } } . ?g rdf:type ontology:Q838948 }
Tony Stark / Iron Man Henry de Triqueti
action filter_type
action union
action find
entity Henry de Triqueti
relation notable work
action find
entity Tony Stark / Iron Man
relation present in work
type work of art
{'OR': [['Henry de Triqueti', 'notable work', {'concept': 'work of art'}], ['Tony Stark / Iron Man', 'present in work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Henry_de_Triqueti property:notable_work ?g } UNION { resource:Tony_Stark_/_Iron_Man property:present_in_work ?g } } . ?g rdf:type ontology:work_of_art }
[]
work of art
Q466611 Q192724 Q23010088 Q14171368 Q23780914 Q205028 Q18147059 Q18407657 Q182218 Q209538
SYSTEM
The Incredible Hulk, Iron Man, Spider-Man: Homecoming, Avengers: Age of Ultron, Avengers: Infinity War, Iron Man 2, Pierre Lescot, Captain America: Civil War, The Avengers, Iron Man 3
Q466611 Q192724 Q23010088 Q14171368 Q23780914 Q205028 Q18147059 Q18407657 Q182218 Q209538
OR((Q302580,P800,c(Q838948)), (Q23894967,P1441,c(Q838948)))
action filter_type
action union
action find
entity Q302580
relation P800
action find
entity Q23894967
relation P1441
type Q838948
[ANSWERS] were done by Henry de Triqueti or are Tony Stark / Iron Man present in
{'OR': [['Q302580', 'P800', {'concept': 'Q838948'}], ['Q23894967', 'P1441', {'concept': 'Q838948'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q302580 property:P800 ?g } UNION { resource:Q23894967 property:P1441 ?g } } . ?g rdf:type ontology:Q838948 }
The Incredible Hulk Iron Man Spider-Man: Homecoming Avengers: Age of Ultron Avengers: Infinity War Iron Man 2 Pierre Lescot Captain America: Civil War The Avengers Iron Man 3
The Incredible Hulk, Iron Man, Spider-Man: Homecoming, Avengers: Age of Ultron, Avengers: Infinity War, Iron Man 2, Pierre Lescot, Captain America: Civil War, The Avengers and Iron Man 3 were done by Henry de Triqueti or are Tony Stark / Iron Man present in
The Incredible Hulk Iron Man Spider-Man: Homecoming Avengers: Age of Ultron Avengers: Infinity War Iron Man 2 Pierre Lescot Captain America: Civil War The Avengers Iron Man 3
action filter_type
action union
action find
entity Henry de Triqueti
relation notable work
action find
entity Tony Stark / Iron Man
relation present in work
type work of art
{'OR': [['Henry de Triqueti', 'notable work', {'concept': 'work of art'}], ['Tony Stark / Iron Man', 'present in work', {'concept': 'work of art'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Henry_de_Triqueti property:notable_work ?g } UNION { resource:Tony_Stark_/_Iron_Man property:present_in_work ?g } } . ?g rdf:type ontology:work_of_art }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P941
Q15850590 Q838948
USER
Which works of art were greater number of theatrical genres a source of inspiration for than that work of art ?
(c(Q838948),P941,c(Q15850590))
[{'concept': 'Q838948'}, 'P941', {'concept': 'Q15850590'}]
SELECT DISTINCT ?z WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15850590 }
[{'concept': 'work of art'}, 'inspired by', {'concept': 'theatrical genre'}]
SELECT DISTINCT ?z WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:theatrical_genre }
[]
theatrical genre work of art
Comparative|More/Less|Single entity type|Clarification
Q466611
SYSTEM
Did you mean The Incredible Hulk ?
(c(Q838948),P941,c(Q15850590))
[ANSWER]
[{'concept': 'Q838948'}, 'P941', {'concept': 'Q15850590'}]
SELECT DISTINCT ?z WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15850590 }
Did you mean The Incredible Hulk ?
The Incredible Hulk
[{'concept': 'work of art'}, 'inspired by', {'concept': 'theatrical genre'}]
SELECT DISTINCT ?z WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:theatrical_genre }
[]
Comparative Reasoning (All)
USER
No, I meant Captain America: Civil War. Could you tell me the answer for that?
(c(Q838948),P941,c(Q15850590))
Q18407657
[{'concept': 'Q838948'}, 'P941', {'concept': 'Q15850590'}]
[{'concept': 'work of art'}, 'inspired by', {'concept': 'theatrical genre'}]
[]
Q15059358
SYSTEM
Jersey Boys
Q15059358
(c(Q838948),P941,c(Q15850590))
Which works of art was greater number of theatrical genres a source of inspiration for than that work of art
[{'concept': 'Q838948'}, 'P941', {'concept': 'Q15850590'}]
SELECT DISTINCT ?z WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15850590 }
Jersey Boys
Which works of art was greater number of theatrical genres a source of inspiration for than that work of art
Jersey Boys
[{'concept': 'work of art'}, 'inspired by', {'concept': 'theatrical genre'}]
SELECT DISTINCT ?z WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:theatrical_genre }
[]