Simple Question (Direct)
Simple Question
Q1413069
P840
Q56061
USER
Where is Spellbinder set in ?
(Q1413069,P840,c(Q56061))
action filter_type
action find
entity Q1413069
relation P840
type Q56061
['Q1413069', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1413069 property:P840 ?c . ?c rdf:type ontology:Q56061 }
Spellbinder
action filter_type
action find
entity Spellbinder
relation narrative location
type administrative territorial entity
['Spellbinder', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Spellbinder property:narrative_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3130
SYSTEM
Sydney
Q3130
(Q1413069,P840,c(Q56061))
action filter_type
action find
entity Q1413069
relation P840
type Q56061
In The [ANSWER] Spellbinder is set
['Q1413069', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1413069 property:P840 ?c . ?c rdf:type ontology:Q56061 }
Sydney
In The Sydney Spellbinder is set
Sydney
action filter_type
action find
entity Spellbinder
relation narrative location
type administrative territorial entity
['Spellbinder', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Spellbinder property:narrative_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1413069
P136
Q483394
USER
What can be considered as category for that television program ?
(Q3130,P136,c(Q483394))
action filter_type
action find
entity Q1413069
relation P136
type Q483394
['Q3130', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?i WHERE { resource:Q1413069 property:P136 ?i . ?i rdf:type ontology:Q483394 }
Spellbinder
action filter_type
action find
entity Spellbinder
relation genre
type genre
['Sydney', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?i WHERE { resource:Spellbinder property:genre ?i . ?i rdf:type ontology:genre }
[]
genre
Q24925
SYSTEM
science fiction
Q24925
(Q3130,P136,c(Q483394))
action filter_type
action find
entity Q1413069
relation P136
type Q483394
[ANSWER] can be considered as category for that television program
['Q3130', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?i WHERE { resource:Q1413069 property:P136 ?i . ?i rdf:type ontology:Q483394 }
science fiction
Science fiction can be considered as category for that television program
science fiction
action filter_type
action find
entity Spellbinder
relation genre
type genre
['Sydney', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?i WHERE { resource:Spellbinder property:genre ?i . ?i rdf:type ontology:genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q24925 Q24255685
P136
Q2342494
USER
Does Pandemic a that genre as its category ?
(Q24255685,P136,Q24925)
action is_in
entity Q24255685
action find
entity Q24925
relation P136
['Q24255685', 'P136', 'Q24925']
ASK WHERE { resource:Q24925 property:P136 resource:Q24255685 }
science fiction Pandemic
action is_in
entity Pandemic
action find
entity science fiction
relation genre
['Pandemic', 'genre', 'science fiction']
ASK WHERE { resource:science_fiction property:genre resource:Pandemic }
[]
collectable
SYSTEM
NO
(Q24255685,P136,Q24925)
action is_in
entity Q24255685
action find
entity Q24925
relation P136
[ANSWER]
['Q24255685', 'P136', 'Q24925']
ASK WHERE { resource:Q24925 property:P136 resource:Q24255685 }
No
action is_in
entity Pandemic
action find
entity science fiction
relation genre
['Pandemic', 'genre', 'science fiction']
ASK WHERE { resource:science_fiction property:genre resource:Pandemic }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24925
P135
Q502895
USER
Which people are associated with that genre ?
action filter_type
action find_reverse
entity Q24925
relation P135
type Q502895
SELECT DISTINCT ?c WHERE { ?c property:P135 resource:Q24925 . ?c rdf:type ontology:Q502895 }
science fiction
action filter_type
action find_reverse
entity science fiction
relation movement
type common name
SELECT DISTINCT ?c WHERE { ?c property:movement resource:science_fiction . ?c rdf:type ontology:common_name }
[]
common name
Q12743069 Q1340677
SYSTEM
Valeriu Pantazi, John R. Pierce
Q12743069 Q1340677
action filter_type
action find_reverse
entity Q24925
relation P135
type Q502895
[ANSWERS] are associated with that genre
SELECT DISTINCT ?c WHERE { ?c property:P135 resource:Q24925 . ?c rdf:type ontology:Q502895 }
Valeriu Pantazi John R. Pierce
Valeriu Pantazi and John R. Pierce are associated with that genre
Valeriu Pantazi John R. Pierce
action filter_type
action find_reverse
entity science fiction
relation movement
type common name
SELECT DISTINCT ?c WHERE { ?c property:movement resource:science_fiction . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q24925
P135 P1412
Q502895
USER
Which people are linked with science fiction and speaks English ?
AND((c(Q502895),P135,Q24925), (c(Q502895),P1412,Q1860))
action filter_type
action intersection
action find_reverse
entity Q24925
relation P135
action find_reverse
entity Q1860
relation P1412
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P135', 'Q24925'], [{'concept': 'Q502895'}, 'P1412', 'Q1860']]}
SELECT DISTINCT ?c WHERE { ?c property:P135 resource:Q24925 . ?c property:P1412 resource:Q1860 . ?c rdf:type ontology:Q502895 }
English science fiction
action filter_type
action intersection
action find_reverse
entity science fiction
relation movement
action find_reverse
entity English
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'movement', 'science fiction'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'English']]}
SELECT DISTINCT ?c WHERE { ?c property:movement resource:science_fiction . ?c property:languages_spoken,_written_or_signed resource:English . ?c rdf:type ontology:common_name }
[]
common name
Q1340677
SYSTEM
John R. Pierce
Q1340677
AND((c(Q502895),P135,Q24925), (c(Q502895),P1412,Q1860))
action filter_type
action intersection
action find_reverse
entity Q24925
relation P135
action find_reverse
entity Q1860
relation P1412
type Q502895
[ANSWER] is linked with science fiction and speaks English
{'AND': [[{'concept': 'Q502895'}, 'P135', 'Q24925'], [{'concept': 'Q502895'}, 'P1412', 'Q1860']]}
SELECT DISTINCT ?c WHERE { ?c property:P135 resource:Q24925 . ?c property:P1412 resource:Q1860 . ?c rdf:type ontology:Q502895 }
John R. Pierce
John R. Pierce is linked with science fiction and speaks English
John R. Pierce
action filter_type
action intersection
action find_reverse
entity science fiction
relation movement
action find_reverse
entity English
relation languages spoken, written or signed
type common name
{'AND': [[{'concept': 'common name'}, 'movement', 'science fiction'], [{'concept': 'common name'}, 'languages spoken, written or signed', 'English']]}
SELECT DISTINCT ?c WHERE { ?c property:movement resource:science_fiction . ?c property:languages_spoken,_written_or_signed resource:English . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1340677
P21 P22
Q502895
USER
Which people have John R. Pierce as dad and have the gender as male ?
AND((c(Q502895),P22,Q1340677), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1340677
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q1340677'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P21 resource:Q6581097 . ?l property:P22 resource:Q1340677 }
male John R. Pierce
action filter_type
action intersection
action find_reverse
entity John R. Pierce
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'John R. Pierce'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:gender resource:male . ?l property:father resource:John_R._Pierce }
[]
common name
Q6241255
SYSTEM
John J. Pierce
Q6241255
AND((c(Q502895),P22,Q1340677), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1340677
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have John R. Pierce as dad and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q1340677'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P21 resource:Q6581097 . ?l property:P22 resource:Q1340677 }
John J. Pierce
John J. Pierce have John R. Pierce as dad and have the gender as male
John J. Pierce
action filter_type
action intersection
action find_reverse
entity John R. Pierce
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'John R. Pierce'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:gender resource:male . ?l property:father resource:John_R._Pierce }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q622812
P101
Q483394 Q502895 Q43229
USER
Which genres do less number of people or organizations belong to than talk show ?
(c(Q502895)|c(Q43229),P101,c(Q483394))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q483394
type Q502895
action find_reverse_tuple_counts
relation P101
type Q483394
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q622812
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?h ) WHERE { { ?x property:P101 ?n . ?n rdf:type ontology:Q483394 . ?x rdf:type ontology:Q43229 } UNION { ?x property:P101 ?n . ?n rdf:type ontology:Q483394 . ?x rdf:type ontology:Q502895 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P101 resource:Q622812 . { { ?s rdf:type ontology:Q502895 } UNION { ?s rdf:type ontology:Q43229 } } } } . FILTER ( ?h < ?u ) }
talk show
action less
action union
action find_reverse_tuple_counts
relation field of work
type genre
type common name
action find_reverse_tuple_counts
relation field of work
type genre
type organization
action count
action filter_multi_types
action find_reverse
entity talk show
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?h ) WHERE { { ?x property:field_of_work ?n . ?n rdf:type ontology:genre . ?x rdf:type ontology:organization } UNION { ?x property:field_of_work ?n . ?n rdf:type ontology:genre . ?x rdf:type ontology:common_name } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:field_of_work resource:talk_show . { { ?s rdf:type ontology:common_name } UNION { ?s rdf:type ontology:organization } } } } . FILTER ( ?h < ?u ) }
[]
genre common name organization
Q3739535 Q208189 Q737498
SYSTEM
art game, real-time strategy, academic journal
Q3739535 Q208189 Q737498 Q3566966 Q181001
(c(Q502895)|c(Q43229),P101,c(Q483394))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q483394
type Q502895
action find_reverse_tuple_counts
relation P101
type Q483394
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q622812
relation P101
type Q502895
type Q43229
[ANSWERS] less number of people or organizations belong to than talk show
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?h ) WHERE { { ?x property:P101 ?n . ?n rdf:type ontology:Q483394 . ?x rdf:type ontology:Q43229 } UNION { ?x property:P101 ?n . ?n rdf:type ontology:Q483394 . ?x rdf:type ontology:Q502895 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:P101 resource:Q622812 . { { ?s rdf:type ontology:Q502895 } UNION { ?s rdf:type ontology:Q43229 } } } } . FILTER ( ?h < ?u ) }
art game real-time strategy academic journal web documentary erotica
Art game, real-time strategy and academic journal less number of people or organizations belong to than talk show
art game real-time strategy academic journal
action less
action union
action find_reverse_tuple_counts
relation field of work
type genre
type common name
action find_reverse_tuple_counts
relation field of work
type genre
type organization
action count
action filter_multi_types
action find_reverse
entity talk show
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?h ) WHERE { { ?x property:field_of_work ?n . ?n rdf:type ontology:genre . ?x rdf:type ontology:organization } UNION { ?x property:field_of_work ?n . ?n rdf:type ontology:genre . ?x rdf:type ontology:common_name } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s property:field_of_work resource:talk_show . { { ?s rdf:type ontology:common_name } UNION { ?s rdf:type ontology:organization } } } } . FILTER ( ?h < ?u ) }
[]