Simple Question (Direct)
Simple Question
Q15830931
P19
Q56061
USER
Where was Anderson Cardoso born ?
(Q15830931,P19,c(Q56061))
action filter_type
action find
entity Q15830931
relation P19
type Q56061
['Q15830931', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q15830931 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Anderson Cardoso
action filter_type
action find
entity Anderson Cardoso
relation place of birth
type administrative territorial entity
['Anderson Cardoso', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Anderson_Cardoso property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q40269
SYSTEM
Porto Alegre
Q40269
(Q15830931,P19,c(Q56061))
action filter_type
action find
entity Q15830931
relation P19
type Q56061
Anderson Cardoso was born in [ANSWER]
['Q15830931', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q15830931 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Porto Alegre
Anderson Cardoso was born in Porto Alegre
Porto Alegre
action filter_type
action find
entity Anderson Cardoso
relation place of birth
type administrative territorial entity
['Anderson Cardoso', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Anderson_Cardoso property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15830931
P106
Q12737077
USER
What is the job of Anderson Cardoso ?
(Q15830931,P106,c(Q12737077))
action filter_type
action find
entity Q15830931
relation P106
type Q12737077
['Q15830931', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15830931 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Anderson Cardoso
action filter_type
action find
entity Anderson Cardoso
relation occupation
type occupation
['Anderson Cardoso', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Anderson_Cardoso property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15830931,P106,c(Q12737077))
action filter_type
action find
entity Q15830931
relation P106
type Q12737077
The job of Anderson Cardoso is an [ANSWER]
['Q15830931', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15830931 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
The job of Anderson Cardoso is an association football player
association football player
action filter_type
action find
entity Anderson Cardoso
relation occupation
type occupation
['Anderson Cardoso', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Anderson_Cardoso property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P101
Q502895
USER
Which person has specialisation in that occupation ?
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?v WHERE { ?v property:P101 resource:Q937857 . ?v rdf:type ontology:Q502895 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work resource:association_football_player . ?v rdf:type ontology:common_name }
[]
common name
Q2089026
SYSTEM
Akaki Devadze
Q2089026
(c(Q502895),P101,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] has specialisation in that occupation
[{'concept': 'Q502895'}, 'P101', 'Q937857']
SELECT DISTINCT ?v WHERE { ?v property:P101 resource:Q937857 . ?v rdf:type ontology:Q502895 }
Akaki Devadze
Akaki Devadze has specialisation in that occupation
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football player']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work resource:association_football_player . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q354346 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player and were Emmanuel Olisadebe a part of ?
AND((Q937857,P425,c(Q349)), (Q354346,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q354346
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q354346', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?s WHERE { resource:Q354346 property:P641 ?s . resource:Q937857 property:P425 ?s . ?s rdf:type ontology:Q349 }
Emmanuel Olisadebe association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Emmanuel Olisadebe
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Emmanuel Olisadebe', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?s WHERE { resource:Emmanuel_Olisadebe property:sport ?s . resource:association_football_player property:field_of_this_occupation ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q354346,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q354346
relation P641
type Q349
Player [ANSWER] is associated with the field of occupation [ANSWER] player and were Emmanuel Olisadebe a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q354346', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?s WHERE { resource:Q354346 property:P641 ?s . resource:Q937857 property:P425 ?s . ?s rdf:type ontology:Q349 }
association football
Player association football is associated with the field of occupation association football player and were Emmanuel Olisadebe a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Emmanuel Olisadebe
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Emmanuel Olisadebe', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?s WHERE { resource:Emmanuel_Olisadebe property:sport ?s . resource:association_football_player property:field_of_this_occupation ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40269
P159
Q43229
USER
Which organizations have HQ at Porto Alegre ?
(c(Q43229),P159,Q40269)
action filter_type
action find_reverse
entity Q40269
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q40269']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q40269 . ?i rdf:type ontology:Q43229 }
Porto Alegre
action filter_type
action find_reverse
entity Porto Alegre
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Porto Alegre']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Porto_Alegre . ?i rdf:type ontology:organization }
[]
organization
Q1511043 Q1187505 Q3040938
SYSTEM
Gerdau, Taurus, Ubisoft São Paulo
Q7390937 Q5155379 Q3064726 Q3064071 Q3040938 Q5058597 Q5010251 Q1187505 Q17010354 Q3616392 Q5359474 Q1511043 Q4355024
(c(Q43229),P159,Q40269)
action filter_type
action find_reverse
entity Q40269
relation P159
type Q43229
[ANSWERS] have HQ at Porto Alegre
[{'concept': 'Q43229'}, 'P159', 'Q40269']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q40269 . ?i rdf:type ontology:Q43229 }
SLC Agrícola Companhia Zaffari Grupo RBS Lojas Renner Ubisoft São Paulo Celulose Irani CEITEC Taurus Elipse Software Besson, Gobbi Eletrobras CGTEE Gerdau Editora Globo
Gerdau, Taurus and Ubisoft São Paulo have HQ at Porto Alegre
Gerdau Taurus Ubisoft São Paulo
action filter_type
action find_reverse
entity Porto Alegre
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Porto Alegre']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Porto_Alegre . ?i rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3040938
P127
Q28640
USER
Which profession owned that organization ?
(Q3040938,P127,c(Q28640))
action filter_type
action find
entity Q3040938
relation P127
type Q28640
['Q3040938', 'P127', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { resource:Q3040938 property:P127 ?v . ?v rdf:type ontology:Q28640 }
Ubisoft São Paulo
action filter_type
action find
entity Ubisoft São Paulo
relation owned by
type profession
['Ubisoft São Paulo', 'owned by', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { resource:Ubisoft_São_Paulo property:owned_by ?v . ?v rdf:type ontology:profession }
[]
profession
Clarification for simple ques.
Q3040938
SYSTEM
Did you mean Ubisoft São Paulo ?
Q1511043 Q1187505 Q3040938
(Q1511043,P127,c(Q28640)) (Q1187505,P127,c(Q28640)) (Q3040938,P127,c(Q28640))
[ANSWER]
['Q1511043', 'P127', {'concept': 'Q28640'}] ['Q1187505', 'P127', {'concept': 'Q28640'}] ['Q3040938', 'P127', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { resource:Q3040938 property:P127 ?v . ?v rdf:type ontology:Q28640 }
Gerdau Taurus Ubisoft São Paulo
Did you mean Ubisoft São Paulo ?
Ubisoft São Paulo
['Gerdau', 'owned by', {'concept': 'profession'}] ['Taurus', 'owned by', {'concept': 'profession'}] ['Ubisoft São Paulo', 'owned by', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { resource:Ubisoft_São_Paulo property:owned_by ?v . ?v rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3040938,P127,c(Q28640))
['Q3040938', 'P127', {'concept': 'Q28640'}]
['Ubisoft São Paulo', 'owned by', {'concept': 'profession'}]
[]
Q188273
SYSTEM
Ubisoft
Q188273
(Q3040938,P127,c(Q28640))
action filter_type
action find
entity Q3040938
relation P127
type Q28640
[ANSWER] owned that organization
['Q3040938', 'P127', {'concept': 'Q28640'}]
SELECT DISTINCT ?v WHERE { resource:Q3040938 property:P127 ?v . ?v rdf:type ontology:Q28640 }
Ubisoft
Ubisoft owned that organization
Ubisoft
action filter_type
action find
entity Ubisoft São Paulo
relation owned by
type profession
['Ubisoft São Paulo', 'owned by', {'concept': 'profession'}]
SELECT DISTINCT ?v WHERE { resource:Ubisoft_São_Paulo property:owned_by ?v . ?v rdf:type ontology:profession }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1454
Q2712963 Q1269299 Q28640
USER
Which professions have a legal form of greater number of abstract nouns and business organizations than that profession ?
(c(Q28640),P1454,c(Q2712963)|c(Q1269299))
action greater
action union
action find_tuple_counts
relation P1454
type Q28640
type Q2712963
action find_tuple_counts
relation P1454
type Q28640
type Q1269299
action count
action filter_multi_types
action find
entity Q188273
relation P1454
type Q2712963
type Q1269299
[{'concept': 'Q28640'}, 'P1454', [{'concept': 'Q2712963'}, {'concept': 'Q1269299'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q188273 property:P1454 ?d . { { ?d rdf:type ontology:Q2712963 } UNION { ?d rdf:type ontology:Q1269299 } } } } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?k WHERE { { ?k property:P1454 ?p . ?k rdf:type ontology:Q28640 . ?p rdf:type ontology:Q2712963 } UNION { ?k property:P1454 ?p . ?k rdf:type ontology:Q28640 . ?p rdf:type ontology:Q1269299 } } GROUP BY ?k } }
action greater
action union
action find_tuple_counts
relation legal form
type profession
type abstract noun
action find_tuple_counts
relation legal form
type profession
type type of business entity
action count
action filter_multi_types
action find
entity Ubisoft
relation legal form
type abstract noun
type type of business entity
[{'concept': 'profession'}, 'legal form', [{'concept': 'abstract noun'}, {'concept': 'type of business entity'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Ubisoft property:legal_form ?d . { { ?d rdf:type ontology:abstract_noun } UNION { ?d rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?k WHERE { { ?k property:legal_form ?p . ?k rdf:type ontology:profession . ?p rdf:type ontology:abstract_noun } UNION { ?k property:legal_form ?p . ?k rdf:type ontology:profession . ?p rdf:type ontology:type_of_business_entity } } GROUP BY ?k } }
[]
abstract noun type of business entity profession
SYSTEM
0
(c(Q28640),P1454,c(Q2712963)|c(Q1269299))
action greater
action union
action find_tuple_counts
relation P1454
type Q28640
type Q2712963
action find_tuple_counts
relation P1454
type Q28640
type Q1269299
action count
action filter_multi_types
action find
entity Q188273
relation P1454
type Q2712963
type Q1269299
[ANSWER]
[{'concept': 'Q28640'}, 'P1454', [{'concept': 'Q2712963'}, {'concept': 'Q1269299'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q188273 property:P1454 ?d . { { ?d rdf:type ontology:Q2712963 } UNION { ?d rdf:type ontology:Q1269299 } } } } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?k WHERE { { ?k property:P1454 ?p . ?k rdf:type ontology:Q28640 . ?p rdf:type ontology:Q2712963 } UNION { ?k property:P1454 ?p . ?k rdf:type ontology:Q28640 . ?p rdf:type ontology:Q1269299 } } GROUP BY ?k } }
0
action greater
action union
action find_tuple_counts
relation legal form
type profession
type abstract noun
action find_tuple_counts
relation legal form
type profession
type type of business entity
action count
action filter_multi_types
action find
entity Ubisoft
relation legal form
type abstract noun
type type of business entity
[{'concept': 'profession'}, 'legal form', [{'concept': 'abstract noun'}, {'concept': 'type of business entity'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Ubisoft property:legal_form ?d . { { ?d rdf:type ontology:abstract_noun } UNION { ?d rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?z > ?u ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) ?k WHERE { { ?k property:legal_form ?p . ?k rdf:type ontology:profession . ?p rdf:type ontology:abstract_noun } UNION { ?k property:legal_form ?p . ?k rdf:type ontology:profession . ?p rdf:type ontology:type_of_business_entity } } GROUP BY ?k } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12725093 Q3040938
P1383 P159
Q56061
USER
Which administrative territories are the head offices of Ubisoft São Paulo or are contained in Românești ?
OR((Q3040938,P159,c(Q56061)), (Q12725093,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q3040938
relation P159
action find
entity Q12725093
relation P1383
type Q56061
{'OR': [['Q3040938', 'P159', {'concept': 'Q56061'}], ['Q12725093', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q3040938 property:P159 ?a } UNION { resource:Q12725093 property:P1383 ?a } } . ?a rdf:type ontology:Q56061 }
Românești Ubisoft São Paulo
action filter_type
action union
action find
entity Ubisoft São Paulo
relation headquarters location
action find
entity Românești
relation contains settlement
type administrative territorial entity
{'OR': [['Ubisoft São Paulo', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Românești', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Ubisoft_São_Paulo property:headquarters_location ?a } UNION { resource:Românești property:contains_settlement ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q40269 Q2534357 Q12100049 Q12152188 Q12148763
SYSTEM
Porto Alegre, Românești, Dămideni, Sărata, Românești-Vale
Q40269 Q2534357 Q12100049 Q12152188 Q12148763
OR((Q3040938,P159,c(Q56061)), (Q12725093,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q3040938
relation P159
action find
entity Q12725093
relation P1383
type Q56061
[ANSWERS] are the head offices of Ubisoft São Paulo or are contained in Românești
{'OR': [['Q3040938', 'P159', {'concept': 'Q56061'}], ['Q12725093', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q3040938 property:P159 ?a } UNION { resource:Q12725093 property:P1383 ?a } } . ?a rdf:type ontology:Q56061 }
Porto Alegre Românești Dămideni Sărata Românești-Vale
Porto Alegre, Românești, Dămideni, Sărata and Românești-Vale are the head offices of Ubisoft São Paulo or are contained in Românești
Porto Alegre Românești Dămideni Sărata Românești-Vale
action filter_type
action union
action find
entity Ubisoft São Paulo
relation headquarters location
action find
entity Românești
relation contains settlement
type administrative territorial entity
{'OR': [['Ubisoft São Paulo', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Românești', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Ubisoft_São_Paulo property:headquarters_location ?a } UNION { resource:Românești property:contains_settlement ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]