Simple Question (Direct)
Simple Question
Q6308729
P106
Q12737077
USER
What is the profession of Julien Hornuss ?
(Q6308729,P106,c(Q12737077))
action filter_type
action find
entity Q6308729
relation P106
type Q12737077
['Q6308729', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6308729 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Julien Hornuss
action filter_type
action find
entity Julien Hornuss
relation occupation
type occupation
['Julien Hornuss', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Julien_Hornuss property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6308729,P106,c(Q12737077))
action filter_type
action find
entity Q6308729
relation P106
type Q12737077
The profession of Julien Hornuss is an [ANSWER]
['Q6308729', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6308729 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
The profession of Julien Hornuss is an association football player
association football player
action filter_type
action find
entity Julien Hornuss
relation occupation
type occupation
['Julien Hornuss', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Julien_Hornuss property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6308729
P641
Q349
USER
Which sport did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q6308729
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q349 . resource:Q6308729 property:P641 ?j }
Julien Hornuss
action filter_type
action find
entity Julien Hornuss
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport . resource:Julien_Hornuss property:sport ?j }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q6308729
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q349 . resource:Q6308729 property:P641 ?j }
association football
That person participated in association football
association football
action filter_type
action find
entity Julien Hornuss
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sport . resource:Julien_Hornuss property:sport ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P136
Q166142
USER
Which applications have that sport as genre ?
(c(Q166142),P136,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P136
type Q166142
[{'concept': 'Q166142'}, 'P136', 'Q2736']
SELECT DISTINCT ?q WHERE { ?q property:P136 resource:Q2736 . ?q rdf:type ontology:Q166142 }
association football
action filter_type
action find_reverse
entity association football
relation genre
type application
[{'concept': 'application'}, 'genre', 'association football']
SELECT DISTINCT ?q WHERE { ?q property:genre resource:association_football . ?q rdf:type ontology:application }
[]
application
Q725280 Q1313999 Q1415817
SYSTEM
FIFA 07, FIFA Football 2004, Sensible Soccer
Q3285805 Q592758 Q1436475 Q3283738 Q2823774 Q1313999 Q486963 Q3338065 Q612273 Q1851017 Q1469022 Q1415817 Q2037455 Q8035917 Q5282474 Q725280 Q580220 Q3548017 Q8068428 Q2529207 Q543188
(c(Q166142),P136,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P136
type Q166142
[ANSWERS] have that sport as genre
[{'concept': 'Q166142'}, 'P136', 'Q2736']
SELECT DISTINCT ?q WHERE { ?q property:P136 resource:Q2736 . ?q rdf:type ontology:Q166142 }
FIFA Soccer Manager FIFA Street 2 Football Superstars Real Football 2008 Actua Soccer FIFA Football 2004 FIFA Online 2 Neo Geo Cup '98: The Road to the Victory FIFA Street International Superstar Soccer International Soccer Sensible Soccer This Is Football World League Soccer 98 Disney Sports Soccer FIFA 07 FIFA Online Ultimate Soccer Zeebo F.C. Foot Camp International Superstar Soccer Deluxe Microprose Soccer
FIFA 07, FIFA Football 2004 and Sensible Soccer have that sport as genre
FIFA 07 FIFA Football 2004 Sensible Soccer
action filter_type
action find_reverse
entity association football
relation genre
type application
[{'concept': 'application'}, 'genre', 'association football']
SELECT DISTINCT ?q WHERE { ?q property:genre resource:association_football . ?q rdf:type ontology:application }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15731902
P1445
Q166142 Q386724
USER
How many works were described in more number of applications than Aladdin media franchise ?
(c(Q386724),P1445,c(Q166142))
action count
action greater
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q15731902
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?q ) WHERE { ?y property:P1445 ?o . ?y rdf:type ontology:Q386724 . ?o rdf:type ontology:Q166142 } GROUP BY ?y } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q15731902 property:P1445 ?e . ?e rdf:type ontology:Q386724 } } }
Aladdin media franchise
action count
action greater
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Aladdin media franchise
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?q ) WHERE { ?y property:fictional_universe_described_in ?o . ?y rdf:type ontology:work . ?o rdf:type ontology:application } GROUP BY ?y } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Aladdin_media_franchise property:fictional_universe_described_in ?e . ?e rdf:type ontology:work } } }
[]
application work
SYSTEM
2
Q1203222 Q384426
(c(Q386724),P1445,c(Q166142))
action count
action greater
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q15731902
relation P1445
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?q ) WHERE { ?y property:P1445 ?o . ?y rdf:type ontology:Q386724 . ?o rdf:type ontology:Q166142 } GROUP BY ?y } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q15731902 property:P1445 ?e . ?e rdf:type ontology:Q386724 } } }
Shrek Pirates of the Caribbean
2
action count
action greater
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Aladdin media franchise
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?q ) WHERE { ?y property:fictional_universe_described_in ?o . ?y rdf:type ontology:work . ?o rdf:type ontology:application } GROUP BY ?y } . FILTER ( ?q > ?v ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Aladdin_media_franchise property:fictional_universe_described_in ?e . ?e rdf:type ontology:work } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q11927
P1445
Q166142 Q386724
USER
And also tell me about Stargate?
(c(Q386724),P1445,c(Q166142))
action count
action greater
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q11927
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?t ) WHERE { ?o rdf:type ontology:Q386724 . ?h rdf:type ontology:Q166142 . ?o property:P1445 ?h } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:Q386724 . resource:Q11927 property:P1445 ?d } } . FILTER ( ?t > ?j ) }
Stargate
action count
action greater
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Stargate
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?t ) WHERE { ?o rdf:type ontology:work . ?h rdf:type ontology:application . ?o property:fictional_universe_described_in ?h } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:work . resource:Stargate property:fictional_universe_described_in ?d } } . FILTER ( ?t > ?j ) }
[]
application work
SYSTEM
2
Q1203222 Q384426
(c(Q386724),P1445,c(Q166142))
action count
action greater
action find_tuple_counts
relation P1445
type Q386724
type Q166142
action count
action filter_type
action find
entity Q11927
relation P1445
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?t ) WHERE { ?o rdf:type ontology:Q386724 . ?h rdf:type ontology:Q166142 . ?o property:P1445 ?h } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:Q386724 . resource:Q11927 property:P1445 ?d } } . FILTER ( ?t > ?j ) }
Shrek Pirates of the Caribbean
2
action count
action greater
action find_tuple_counts
relation fictional universe described in
type work
type application
action count
action filter_type
action find
entity Stargate
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?t ) WHERE { ?o rdf:type ontology:work . ?h rdf:type ontology:application . ?o property:fictional_universe_described_in ?h } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ontology:work . resource:Stargate property:fictional_universe_described_in ?d } } . FILTER ( ?t > ?j ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q17520607
Q166142
USER
And how about Resident Evil universe?
(Q17520607,P1445,c(Q166142))
action count
action filter_type
action find
entity Q17520607
relation P1445
type Q166142
['Q17520607', 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q17520607 property:P1445 ?n . ?n rdf:type ontology:Q166142 }
Resident Evil universe
action count
action filter_type
action find
entity Resident Evil universe
relation fictional universe described in
type application
['Resident Evil universe', 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Resident_Evil_universe property:fictional_universe_described_in ?n . ?n rdf:type ontology:application }
[]
application
SYSTEM
28
(Q17520607,P1445,c(Q166142))
action count
action filter_type
action find
entity Q17520607
relation P1445
type Q166142
[ANSWER]
['Q17520607', 'P1445', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q17520607 property:P1445 ?n . ?n rdf:type ontology:Q166142 }
28
action count
action filter_type
action find
entity Resident Evil universe
relation fictional universe described in
type application
['Resident Evil universe', 'fictional universe described in', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Resident_Evil_universe property:fictional_universe_described_in ?n . ?n rdf:type ontology:application }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q166142 Q3895768 Q95074
USER
How many applications are atleast 49 fictional locations and fictional characters shown in ?
(c(Q3895768)|c(Q95074),P1441,c(Q166142))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q166142
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q166142
type Q95074
value 49
[[{'concept': 'Q3895768'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { { ?t property:P1441 ?j . ?j rdf:type ontology:Q166142 . ?t rdf:type ontology:Q3895768 } UNION { ?t property:P1441 ?j . ?j rdf:type ontology:Q166142 . ?t rdf:type ontology:Q95074 } } GROUP BY ?j } . FILTER ( ?m >= 49 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type application
type fictional location
action find_reverse_tuple_counts
relation present in work
type application
type fictional character
value 49
[[{'concept': 'fictional location'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { { ?t property:present_in_work ?j . ?j rdf:type ontology:application . ?t rdf:type ontology:fictional_location } UNION { ?t property:present_in_work ?j . ?j rdf:type ontology:application . ?t rdf:type ontology:fictional_character } } GROUP BY ?j } . FILTER ( ?m >= 49 ) }
[]
application fictional location fictional character
SYSTEM
3
Q2351827 Q611189 Q837346
(c(Q3895768)|c(Q95074),P1441,c(Q166142))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q166142
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q166142
type Q95074
value 49
[ANSWER]
[[{'concept': 'Q3895768'}, {'concept': 'Q95074'}], 'P1441', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { { ?t property:P1441 ?j . ?j rdf:type ontology:Q166142 . ?t rdf:type ontology:Q3895768 } UNION { ?t property:P1441 ?j . ?j rdf:type ontology:Q166142 . ?t rdf:type ontology:Q95074 } } GROUP BY ?j } . FILTER ( ?m >= 49 ) }
Pokémon Crystal Pokémon HeartGold and SoulSilver Pokémon Gold and Silver
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type application
type fictional location
action find_reverse_tuple_counts
relation present in work
type application
type fictional character
value 49
[[{'concept': 'fictional location'}, {'concept': 'fictional character'}], 'present in work', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?m ) WHERE { { ?t property:present_in_work ?j . ?j rdf:type ontology:application . ?t rdf:type ontology:fictional_location } UNION { ?t property:present_in_work ?j . ?j rdf:type ontology:application . ?t rdf:type ontology:fictional_character } } GROUP BY ?j } . FILTER ( ?m >= 49 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q22920073 Q15731902
P1445 P1441
Q15416
USER
Which television programs describe the fictional universe Aladdin media franchise or contain Colin Fraser ?
OR((Q15731902,P1445,c(Q15416)), (Q22920073,P1441,c(Q15416)))
action filter_type
action union
action find
entity Q15731902
relation P1445
action find
entity Q22920073
relation P1441
type Q15416
{'OR': [['Q15731902', 'P1445', {'concept': 'Q15416'}], ['Q22920073', 'P1441', {'concept': 'Q15416'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q22920073 property:P1441 ?k } UNION { resource:Q15731902 property:P1445 ?k } } . ?k rdf:type ontology:Q15416 }
Colin Fraser Aladdin media franchise
action filter_type
action union
action find
entity Aladdin media franchise
relation fictional universe described in
action find
entity Colin Fraser
relation present in work
type television program
{'OR': [['Aladdin media franchise', 'fictional universe described in', {'concept': 'television program'}], ['Colin Fraser', 'present in work', {'concept': 'television program'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Colin_Fraser property:present_in_work ?k } UNION { resource:Aladdin_media_franchise property:fictional_universe_described_in ?k } } . ?k rdf:type ontology:television_program }
[]
television program
Q27120 Q321423
SYSTEM
Aladdin, Law & Order
Q27120 Q321423
OR((Q15731902,P1445,c(Q15416)), (Q22920073,P1441,c(Q15416)))
action filter_type
action union
action find
entity Q15731902
relation P1445
action find
entity Q22920073
relation P1441
type Q15416
[ANSWERS] describe the fictional universe Aladdin media franchise or contain Colin Fraser
{'OR': [['Q15731902', 'P1445', {'concept': 'Q15416'}], ['Q22920073', 'P1441', {'concept': 'Q15416'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q22920073 property:P1441 ?k } UNION { resource:Q15731902 property:P1445 ?k } } . ?k rdf:type ontology:Q15416 }
Aladdin Law & Order
Aladdin and Law & Order describe the fictional universe Aladdin media franchise or contain Colin Fraser
Aladdin Law & Order
action filter_type
action union
action find
entity Aladdin media franchise
relation fictional universe described in
action find
entity Colin Fraser
relation present in work
type television program
{'OR': [['Aladdin media franchise', 'fictional universe described in', {'concept': 'television program'}], ['Colin Fraser', 'present in work', {'concept': 'television program'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Colin_Fraser property:present_in_work ?k } UNION { resource:Aladdin_media_franchise property:fictional_universe_described_in ?k } } . ?k rdf:type ontology:television_program }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q166142 Q1001378 Q2342494
USER
Which applications are approximately 1 cinematic techniques and collectables considered a copy of ?
(c(Q1001378)|c(Q2342494),P144,c(Q166142))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q166142
type Q1001378
action find_reverse_tuple_counts
relation P144
type Q166142
type Q2342494
value 1
[[{'concept': 'Q1001378'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:P144 ?a . ?q rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q166142 } UNION { ?q property:P144 ?a . ?q rdf:type ontology:Q1001378 . ?a rdf:type ontology:Q166142 } } GROUP BY ?a } . FILTER ( ?v = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation based on
type application
type cinematic technique
action find_reverse_tuple_counts
relation based on
type application
type collectable
value 1
[[{'concept': 'cinematic technique'}, {'concept': 'collectable'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:based_on ?a . ?q rdf:type ontology:collectable . ?a rdf:type ontology:application } UNION { ?q property:based_on ?a . ?q rdf:type ontology:cinematic_technique . ?a rdf:type ontology:application } } GROUP BY ?a } . FILTER ( ?v = 1 ) }
[]
application cinematic technique collectable
Q220960 Q2880740 Q741244
SYSTEM
Diablo, Baldur's Gate II: Throne of Bhaal, Warcraft III: The Frozen Throne
Q860291 Q2880740 Q741244 Q220960 Q53353
(c(Q1001378)|c(Q2342494),P144,c(Q166142))
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q166142
type Q1001378
action find_reverse_tuple_counts
relation P144
type Q166142
type Q2342494
value 1
[ANSWERS] are approximately 1 cinematic techniques and collectables considered a copy of
[[{'concept': 'Q1001378'}, {'concept': 'Q2342494'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:P144 ?a . ?q rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q166142 } UNION { ?q property:P144 ?a . ?q rdf:type ontology:Q1001378 . ?a rdf:type ontology:Q166142 } } GROUP BY ?a } . FILTER ( ?v = 1 ) }
Warcraft II: Beyond the Dark Portal Baldur's Gate II: Throne of Bhaal Warcraft III: The Frozen Throne Diablo Puella Magi Madoka Magica
Diablo, Baldur's Gate II: Throne of Bhaal and Warcraft III: The Frozen Throne are approximately 1 cinematic techniques and collectables considered a copy of
Diablo Baldur's Gate II: Throne of Bhaal Warcraft III: The Frozen Throne
action approx
action union
action find_reverse_tuple_counts
relation based on
type application
type cinematic technique
action find_reverse_tuple_counts
relation based on
type application
type collectable
value 1
[[{'concept': 'cinematic technique'}, {'concept': 'collectable'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?v ) WHERE { { ?q property:based_on ?a . ?q rdf:type ontology:collectable . ?a rdf:type ontology:application } UNION { ?q property:based_on ?a . ?q rdf:type ontology:cinematic_technique . ?a rdf:type ontology:application } } GROUP BY ?a } . FILTER ( ?v = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q220960
P123
Q7397
USER
Who published that application ?
(Q220960,P123,c(Q7397))
action filter_type
action find
entity Q220960
relation P123
type Q7397
['Q220960', 'P123', {'concept': 'Q7397'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7397 . resource:Q220960 property:P123 ?v }
Diablo
action filter_type
action find
entity Diablo
relation publisher
type software
['Diablo', 'publisher', {'concept': 'software'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:software . resource:Diablo property:publisher ?v }
[]
software
Clarification for simple ques.
Q2880740
SYSTEM
Did you mean Baldur's Gate II: Throne of Bhaal ?
Q220960 Q2880740 Q741244
(Q220960,P123,c(Q7397)) (Q2880740,P123,c(Q7397)) (Q741244,P123,c(Q7397))
[ANSWER]
['Q220960', 'P123', {'concept': 'Q7397'}] ['Q2880740', 'P123', {'concept': 'Q7397'}] ['Q741244', 'P123', {'concept': 'Q7397'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7397 . resource:Q220960 property:P123 ?v }
Diablo Baldur's Gate II: Throne of Bhaal Warcraft III: The Frozen Throne
Did you mean Baldur's Gate II: Throne of Bhaal ?
Baldur's Gate II: Throne of Bhaal
['Diablo', 'publisher', {'concept': 'software'}] ["Baldur's Gate II: Throne of Bhaal", 'publisher', {'concept': 'software'}] ['Warcraft III: The Frozen Throne', 'publisher', {'concept': 'software'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:software . resource:Diablo property:publisher ?v }
[]
Simple Question (Coreferenced)
USER
No, I meant Diablo. Could you tell me the answer for that?
(Q220960,P123,c(Q7397))
Q220960
['Q220960', 'P123', {'concept': 'Q7397'}]
['Diablo', 'publisher', {'concept': 'software'}]
[]
Q178824
SYSTEM
Blizzard Entertainment
Q178824
(Q220960,P123,c(Q7397))
action filter_type
action find
entity Q220960
relation P123
type Q7397
[ANSWER] published that application
['Q220960', 'P123', {'concept': 'Q7397'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q7397 . resource:Q220960 property:P123 ?v }
Blizzard Entertainment
Blizzard Entertainment published that application
Blizzard Entertainment
action filter_type
action find
entity Diablo
relation publisher
type software
['Diablo', 'publisher', {'concept': 'software'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:software . resource:Diablo property:publisher ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q178824
P123
Q166142
USER
Which applications were released by that software ?
(c(Q166142),P123,Q178824)
action filter_type
action find_reverse
entity Q178824
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q178824']
SELECT DISTINCT ?q WHERE { ?q property:P123 resource:Q178824 . ?q rdf:type ontology:Q166142 }
Blizzard Entertainment
action filter_type
action find_reverse
entity Blizzard Entertainment
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Blizzard Entertainment']
SELECT DISTINCT ?q WHERE { ?q property:publisher resource:Blizzard_Entertainment . ?q rdf:type ontology:application }
[]
application
Q244030 Q165929 Q220960
SYSTEM
Diablo III, StarCraft, Diablo
Q220960 Q15139655 Q741244 Q131007 Q860291 Q165929 Q207885 Q18515944 Q8262784 Q239288 Q207948 Q244030 Q244033 Q835084
(c(Q166142),P123,Q178824)
action filter_type
action find_reverse
entity Q178824
relation P123
type Q166142
[ANSWERS] were released by that software
[{'concept': 'Q166142'}, 'P123', 'Q178824']
SELECT DISTINCT ?q WHERE { ?q property:P123 resource:Q178824 . ?q rdf:type ontology:Q166142 }
Diablo Heroes of the Storm Warcraft III: The Frozen Throne World of Warcraft Warcraft II: Beyond the Dark Portal StarCraft Warcraft: Orcs & Humans Overwatch Hearthstone: Heroes of Warcraft StarCraft II: Wings of Liberty Warcraft III: Reign of Chaos Diablo III Diablo II Diablo II: Lord of Destruction
Diablo III, StarCraft and Diablo were released by that software
Diablo III StarCraft Diablo
action filter_type
action find_reverse
entity Blizzard Entertainment
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Blizzard Entertainment']
SELECT DISTINCT ?q WHERE { ?q property:publisher resource:Blizzard_Entertainment . ?q rdf:type ontology:application }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6895044 Q178824
P123 P404
Q166142
USER
Which applications were released by Blizzard Entertainment and support multiplayer video game as their gameplay ?
AND((c(Q166142),P123,Q178824), (c(Q166142),P404,Q6895044))
action filter_type
action intersection
action find_reverse
entity Q178824
relation P123
action find_reverse
entity Q6895044
relation P404
type Q166142
{'AND': [[{'concept': 'Q166142'}, 'P123', 'Q178824'], [{'concept': 'Q166142'}, 'P404', 'Q6895044']]}
SELECT DISTINCT ?x WHERE { ?x property:P123 resource:Q178824 . ?x property:P404 resource:Q6895044 . ?x rdf:type ontology:Q166142 }
multiplayer video game Blizzard Entertainment
action filter_type
action intersection
action find_reverse
entity Blizzard Entertainment
relation publisher
action find_reverse
entity multiplayer video game
relation game mode
type application
{'AND': [[{'concept': 'application'}, 'publisher', 'Blizzard Entertainment'], [{'concept': 'application'}, 'game mode', 'multiplayer video game']]}
SELECT DISTINCT ?x WHERE { ?x property:publisher resource:Blizzard_Entertainment . ?x property:game_mode resource:multiplayer_video_game . ?x rdf:type ontology:application }
[]
application
Q15139655 Q207885 Q8262784 Q835084 Q239288 Q207948 Q18515944 Q244030 Q741244 Q131007
SYSTEM
Some of them are Heroes of the Storm, Warcraft: Orcs & Humans, Hearthstone: Heroes of Warcraft, Diablo II: Lord of Destruction, StarCraft II: Wings of Liberty, Warcraft III: Reign of Chaos, Overwatch, Diablo III, Warcraft III: The Frozen Throne, World of Warcraft
Q220960 Q8262784 Q131007 Q860291 Q741244 Q15139655 Q18515944 Q165929 Q239288 Q207948 Q207885 Q244030 Q244033 Q835084
AND((c(Q166142),P123,Q178824), (c(Q166142),P404,Q6895044))
action filter_type
action intersection
action find_reverse
entity Q178824
relation P123
action find_reverse
entity Q6895044
relation P404
type Q166142
[ANSWERS] were released by Blizzard Entertainment and support multiplayer video game as their gameplay
{'AND': [[{'concept': 'Q166142'}, 'P123', 'Q178824'], [{'concept': 'Q166142'}, 'P404', 'Q6895044']]}
SELECT DISTINCT ?x WHERE { ?x property:P123 resource:Q178824 . ?x property:P404 resource:Q6895044 . ?x rdf:type ontology:Q166142 }
Diablo Hearthstone: Heroes of Warcraft World of Warcraft Warcraft II: Beyond the Dark Portal Warcraft III: The Frozen Throne Heroes of the Storm Overwatch StarCraft StarCraft II: Wings of Liberty Warcraft III: Reign of Chaos Warcraft: Orcs & Humans Diablo III Diablo II Diablo II: Lord of Destruction
Heroes of the Storm, Warcraft: Orcs & Humans, Hearthstone: Heroes of Warcraft, Diablo II: Lord of Destruction, StarCraft II: Wings of Liberty, Warcraft III: Reign of Chaos, Overwatch, Diablo III, Warcraft III: The Frozen Throne and World of Warcraft were released by Blizzard Entertainment and support multiplayer video game as their gameplay
Heroes of the Storm Warcraft: Orcs & Humans Hearthstone: Heroes of Warcraft Diablo II: Lord of Destruction StarCraft II: Wings of Liberty Warcraft III: Reign of Chaos Overwatch Diablo III Warcraft III: The Frozen Throne World of Warcraft
action filter_type
action intersection
action find_reverse
entity Blizzard Entertainment
relation publisher
action find_reverse
entity multiplayer video game
relation game mode
type application
{'AND': [[{'concept': 'application'}, 'publisher', 'Blizzard Entertainment'], [{'concept': 'application'}, 'game mode', 'multiplayer video game']]}
SELECT DISTINCT ?x WHERE { ?x property:publisher resource:Blizzard_Entertainment . ?x property:game_mode resource:multiplayer_video_game . ?x rdf:type ontology:application }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P144
Q166142 Q15961987
USER
How many applications are lesser number of television genres a fork of than that application ?
(c(Q15961987),P144,c(Q166142))
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q166142 }
[{'concept': 'television genre'}, 'based on', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:application }
[]
application television genre
Comparative|Count over More/Less|Single entity type|Clarification
Q15139655
SYSTEM
Did you mean Heroes of the Storm ?
(c(Q15961987),P144,c(Q166142))
[ANSWER]
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q166142 }
Did you mean Heroes of the Storm ?
Heroes of the Storm
[{'concept': 'television genre'}, 'based on', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:application }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Warcraft III: The Frozen Throne. Could you tell me the answer for that?
(c(Q15961987),P144,c(Q166142))
Q741244
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q166142'}]
[{'concept': 'television genre'}, 'based on', {'concept': 'application'}]
[]
SYSTEM
0
(c(Q15961987),P144,c(Q166142))
[ANSWER]
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q166142 }
0
[{'concept': 'television genre'}, 'based on', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:application }
[]