Simple Question (Direct)
Simple Question
Q211013
P170
Q502895
USER
Who created Hannibal Lecter ?
(Q211013,P170,c(Q502895))
action filter_type
action find
entity Q211013
relation P170
type Q502895
['Q211013', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q211013 property:P170 ?g . ?g rdf:type ontology:Q502895 }
Hannibal Lecter
action filter_type
action find
entity Hannibal Lecter
relation creator
type common name
['Hannibal Lecter', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Hannibal_Lecter property:creator ?g . ?g rdf:type ontology:common_name }
[]
common name
Q313377
SYSTEM
Thomas Harris
Q313377
(Q211013,P170,c(Q502895))
action filter_type
action find
entity Q211013
relation P170
type Q502895
The [ANSWER] created Hannibal Lecter
['Q211013', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q211013 property:P170 ?g . ?g rdf:type ontology:Q502895 }
Thomas Harris
The Thomas Harris created Hannibal Lecter
Thomas Harris
action filter_type
action find
entity Hannibal Lecter
relation creator
type common name
['Hannibal Lecter', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Hannibal_Lecter property:creator ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q313377
P136
Q1792379
USER
What can be considered as category for that person ?
(Q313377,P136,c(Q1792379))
action filter_type
action find
entity Q313377
relation P136
type Q1792379
['Q313377', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?x WHERE { resource:Q313377 property:P136 ?x . ?x rdf:type ontology:Q1792379 }
Thomas Harris
action filter_type
action find
entity Thomas Harris
relation genre
type art genre
['Thomas Harris', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?x WHERE { resource:Thomas_Harris property:genre ?x . ?x rdf:type ontology:art_genre }
[]
art genre
Q208505
SYSTEM
crime novel
Q208505
(Q313377,P136,c(Q1792379))
action filter_type
action find
entity Q313377
relation P136
type Q1792379
The [ANSWER] can be considered as category for that person
['Q313377', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?x WHERE { resource:Q313377 property:P136 ?x . ?x rdf:type ontology:Q1792379 }
crime novel
The crime novel can be considered as category for that person
crime novel
action filter_type
action find
entity Thomas Harris
relation genre
type art genre
['Thomas Harris', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?x WHERE { resource:Thomas_Harris property:genre ?x . ?x rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313377
P69
Q163740
USER
Which nonprofit organization is Thomas Harris an alumni of ?
(Q313377,P69,c(Q163740))
action filter_type
action find
entity Q313377
relation P69
type Q163740
['Q313377', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?w WHERE { resource:Q313377 property:P69 ?w . ?w rdf:type ontology:Q163740 }
Thomas Harris
action filter_type
action find
entity Thomas Harris
relation educated at
type nonprofit organization
['Thomas Harris', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?w WHERE { resource:Thomas_Harris property:educated_at ?w . ?w rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q812573
SYSTEM
Baylor University
Q812573
(Q313377,P69,c(Q163740))
action filter_type
action find
entity Q313377
relation P69
type Q163740
The [ANSWER] is Thomas Harris an alumni of
['Q313377', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?w WHERE { resource:Q313377 property:P69 ?w . ?w rdf:type ontology:Q163740 }
Baylor University
The Baylor University is Thomas Harris an alumni of
Baylor University
action filter_type
action find
entity Thomas Harris
relation educated at
type nonprofit organization
['Thomas Harris', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?w WHERE { resource:Thomas_Harris property:educated_at ?w . ?w rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1239172
Q163740
USER
And how about Martin Davis?
(Q1239172,P69,c(Q163740))
action filter_type
action find
entity Q1239172
relation P69
type Q163740
['Q1239172', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { resource:Q1239172 property:P69 ?n . ?n rdf:type ontology:Q163740 }
Martin Davis
action filter_type
action find
entity Martin Davis
relation educated at
type nonprofit organization
['Martin Davis', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { resource:Martin_Davis property:educated_at ?n . ?n rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q21578
SYSTEM
Princeton University
Q21578
(Q1239172,P69,c(Q163740))
action filter_type
action find
entity Q1239172
relation P69
type Q163740
[ANSWER]
['Q1239172', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { resource:Q1239172 property:P69 ?n . ?n rdf:type ontology:Q163740 }
Princeton University
Princeton University
action filter_type
action find
entity Martin Davis
relation educated at
type nonprofit organization
['Martin Davis', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { resource:Martin_Davis property:educated_at ?n . ?n rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q313377
P106
Q28640 Q151885
USER
How many professions or concepts are the professions of Thomas Harris ?
(Q313377,P106,c(Q28640)) (Q313377,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q313377
relation P106
type Q28640
action filter_type
action find
entity Q313377
relation P106
type Q151885
['Q313377', 'P106', {'concept': 'Q28640'}] ['Q313377', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { resource:Q313377 property:P106 ?e . ?e rdf:type ontology:Q151885 } UNION { resource:Q313377 property:P106 ?e . ?e rdf:type ontology:Q28640 } }
Thomas Harris
action count
action union
action filter_type
action find
entity Thomas Harris
relation occupation
type profession
action filter_type
action find
entity Thomas Harris
relation occupation
type concept
['Thomas Harris', 'occupation', {'concept': 'profession'}] ['Thomas Harris', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { resource:Thomas_Harris property:occupation ?e . ?e rdf:type ontology:concept } UNION { resource:Thomas_Harris property:occupation ?e . ?e rdf:type ontology:profession } }
[]
profession concept
SYSTEM
2
Q214917 Q28389
(Q313377,P106,c(Q28640)) (Q313377,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q313377
relation P106
type Q28640
action filter_type
action find
entity Q313377
relation P106
type Q151885
[ANSWER]
['Q313377', 'P106', {'concept': 'Q28640'}] ['Q313377', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { resource:Q313377 property:P106 ?e . ?e rdf:type ontology:Q151885 } UNION { resource:Q313377 property:P106 ?e . ?e rdf:type ontology:Q28640 } }
playwright screenwriter
2
action count
action union
action filter_type
action find
entity Thomas Harris
relation occupation
type profession
action filter_type
action find
entity Thomas Harris
relation occupation
type concept
['Thomas Harris', 'occupation', {'concept': 'profession'}] ['Thomas Harris', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { resource:Thomas_Harris property:occupation ?e . ?e rdf:type ontology:concept } UNION { resource:Thomas_Harris property:occupation ?e . ?e rdf:type ontology:profession } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q724794 Q313377
P800
Q2342494
USER
Which collectables were notable works done by Thomas Harris or Tomas O'Crohan ?
OR((Q313377,P800,c(Q2342494)), (Q724794,P800,c(Q2342494)))
action filter_type
action union
action find
entity Q313377
relation P800
action find
entity Q724794
relation P800
type Q2342494
{'OR': [['Q313377', 'P800', {'concept': 'Q2342494'}], ['Q724794', 'P800', {'concept': 'Q2342494'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q724794 property:P800 ?h } UNION { resource:Q313377 property:P800 ?h } } . ?h rdf:type ontology:Q2342494 }
Tomas O'Crohan Thomas Harris
action filter_type
action union
action find
entity Thomas Harris
relation notable work
action find
entity Tomas O'Crohan
relation notable work
type collectable
{'OR': [['Thomas Harris', 'notable work', {'concept': 'collectable'}], ["Tomas O'Crohan", 'notable work', {'concept': 'collectable'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Tomas_O'Crohan property:notable_work ?h } UNION { resource:Thomas_Harris property:notable_work ?h } } . ?h rdf:type ontology:collectable }
[]
collectable
Q929184 Q19878816 Q19889137 Q9144808 Q291087 Q897685
SYSTEM
Hannibal, Allagar na h-Inise, An t-Oileánach, Red Dragon, Hannibal Rising, The Silence of the Lambs
Q929184 Q19878816 Q19889137 Q9144808 Q291087 Q897685
OR((Q313377,P800,c(Q2342494)), (Q724794,P800,c(Q2342494)))
action filter_type
action union
action find
entity Q313377
relation P800
action find
entity Q724794
relation P800
type Q2342494
[ANSWERS] were notable works done by Thomas Harris or Tomas O'Crohan
{'OR': [['Q313377', 'P800', {'concept': 'Q2342494'}], ['Q724794', 'P800', {'concept': 'Q2342494'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q724794 property:P800 ?h } UNION { resource:Q313377 property:P800 ?h } } . ?h rdf:type ontology:Q2342494 }
Hannibal Allagar na h-Inise An t-Oileánach Red Dragon Hannibal Rising The Silence of the Lambs
Hannibal, Allagar na h-Inise, An t-Oileánach, Red Dragon, Hannibal Rising and The Silence of the Lambs were notable works done by Thomas Harris or Tomas O'Crohan
Hannibal Allagar na h-Inise An t-Oileánach Red Dragon Hannibal Rising The Silence of the Lambs
action filter_type
action union
action find
entity Thomas Harris
relation notable work
action find
entity Tomas O'Crohan
relation notable work
type collectable
{'OR': [['Thomas Harris', 'notable work', {'concept': 'collectable'}], ["Tomas O'Crohan", 'notable work', {'concept': 'collectable'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Tomas_O'Crohan property:notable_work ?h } UNION { resource:Thomas_Harris property:notable_work ?h } } . ?h rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q336125 Q313377
P800
Q2342494
USER
Which collectables were notable works done by Thomas Harris or Amitav Ghosh ?
OR((Q313377,P800,c(Q2342494)), (Q336125,P800,c(Q2342494)))
action filter_type
action union
action find
entity Q313377
relation P800
action find
entity Q336125
relation P800
type Q2342494
{'OR': [['Q313377', 'P800', {'concept': 'Q2342494'}], ['Q336125', 'P800', {'concept': 'Q2342494'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2342494 . { { resource:Q336125 property:P800 ?k } UNION { resource:Q313377 property:P800 ?k } } }
Amitav Ghosh Thomas Harris
action filter_type
action union
action find
entity Thomas Harris
relation notable work
action find
entity Amitav Ghosh
relation notable work
type collectable
{'OR': [['Thomas Harris', 'notable work', {'concept': 'collectable'}], ['Amitav Ghosh', 'notable work', {'concept': 'collectable'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:collectable . { { resource:Amitav_Ghosh property:notable_work ?k } UNION { resource:Thomas_Harris property:notable_work ?k } } }
[]
collectable
Q929184 Q9144808 Q3846743 Q291087 Q3225164 Q897685 Q7338030
SYSTEM
Hannibal, Red Dragon, Sea of Poppies, Hannibal Rising, The Glass Palace, The Silence of the Lambs, River of Smoke
Q929184 Q9144808 Q3846743 Q291087 Q3225164 Q897685 Q7338030
OR((Q313377,P800,c(Q2342494)), (Q336125,P800,c(Q2342494)))
action filter_type
action union
action find
entity Q313377
relation P800
action find
entity Q336125
relation P800
type Q2342494
[ANSWERS] were notable works done by Thomas Harris or Amitav Ghosh
{'OR': [['Q313377', 'P800', {'concept': 'Q2342494'}], ['Q336125', 'P800', {'concept': 'Q2342494'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2342494 . { { resource:Q336125 property:P800 ?k } UNION { resource:Q313377 property:P800 ?k } } }
Hannibal Red Dragon Sea of Poppies Hannibal Rising The Glass Palace The Silence of the Lambs River of Smoke
Hannibal, Red Dragon, Sea of Poppies, Hannibal Rising, The Glass Palace, The Silence of the Lambs and River of Smoke were notable works done by Thomas Harris or Amitav Ghosh
Hannibal Red Dragon Sea of Poppies Hannibal Rising The Glass Palace The Silence of the Lambs River of Smoke
action filter_type
action union
action find
entity Thomas Harris
relation notable work
action find
entity Amitav Ghosh
relation notable work
type collectable
{'OR': [['Thomas Harris', 'notable work', {'concept': 'collectable'}], ['Amitav Ghosh', 'notable work', {'concept': 'collectable'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:collectable . { { resource:Amitav_Ghosh property:notable_work ?k } UNION { resource:Thomas_Harris property:notable_work ?k } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q929184
P144
Q838948 Q15416
USER
How many works of art and television programs are based on Hannibal ?
(c(Q838948),P144,Q929184) (c(Q15416),P144,Q929184)
action count
action union
action filter_type
action find_reverse
entity Q929184
relation P144
type Q838948
action filter_type
action find_reverse
entity Q929184
relation P144
type Q15416
[{'concept': 'Q838948'}, 'P144', 'Q929184'] [{'concept': 'Q15416'}, 'P144', 'Q929184']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?l rdf:type ?j }
Hannibal
action count
action union
action filter_type
action find_reverse
entity Hannibal
relation based on
type work of art
action filter_type
action find_reverse
entity Hannibal
relation based on
type television program
[{'concept': 'work of art'}, 'based on', 'Hannibal'] [{'concept': 'television program'}, 'based on', 'Hannibal']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?l rdf:type ?j }
[]
work of art television program
SYSTEM
1 works of art and 1 television programs
Q722682 Q888841
(c(Q838948),P144,Q929184) (c(Q15416),P144,Q929184)
action count
action union
action filter_type
action find_reverse
entity Q929184
relation P144
type Q838948
action filter_type
action find_reverse
entity Q929184
relation P144
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P144', 'Q929184'] [{'concept': 'Q15416'}, 'P144', 'Q929184']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } . ?l rdf:type ?j }
Hannibal Hannibal
1 works of art and 1 television programs
action count
action union
action filter_type
action find_reverse
entity Hannibal
relation based on
type work of art
action filter_type
action find_reverse
entity Hannibal
relation based on
type television program
[{'concept': 'work of art'}, 'based on', 'Hannibal'] [{'concept': 'television program'}, 'based on', 'Hannibal']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { VALUES ( ?j ) { ( ontology:work_of_art ) ( ontology:television_program ) } . ?l rdf:type ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q929184
P1441
Q6619679
USER
Which fictional humanoid is from the works of that collectable ?
action filter_type
action find_reverse
entity Q929184
relation P1441
type Q6619679
SELECT DISTINCT ?m WHERE { ?m property:P1441 resource:Q929184 . ?m rdf:type ontology:Q6619679 }
Hannibal
action filter_type
action find_reverse
entity Hannibal
relation present in work
type fictional humanoid
SELECT DISTINCT ?m WHERE { ?m property:present_in_work resource:Hannibal . ?m rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q4572479
SYSTEM
Mason Verger
Q4572479
action filter_type
action find_reverse
entity Q929184
relation P1441
type Q6619679
The [ANSWER] is from the works of that collectable
SELECT DISTINCT ?m WHERE { ?m property:P1441 resource:Q929184 . ?m rdf:type ontology:Q6619679 }
Mason Verger
The Mason Verger is from the works of that collectable
Mason Verger
action filter_type
action find_reverse
entity Hannibal
relation present in work
type fictional humanoid
SELECT DISTINCT ?m WHERE { ?m property:present_in_work resource:Hannibal . ?m rdf:type ontology:fictional_humanoid }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P674
Q6619679 Q166142 Q571
USER
Which fictional humanoids appear as a character in more number of applications or books than that fictional humanoid ?
(c(Q166142)|c(Q571),P674,c(Q6619679))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q166142
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q571
action count
action filter_multi_types
action find_reverse
entity Q4572479
relation P674
type Q166142
type Q571
[[{'concept': 'Q166142'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P674 resource:Q4572479 . { { ?q rdf:type ontology:Q166142 } UNION { ?q rdf:type ontology:Q571 } } } } . FILTER ( ?j > ?r ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?d WHERE { ?f rdf:type ?w . VALUES ( ?w ) { ( ontology:Q166142 ) ( ontology:Q571 ) } } GROUP BY ?d } }
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type application
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type book
action count
action filter_multi_types
action find_reverse
entity Mason Verger
relation characters
type application
type book
[[{'concept': 'application'}, {'concept': 'book'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:characters resource:Mason_Verger . { { ?q rdf:type ontology:application } UNION { ?q rdf:type ontology:book } } } } . FILTER ( ?j > ?r ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?d WHERE { ?f rdf:type ?w . VALUES ( ?w ) { ( ontology:application ) ( ontology:book ) } } GROUP BY ?d } }
[]
fictional humanoid application book
Q2695156 Q994344 Q1640063
SYSTEM
Batman, Ezio Auditore da Firenze, Captain Haddock
Q3682552 Q11479883 Q1996763 Q2725594 Q2896018 Q898615 Q3222411 Q223684 Q840368 Q2721597 Q11609133 Q15020948 Q3826637 Q851814 Q1640063 Q4385215 Q7620503 Q27099739 Q2695156 Q13014759 Q4992177 Q994344 Q4128790 Q3188509 Q715597 Q738325 Q2755277 Q11514862 Q11677249 Q1756333 Q2304083 Q11382982 Q2445695 Q18233407 Q1635605
(c(Q166142)|c(Q571),P674,c(Q6619679))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q166142
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q571
action count
action filter_multi_types
action find_reverse
entity Q4572479
relation P674
type Q166142
type Q571
[ANSWERS] appear as a character in more number of applications or books than that fictional humanoid
[[{'concept': 'Q166142'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P674 resource:Q4572479 . { { ?q rdf:type ontology:Q166142 } UNION { ?q rdf:type ontology:Q571 } } } } . FILTER ( ?j > ?r ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?d WHERE { ?f rdf:type ?w . VALUES ( ?w ) { ( ontology:Q166142 ) ( ontology:Q571 ) } } GROUP BY ?d } }
Cole MacGrath Mami Tomoe Doctor Eggman Tommy Vercetti Benjamin Carrington Max Payne (character) Rastapopoulos Lara Croft Jill Valentine Claude Speed Sayaka Miki Ricardo Diaz Lance Vance Chell Captain Haddock Dr. Wily Asterix Whosemoralsarelastix Batman Dr. Light Cave Johnson Ezio Auditore da Firenze Mitsuhirato Julius Caesar Obelix Bianca Castafiore Abe Sapien Homura Akemi Madoka Kaname Getafix Chang Chong-Chen Kyoko Sakura Abraracourcix Alejandro Sosa Professor Calculus
Batman, Ezio Auditore da Firenze and Captain Haddock appear as a character in more number of applications or books than that fictional humanoid
Batman Ezio Auditore da Firenze Captain Haddock
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type application
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type book
action count
action filter_multi_types
action find_reverse
entity Mason Verger
relation characters
type application
type book
[[{'concept': 'application'}, {'concept': 'book'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:characters resource:Mason_Verger . { { ?q rdf:type ontology:application } UNION { ?q rdf:type ontology:book } } } } . FILTER ( ?j > ?r ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) ?d WHERE { ?f rdf:type ?w . VALUES ( ?w ) { ( ontology:application ) ( ontology:book ) } } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2695156 Q994344 Q1640063
P106
Q12737077
USER
What are the job of Batman, Ezio Auditore da Firenze and Captain Haddock ?
(Q2695156,P106,c(Q12737077)) (Q994344,P106,c(Q12737077)) (Q1640063,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2695156
relation P106
type Q12737077
action filter_type
action find
entity Q994344
relation P106
type Q12737077
action filter_type
action find
entity Q1640063
relation P106
type Q12737077
['Q2695156', 'P106', {'concept': 'Q12737077'}] ['Q994344', 'P106', {'concept': 'Q12737077'}] ['Q1640063', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?p ) { ( resource:Q2695156 ) ( resource:Q994344 ) } . ?p property:P106 ?j }
Batman Ezio Auditore da Firenze Captain Haddock
action union
action filter_type
action find
entity Batman
relation occupation
type occupation
action filter_type
action find
entity Ezio Auditore da Firenze
relation occupation
type occupation
action filter_type
action find
entity Captain Haddock
relation occupation
type occupation
['Batman', 'occupation', {'concept': 'occupation'}] ['Ezio Auditore da Firenze', 'occupation', {'concept': 'occupation'}] ['Captain Haddock', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?p ) { ( resource:Batman ) ( resource:Ezio_Auditore_da_Firenze ) } . ?p property:occupation ?j }
[]
occupation
Q842782 Q11900058 Q43845
SYSTEM
detective, explorer, businessperson
Q43845 Q842782 Q11900058 Q849424
(Q2695156,P106,c(Q12737077)) (Q994344,P106,c(Q12737077)) (Q1640063,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2695156
relation P106
type Q12737077
action filter_type
action find
entity Q994344
relation P106
type Q12737077
action filter_type
action find
entity Q1640063
relation P106
type Q12737077
The job of Batman , Ezio Auditore da Firenze and Captain Haddock are the [ANSWERS]
['Q2695156', 'P106', {'concept': 'Q12737077'}] ['Q994344', 'P106', {'concept': 'Q12737077'}] ['Q1640063', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?p ) { ( resource:Q2695156 ) ( resource:Q994344 ) } . ?p property:P106 ?j }
businessperson detective explorer sea captain
The job of Batman , Ezio Auditore da Firenze and Captain Haddock are the detective, explorer and businessperson
detective explorer businessperson
action union
action filter_type
action find
entity Batman
relation occupation
type occupation
action filter_type
action find
entity Ezio Auditore da Firenze
relation occupation
type occupation
action filter_type
action find
entity Captain Haddock
relation occupation
type occupation
['Batman', 'occupation', {'concept': 'occupation'}] ['Ezio Auditore da Firenze', 'occupation', {'concept': 'occupation'}] ['Captain Haddock', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?p ) { ( resource:Batman ) ( resource:Ezio_Auditore_da_Firenze ) } . ?p property:occupation ?j }
[]