Simple Question (Direct)
Simple Question
Q189947
P26
Q502895
USER
Which person is the life partner of Nick Clegg ?
(Q189947,P26,c(Q502895))
action filter_type
action find
entity Q189947
relation P26
type Q502895
['Q189947', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q189947 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Nick Clegg
action filter_type
action find
entity Nick Clegg
relation spouse
type common name
['Nick Clegg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Nick_Clegg property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q13142308
SYSTEM
Miriam González Durántez
Q13142308
(Q189947,P26,c(Q502895))
action filter_type
action find
entity Q189947
relation P26
type Q502895
[ANSWER] is the life partner of Nick Clegg
['Q189947', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q189947 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Miriam González Durántez
Miriam González Durántez is the life partner of Nick Clegg
Miriam González Durántez
action filter_type
action find
entity Nick Clegg
relation spouse
type common name
['Nick Clegg', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Nick_Clegg property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13142308
P40
Q502895
USER
Whose child is that one ?
(c(Q502895),P40,Q13142308)
action filter_type
action find_reverse
entity Q13142308
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q13142308']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q13142308 . ?u rdf:type ontology:Q502895 }
Miriam González Durántez
action filter_type
action find_reverse
entity Miriam González Durántez
relation child
type common name
[{'concept': 'common name'}, 'child', 'Miriam González Durántez']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Miriam_González_Durántez . ?u rdf:type ontology:common_name }
[]
common name
Q6291440
SYSTEM
José Antonio González Caviedes
Q6291440
(c(Q502895),P40,Q13142308)
action filter_type
action find_reverse
entity Q13142308
relation P40
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P40', 'Q13142308']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q13142308 . ?u rdf:type ontology:Q502895 }
José Antonio González Caviedes
José Antonio González Caviedes is that one
José Antonio González Caviedes
action filter_type
action find_reverse
entity Miriam González Durántez
relation child
type common name
[{'concept': 'common name'}, 'child', 'Miriam González Durántez']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Miriam_González_Durántez . ?u rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q26701981
P725
Q502895 Q386724
USER
Which works did lesser number of people dub for than Hércules y el grifo ?
(c(Q386724),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26701981
relation P725
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?r ) WHERE { ?w property:P725 ?i . ?w rdf:type ontology:Q386724 . ?i rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q26701981 property:P725 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?r < ?c ) }
Hércules y el grifo
action less
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y el grifo
relation voice actor
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?r ) WHERE { ?w property:voice_actor ?i . ?w rdf:type ontology:work . ?i rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Hércules_y_el_grifo property:voice_actor ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?r < ?c ) }
[]
common name work
Q13516675 Q10864091 Q27627540
SYSTEM
Sakura Trick, Isshūkan Friends, Doctor Strange (Doctor Extraño)
Q10864091 Q27627540 Q24175397 Q26715049 Q25858085 Q13516675 Q26829863
(c(Q386724),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26701981
relation P725
type Q502895
[ANSWERS] lesser number of people dubbed for than Hércules y el grifo
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?r ) WHERE { ?w property:P725 ?i . ?w rdf:type ontology:Q386724 . ?i rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q26701981 property:P725 ?o . ?o rdf:type ontology:Q502895 } } . FILTER ( ?r < ?c ) }
Isshūkan Friends Doctor Strange (Doctor Extraño) Capitán América: El primer vengador Peter y el dragón Alicia a través del espejo Sakura Trick Angry Birds: La película
Sakura Trick, Isshūkan Friends and Doctor Strange (Doctor Extraño) lesser number of people dubbed for than Hércules y el grifo
Sakura Trick Isshūkan Friends Doctor Strange (Doctor Extraño)
action less
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y el grifo
relation voice actor
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?r ) WHERE { ?w property:voice_actor ?i . ?w rdf:type ontology:work . ?i rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Hércules_y_el_grifo property:voice_actor ?o . ?o rdf:type ontology:common_name } } . FILTER ( ?r < ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1004385 Q10864091
P272
Q375336
USER
Which film studios produced Isshūkan Friends or Jack-Jack Attack ?
OR((Q10864091,P272,c(Q375336)), (Q1004385,P272,c(Q375336)))
action filter_type
action union
action find
entity Q10864091
relation P272
action find
entity Q1004385
relation P272
type Q375336
{'OR': [['Q10864091', 'P272', {'concept': 'Q375336'}], ['Q1004385', 'P272', {'concept': 'Q375336'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q10864091 property:P272 ?u } UNION { resource:Q1004385 property:P272 ?u } } . ?u rdf:type ontology:Q375336 }
Jack-Jack Attack Isshūkan Friends
action filter_type
action union
action find
entity Isshūkan Friends
relation production company
action find
entity Jack-Jack Attack
relation production company
type film studio
{'OR': [['Isshūkan Friends', 'production company', {'concept': 'film studio'}], ['Jack-Jack Attack', 'production company', {'concept': 'film studio'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Isshūkan_Friends property:production_company ?u } UNION { resource:Jack-Jack_Attack property:production_company ?u } } . ?u rdf:type ontology:film_studio }
[]
film studio
Q2528458 Q127552
SYSTEM
Brain's Base, Pixar
Q2528458 Q127552
OR((Q10864091,P272,c(Q375336)), (Q1004385,P272,c(Q375336)))
action filter_type
action union
action find
entity Q10864091
relation P272
action find
entity Q1004385
relation P272
type Q375336
[ANSWERS] produced Isshūkan Friends or Jack-Jack Attack
{'OR': [['Q10864091', 'P272', {'concept': 'Q375336'}], ['Q1004385', 'P272', {'concept': 'Q375336'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q10864091 property:P272 ?u } UNION { resource:Q1004385 property:P272 ?u } } . ?u rdf:type ontology:Q375336 }
Brain's Base Pixar
Brain's Base and Pixar produced Isshūkan Friends or Jack-Jack Attack
Brain's Base Pixar
action filter_type
action union
action find
entity Isshūkan Friends
relation production company
action find
entity Jack-Jack Attack
relation production company
type film studio
{'OR': [['Isshūkan Friends', 'production company', {'concept': 'film studio'}], ['Jack-Jack Attack', 'production company', {'concept': 'film studio'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Isshūkan_Friends property:production_company ?u } UNION { resource:Jack-Jack_Attack property:production_company ?u } } . ?u rdf:type ontology:film_studio }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q22988604 Q82799 Q386724
USER
How many works demonstrate around 2 mythological Greek characters and names ?
(c(Q386724),P180,c(Q22988604)|c(Q82799))
action count
action approx
action union
action find_tuple_counts
relation P180
type Q386724
type Q22988604
action find_tuple_counts
relation P180
type Q386724
type Q82799
value 2
[{'concept': 'Q386724'}, 'P180', [{'concept': 'Q22988604'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { { ?y property:P180 ?v . ?v rdf:type ontology:Q22988604 . ?y rdf:type ontology:Q386724 } UNION { ?y property:P180 ?v . ?y rdf:type ontology:Q386724 . ?v rdf:type ontology:Q82799 } } GROUP BY ?y } . FILTER ( ?n = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation depicts
type work
type mythological Greek character
action find_tuple_counts
relation depicts
type work
type name
value 2
[{'concept': 'work'}, 'depicts', [{'concept': 'mythological Greek character'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { { ?y property:depicts ?v . ?v rdf:type ontology:mythological_Greek_character . ?y rdf:type ontology:work } UNION { ?y property:depicts ?v . ?y rdf:type ontology:work . ?v rdf:type ontology:name } } GROUP BY ?y } . FILTER ( ?n = 2 ) }
[]
mythological Greek character name work
SYSTEM
2
Q2901063 Q20667952
(c(Q386724),P180,c(Q22988604)|c(Q82799))
action count
action approx
action union
action find_tuple_counts
relation P180
type Q386724
type Q22988604
action find_tuple_counts
relation P180
type Q386724
type Q82799
value 2
[ANSWER]
[{'concept': 'Q386724'}, 'P180', [{'concept': 'Q22988604'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { { ?y property:P180 ?v . ?v rdf:type ontology:Q22988604 . ?y rdf:type ontology:Q386724 } UNION { ?y property:P180 ?v . ?y rdf:type ontology:Q386724 . ?v rdf:type ontology:Q82799 } } GROUP BY ?y } . FILTER ( ?n = 2 ) }
Borghese Vase Hunt scene, known as "Alexander's hunt"
2
action count
action approx
action union
action find_tuple_counts
relation depicts
type work
type mythological Greek character
action find_tuple_counts
relation depicts
type work
type name
value 2
[{'concept': 'work'}, 'depicts', [{'concept': 'mythological Greek character'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { { ?y property:depicts ?v . ?v rdf:type ontology:mythological_Greek_character . ?y rdf:type ontology:work } UNION { ?y property:depicts ?v . ?y rdf:type ontology:work . ?v rdf:type ontology:name } } GROUP BY ?y } . FILTER ( ?n = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q127552
P127
Q1269299
USER
Which business organization owned Pixar ?
(Q127552,P127,c(Q1269299))
action filter_type
action find
entity Q127552
relation P127
type Q1269299
['Q127552', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ?t WHERE { resource:Q127552 property:P127 ?t . ?t rdf:type ontology:Q1269299 }
Pixar
action filter_type
action find
entity Pixar
relation owned by
type type of business entity
['Pixar', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ?t WHERE { resource:Pixar property:owned_by ?t . ?t rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q7414
SYSTEM
The Walt Disney Company
Q7414
(Q127552,P127,c(Q1269299))
action filter_type
action find
entity Q127552
relation P127
type Q1269299
[ANSWER] owned Pixar
['Q127552', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ?t WHERE { resource:Q127552 property:P127 ?t . ?t rdf:type ontology:Q1269299 }
The Walt Disney Company
The Walt Disney Company owned Pixar
The Walt Disney Company
action filter_type
action find
entity Pixar
relation owned by
type type of business entity
['Pixar', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ?t WHERE { resource:Pixar property:owned_by ?t . ?t rdf:type ontology:type_of_business_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7855897
Q1269299
USER
And how about Turner Broadcasting System Netherlands?
(Q7855897,P127,c(Q1269299))
action filter_type
action find
entity Q7855897
relation P127
type Q1269299
['Q7855897', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ?l WHERE { resource:Q7855897 property:P127 ?l . ?l rdf:type ontology:Q1269299 }
Turner Broadcasting System Netherlands
action filter_type
action find
entity Turner Broadcasting System Netherlands
relation owned by
type type of business entity
['Turner Broadcasting System Netherlands', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ?l WHERE { resource:Turner_Broadcasting_System_Netherlands property:owned_by ?l . ?l rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q191715
SYSTEM
Time Warner
Q191715
(Q7855897,P127,c(Q1269299))
action filter_type
action find
entity Q7855897
relation P127
type Q1269299
[ANSWER]
['Q7855897', 'P127', {'concept': 'Q1269299'}]
SELECT DISTINCT ?l WHERE { resource:Q7855897 property:P127 ?l . ?l rdf:type ontology:Q1269299 }
Time Warner
Time Warner
action filter_type
action find
entity Turner Broadcasting System Netherlands
relation owned by
type type of business entity
['Turner Broadcasting System Netherlands', 'owned by', {'concept': 'type of business entity'}]
SELECT DISTINCT ?l WHERE { resource:Turner_Broadcasting_System_Netherlands property:owned_by ?l . ?l rdf:type ontology:type_of_business_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191715
P98
Q732577
USER
Which publication did that business organization act as an editor for ?
(c(Q732577),P98,Q191715)
action filter_type
action find_reverse
entity Q191715
relation P98
type Q732577
[{'concept': 'Q732577'}, 'P98', 'Q191715']
SELECT DISTINCT ?b WHERE { ?b property:P98 resource:Q191715 . ?b rdf:type ontology:Q732577 }
Time Warner
action filter_type
action find_reverse
entity Time Warner
relation editor
type publication
[{'concept': 'publication'}, 'editor', 'Time Warner']
SELECT DISTINCT ?b WHERE { ?b property:editor resource:Time_Warner . ?b rdf:type ontology:publication }
[]
publication
Q825316
SYSTEM
Money
Q825316
(c(Q732577),P98,Q191715)
action filter_type
action find_reverse
entity Q191715
relation P98
type Q732577
That business organization acted as an editor for The [ANSWER]
[{'concept': 'Q732577'}, 'P98', 'Q191715']
SELECT DISTINCT ?b WHERE { ?b property:P98 resource:Q191715 . ?b rdf:type ontology:Q732577 }
Money
That business organization acted as an editor for The Money
Money
action filter_type
action find_reverse
entity Time Warner
relation editor
type publication
[{'concept': 'publication'}, 'editor', 'Time Warner']
SELECT DISTINCT ?b WHERE { ?b property:editor resource:Time_Warner . ?b rdf:type ontology:publication }
[]