Simple Question (Direct)
Simple Question
Q242613
P106
Q12737077
USER
What are the professions of Jane Jensen ?
(Q242613,P106,c(Q12737077))
action filter_type
action find
entity Q242613
relation P106
type Q12737077
['Q242613', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q242613 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Jane Jensen
action filter_type
action find
entity Jane Jensen
relation occupation
type occupation
['Jane Jensen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Jane_Jensen property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q82594 Q36180 Q6625963
SYSTEM
computer scientist, writer, novelist
Q82594 Q36180 Q6625963 Q18844224
(Q242613,P106,c(Q12737077))
action filter_type
action find
entity Q242613
relation P106
type Q12737077
The professions of Jane Jensen are [ANSWERS]
['Q242613', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q242613 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
computer scientist writer novelist science fiction writer
The professions of Jane Jensen are computer scientist, writer and novelist
computer scientist writer novelist
action filter_type
action find
entity Jane Jensen
relation occupation
type occupation
['Jane Jensen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Jane_Jensen property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q242613
P57
Q166142
USER
Which application did that person direct ?
(c(Q166142),P57,Q82594) (c(Q166142),P57,Q36180) (c(Q166142),P57,Q6625963)
action filter_type
action find_reverse
entity Q242613
relation P57
type Q166142
[{'concept': 'Q166142'}, 'P57', 'Q82594'] [{'concept': 'Q166142'}, 'P57', 'Q36180'] [{'concept': 'Q166142'}, 'P57', 'Q6625963']
SELECT DISTINCT ?u WHERE { ?u property:P57 resource:Q242613 . ?u rdf:type ontology:Q166142 }
Jane Jensen
action filter_type
action find_reverse
entity Jane Jensen
relation director
type application
[{'concept': 'application'}, 'director', 'computer scientist'] [{'concept': 'application'}, 'director', 'writer'] [{'concept': 'application'}, 'director', 'novelist']
SELECT DISTINCT ?u WHERE { ?u property:director resource:Jane_Jensen . ?u rdf:type ontology:application }
[]
application
Q644433
SYSTEM
Gabriel Knight: Sins of the Fathers
Q644433
(c(Q166142),P57,Q82594) (c(Q166142),P57,Q36180) (c(Q166142),P57,Q6625963)
action filter_type
action find_reverse
entity Q242613
relation P57
type Q166142
That person directed by [ANSWER]
[{'concept': 'Q166142'}, 'P57', 'Q82594'] [{'concept': 'Q166142'}, 'P57', 'Q36180'] [{'concept': 'Q166142'}, 'P57', 'Q6625963']
SELECT DISTINCT ?u WHERE { ?u property:P57 resource:Q242613 . ?u rdf:type ontology:Q166142 }
Gabriel Knight: Sins of the Fathers
That person directed by Gabriel Knight: Sins of the Fathers
Gabriel Knight: Sins of the Fathers
action filter_type
action find_reverse
entity Jane Jensen
relation director
type application
[{'concept': 'application'}, 'director', 'computer scientist'] [{'concept': 'application'}, 'director', 'writer'] [{'concept': 'application'}, 'director', 'novelist']
SELECT DISTINCT ?u WHERE { ?u property:director resource:Jane_Jensen . ?u rdf:type ontology:application }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q644433 Q242613 Q18016145
P57
Q502895
USER
Is Jane Jensen and David W. Allan a director of Q644433 ?
(Q644433,P57,Q242613) (Q644433,P57,Q18016145)
action is_in
entity Q644433
action intersection
action find_reverse
entity Q242613
relation P57
action find_reverse
entity Q18016145
relation P57
['Q644433', 'P57', 'Q242613'] ['Q644433', 'P57', 'Q18016145']
ASK WHERE { resource:Q644433 property:P57 resource:Q242613 . resource:Q644433 property:P57 resource:Q18016145 }
Gabriel Knight: Sins of the Fathers Jane Jensen David W. Allan
action is_in
entity Gabriel Knight: Sins of the Fathers
action intersection
action find_reverse
entity Jane Jensen
relation director
action find_reverse
entity David W. Allan
relation director
['Gabriel Knight: Sins of the Fathers', 'director', 'Jane Jensen'] ['Gabriel Knight: Sins of the Fathers', 'director', 'David W. Allan']
ASK WHERE { resource:Gabriel_Knight:_Sins_of_the_Fathers property:director resource:Jane_Jensen . resource:Gabriel_Knight:_Sins_of_the_Fathers property:director resource:David_W._Allan }
[]
common name
SYSTEM
YES and NO respectively
(Q644433,P57,Q242613) (Q644433,P57,Q18016145)
action is_in
entity Q644433
action intersection
action find_reverse
entity Q242613
relation P57
action find_reverse
entity Q18016145
relation P57
[ANSWER]
['Q644433', 'P57', 'Q242613'] ['Q644433', 'P57', 'Q18016145']
ASK WHERE { resource:Q644433 property:P57 resource:Q242613 . resource:Q644433 property:P57 resource:Q18016145 }
YES and NO respectively
action is_in
entity Gabriel Knight: Sins of the Fathers
action intersection
action find_reverse
entity Jane Jensen
relation director
action find_reverse
entity David W. Allan
relation director
['Gabriel Knight: Sins of the Fathers', 'director', 'Jane Jensen'] ['Gabriel Knight: Sins of the Fathers', 'director', 'David W. Allan']
ASK WHERE { resource:Gabriel_Knight:_Sins_of_the_Fathers property:director resource:Jane_Jensen . resource:Gabriel_Knight:_Sins_of_the_Fathers property:director resource:David_W._Allan }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1056
Q166142 Q43229 Q4830453
USER
How many applications are manufactured by atleast 1 organizations and business enterprises ?
(c(Q43229)|c(Q4830453),P1056,c(Q166142))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1056
type Q166142
type Q43229
action find_reverse_tuple_counts
relation P1056
type Q166142
type Q4830453
value 1
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P1056', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?x ) WHERE { { ?h property:P1056 ?s . ?s rdf:type ontology:Q166142 . ?h rdf:type ontology:Q43229 } UNION { ?h property:P1056 ?s . ?s rdf:type ontology:Q166142 . ?h rdf:type ontology:Q4830453 } } GROUP BY ?s } . FILTER ( ?x >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation product
type application
type organization
action find_reverse_tuple_counts
relation product
type application
type business enterprise
value 1
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'product', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?x ) WHERE { { ?h property:product ?s . ?s rdf:type ontology:application . ?h rdf:type ontology:organization } UNION { ?h property:product ?s . ?s rdf:type ontology:application . ?h rdf:type ontology:business_enterprise } } GROUP BY ?s } . FILTER ( ?x >= 1 ) }
[]
application organization business enterprise
SYSTEM
15
Q1196833 Q16888147 Q5308889 Q1484375 Q18913176 Q21061092 Q19627426 Q45028 Q488886 Q644610 Q1206660 Q210337 Q25706819 Q14838050 Q21662718
(c(Q43229)|c(Q4830453),P1056,c(Q166142))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1056
type Q166142
type Q43229
action find_reverse_tuple_counts
relation P1056
type Q166142
type Q4830453
value 1
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q4830453'}], 'P1056', {'concept': 'Q166142'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?x ) WHERE { { ?h property:P1056 ?s . ?s rdf:type ontology:Q166142 . ?h rdf:type ontology:Q43229 } UNION { ?h property:P1056 ?s . ?s rdf:type ontology:Q166142 . ?h rdf:type ontology:Q4830453 } } GROUP BY ?s } . FILTER ( ?x >= 1 ) }
Sleipnir Halo 5: Guardians PhpStorm PyCharm Vivaldi Pac-Man 256 Firewatch Halo 4 Flock Opera Mail IntelliJ IDEA media player DGLux5 Outlast Outlast 2
15
action count
action atleast
action union
action find_reverse_tuple_counts
relation product
type application
type organization
action find_reverse_tuple_counts
relation product
type application
type business enterprise
value 1
[[{'concept': 'organization'}, {'concept': 'business enterprise'}], 'product', {'concept': 'application'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?x ) WHERE { { ?h property:product ?s . ?s rdf:type ontology:application . ?h rdf:type ontology:organization } UNION { ?h property:product ?s . ?s rdf:type ontology:application . ?h rdf:type ontology:business_enterprise } } GROUP BY ?s } . FILTER ( ?x >= 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q242613
P161 P364
Q838948
USER
Which works of art have Jane Jensen as actor and were originally created in English language ?
AND((c(Q838948),P161,Q242613), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q242613
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q242613'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?p WHERE { ?p property:P161 resource:Q242613 . ?p property:P364 resource:Q1860 . ?p rdf:type ontology:Q838948 }
English Jane Jensen
action filter_type
action intersection
action find_reverse
entity Jane Jensen
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Jane Jensen'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?p WHERE { ?p property:cast_member resource:Jane_Jensen . ?p property:original_language_of_work resource:English . ?p rdf:type ontology:work_of_art }
[]
work of art
Q1158741
SYSTEM
Tromeo and Juliet
Q1158741
AND((c(Q838948),P161,Q242613), (c(Q838948),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q242613
relation P161
action find_reverse
entity Q1860
relation P364
type Q838948
[ANSWER] have Jane Jensen as actor and were originally created in English language
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q242613'], [{'concept': 'Q838948'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?p WHERE { ?p property:P161 resource:Q242613 . ?p property:P364 resource:Q1860 . ?p rdf:type ontology:Q838948 }
Tromeo and Juliet
Tromeo and Juliet have Jane Jensen as actor and were originally created in English language
Tromeo and Juliet
action filter_type
action intersection
action find_reverse
entity Jane Jensen
relation cast member
action find_reverse
entity English
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Jane Jensen'], [{'concept': 'work of art'}, 'original language of work', 'English']]}
SELECT DISTINCT ?p WHERE { ?p property:cast_member resource:Jane_Jensen . ?p property:original_language_of_work resource:English . ?p rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2082124 Q644433
P400
Q676202
USER
Which system software are the specific platforms for which Gabriel Knight: Sins of the Fathers or The Sims: House Party were released ?
OR((Q644433,P400,c(Q676202)), (Q2082124,P400,c(Q676202)))
action filter_type
action union
action find
entity Q644433
relation P400
action find
entity Q2082124
relation P400
type Q676202
{'OR': [['Q644433', 'P400', {'concept': 'Q676202'}], ['Q2082124', 'P400', {'concept': 'Q676202'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q644433 property:P400 ?b } UNION { resource:Q2082124 property:P400 ?b } } . ?b rdf:type ontology:Q676202 }
The Sims: House Party Gabriel Knight: Sins of the Fathers
action filter_type
action union
action find
entity Gabriel Knight: Sins of the Fathers
relation platform
action find
entity The Sims: House Party
relation platform
type system software
{'OR': [['Gabriel Knight: Sins of the Fathers', 'platform', {'concept': 'system software'}], ['The Sims: House Party', 'platform', {'concept': 'system software'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Gabriel_Knight:_Sins_of_the_Fathers property:platform ?b } UNION { resource:The_Sims:_House_Party property:platform ?b } } . ?b rdf:type ontology:system_software }
[]
system software
Q1406 Q43627 Q170434
SYSTEM
Microsoft Windows, Mac OS, DOS
Q1406 Q43627 Q170434
OR((Q644433,P400,c(Q676202)), (Q2082124,P400,c(Q676202)))
action filter_type
action union
action find
entity Q644433
relation P400
action find
entity Q2082124
relation P400
type Q676202
[ANSWERS] are the specific platforms for which Gabriel Knight: Sins of the Fathers or The Sims: House Party were released
{'OR': [['Q644433', 'P400', {'concept': 'Q676202'}], ['Q2082124', 'P400', {'concept': 'Q676202'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q644433 property:P400 ?b } UNION { resource:Q2082124 property:P400 ?b } } . ?b rdf:type ontology:Q676202 }
Microsoft Windows Mac OS DOS
Microsoft Windows, Mac OS and DOS are the specific platforms for which Gabriel Knight: Sins of the Fathers or The Sims: House Party were released
Microsoft Windows Mac OS DOS
action filter_type
action union
action find
entity Gabriel Knight: Sins of the Fathers
relation platform
action find
entity The Sims: House Party
relation platform
type system software
{'OR': [['Gabriel Knight: Sins of the Fathers', 'platform', {'concept': 'system software'}], ['The Sims: House Party', 'platform', {'concept': 'system software'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Gabriel_Knight:_Sins_of_the_Fathers property:platform ?b } UNION { resource:The_Sims:_House_Party property:platform ?b } } . ?b rdf:type ontology:system_software }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5518036
P400
Q166142
USER
Were Galatea developed to run on those system software ?
(Q5518036,P400,Q1406) (Q5518036,P400,Q43627) (Q5518036,P400,Q170434)
action is_in
entity prev_answer
action find
entity Q5518036
relation P400
['Q5518036', 'P400', 'Q1406'] ['Q5518036', 'P400', 'Q43627'] ['Q5518036', 'P400', 'Q170434']
ASK WHERE { resource:Q5518036 property:P400 ?c . VALUES ( ?c ) { ( resource:Q1406 ) ( resource:Q43627 ) ( resource:Q170434 ) } }
Galatea
action is_in
entity prev_answer
action find
entity Galatea
relation platform
['Galatea', 'platform', 'Microsoft Windows'] ['Galatea', 'platform', 'Mac OS'] ['Galatea', 'platform', 'DOS']
ASK WHERE { resource:Galatea property:platform ?c . VALUES ( ?c ) { ( resource:Microsoft_Windows ) ( resource:Mac_OS ) ( resource:DOS ) } }
[]
application
SYSTEM
NO
(Q5518036,P400,Q1406) (Q5518036,P400,Q43627) (Q5518036,P400,Q170434)
action is_in
entity prev_answer
action find
entity Q5518036
relation P400
[ANSWER]
['Q5518036', 'P400', 'Q1406'] ['Q5518036', 'P400', 'Q43627'] ['Q5518036', 'P400', 'Q170434']
ASK WHERE { resource:Q5518036 property:P400 ?c . VALUES ( ?c ) { ( resource:Q1406 ) ( resource:Q43627 ) ( resource:Q170434 ) } }
No
action is_in
entity prev_answer
action find
entity Galatea
relation platform
['Galatea', 'platform', 'Microsoft Windows'] ['Galatea', 'platform', 'Mac OS'] ['Galatea', 'platform', 'DOS']
ASK WHERE { resource:Galatea property:platform ?c . VALUES ( ?c ) { ( resource:Microsoft_Windows ) ( resource:Mac_OS ) ( resource:DOS ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q1792379 Q386724
USER
Which occupations are demonstrated in max number of art genres or works ?
(c(Q1792379)|c(Q386724),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
[[{'concept': 'Q1792379'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?d ) WHERE { { ?h property:P180 ?y . ?y rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q1792379 } UNION { ?h property:P180 ?y . ?y rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q386724 } } GROUP BY ?y } } . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q1792379 } UNION { ?c property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q386724 } } GROUP BY ?p } . FILTER ( ?f = ?t ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type work
[[{'concept': 'art genre'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?d ) WHERE { { ?h property:depicts ?y . ?y rdf:type ontology:occupation . ?h rdf:type ontology:art_genre } UNION { ?h property:depicts ?y . ?y rdf:type ontology:occupation . ?h rdf:type ontology:work } } GROUP BY ?y } } . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:depicts ?p . ?p rdf:type ontology:occupation . ?c rdf:type ontology:art_genre } UNION { ?c property:depicts ?p . ?p rdf:type ontology:occupation . ?c rdf:type ontology:work } } GROUP BY ?p } . FILTER ( ?f = ?t ) }
[]
occupation art genre work
Q2730732
SYSTEM
equestrian
Q2730732
(c(Q1792379)|c(Q386724),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
[ANSWER] is demonstrated in max number of art genres or works
[[{'concept': 'Q1792379'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?d ) WHERE { { ?h property:P180 ?y . ?y rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q1792379 } UNION { ?h property:P180 ?y . ?y rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q386724 } } GROUP BY ?y } } . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q1792379 } UNION { ?c property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q386724 } } GROUP BY ?p } . FILTER ( ?f = ?t ) }
equestrian
Equestrian is demonstrated in max number of art genres or works
equestrian
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type work
[[{'concept': 'art genre'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?t ) { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?d ) WHERE { { ?h property:depicts ?y . ?y rdf:type ontology:occupation . ?h rdf:type ontology:art_genre } UNION { ?h property:depicts ?y . ?y rdf:type ontology:occupation . ?h rdf:type ontology:work } } GROUP BY ?y } } . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?f ) WHERE { { ?c property:depicts ?p . ?p rdf:type ontology:occupation . ?c rdf:type ontology:art_genre } UNION { ?c property:depicts ?p . ?p rdf:type ontology:occupation . ?c rdf:type ontology:work } } GROUP BY ?p } . FILTER ( ?f = ?t ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q742858 Q18016145
P69 P108
Q163740
USER
Which nonprofit organizations are the alma mater of David W. Allan or are the employers of Pedro A. Sanchez ?
OR((Q18016145,P69,c(Q163740)), (Q742858,P108,c(Q163740)))
action filter_type
action union
action find
entity Q18016145
relation P69
action find
entity Q742858
relation P108
type Q163740
{'OR': [['Q18016145', 'P69', {'concept': 'Q163740'}], ['Q742858', 'P108', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q18016145 property:P69 ?e } UNION { resource:Q742858 property:P108 ?e } } . ?e rdf:type ontology:Q163740 }
Pedro A. Sanchez David W. Allan
action filter_type
action union
action find
entity David W. Allan
relation educated at
action find
entity Pedro A. Sanchez
relation employer
type nonprofit organization
{'OR': [['David W. Allan', 'educated at', {'concept': 'nonprofit organization'}], ['Pedro A. Sanchez', 'employer', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?e WHERE { { { resource:David_W._Allan property:educated_at ?e } UNION { resource:Pedro_A._Sanchez property:employer ?e } } . ?e rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088 Q332498
SYSTEM
Columbia University, Brigham Young University
Q49088 Q332498
OR((Q18016145,P69,c(Q163740)), (Q742858,P108,c(Q163740)))
action filter_type
action union
action find
entity Q18016145
relation P69
action find
entity Q742858
relation P108
type Q163740
[ANSWERS] are the alma mater of David W. Allan or are the employers of Pedro A. Sanchez
{'OR': [['Q18016145', 'P69', {'concept': 'Q163740'}], ['Q742858', 'P108', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q18016145 property:P69 ?e } UNION { resource:Q742858 property:P108 ?e } } . ?e rdf:type ontology:Q163740 }
Columbia University Brigham Young University
Columbia University and Brigham Young University are the alma mater of David W. Allan or are the employers of Pedro A. Sanchez
Columbia University Brigham Young University
action filter_type
action union
action find
entity David W. Allan
relation educated at
action find
entity Pedro A. Sanchez
relation employer
type nonprofit organization
{'OR': [['David W. Allan', 'educated at', {'concept': 'nonprofit organization'}], ['Pedro A. Sanchez', 'employer', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?e WHERE { { { resource:David_W._Allan property:educated_at ?e } UNION { resource:Pedro_A._Sanchez property:employer ?e } } . ?e rdf:type ontology:nonprofit_organization }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P466
Q163740 Q483110 Q1076486
USER
Which nonprofit organizations are occupants of more number of stadia and sports venues than that nonprofit organization ?
(c(Q483110)|c(Q1076486),P466,c(Q163740))
[[{'concept': 'Q483110'}, {'concept': 'Q1076486'}], 'P466', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P466 ?y } UNION { ?x property:P466 ?y } } . ?z rdf:type ontology:Q483110 . ?y rdf:type ontology:Q163740 . ?x rdf:type ontology:Q1076486 }
[[{'concept': 'stadium'}, {'concept': 'sports venue'}], 'occupant', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { { { ?z property:occupant ?y } UNION { ?x property:occupant ?y } } . ?z rdf:type ontology:stadium . ?y rdf:type ontology:nonprofit_organization . ?x rdf:type ontology:sports_venue }
[]
nonprofit organization stadium sports venue
Comparative|More/Less|Mult. entity type|Clarification
Q332498
SYSTEM
Did you mean Brigham Young University ?
(c(Q483110)|c(Q1076486),P466,c(Q163740))
[ANSWER]
[[{'concept': 'Q483110'}, {'concept': 'Q1076486'}], 'P466', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P466 ?y } UNION { ?x property:P466 ?y } } . ?z rdf:type ontology:Q483110 . ?y rdf:type ontology:Q163740 . ?x rdf:type ontology:Q1076486 }
Did you mean Brigham Young University ?
Brigham Young University
[[{'concept': 'stadium'}, {'concept': 'sports venue'}], 'occupant', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { { { ?z property:occupant ?y } UNION { ?x property:occupant ?y } } . ?z rdf:type ontology:stadium . ?y rdf:type ontology:nonprofit_organization . ?x rdf:type ontology:sports_venue }
[]
Comparative Reasoning (All)
USER
No, I meant Columbia University. Could you tell me the answer for that?
(c(Q483110)|c(Q1076486),P466,c(Q163740))
Q49088
[[{'concept': 'Q483110'}, {'concept': 'Q1076486'}], 'P466', {'concept': 'Q163740'}]
[[{'concept': 'stadium'}, {'concept': 'sports venue'}], 'occupant', {'concept': 'nonprofit organization'}]
[]
Q41506 Q130965 Q4564294
SYSTEM
Stanford University, Fordham University, Tusculum College
Q622137 Q6823850 Q7617251 Q4887262 Q4962515 Q1605513 Q3445010 Q4564294 Q1138374 Q2809940 Q1949773 Q8029049 Q842909 Q41506 Q6063486 Q130965 Q4568893 Q1466001 Q1524124 Q4569311 Q2894666 Q5105527 Q1540588 Q6765664 Q2164222 Q1887879 Q935018 Q3443493 Q6659715
(c(Q483110)|c(Q1076486),P466,c(Q163740))
[ANSWERS] are occupants of more number of stadia and sports venues than that nonprofit organization
[[{'concept': 'Q483110'}, {'concept': 'Q1076486'}], 'P466', {'concept': 'Q163740'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P466 ?y } UNION { ?x property:P466 ?y } } . ?z rdf:type ontology:Q483110 . ?y rdf:type ontology:Q163740 . ?x rdf:type ontology:Q1076486 }
Lehigh University Methodist University Stillman College Benedict College Brevard College Wagner College Carson–Newman College Tusculum College St. John's University (New York City) Springfield College Seton Hill University Wofford College Rice University Stanford University Iona College Fordham University Elon University Villanova University Morehouse College Evangel University Bellarmine University Chowan University Gozo Football Association Marist College Rollins College University of San Francisco Jacksonville University Shaw University Livingstone College
Stanford University, Fordham University and Tusculum College are occupants of more number of stadia and sports venues than that nonprofit organization
Stanford University Fordham University Tusculum College
[[{'concept': 'stadium'}, {'concept': 'sports venue'}], 'occupant', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?y WHERE { { { ?z property:occupant ?y } UNION { ?x property:occupant ?y } } . ?z rdf:type ontology:stadium . ?y rdf:type ontology:nonprofit_organization . ?x rdf:type ontology:sports_venue }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P138
Q502895 Q355304 Q163740
USER
How many nonprofit organizations come from approximately the same number of people or watercourses as that nonprofit organization ?
(c(Q163740),P138,c(Q502895)|c(Q355304))
[{'concept': 'Q163740'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:P138 ?p } . ?z rdf:type ontology:Q163740 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q355304 }
[{'concept': 'nonprofit organization'}, 'named after', [{'concept': 'common name'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:named_after ?p } . ?z rdf:type ontology:nonprofit_organization . ?y rdf:type ontology:common_name . ?x rdf:type ontology:watercourse }
[]
common name watercourse nonprofit organization
Comparative|Count over More/Less|Mult. entity type|Clarification
Q4564294
SYSTEM
Did you mean Tusculum College ?
(c(Q163740),P138,c(Q502895)|c(Q355304))
[ANSWER]
[{'concept': 'Q163740'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:P138 ?p } . ?z rdf:type ontology:Q163740 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q355304 }
Did you mean Tusculum College ?
Tusculum College
[{'concept': 'nonprofit organization'}, 'named after', [{'concept': 'common name'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:named_after ?p } . ?z rdf:type ontology:nonprofit_organization . ?y rdf:type ontology:common_name . ?x rdf:type ontology:watercourse }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Stanford University. Could you tell me the answer for that?
(c(Q163740),P138,c(Q502895)|c(Q355304))
Q41506
[{'concept': 'Q163740'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q355304'}]]
[{'concept': 'nonprofit organization'}, 'named after', [{'concept': 'common name'}, {'concept': 'watercourse'}]]
[]
SYSTEM
59
Q11923259 Q1012699 Q11913506 Q22222766 Q1047060 Q49167 Q49166 Q6304221 Q1623314 Q11923271 Q7791286 Q4127559 Q165715 Q7367225 Q7901181 Q5492094 Q6800570 Q5045016 Q313993 Q1176629 Q18202230 Q746613 Q3444269 Q13371 Q6705538 Q413881 Q1605137 Q1809286 Q5715907 Q6538902 Q41506 Q360551 Q432637 Q1132041 Q7525103 Q26837211 Q5373734 Q4775038 Q6724723 Q49115 Q5491762 Q585828 Q1164229 Q845701 Q27044152 Q193727 Q1056373 Q157033 Q23532020 Q1559558 Q3113011 Q7291901 Q158085 Q2471216 Q1068752 Q1515763 Q29052 Q479853 Q7291803
(c(Q163740),P138,c(Q502895)|c(Q355304))
[ANSWER]
[{'concept': 'Q163740'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P138 ?y } UNION { ?z property:P138 ?x } } . ?z rdf:type ontology:Q163740 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q355304 }
Cuixart Foundation Bryant University Centro Cultural García Lorca Terry Fox foundation Case Western Reserve University Wesleyan University Williams College Judson College Hofstra University Fundació Josep Pla Thomas Jefferson School of Law Grabar Art Conservation Center Instituto Cervantes Rosalind Franklin University of Medicine and Science Ursinus College Franklin W. Olin College of Engineering McCormick Foundation Caroline Chisholm School Pegnesischer Blumenorden David Sheldrick Wildlife Trust Deutsche Mozart-Gesellschaft Astan Quds Razavi Walsh University Harvard University Luther College Académie Charles Cros Hendrix College Lawrence University Henrietta Barnett School Li Ka Shing Foundation Stanford University Adolf-Clarenbach-Haus George Washington University Corcoran College of Art and Design Sinte Gleska University Shackleton Foundation Emory and Henry College Antioch University Midwest Macmillan Cancer Support Cornell University Franklin Pierce University Seton Hall University University of St. Thomas Soros Foundation Ida P. Rolf Fascia Research Foundation Johns Hopkins University Gallaudet University Goethe-Institut Blicher Society Görres society Hamilton College Randolph–Macon College Max Planck Society Thomas Jefferson University Howard University St. Olaf College Vanderbilt University Bach Gesellschaft Randolph College
59
[{'concept': 'nonprofit organization'}, 'named after', [{'concept': 'common name'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:named_after ?y } UNION { ?z property:named_after ?x } } . ?z rdf:type ontology:nonprofit_organization . ?y rdf:type ontology:common_name . ?x rdf:type ontology:watercourse }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q607628 Q644433
P400 P306
Q676202
USER
Which system software are the platforms for which Gabriel Knight: Sins of the Fathers were developed or are linked with OCRopus ?
OR((Q644433,P400,c(Q676202)), (Q607628,P306,c(Q676202)))
action filter_type
action union
action find
entity Q644433
relation P400
action find
entity Q607628
relation P306
type Q676202
{'OR': [['Q644433', 'P400', {'concept': 'Q676202'}], ['Q607628', 'P306', {'concept': 'Q676202'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q676202 . { { resource:Q607628 property:P306 ?j } UNION { resource:Q644433 property:P400 ?j } } }
OCRopus Gabriel Knight: Sins of the Fathers
action filter_type
action union
action find
entity Gabriel Knight: Sins of the Fathers
relation platform
action find
entity OCRopus
relation operating system
type system software
{'OR': [['Gabriel Knight: Sins of the Fathers', 'platform', {'concept': 'system software'}], ['OCRopus', 'operating system', {'concept': 'system software'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:system_software . { { resource:OCRopus property:operating_system ?j } UNION { resource:Gabriel_Knight:_Sins_of_the_Fathers property:platform ?j } } }
[]
system software
Q1406 Q43627 Q388 Q170434
SYSTEM
Microsoft Windows, Mac OS, Linux, DOS
Q1406 Q43627 Q388 Q170434
OR((Q644433,P400,c(Q676202)), (Q607628,P306,c(Q676202)))
action filter_type
action union
action find
entity Q644433
relation P400
action find
entity Q607628
relation P306
type Q676202
[ANSWERS] are the platforms for which Gabriel Knight: Sins of the Fathers were developed or are linked with OCRopus
{'OR': [['Q644433', 'P400', {'concept': 'Q676202'}], ['Q607628', 'P306', {'concept': 'Q676202'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q676202 . { { resource:Q607628 property:P306 ?j } UNION { resource:Q644433 property:P400 ?j } } }
Microsoft Windows Mac OS Linux DOS
Microsoft Windows, Mac OS, Linux and DOS are the platforms for which Gabriel Knight: Sins of the Fathers were developed or are linked with OCRopus
Microsoft Windows Mac OS Linux DOS
action filter_type
action union
action find
entity Gabriel Knight: Sins of the Fathers
relation platform
action find
entity OCRopus
relation operating system
type system software
{'OR': [['Gabriel Knight: Sins of the Fathers', 'platform', {'concept': 'system software'}], ['OCRopus', 'operating system', {'concept': 'system software'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:system_software . { { resource:OCRopus property:operating_system ?j } UNION { resource:Gabriel_Knight:_Sins_of_the_Fathers property:platform ?j } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3868510
P400
Q166142
USER
Were Mushihimesama Futari developed to run on those system software ?
(Q3868510,P400,Q1406) (Q3868510,P400,Q43627) (Q3868510,P400,Q388) (Q3868510,P400,Q170434)
action is_in
entity prev_answer
action find
entity Q3868510
relation P400
['Q3868510', 'P400', 'Q1406'] ['Q3868510', 'P400', 'Q43627'] ['Q3868510', 'P400', 'Q388'] ['Q3868510', 'P400', 'Q170434']
ASK WHERE { resource:Q3868510 property:P400 ?f . VALUES ( ?f ) { ( resource:Q1406 ) ( resource:Q43627 ) ( resource:Q388 ) } }
Mushihimesama Futari
action is_in
entity prev_answer
action find
entity Mushihimesama Futari
relation platform
['Mushihimesama Futari', 'platform', 'Microsoft Windows'] ['Mushihimesama Futari', 'platform', 'Mac OS'] ['Mushihimesama Futari', 'platform', 'Linux'] ['Mushihimesama Futari', 'platform', 'DOS']
ASK WHERE { resource:Mushihimesama_Futari property:platform ?f . VALUES ( ?f ) { ( resource:Microsoft_Windows ) ( resource:Mac_OS ) ( resource:Linux ) } }
[]
application
SYSTEM
NO
(Q3868510,P400,Q1406) (Q3868510,P400,Q43627) (Q3868510,P400,Q388) (Q3868510,P400,Q170434)
action is_in
entity prev_answer
action find
entity Q3868510
relation P400
[ANSWER]
['Q3868510', 'P400', 'Q1406'] ['Q3868510', 'P400', 'Q43627'] ['Q3868510', 'P400', 'Q388'] ['Q3868510', 'P400', 'Q170434']
ASK WHERE { resource:Q3868510 property:P400 ?f . VALUES ( ?f ) { ( resource:Q1406 ) ( resource:Q43627 ) ( resource:Q388 ) } }
No
action is_in
entity prev_answer
action find
entity Mushihimesama Futari
relation platform
['Mushihimesama Futari', 'platform', 'Microsoft Windows'] ['Mushihimesama Futari', 'platform', 'Mac OS'] ['Mushihimesama Futari', 'platform', 'Linux'] ['Mushihimesama Futari', 'platform', 'DOS']
ASK WHERE { resource:Mushihimesama_Futari property:platform ?f . VALUES ( ?f ) { ( resource:Microsoft_Windows ) ( resource:Mac_OS ) ( resource:Linux ) } }
[]