Simple Question (Direct)
Simple Question
Q3502377
P178
Q28640
USER
Who produced SubRoc-3D ?
(Q3502377,P178,c(Q28640))
action filter_type
action find
entity Q3502377
relation P178
type Q28640
['Q3502377', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { resource:Q3502377 property:P178 ?c . ?c rdf:type ontology:Q28640 }
SubRoc-3D
action filter_type
action find
entity SubRoc-3D
relation developer
type profession
['SubRoc-3D', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { resource:SubRoc-3D property:developer ?c . ?c rdf:type ontology:profession }
[]
profession
Q122741
SYSTEM
Sega
Q122741
(Q3502377,P178,c(Q28640))
action filter_type
action find
entity Q3502377
relation P178
type Q28640
[ANSWER] produced SubRoc-3D
['Q3502377', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { resource:Q3502377 property:P178 ?c . ?c rdf:type ontology:Q28640 }
Sega
Sega produced SubRoc-3D
Sega
action filter_type
action find
entity SubRoc-3D
relation developer
type profession
['SubRoc-3D', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { resource:SubRoc-3D property:developer ?c . ?c rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3502377
P400
Q483394
USER
Which genre is the specific platform for which SubRoc-3D was released ?
(Q3502377,P400,c(Q483394))
action filter_type
action find
entity Q3502377
relation P400
type Q483394
['Q3502377', 'P400', {'concept': 'Q483394'}]
SELECT DISTINCT ?i WHERE { resource:Q3502377 property:P400 ?i . ?i rdf:type ontology:Q483394 }
SubRoc-3D
action filter_type
action find
entity SubRoc-3D
relation platform
type genre
['SubRoc-3D', 'platform', {'concept': 'genre'}]
SELECT DISTINCT ?i WHERE { resource:SubRoc-3D property:platform ?i . ?i rdf:type ontology:genre }
[]
genre
Q192851
SYSTEM
arcade game machine
Q192851
(Q3502377,P400,c(Q483394))
action filter_type
action find
entity Q3502377
relation P400
type Q483394
Game [ANSWER] is the specific platform for which SubRoc-3D was released
['Q3502377', 'P400', {'concept': 'Q483394'}]
SELECT DISTINCT ?i WHERE { resource:Q3502377 property:P400 ?i . ?i rdf:type ontology:Q483394 }
arcade game machine
Game arcade game machine is the specific platform for which SubRoc-3D was released
arcade game machine
action filter_type
action find
entity SubRoc-3D
relation platform
type genre
['SubRoc-3D', 'platform', {'concept': 'genre'}]
SELECT DISTINCT ?i WHERE { resource:SubRoc-3D property:platform ?i . ?i rdf:type ontology:genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3141532 Q3502377
P123
Q28640
USER
Which professions published SubRoc-3D or Shadowbane ?
OR((Q3502377,P123,c(Q28640)), (Q3141532,P123,c(Q28640)))
action filter_type
action union
action find
entity Q3502377
relation P123
action find
entity Q3141532
relation P123
type Q28640
{'OR': [['Q3502377', 'P123', {'concept': 'Q28640'}], ['Q3141532', 'P123', {'concept': 'Q28640'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3502377 property:P123 ?y } UNION { resource:Q3141532 property:P123 ?y } } . ?y rdf:type ontology:Q28640 }
Shadowbane SubRoc-3D
action filter_type
action union
action find
entity SubRoc-3D
relation publisher
action find
entity Shadowbane
relation publisher
type profession
{'OR': [['SubRoc-3D', 'publisher', {'concept': 'profession'}], ['Shadowbane', 'publisher', {'concept': 'profession'}]]}
SELECT DISTINCT ?y WHERE { { { resource:SubRoc-3D property:publisher ?y } UNION { resource:Shadowbane property:publisher ?y } } . ?y rdf:type ontology:profession }
[]
profession
Q188273 Q122741
SYSTEM
Ubisoft, Sega
Q188273 Q122741
OR((Q3502377,P123,c(Q28640)), (Q3141532,P123,c(Q28640)))
action filter_type
action union
action find
entity Q3502377
relation P123
action find
entity Q3141532
relation P123
type Q28640
[ANSWERS]
{'OR': [['Q3502377', 'P123', {'concept': 'Q28640'}], ['Q3141532', 'P123', {'concept': 'Q28640'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3502377 property:P123 ?y } UNION { resource:Q3141532 property:P123 ?y } } . ?y rdf:type ontology:Q28640 }
Ubisoft Sega
Ubisoft Sega
action filter_type
action union
action find
entity SubRoc-3D
relation publisher
action find
entity Shadowbane
relation publisher
type profession
{'OR': [['SubRoc-3D', 'publisher', {'concept': 'profession'}], ['Shadowbane', 'publisher', {'concept': 'profession'}]]}
SELECT DISTINCT ?y WHERE { { { resource:SubRoc-3D property:publisher ?y } UNION { resource:Shadowbane property:publisher ?y } } . ?y rdf:type ontology:profession }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6869037 Q3502377
P123
Q28640
USER
Which professions released SubRoc-3D or Minon: Everyday Hero ?
OR((Q3502377,P123,c(Q28640)), (Q6869037,P123,c(Q28640)))
action filter_type
action union
action find
entity Q3502377
relation P123
action find
entity Q6869037
relation P123
type Q28640
{'OR': [['Q3502377', 'P123', {'concept': 'Q28640'}], ['Q6869037', 'P123', {'concept': 'Q28640'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q28640 . { { resource:Q3502377 property:P123 ?g } UNION { resource:Q6869037 property:P123 ?g } } }
Minon: Everyday Hero SubRoc-3D
action filter_type
action union
action find
entity SubRoc-3D
relation publisher
action find
entity Minon: Everyday Hero
relation publisher
type profession
{'OR': [['SubRoc-3D', 'publisher', {'concept': 'profession'}], ['Minon: Everyday Hero', 'publisher', {'concept': 'profession'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:profession . { { resource:SubRoc-3D property:publisher ?g } UNION { resource:Minon:_Everyday_Hero property:publisher ?g } } }
[]
profession
Q1091035 Q122741
SYSTEM
Success, Sega
Q1091035 Q122741
OR((Q3502377,P123,c(Q28640)), (Q6869037,P123,c(Q28640)))
action filter_type
action union
action find
entity Q3502377
relation P123
action find
entity Q6869037
relation P123
type Q28640
[ANSWERS]
{'OR': [['Q3502377', 'P123', {'concept': 'Q28640'}], ['Q6869037', 'P123', {'concept': 'Q28640'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q28640 . { { resource:Q3502377 property:P123 ?g } UNION { resource:Q6869037 property:P123 ?g } } }
Success Sega
Success Sega
action filter_type
action union
action find
entity SubRoc-3D
relation publisher
action find
entity Minon: Everyday Hero
relation publisher
type profession
{'OR': [['SubRoc-3D', 'publisher', {'concept': 'profession'}], ['Minon: Everyday Hero', 'publisher', {'concept': 'profession'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:profession . { { resource:SubRoc-3D property:publisher ?g } UNION { resource:Minon:_Everyday_Hero property:publisher ?g } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6869037
P136
Q483394
USER
What can be considered as category for Minon: Everyday Hero ?
(Q1091035,P136,c(Q483394)) (Q122741,P136,c(Q483394))
action filter_type
action find
entity Q6869037
relation P136
type Q483394
['Q1091035', 'P136', {'concept': 'Q483394'}] ['Q122741', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?y WHERE { resource:Q6869037 property:P136 ?y . ?y rdf:type ontology:Q483394 }
Minon: Everyday Hero
action filter_type
action find
entity Minon: Everyday Hero
relation genre
type genre
['Success', 'genre', {'concept': 'genre'}] ['Sega', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?y WHERE { resource:Minon:_Everyday_Hero property:genre ?y . ?y rdf:type ontology:genre }
[]
genre
Q270948
SYSTEM
action game
Q270948
(Q1091035,P136,c(Q483394)) (Q122741,P136,c(Q483394))
action filter_type
action find
entity Q6869037
relation P136
type Q483394
[ANSWER] can be considered as category for Minon: Everyday Hero
['Q1091035', 'P136', {'concept': 'Q483394'}] ['Q122741', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?y WHERE { resource:Q6869037 property:P136 ?y . ?y rdf:type ontology:Q483394 }
action game
Action game can be considered as category for Minon: Everyday Hero
action game
action filter_type
action find
entity Minon: Everyday Hero
relation genre
type genre
['Success', 'genre', {'concept': 'genre'}] ['Sega', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?y WHERE { resource:Minon:_Everyday_Hero property:genre ?y . ?y rdf:type ontology:genre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q26222
P355
Q28640 Q1269299 Q28640
USER
How many professions are lesser number of business organizations or professions the parent company of than Gas Powered Games ?
(c(Q1269299)|c(Q28640),P355,c(Q28640))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q26222
relation P355
type Q1269299
type Q28640
[[{'concept': 'Q1269299'}, {'concept': 'Q28640'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:Q1269299 ) ( ontology:Q28640 ) } . ?m rdf:type ?p } GROUP BY ?u } . FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P355 resource:Q26222 . { VALUES ( ?e ) { ( ontology:Q1269299 ) ( ontology:Q28640 ) } . ?t rdf:type ?e } } } }
Gas Powered Games
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
action count
action filter_multi_types
action find_reverse
entity Gas Powered Games
relation subsidiary
type type of business entity
type profession
[[{'concept': 'type of business entity'}, {'concept': 'profession'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:type_of_business_entity ) ( ontology:profession ) } . ?m rdf:type ?p } GROUP BY ?u } . FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:subsidiary resource:Gas_Powered_Games . { VALUES ( ?e ) { ( ontology:type_of_business_entity ) ( ontology:profession ) } . ?t rdf:type ?e } } } }
[]
profession type of business entity profession
SYSTEM
17
Q3281900 Q1064703 Q863618 Q6423274 Q2607531 Q7641092 Q123018 Q2660350 Q991149 Q204474 Q13409231 Q122741 Q18594 Q860580 Q467598 Q959672 Q1358751
(c(Q1269299)|c(Q28640),P355,c(Q28640))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q26222
relation P355
type Q1269299
type Q28640
[ANSWER]
[[{'concept': 'Q1269299'}, {'concept': 'Q28640'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:Q1269299 ) ( ontology:Q28640 ) } . ?m rdf:type ?p } GROUP BY ?u } . FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P355 resource:Q26222 . { VALUES ( ?e ) { ( ontology:Q1269299 ) ( ontology:Q28640 ) } . ?t rdf:type ?e } } } }
Malfador Machinations PopCap Games Feral Interactive Knowledge Adventure Harmonix Music Systems Sunrise Interactive Nintendo Software Technology Havok 1-UP Studio id Software Atari, Inc. Sega Sony Interactive Entertainment Tencent Holdings Cryptic Studios Daybreak Game Company Runic Games
17
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
action count
action filter_multi_types
action find_reverse
entity Gas Powered Games
relation subsidiary
type type of business entity
type profession
[[{'concept': 'type of business entity'}, {'concept': 'profession'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?y ) WHERE { VALUES ( ?p ) { ( ontology:type_of_business_entity ) ( ontology:profession ) } . ?m rdf:type ?p } GROUP BY ?u } . FILTER ( ?y < ?q ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:subsidiary resource:Gas_Powered_Games . { VALUES ( ?e ) { ( ontology:type_of_business_entity ) ( ontology:profession ) } . ?t rdf:type ?e } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1172164
P355
Q28640 Q1269299 Q28640
USER
And also tell me about CD Projekt RED?
(c(Q1269299)|c(Q28640),P355,c(Q28640))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q1172164
relation P355
type Q1269299
type Q28640
[[{'concept': 'Q1269299'}, {'concept': 'Q28640'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:Q1269299 ) ( ontology:Q28640 ) } . ?w rdf:type ?p } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P355 resource:Q1172164 . { { ?o rdf:type ontology:Q1269299 } UNION { ?o rdf:type ontology:Q28640 } } } } . FILTER ( ?g < ?d ) }
CD Projekt RED
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
action count
action filter_multi_types
action find_reverse
entity CD Projekt RED
relation subsidiary
type type of business entity
type profession
[[{'concept': 'type of business entity'}, {'concept': 'profession'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:type_of_business_entity ) ( ontology:profession ) } . ?w rdf:type ?p } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:subsidiary resource:CD_Projekt_RED . { { ?o rdf:type ontology:type_of_business_entity } UNION { ?o rdf:type ontology:profession } } } } . FILTER ( ?g < ?d ) }
[]
profession type of business entity profession
SYSTEM
17
Q3281900 Q1064703 Q863618 Q6423274 Q2607531 Q7641092 Q123018 Q2660350 Q991149 Q204474 Q13409231 Q122741 Q18594 Q860580 Q467598 Q959672 Q1358751
(c(Q1269299)|c(Q28640),P355,c(Q28640))
action count
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q1172164
relation P355
type Q1269299
type Q28640
[ANSWER]
[[{'concept': 'Q1269299'}, {'concept': 'Q28640'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:Q1269299 ) ( ontology:Q28640 ) } . ?w rdf:type ?p } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P355 resource:Q1172164 . { { ?o rdf:type ontology:Q1269299 } UNION { ?o rdf:type ontology:Q28640 } } } } . FILTER ( ?g < ?d ) }
Malfador Machinations PopCap Games Feral Interactive Knowledge Adventure Harmonix Music Systems Sunrise Interactive Nintendo Software Technology Havok 1-UP Studio id Software Atari, Inc. Sega Sony Interactive Entertainment Tencent Holdings Cryptic Studios Daybreak Game Company Runic Games
17
action count
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
action count
action filter_multi_types
action find_reverse
entity CD Projekt RED
relation subsidiary
type type of business entity
type profession
[[{'concept': 'type of business entity'}, {'concept': 'profession'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:type_of_business_entity ) ( ontology:profession ) } . ?w rdf:type ?p } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:subsidiary resource:CD_Projekt_RED . { { ?o rdf:type ontology:type_of_business_entity } UNION { ?o rdf:type ontology:profession } } } } . FILTER ( ?g < ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2185042
P941
Q1799072 Q483394
USER
How many methods were around the same number of genres inspired by as Flemish painting ?
(c(Q483394),P941,c(Q1799072))
action count
action approx
action find_reverse_tuple_counts
relation P941
type Q1799072
type Q483394
action count
action filter_type
action find
entity Q2185042
relation P941
type Q1799072
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q1799072'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P941 ?t . ?m rdf:type ontology:Q483394 . ?t rdf:type ontology:Q1799072 } GROUP BY ?t } . FILTER ( ?y = ?p ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ontology:Q1799072 . resource:Q2185042 property:P941 ?o } } }
Flemish painting
action count
action approx
action find_reverse_tuple_counts
relation inspired by
type method
type genre
action count
action filter_type
action find
entity Flemish painting
relation inspired by
type method
[{'concept': 'genre'}, 'inspired by', {'concept': 'method'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:inspired_by ?t . ?m rdf:type ontology:genre . ?t rdf:type ontology:method } GROUP BY ?t } . FILTER ( ?y = ?p ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ontology:method . resource:Flemish_painting property:inspired_by ?o } } }
[]
method genre
SYSTEM
2
Q2185042 Q5983861
(c(Q483394),P941,c(Q1799072))
action count
action approx
action find_reverse_tuple_counts
relation P941
type Q1799072
type Q483394
action count
action filter_type
action find
entity Q2185042
relation P941
type Q1799072
[ANSWER]
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q1799072'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P941 ?t . ?m rdf:type ontology:Q483394 . ?t rdf:type ontology:Q1799072 } GROUP BY ?t } . FILTER ( ?y = ?p ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ontology:Q1799072 . resource:Q2185042 property:P941 ?o } } }
Flemish painting Iberian sculpture
2
action count
action approx
action find_reverse_tuple_counts
relation inspired by
type method
type genre
action count
action filter_type
action find
entity Flemish painting
relation inspired by
type method
[{'concept': 'genre'}, 'inspired by', {'concept': 'method'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:inspired_by ?t . ?m rdf:type ontology:genre . ?t rdf:type ontology:method } GROUP BY ?t } . FILTER ( ?y = ?p ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ontology:method . resource:Flemish_painting property:inspired_by ?o } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q5983861
P941
Q1799072 Q483394
USER
And how about Iberian sculpture?
(c(Q483394),P941,c(Q1799072))
action count
action approx
action find_reverse_tuple_counts
relation P941
type Q1799072
type Q483394
action count
action filter_type
action find
entity Q5983861
relation P941
type Q1799072
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q1799072'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P941 ?m . ?m rdf:type ontology:Q1799072 . ?q rdf:type ontology:Q483394 } GROUP BY ?m } . FILTER ( ?w = ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q5983861 property:P941 ?c . ?c rdf:type ontology:Q1799072 } } }
Iberian sculpture
action count
action approx
action find_reverse_tuple_counts
relation inspired by
type method
type genre
action count
action filter_type
action find
entity Iberian sculpture
relation inspired by
type method
[{'concept': 'genre'}, 'inspired by', {'concept': 'method'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:inspired_by ?m . ?m rdf:type ontology:method . ?q rdf:type ontology:genre } GROUP BY ?m } . FILTER ( ?w = ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Iberian_sculpture property:inspired_by ?c . ?c rdf:type ontology:method } } }
[]
method genre
SYSTEM
2
Q2185042 Q5983861
(c(Q483394),P941,c(Q1799072))
action count
action approx
action find_reverse_tuple_counts
relation P941
type Q1799072
type Q483394
action count
action filter_type
action find
entity Q5983861
relation P941
type Q1799072
[ANSWER]
[{'concept': 'Q483394'}, 'P941', {'concept': 'Q1799072'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:P941 ?m . ?m rdf:type ontology:Q1799072 . ?q rdf:type ontology:Q483394 } GROUP BY ?m } . FILTER ( ?w = ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Q5983861 property:P941 ?c . ?c rdf:type ontology:Q1799072 } } }
Flemish painting Iberian sculpture
2
action count
action approx
action find_reverse_tuple_counts
relation inspired by
type method
type genre
action count
action filter_type
action find
entity Iberian sculpture
relation inspired by
type method
[{'concept': 'genre'}, 'inspired by', {'concept': 'method'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?w ) WHERE { ?q property:inspired_by ?m . ?m rdf:type ontology:method . ?q rdf:type ontology:genre } GROUP BY ?m } . FILTER ( ?w = ?z ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { resource:Iberian_sculpture property:inspired_by ?c . ?c rdf:type ontology:method } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1578915 Q122741
P20 P740
Q56061
USER
Which administrative territories are the locations of formation of Sega or are the places of death of Hans Bär ?
OR((Q122741,P740,c(Q56061)), (Q1578915,P20,c(Q56061)))
action filter_type
action union
action find
entity Q122741
relation P740
action find
entity Q1578915
relation P20
type Q56061
{'OR': [['Q122741', 'P740', {'concept': 'Q56061'}], ['Q1578915', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q122741 property:P740 ?g } UNION { resource:Q1578915 property:P20 ?g } } . ?g rdf:type ontology:Q56061 }
Hans Bär Sega
action filter_type
action union
action find
entity Sega
relation location of formation
action find
entity Hans Bär
relation place of death
type administrative territorial entity
{'OR': [['Sega', 'location of formation', {'concept': 'administrative territorial entity'}], ['Hans Bär', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Sega property:location_of_formation ?g } UNION { resource:Hans_Bär property:place_of_death ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1490 Q78
SYSTEM
Tokyo, Basel
Q1490 Q78
OR((Q122741,P740,c(Q56061)), (Q1578915,P20,c(Q56061)))
action filter_type
action union
action find
entity Q122741
relation P740
action find
entity Q1578915
relation P20
type Q56061
[ANSWERS] are the locations of formation of Sega or are the places of death of Hans Bär
{'OR': [['Q122741', 'P740', {'concept': 'Q56061'}], ['Q1578915', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q122741 property:P740 ?g } UNION { resource:Q1578915 property:P20 ?g } } . ?g rdf:type ontology:Q56061 }
Tokyo Basel
Tokyo and Basel are the locations of formation of Sega or are the places of death of Hans Bär
Tokyo Basel
action filter_type
action union
action find
entity Sega
relation location of formation
action find
entity Hans Bär
relation place of death
type administrative territorial entity
{'OR': [['Sega', 'location of formation', {'concept': 'administrative territorial entity'}], ['Hans Bär', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Sega property:location_of_formation ?g } UNION { resource:Hans_Bär property:place_of_death ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1578915
P106
Q12737077
USER
How many occupations are the professions of Hans Bär ?
(Q1578915,P106,c(Q12737077))
action count
action filter_type
action find
entity Q1578915
relation P106
type Q12737077
['Q1578915', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q1578915 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Hans Bär
action count
action filter_type
action find
entity Hans Bär
relation occupation
type occupation
['Hans Bär', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Hans_Bär property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q215536
(Q1578915,P106,c(Q12737077))
action count
action filter_type
action find
entity Q1578915
relation P106
type Q12737077
[ANSWER]
['Q1578915', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q1578915 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
merchant
1
action count
action filter_type
action find
entity Hans Bär
relation occupation
type occupation
['Hans Bär', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Hans_Bär property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1125296
Q12737077
USER
And also tell me about Francisco Rada?
(Q1125296,P106,c(Q12737077))
action count
action filter_type
action find
entity Q1125296
relation P106
type Q12737077
['Q1125296', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q1125296 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Francisco Rada
action count
action filter_type
action find
entity Francisco Rada
relation occupation
type occupation
['Francisco Rada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Francisco_Rada property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
(Q1125296,P106,c(Q12737077))
action count
action filter_type
action find
entity Q1125296
relation P106
type Q12737077
[ANSWER]
['Q1125296', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q1125296 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
1
action count
action filter_type
action find
entity Francisco Rada
relation occupation
type occupation
['Francisco Rada', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Francisco_Rada property:occupation ?z . ?z rdf:type ontology:occupation }
[]