Simple Question (Direct)
Simple Question
Q5540054
P241
Q781132
USER
Which military branch is George H. Mallon affiliated to ?
(Q5540054,P241,c(Q781132))
action filter_type
action find
entity Q5540054
relation P241
type Q781132
['Q5540054', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q5540054 property:P241 ?e . ?e rdf:type ontology:Q781132 }
George H. Mallon
action filter_type
action find
entity George H. Mallon
relation military branch
type military branch
['George H. Mallon', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:George_H._Mallon property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q5540054,P241,c(Q781132))
action filter_type
action find
entity Q5540054
relation P241
type Q781132
George H. Mallon is affiliated with [ANSWER]
['Q5540054', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?e WHERE { resource:Q5540054 property:P241 ?e . ?e rdf:type ontology:Q781132 }
United States Army
George H. Mallon is affiliated with United States Army
United States Army
action filter_type
action find
entity George H. Mallon
relation military branch
type military branch
['George H. Mallon', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?e WHERE { resource:George_H._Mallon property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5540054
P106
Q12737077
USER
What is the profession of George H. Mallon ?
(Q5540054,P106,c(Q12737077))
action filter_type
action find
entity Q5540054
relation P106
type Q12737077
['Q5540054', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q5540054 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
George H. Mallon
action filter_type
action find
entity George H. Mallon
relation occupation
type occupation
['George H. Mallon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:George_H._Mallon property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q5540054,P106,c(Q12737077))
action filter_type
action find
entity Q5540054
relation P106
type Q12737077
The profession of George H. is of [ANSWER]
['Q5540054', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q5540054 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
military personnel
The profession of George H. is of military personnel
military personnel
action filter_type
action find
entity George H. Mallon
relation occupation
type occupation
['George H. Mallon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:George_H._Mallon property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9212
P408
Q166142
USER
Which application is United States Army the software engine of ?
(c(Q166142),P408,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P408
type Q166142
[{'concept': 'Q166142'}, 'P408', 'Q9212']
SELECT DISTINCT ?d WHERE { ?d property:P408 resource:Q9212 . ?d rdf:type ontology:Q166142 }
United States Army
action filter_type
action find_reverse
entity United States Army
relation software engine
type application
[{'concept': 'application'}, 'software engine', 'United States Army']
SELECT DISTINCT ?d WHERE { ?d property:software_engine resource:United_States_Army . ?d rdf:type ontology:application }
[]
application
Q5508141
SYSTEM
Full Spectrum Warrior: Ten Hammers
Q5508141
(c(Q166142),P408,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P408
type Q166142
[ANSWER] is United States Army the software engine of
[{'concept': 'Q166142'}, 'P408', 'Q9212']
SELECT DISTINCT ?d WHERE { ?d property:P408 resource:Q9212 . ?d rdf:type ontology:Q166142 }
Full Spectrum Warrior: Ten Hammers
Full Spectrum Warrior: Ten Hammers is United States Army the software engine of
Full Spectrum Warrior: Ten Hammers
action filter_type
action find_reverse
entity United States Army
relation software engine
type application
[{'concept': 'application'}, 'software engine', 'United States Army']
SELECT DISTINCT ?d WHERE { ?d property:software_engine resource:United_States_Army . ?d rdf:type ontology:application }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5508141
P123
Q28640
USER
Which profession published that application ?
(Q5508141,P123,c(Q28640))
action filter_type
action find
entity Q5508141
relation P123
type Q28640
['Q5508141', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ?p WHERE { resource:Q5508141 property:P123 ?p . ?p rdf:type ontology:Q28640 }
Full Spectrum Warrior: Ten Hammers
action filter_type
action find
entity Full Spectrum Warrior: Ten Hammers
relation publisher
type profession
['Full Spectrum Warrior: Ten Hammers', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ?p WHERE { resource:Full_Spectrum_Warrior:_Ten_Hammers property:publisher ?p . ?p rdf:type ontology:profession }
[]
profession
Q580866
SYSTEM
THQ
Q580866
(Q5508141,P123,c(Q28640))
action filter_type
action find
entity Q5508141
relation P123
type Q28640
[ANSWER] published that application
['Q5508141', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ?p WHERE { resource:Q5508141 property:P123 ?p . ?p rdf:type ontology:Q28640 }
THQ
THQ published that application
THQ
action filter_type
action find
entity Full Spectrum Warrior: Ten Hammers
relation publisher
type profession
['Full Spectrum Warrior: Ten Hammers', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ?p WHERE { resource:Full_Spectrum_Warrior:_Ten_Hammers property:publisher ?p . ?p rdf:type ontology:profession }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q744268 Q9212
P17
Q15617994
USER
Which administrative territories are United States Army or Ladvenjak present in ?
OR((Q9212,P17,c(Q15617994)), (Q744268,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q9212
relation P17
action find
entity Q744268
relation P17
type Q15617994
{'OR': [['Q9212', 'P17', {'concept': 'Q15617994'}], ['Q744268', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q9212 property:P17 ?s } UNION { resource:Q744268 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Ladvenjak United States Army
action filter_type
action union
action find
entity United States Army
relation country
action find
entity Ladvenjak
relation country
type designation for an administrative territorial entity
{'OR': [['United States Army', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ladvenjak', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:United_States_Army property:country ?s } UNION { resource:Ladvenjak property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224 Q30
SYSTEM
Croatia, United States of America
Q224 Q30
OR((Q9212,P17,c(Q15617994)), (Q744268,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q9212
relation P17
action find
entity Q744268
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q9212', 'P17', {'concept': 'Q15617994'}], ['Q744268', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q9212 property:P17 ?s } UNION { resource:Q744268 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Croatia United States of America
Which administrative territories are United States Army or Ladvenjak present in
Croatia United States of America
action filter_type
action union
action find
entity United States Army
relation country
action find
entity Ladvenjak
relation country
type designation for an administrative territorial entity
{'OR': [['United States Army', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ladvenjak', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:United_States_Army property:country ?s } UNION { resource:Ladvenjak property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3010467 Q5540054
P410
Q4189293
USER
Which titles were the military ranks held by George H. Mallon or César Louis Marie François Ange d'Houdetot ?
OR((Q5540054,P410,c(Q4189293)), (Q3010467,P410,c(Q4189293)))
action filter_type
action union
action find
entity Q5540054
relation P410
action find
entity Q3010467
relation P410
type Q4189293
{'OR': [['Q5540054', 'P410', {'concept': 'Q4189293'}], ['Q3010467', 'P410', {'concept': 'Q4189293'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3010467 property:P410 ?i } UNION { resource:Q5540054 property:P410 ?i } } . ?i rdf:type ontology:Q4189293 }
César Louis Marie François Ange d'Houdetot George H. Mallon
action filter_type
action union
action find
entity George H. Mallon
relation military rank
action find
entity César Louis Marie François Ange d'Houdetot
relation military rank
type title
{'OR': [['George H. Mallon', 'military rank', {'concept': 'title'}], ["César Louis Marie François Ange d'Houdetot", 'military rank', {'concept': 'title'}]]}
SELECT DISTINCT ?i WHERE { { { resource:César_Louis_Marie_François_Ange_d'Houdetot property:military_rank ?i } UNION { resource:George_H._Mallon property:military_rank ?i } } . ?i rdf:type ontology:title }
[]
title
Q2937293 Q2487961
SYSTEM
captain, divisional general
Q2937293 Q2487961
OR((Q5540054,P410,c(Q4189293)), (Q3010467,P410,c(Q4189293)))
action filter_type
action union
action find
entity Q5540054
relation P410
action find
entity Q3010467
relation P410
type Q4189293
The [ANSWERS] were the military ranks held by George H. Mallon or César Louis Marie François Ange d'Houdetot
{'OR': [['Q5540054', 'P410', {'concept': 'Q4189293'}], ['Q3010467', 'P410', {'concept': 'Q4189293'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3010467 property:P410 ?i } UNION { resource:Q5540054 property:P410 ?i } } . ?i rdf:type ontology:Q4189293 }
captain divisional general
The captain and divisional general were the military ranks held by George H. Mallon or César Louis Marie François Ange d'Houdetot
captain divisional general
action filter_type
action union
action find
entity George H. Mallon
relation military rank
action find
entity César Louis Marie François Ange d'Houdetot
relation military rank
type title
{'OR': [['George H. Mallon', 'military rank', {'concept': 'title'}], ["César Louis Marie François Ange d'Houdetot", 'military rank', {'concept': 'title'}]]}
SELECT DISTINCT ?i WHERE { { { resource:César_Louis_Marie_François_Ange_d'Houdetot property:military_rank ?i } UNION { resource:George_H._Mallon property:military_rank ?i } } . ?i rdf:type ontology:title }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atleast 11 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 11
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?y ) WHERE { ?q property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } GROUP BY ?q } . FILTER ( ?y >= 11 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?y ) WHERE { ?q property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } GROUP BY ?q } . FILTER ( ?y >= 11 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 11
[ANSWERS] have diplomatic relationships with atleast 11 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?y ) WHERE { ?q property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } GROUP BY ?q } . FILTER ( ?y >= 11 ) }
Germany Australia Canada
Germany, Australia and Canada have diplomatic relationships with atleast 11 administrative territories
Germany Australia Canada
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 11
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?y ) WHERE { ?q property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } GROUP BY ?q } . FILTER ( ?y >= 11 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q224
P47
Q15617994 Q56061
USER
How many administrative territories and administrative territories are bordered by Croatia ?
(Q224,P47,c(Q15617994)) (Q224,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q224
relation P47
type Q15617994
action filter_type
action find
entity Q224
relation P47
type Q56061
['Q224', 'P47', {'concept': 'Q15617994'}] ['Q224', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Croatia
action count
action union
action filter_type
action find
entity Croatia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Croatia
relation shares border with
type administrative territorial entity
['Croatia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Croatia', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
6
Q225 Q215 Q236 Q403 Q28 Q458
(Q224,P47,c(Q15617994)) (Q224,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q224
relation P47
type Q15617994
action filter_type
action find
entity Q224
relation P47
type Q56061
[ANSWER]
['Q224', 'P47', {'concept': 'Q15617994'}] ['Q224', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Bosnia and Herzegovina Slovenia Montenegro Serbia Hungary European Union
6
action count
action union
action filter_type
action find
entity Croatia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Croatia
relation shares border with
type administrative territorial entity
['Croatia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Croatia', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1601636 Q16
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Canada and are the native countriesof Rustam Ibragimbekov ?
AND((Q16,P530,c(Q15617994)), (Q1601636,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q1601636
relation P27
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q1601636', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { resource:Q16 property:P530 ?d . resource:Q1601636 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Rustam Ibragimbekov Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Rustam Ibragimbekov
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Rustam Ibragimbekov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Canada property:diplomatic_relation ?d . resource:Rustam_Ibragimbekov property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
AND((Q16,P530,c(Q15617994)), (Q1601636,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q1601636
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Canada and are the native countriesof Rustam Ibragimbekov
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q1601636', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { resource:Q16 property:P530 ?d . resource:Q1601636 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Russia
Russia have diplomatic relationships with Canada and are the native countriesof Rustam Ibragimbekov
Russia
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Rustam Ibragimbekov
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Rustam Ibragimbekov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { resource:Canada property:diplomatic_relation ?d . resource:Rustam_Ibragimbekov property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1601636
P19
Q56061
USER
Where was that person born ?
(Q159,P19,c(Q56061))
action filter_type
action find
entity Q1601636
relation P19
type Q56061
['Q159', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1601636 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Rustam Ibragimbekov
action filter_type
action find
entity Rustam Ibragimbekov
relation place of birth
type administrative territorial entity
['Russia', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Rustam_Ibragimbekov property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q9248
SYSTEM
Baku
Q9248
(Q159,P19,c(Q56061))
action filter_type
action find
entity Q1601636
relation P19
type Q56061
That person was born in [ANSWER]
['Q159', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1601636 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Baku
That person was born in Baku
Baku
action filter_type
action find
entity Rustam Ibragimbekov
relation place of birth
type administrative territorial entity
['Russia', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Rustam_Ibragimbekov property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1322480
P144
Q166142 Q7725634 Q1001378
USER
How many applications are greater number of literary works and cinematic techniques a fork of than Phoenix Wright: Ace Attorney ?
(c(Q7725634)|c(Q1001378),P144,c(Q166142))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q166142
type Q7725634
action find_reverse_tuple_counts
relation P144
type Q166142
type Q1001378
action count
action filter_multi_types
action find_reverse
entity Q1322480
relation P144
type Q7725634
type Q1001378
[[{'concept': 'Q7725634'}, {'concept': 'Q1001378'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P144 resource:Q1322480 . { { ?x rdf:type ontology:Q7725634 } UNION { ?x rdf:type ontology:Q1001378 } } } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?k ) WHERE { { ?j property:P144 ?e . ?e rdf:type ontology:Q166142 . ?j rdf:type ontology:Q7725634 } UNION { ?j property:P144 ?e . ?j rdf:type ontology:Q1001378 . ?e rdf:type ontology:Q166142 } } GROUP BY ?e } }
Phoenix Wright: Ace Attorney
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type application
type literary work
action find_reverse_tuple_counts
relation based on
type application
type cinematic technique
action count
action filter_multi_types
action find_reverse
entity Phoenix Wright: Ace Attorney
relation based on
type literary work
type cinematic technique
[[{'concept': 'literary work'}, {'concept': 'cinematic technique'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:based_on resource:Phoenix_Wright:_Ace_Attorney . { { ?x rdf:type ontology:literary_work } UNION { ?x rdf:type ontology:cinematic_technique } } } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?k ) WHERE { { ?j property:based_on ?e . ?e rdf:type ontology:application . ?j rdf:type ontology:literary_work } UNION { ?j property:based_on ?e . ?j rdf:type ontology:cinematic_technique . ?e rdf:type ontology:application } } GROUP BY ?e } }
[]
application literary work cinematic technique
SYSTEM
5
Q3754244 Q2633480 Q2451278 Q165929 Q53353
(c(Q7725634)|c(Q1001378),P144,c(Q166142))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q166142
type Q7725634
action find_reverse_tuple_counts
relation P144
type Q166142
type Q1001378
action count
action filter_multi_types
action find_reverse
entity Q1322480
relation P144
type Q7725634
type Q1001378
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q1001378'}], 'P144', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P144 resource:Q1322480 . { { ?x rdf:type ontology:Q7725634 } UNION { ?x rdf:type ontology:Q1001378 } } } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?k ) WHERE { { ?j property:P144 ?e . ?e rdf:type ontology:Q166142 . ?j rdf:type ontology:Q7725634 } UNION { ?j property:P144 ?e . ?j rdf:type ontology:Q1001378 . ?e rdf:type ontology:Q166142 } } GROUP BY ?e } }
Fullmetal Alchemist 3: Kami o Tsugu Shōjo Fullmetal Alchemist 2: Curse of the Crimson Elixir Fullmetal Alchemist and the Broken Angel StarCraft Puella Magi Madoka Magica
5
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type application
type literary work
action find_reverse_tuple_counts
relation based on
type application
type cinematic technique
action count
action filter_multi_types
action find_reverse
entity Phoenix Wright: Ace Attorney
relation based on
type literary work
type cinematic technique
[[{'concept': 'literary work'}, {'concept': 'cinematic technique'}], 'based on', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:based_on resource:Phoenix_Wright:_Ace_Attorney . { { ?x rdf:type ontology:literary_work } UNION { ?x rdf:type ontology:cinematic_technique } } } } . FILTER ( ?k > ?a ) . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?k ) WHERE { { ?j property:based_on ?e . ?e rdf:type ontology:application . ?j rdf:type ontology:literary_work } UNION { ?j property:based_on ?e . ?j rdf:type ontology:cinematic_technique . ?e rdf:type ontology:application } } GROUP BY ?e } }
[]