Simple Question (Direct)
Simple Question
Q13534360
P921
Q11019
USER
What was The Night Belongs to Us mainly about ?
(Q13534360,P921,c(Q11019))
action filter_type
action find
entity Q13534360
relation P921
type Q11019
['Q13534360', 'P921', {'concept': 'Q11019'}]
SELECT DISTINCT ?c WHERE { resource:Q13534360 property:P921 ?c . ?c rdf:type ontology:Q11019 }
The Night Belongs to Us
action filter_type
action find
entity The Night Belongs to Us
relation main subject
type machine
['The Night Belongs to Us', 'main subject', {'concept': 'machine'}]
SELECT DISTINCT ?c WHERE { resource:The_Night_Belongs_to_Us property:main_subject ?c . ?c rdf:type ontology:machine }
[]
machine
Q1420
SYSTEM
automobile
Q1420
(Q13534360,P921,c(Q11019))
action filter_type
action find
entity Q13534360
relation P921
type Q11019
Mainly an [ANSWER] The Night was Belongs to Us
['Q13534360', 'P921', {'concept': 'Q11019'}]
SELECT DISTINCT ?c WHERE { resource:Q13534360 property:P921 ?c . ?c rdf:type ontology:Q11019 }
automobile
Mainly an automobile The Night was Belongs to Us
automobile
action filter_type
action find
entity The Night Belongs to Us
relation main subject
type machine
['The Night Belongs to Us', 'main subject', {'concept': 'machine'}]
SELECT DISTINCT ?c WHERE { resource:The_Night_Belongs_to_Us property:main_subject ?c . ?c rdf:type ontology:machine }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1420
P366
Q16058315
USER
Which combustion engines mainly plays the role of a that machine ?
(c(Q16058315),P366,Q1420)
action filter_type
action find_reverse
entity Q1420
relation P366
type Q16058315
[{'concept': 'Q16058315'}, 'P366', 'Q1420']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q16058315 . ?d property:P366 resource:Q1420 }
automobile
action filter_type
action find_reverse
entity automobile
relation use
type combustion engine
[{'concept': 'combustion engine'}, 'use', 'automobile']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:combustion_engine . ?d property:use resource:automobile }
[]
combustion engine
Q4836090 Q15727729
SYSTEM
BMW B37, BMW B47
Q4836090 Q15727729
(c(Q16058315),P366,Q1420)
action filter_type
action find_reverse
entity Q1420
relation P366
type Q16058315
[ANSWERS] mainly play the role of a that machine
[{'concept': 'Q16058315'}, 'P366', 'Q1420']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q16058315 . ?d property:P366 resource:Q1420 }
BMW B37 BMW B47
BMW B37 and BMW B47 mainly play the role of a that machine
BMW B37 BMW B47
action filter_type
action find_reverse
entity automobile
relation use
type combustion engine
[{'concept': 'combustion engine'}, 'use', 'automobile']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:combustion_engine . ?d property:use resource:automobile }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1157579 Q4836090
P176
Q4830453
USER
Which business enterprises are the producers of BMW B37 or Daihatsu Taft ?
OR((Q4836090,P176,c(Q4830453)), (Q1157579,P176,c(Q4830453)))
action filter_type
action union
action find
entity Q4836090
relation P176
action find
entity Q1157579
relation P176
type Q4830453
{'OR': [['Q4836090', 'P176', {'concept': 'Q4830453'}], ['Q1157579', 'P176', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?w ) { ( resource:Q4836090 ) ( resource:Q1157579 ) } . ?w property:P176 ?d } . ?d rdf:type ontology:Q4830453 }
Daihatsu Taft BMW B37
action filter_type
action union
action find
entity BMW B37
relation manufacturer
action find
entity Daihatsu Taft
relation manufacturer
type business enterprise
{'OR': [['BMW B37', 'manufacturer', {'concept': 'business enterprise'}], ['Daihatsu Taft', 'manufacturer', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?w ) { ( resource:BMW_B37 ) ( resource:Daihatsu_Taft ) } . ?w property:manufacturer ?d } . ?d rdf:type ontology:business_enterprise }
[]
business enterprise
Q53268 Q26678
SYSTEM
Toyota, BMW
Q53268 Q26678
OR((Q4836090,P176,c(Q4830453)), (Q1157579,P176,c(Q4830453)))
action filter_type
action union
action find
entity Q4836090
relation P176
action find
entity Q1157579
relation P176
type Q4830453
[ANSWERS] are the producers of BMW B37 or Daihatsu Taft
{'OR': [['Q4836090', 'P176', {'concept': 'Q4830453'}], ['Q1157579', 'P176', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?w ) { ( resource:Q4836090 ) ( resource:Q1157579 ) } . ?w property:P176 ?d } . ?d rdf:type ontology:Q4830453 }
Toyota BMW
Toyota and BMW are the producers of BMW B37 or Daihatsu Taft
Toyota BMW
action filter_type
action union
action find
entity BMW B37
relation manufacturer
action find
entity Daihatsu Taft
relation manufacturer
type business enterprise
{'OR': [['BMW B37', 'manufacturer', {'concept': 'business enterprise'}], ['Daihatsu Taft', 'manufacturer', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?w ) { ( resource:BMW_B37 ) ( resource:Daihatsu_Taft ) } . ?w property:manufacturer ?d } . ?d rdf:type ontology:business_enterprise }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4850539 Q1157579
P137 P176
Q4830453
USER
Which business enterprises are the manufacturers of Daihatsu Taft or operates Baldwin DR-12-8-1500/2 ?
OR((Q1157579,P176,c(Q4830453)), (Q4850539,P137,c(Q4830453)))
action filter_type
action union
action find
entity Q1157579
relation P176
action find
entity Q4850539
relation P137
type Q4830453
{'OR': [['Q1157579', 'P176', {'concept': 'Q4830453'}], ['Q4850539', 'P137', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1157579 property:P176 ?p } UNION { resource:Q4850539 property:P137 ?p } } . ?p rdf:type ontology:Q4830453 }
Baldwin DR-12-8-1500/2 Daihatsu Taft
action filter_type
action union
action find
entity Daihatsu Taft
relation manufacturer
action find
entity Baldwin DR-12-8-1500/2
relation operator
type business enterprise
{'OR': [['Daihatsu Taft', 'manufacturer', {'concept': 'business enterprise'}], ['Baldwin DR-12-8-1500/2', 'operator', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Daihatsu_Taft property:manufacturer ?p } UNION { resource:Baldwin_DR-12-8-1500/2 property:operator ?p } } . ?p rdf:type ontology:business_enterprise }
[]
business enterprise
Q53268 Q1197895 Q175292 Q3069734
SYSTEM
Toyota, Pennsylvania Railroad, Seaboard Air Line Railroad, Ferrocarriles Nacionales de México
Q53268 Q1197895 Q175292 Q3069734
OR((Q1157579,P176,c(Q4830453)), (Q4850539,P137,c(Q4830453)))
action filter_type
action union
action find
entity Q1157579
relation P176
action find
entity Q4850539
relation P137
type Q4830453
Railroad [ANSWERS] are the manufacturers of Daihatsu Taft or operates Baldwin DR-12-8-1500/2
{'OR': [['Q1157579', 'P176', {'concept': 'Q4830453'}], ['Q4850539', 'P137', {'concept': 'Q4830453'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1157579 property:P176 ?p } UNION { resource:Q4850539 property:P137 ?p } } . ?p rdf:type ontology:Q4830453 }
Toyota Pennsylvania Railroad Seaboard Air Line Railroad Ferrocarriles Nacionales de México
Railroad Toyota, Pennsylvania Railroad, Seaboard Air Line Railroad and Ferrocarriles Nacionales de México are the manufacturers of Daihatsu Taft or operates Baldwin DR-12-8-1500/2
Toyota Pennsylvania Railroad Seaboard Air Line Railroad Ferrocarriles Nacionales de México
action filter_type
action union
action find
entity Daihatsu Taft
relation manufacturer
action find
entity Baldwin DR-12-8-1500/2
relation operator
type business enterprise
{'OR': [['Daihatsu Taft', 'manufacturer', {'concept': 'business enterprise'}], ['Baldwin DR-12-8-1500/2', 'operator', {'concept': 'business enterprise'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Daihatsu_Taft property:manufacturer ?p } UNION { resource:Baldwin_DR-12-8-1500/2 property:operator ?p } } . ?p rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1420
P186
Q838948
USER
Which works of art are constructed automobile ?
(c(Q838948),P186,Q1420)
action filter_type
action find_reverse
entity Q1420
relation P186
type Q838948
[{'concept': 'Q838948'}, 'P186', 'Q1420']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P186 resource:Q1420 }
automobile
action filter_type
action find_reverse
entity automobile
relation material used
type work of art
[{'concept': 'work of art'}, 'material used', 'automobile']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:material_used resource:automobile }
[]
work of art
Q254602 Q1036073
SYSTEM
Cadillac Ranch, Carhenge
Q254602 Q1036073
(c(Q838948),P186,Q1420)
action filter_type
action find_reverse
entity Q1420
relation P186
type Q838948
[ANSWERS] are constructed automobile
[{'concept': 'Q838948'}, 'P186', 'Q1420']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P186 resource:Q1420 }
Cadillac Ranch Carhenge
Cadillac Ranch and Carhenge are constructed automobile
Cadillac Ranch Carhenge
action filter_type
action find_reverse
entity automobile
relation material used
type work of art
[{'concept': 'work of art'}, 'material used', 'automobile']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:material_used resource:automobile }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q254602 Q1036073
P136
Q483394
USER
What can be considered as category for those works of art ?
(Q254602,P136,c(Q483394)) (Q1036073,P136,c(Q483394))
action filter_type
action find
entity prev_answer
relation P136
type Q483394
['Q254602', 'P136', {'concept': 'Q483394'}] ['Q1036073', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q483394 . VALUES ( ?b ) { ( resource:Q254602 ) ( resource:Q1036073 ) } . ?b property:P136 ?j }
Cadillac Ranch Carhenge
action filter_type
action find
entity prev_answer
relation genre
type genre
['Cadillac Ranch', 'genre', {'concept': 'genre'}] ['Carhenge', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:genre . VALUES ( ?b ) { ( resource:Cadillac_Ranch ) ( resource:Carhenge ) } . ?b property:genre ?j }
[]
genre
Q557141 Q557141
SYSTEM
public art
Q557141 Q557141
(Q254602,P136,c(Q483394)) (Q1036073,P136,c(Q483394))
action filter_type
action find
entity prev_answer
relation P136
type Q483394
And [ANSWER] and [ANSWER] can be considered as category for those works of art
['Q254602', 'P136', {'concept': 'Q483394'}] ['Q1036073', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q483394 . VALUES ( ?b ) { ( resource:Q254602 ) ( resource:Q1036073 ) } . ?b property:P136 ?j }
public art public art
And public art and public art can be considered as category for those works of art
public art public art
action filter_type
action find
entity prev_answer
relation genre
type genre
['Cadillac Ranch', 'genre', {'concept': 'genre'}] ['Carhenge', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:genre . VALUES ( ?b ) { ( resource:Cadillac_Ranch ) ( resource:Carhenge ) } . ?b property:genre ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1420
P1056
Q4830453
USER
Who are the producer of automobile ?
(c(Q4830453),P1056,Q1420)
action filter_type
action find_reverse
entity Q1420
relation P1056
type Q4830453
[{'concept': 'Q4830453'}, 'P1056', 'Q1420']
SELECT DISTINCT ?u WHERE { ?u property:P1056 resource:Q1420 . ?u rdf:type ontology:Q4830453 }
automobile
action filter_type
action find_reverse
entity automobile
relation product
type business enterprise
[{'concept': 'business enterprise'}, 'product', 'automobile']
SELECT DISTINCT ?u WHERE { ?u property:product resource:automobile . ?u rdf:type ontology:business_enterprise }
[]
business enterprise
Q40966 Q26678 Q35989
SYSTEM
Opel, BMW, Maybach
Q320140 Q1636249 Q2699663 Q35989 Q1475488 Q40966 Q1745885 Q1881443 Q2096434 Q1060679 Q505694 Q27110 Q1900912 Q1408130 Q628140 Q910401 Q2005896 Q26678 Q59181 Q185432 Q617334
(c(Q4830453),P1056,Q1420)
action filter_type
action find_reverse
entity Q1420
relation P1056
type Q4830453
The producer of automobile are [ANSWERS]
[{'concept': 'Q4830453'}, 'P1056', 'Q1420']
SELECT DISTINCT ?u WHERE { ?u property:P1056 resource:Q1420 . ?u rdf:type ontology:Q4830453 }
Brennabor Hulas Motors Laffly Maybach Giad Auto Opel Wallyscar MG Motor UzDaewooAuto Chambers Motors Fuldamobil Autobianchi Markranstädter Automobilfabrik Weiertz Holland Car SAIC Motor Trnavské automobilové závody BMW Wartburg Espenlaub Apal
The producer of automobile are Opel, BMW and Maybach
Opel BMW Maybach
action filter_type
action find_reverse
entity automobile
relation product
type business enterprise
[{'concept': 'business enterprise'}, 'product', 'automobile']
SELECT DISTINCT ?u WHERE { ?u property:product resource:automobile . ?u rdf:type ontology:business_enterprise }
[]
Clarification
Simple Question|Single Entity|Indirect
Q40966
P1454
Q1269299
USER
Which business organization is the legal form type of that business enterprise ?
(Q40966,P1454,c(Q1269299))
action filter_type
action find
entity Q40966
relation P1454
type Q1269299
['Q40966', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?g WHERE { resource:Q40966 property:P1454 ?g . ?g rdf:type ontology:Q1269299 }
Opel
action filter_type
action find
entity Opel
relation legal form
type type of business entity
['Opel', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?g WHERE { resource:Opel property:legal_form ?g . ?g rdf:type ontology:type_of_business_entity }
[]
type of business entity
Clarification for simple ques.
Q40966
SYSTEM
Did you mean Opel ?
Q40966 Q26678 Q35989
(Q40966,P1454,c(Q1269299)) (Q26678,P1454,c(Q1269299)) (Q35989,P1454,c(Q1269299))
[ANSWER]
['Q40966', 'P1454', {'concept': 'Q1269299'}] ['Q26678', 'P1454', {'concept': 'Q1269299'}] ['Q35989', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?g WHERE { resource:Q40966 property:P1454 ?g . ?g rdf:type ontology:Q1269299 }
Opel BMW Maybach
Did you mean Opel ?
Opel
['Opel', 'legal form', {'concept': 'type of business entity'}] ['BMW', 'legal form', {'concept': 'type of business entity'}] ['Maybach', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?g WHERE { resource:Opel property:legal_form ?g . ?g rdf:type ontology:type_of_business_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q40966,P1454,c(Q1269299))
['Q40966', 'P1454', {'concept': 'Q1269299'}]
['Opel', 'legal form', {'concept': 'type of business entity'}]
[]
Q422062
SYSTEM
Aktiengesellschaft
Q422062
(Q40966,P1454,c(Q1269299))
action filter_type
action find
entity Q40966
relation P1454
type Q1269299
[ANSWER] is the legal form type of that business enterprise
['Q40966', 'P1454', {'concept': 'Q1269299'}]
SELECT DISTINCT ?g WHERE { resource:Q40966 property:P1454 ?g . ?g rdf:type ontology:Q1269299 }
Aktiengesellschaft
Aktiengesellschaft is the legal form type of that business enterprise
Aktiengesellschaft
action filter_type
action find
entity Opel
relation legal form
type type of business entity
['Opel', 'legal form', {'concept': 'type of business entity'}]
SELECT DISTINCT ?g WHERE { resource:Opel property:legal_form ?g . ?g rdf:type ontology:type_of_business_entity }
[]