Simple Question (Direct)
Simple Question
Q23648498
P106
Q12737077
USER
What are the job of John Walker ?
(Q23648498,P106,c(Q12737077))
action filter_type
action find
entity Q23648498
relation P106
type Q12737077
['Q23648498', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q23648498 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
John Walker
action filter_type
action find
entity John Walker
relation occupation
type occupation
['John Walker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:John_Walker property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q329439 Q1734662 Q15296811
SYSTEM
engraver, cartographer, draughtsperson
Q1734662 Q15296811 Q329439 Q2516866
(Q23648498,P106,c(Q12737077))
action filter_type
action find
entity Q23648498
relation P106
type Q12737077
The job of John Walker are the [ANSWERS]
['Q23648498', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q23648498 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
cartographer draughtsperson engraver publisher
The job of John Walker are the engraver, cartographer and draughtsperson
engraver cartographer draughtsperson
action filter_type
action find
entity John Walker
relation occupation
type occupation
['John Walker', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:John_Walker property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q329439
P452
Q4830453
USER
Who is part of the engraver industry ?
(c(Q4830453),P452,Q329439)
action filter_type
action find_reverse
entity Q329439
relation P452
type Q4830453
[{'concept': 'Q4830453'}, 'P452', 'Q329439']
SELECT DISTINCT ?j WHERE { ?j property:P452 resource:Q329439 . ?j rdf:type ontology:Q4830453 }
engraver
action filter_type
action find_reverse
entity engraver
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'engraver']
SELECT DISTINCT ?j WHERE { ?j property:industry resource:engraver . ?j rdf:type ontology:business_enterprise }
[]
business enterprise
Q24090630
SYSTEM
S & J Fuller
Q24090630
(c(Q4830453),P452,Q329439)
action filter_type
action find_reverse
entity Q329439
relation P452
type Q4830453
Is part of the engraver industry [ANSWER]
[{'concept': 'Q4830453'}, 'P452', 'Q329439']
SELECT DISTINCT ?j WHERE { ?j property:P452 resource:Q329439 . ?j rdf:type ontology:Q4830453 }
S & J Fuller
Is part of the engraver industry S & J Fuller
S & J Fuller
action filter_type
action find_reverse
entity engraver
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'engraver']
SELECT DISTINCT ?j WHERE { ?j property:industry resource:engraver . ?j rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15296811
P180
Q3305213
USER
Which paintings demonstrate draughtsperson ?
(c(Q3305213),P180,Q15296811)
action filter_type
action find_reverse
entity Q15296811
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q15296811']
SELECT DISTINCT ?r WHERE { ?r property:P180 resource:Q15296811 . ?r rdf:type ontology:Q3305213 }
draughtsperson
action filter_type
action find_reverse
entity draughtsperson
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'draughtsperson']
SELECT DISTINCT ?r WHERE { ?r property:depicts resource:draughtsperson . ?r rdf:type ontology:painting }
[]
painting
Q21494568 Q23062646
SYSTEM
Erechtheum, Nantes: The Hermitage of the Minor Capuchins on the Banks of the Loire River
Q21494568 Q23062646
(c(Q3305213),P180,Q15296811)
action filter_type
action find_reverse
entity Q15296811
relation P180
type Q3305213
[ANSWERS] demonstrate draughtsperson
[{'concept': 'Q3305213'}, 'P180', 'Q15296811']
SELECT DISTINCT ?r WHERE { ?r property:P180 resource:Q15296811 . ?r rdf:type ontology:Q3305213 }
Erechtheum Nantes: The Hermitage of the Minor Capuchins on the Banks of the Loire River
Erechtheum and Nantes: The Hermitage of the Minor Capuchins on the Banks of the Loire River demonstrate draughtsperson
Erechtheum Nantes: The Hermitage of the Minor Capuchins on the Banks of the Loire River
action filter_type
action find_reverse
entity draughtsperson
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'draughtsperson']
SELECT DISTINCT ?r WHERE { ?r property:depicts resource:draughtsperson . ?r rdf:type ontology:painting }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q329439
P425
Q2695280
USER
Which technicss are associated with the field of occupation engraver ?
(Q329439,P425,c(Q2695280))
action filter_type
action find
entity Q329439
relation P425
type Q2695280
['Q329439', 'P425', {'concept': 'Q2695280'}]
SELECT DISTINCT ?f WHERE { resource:Q329439 property:P425 ?f . ?f rdf:type ontology:Q2695280 }
engraver
action filter_type
action find
entity engraver
relation field of this occupation
type technics
['engraver', 'field of this occupation', {'concept': 'technics'}]
SELECT DISTINCT ?f WHERE { resource:engraver property:field_of_this_occupation ?f . ?f rdf:type ontology:technics }
[]
technics
Q139106 Q271588
SYSTEM
engraving, printmaking
Q139106 Q271588
(Q329439,P425,c(Q2695280))
action filter_type
action find
entity Q329439
relation P425
type Q2695280
[ANSWERS] are associated with the field of occupation engraver
['Q329439', 'P425', {'concept': 'Q2695280'}]
SELECT DISTINCT ?f WHERE { resource:Q329439 property:P425 ?f . ?f rdf:type ontology:Q2695280 }
engraving printmaking
Engraving and printmaking are associated with the field of occupation engraver
engraving printmaking
action filter_type
action find
entity engraver
relation field of this occupation
type technics
['engraver', 'field of this occupation', {'concept': 'technics'}]
SELECT DISTINCT ?f WHERE { resource:engraver property:field_of_this_occupation ?f . ?f rdf:type ontology:technics }
[]
Clarification
Simple Question|Single Entity|Indirect
Q271588
P366
Q11019
USER
Which machine is mainly used as that technics ?
(c(Q11019),P366,Q271588)
action filter_type
action find_reverse
entity Q271588
relation P366
type Q11019
[{'concept': 'Q11019'}, 'P366', 'Q271588']
SELECT DISTINCT ?s WHERE { ?s property:P366 resource:Q271588 . ?s rdf:type ontology:Q11019 }
printmaking
action filter_type
action find_reverse
entity printmaking
relation use
type machine
[{'concept': 'machine'}, 'use', 'printmaking']
SELECT DISTINCT ?s WHERE { ?s property:use resource:printmaking . ?s rdf:type ontology:machine }
[]
machine
Clarification for simple ques.
Q139106
SYSTEM
Did you mean engraving ?
Q139106 Q271588
(c(Q11019),P366,Q139106) (c(Q11019),P366,Q271588)
[ANSWER]
[{'concept': 'Q11019'}, 'P366', 'Q139106'] [{'concept': 'Q11019'}, 'P366', 'Q271588']
SELECT DISTINCT ?s WHERE { ?s property:P366 resource:Q271588 . ?s rdf:type ontology:Q11019 }
engraving printmaking
Did you mean engraving ?
engraving
[{'concept': 'machine'}, 'use', 'engraving'] [{'concept': 'machine'}, 'use', 'printmaking']
SELECT DISTINCT ?s WHERE { ?s property:use resource:printmaking . ?s rdf:type ontology:machine }
[]
Simple Question (Coreferenced)
USER
No, I meant printmaking. Could you tell me the answer for that?
(c(Q11019),P366,Q271588)
Q271588
[{'concept': 'Q11019'}, 'P366', 'Q271588']
[{'concept': 'machine'}, 'use', 'printmaking']
[]
Q15806768
SYSTEM
Printing machine
Q15806768
(c(Q11019),P366,Q271588)
action filter_type
action find_reverse
entity Q271588
relation P366
type Q11019
[ANSWER] is mainly used as that technics
[{'concept': 'Q11019'}, 'P366', 'Q271588']
SELECT DISTINCT ?s WHERE { ?s property:P366 resource:Q271588 . ?s rdf:type ontology:Q11019 }
Printing machine
Printing machine is mainly used as that technics
Printing machine
action filter_type
action find_reverse
entity printmaking
relation use
type machine
[{'concept': 'machine'}, 'use', 'printmaking']
SELECT DISTINCT ?s WHERE { ?s property:use resource:printmaking . ?s rdf:type ontology:machine }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q24090630 Q3342525
P123
Q166142
USER
How many applications produced S & J Fuller or Nobilis ?
(c(Q166142),P123,Q24090630) (c(Q166142),P123,Q3342525)
action count
action union
action filter_type
action find_reverse
entity Q24090630
relation P123
type Q166142
action filter_type
action find_reverse
entity Q3342525
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q24090630'] [{'concept': 'Q166142'}, 'P123', 'Q3342525']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P123 resource:Q3342525 . ?n rdf:type ontology:Q166142 } UNION { ?n property:P123 resource:Q24090630 . ?n rdf:type ontology:Q166142 } }
S & J Fuller Nobilis
action count
action union
action filter_type
action find_reverse
entity S & J Fuller
relation publisher
type application
action filter_type
action find_reverse
entity Nobilis
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'S & J Fuller'] [{'concept': 'application'}, 'publisher', 'Nobilis']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:publisher resource:Nobilis . ?n rdf:type ontology:application } UNION { ?n property:publisher resource:S_&_J_Fuller . ?n rdf:type ontology:application } }
[]
application
SYSTEM
2
Q876975 Q1070633
(c(Q166142),P123,Q24090630) (c(Q166142),P123,Q3342525)
action count
action union
action filter_type
action find_reverse
entity Q24090630
relation P123
type Q166142
action filter_type
action find_reverse
entity Q3342525
relation P123
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P123', 'Q24090630'] [{'concept': 'Q166142'}, 'P123', 'Q3342525']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P123 resource:Q3342525 . ?n rdf:type ontology:Q166142 } UNION { ?n property:P123 resource:Q24090630 . ?n rdf:type ontology:Q166142 } }
Victoria: An Empire Under the Sun Crusader Kings
2
action count
action union
action filter_type
action find_reverse
entity S & J Fuller
relation publisher
type application
action filter_type
action find_reverse
entity Nobilis
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'S & J Fuller'] [{'concept': 'application'}, 'publisher', 'Nobilis']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:publisher resource:Nobilis . ?n rdf:type ontology:application } UNION { ?n property:publisher resource:S_&_J_Fuller . ?n rdf:type ontology:application } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P366
Q58778 Q11019
USER
How many systems are recognized as the main use of atmost 1 machine ?
(c(Q11019),P366,c(Q58778))
action count
action atmost
action find_reverse_tuple_counts
relation P366
type Q58778
type Q11019
value 1
[{'concept': 'Q11019'}, 'P366', {'concept': 'Q58778'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P366 ?l . ?l rdf:type ontology:Q58778 . ?y rdf:type ontology:Q11019 } GROUP BY ?l } . FILTER ( ?h <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation use
type system
type machine
value 1
[{'concept': 'machine'}, 'use', {'concept': 'system'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:use ?l . ?l rdf:type ontology:system . ?y rdf:type ontology:machine } GROUP BY ?l } . FILTER ( ?h <= 1 ) }
[]
system machine
SYSTEM
12
Q607081 Q720362 Q16070574 Q601401 Q289 Q3565868 Q8148 Q126793 Q49845 Q207652 Q11451 Q2920313
(c(Q11019),P366,c(Q58778))
action count
action atmost
action find_reverse_tuple_counts
relation P366
type Q58778
type Q11019
value 1
[ANSWER]
[{'concept': 'Q11019'}, 'P366', {'concept': 'Q58778'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P366 ?l . ?l rdf:type ontology:Q58778 . ?y rdf:type ontology:Q11019 } GROUP BY ?l } . FILTER ( ?h <= 1 ) }
textile industry silviculture petrochemical industry trade television rail transport industry retail mail chemical industry agriculture optical system
12
action count
action atmost
action find_reverse_tuple_counts
relation use
type system
type machine
value 1
[{'concept': 'machine'}, 'use', {'concept': 'system'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:use ?l . ?l rdf:type ontology:system . ?y rdf:type ontology:machine } GROUP BY ?l } . FILTER ( ?h <= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1066858
P1056
Q11019 Q1269299
USER
How many business organizations manufacture approximately the same number of machines as Tiffany & Co. ?
(c(Q1269299),P1056,c(Q11019))
action count
action approx
action find_tuple_counts
relation P1056
type Q1269299
type Q11019
action count
action filter_type
action find
entity Q1066858
relation P1056
type Q1269299
[{'concept': 'Q1269299'}, 'P1056', {'concept': 'Q11019'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?c ) WHERE { ?f property:P1056 ?v . ?f rdf:type ontology:Q1269299 . ?v rdf:type ontology:Q11019 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q1066858 property:P1056 ?a . ?a rdf:type ontology:Q1269299 } } . FILTER ( ?c = ?d ) }
Tiffany & Co.
action count
action approx
action find_tuple_counts
relation product
type type of business entity
type machine
action count
action filter_type
action find
entity Tiffany & Co.
relation product
type type of business entity
[{'concept': 'type of business entity'}, 'product', {'concept': 'machine'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?c ) WHERE { ?f property:product ?v . ?f rdf:type ontology:type_of_business_entity . ?v rdf:type ontology:machine } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Tiffany_&_Co. property:product ?a . ?a rdf:type ontology:type_of_business_entity } } . FILTER ( ?c = ?d ) }
[]
machine type of business entity
SYSTEM
24
Q946713 Q907311 Q144060 Q943097 Q21639712 Q1742438 Q62621 Q1066858 Q2111113 Q2372128 Q37156 Q686178 Q5014246 Q626585 Q536228 Q17041484 Q14647 Q15839366 Q53247 Q323095 Q820239 Q478214 Q926699 Q2283
(c(Q1269299),P1056,c(Q11019))
action count
action approx
action find_tuple_counts
relation P1056
type Q1269299
type Q11019
action count
action filter_type
action find
entity Q1066858
relation P1056
type Q1269299
[ANSWER]
[{'concept': 'Q1269299'}, 'P1056', {'concept': 'Q11019'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?c ) WHERE { ?f property:P1056 ?v . ?f rdf:type ontology:Q1269299 . ?v rdf:type ontology:Q11019 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q1066858 property:P1056 ?a . ?a rdf:type ontology:Q1269299 } } . FILTER ( ?c = ?d ) }
SunEdison Netflix Cray HSBC Bank Australia Sibanye Gold Kulmbacher Brewery Canon Inc. Tiffany & Co. G. Schneider & Sohn Swarco Traffic Holding AG IBM Birmingham Small Arms Company CSR Limited Hyundai Mipo Dockyard Jungheinrich Y.O Concept Sun Microsystems Hybrid Air Vehicles Panasonic Einbecker Brewery Minebea Tesla Motors Crocs, Inc. Microsoft
24
action count
action approx
action find_tuple_counts
relation product
type type of business entity
type machine
action count
action filter_type
action find
entity Tiffany & Co.
relation product
type type of business entity
[{'concept': 'type of business entity'}, 'product', {'concept': 'machine'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?c ) WHERE { ?f property:product ?v . ?f rdf:type ontology:type_of_business_entity . ?v rdf:type ontology:machine } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Tiffany_&_Co. property:product ?a . ?a rdf:type ontology:type_of_business_entity } } . FILTER ( ?c = ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q2342494 Q15709879
USER
Which occupations are depicted in exactly 1 collectables or artwork series ?
(c(Q2342494)|c(Q15709879),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?v WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } } GROUP BY ?v } . FILTER ( ?w = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'collectable'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?v WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:artwork_series ) ( ontology:collectable ) } } GROUP BY ?v } . FILTER ( ?w = 1 ) }
[]
occupation collectable artwork series
Q170779 Q47064 Q11900058
SYSTEM
Kassandra, military personnel, explorer
Q47064 Q11900058 Q805221 Q12059906 Q843281 Q622630 Q170779 Q39631
(c(Q2342494)|c(Q15709879),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
[ANSWERS] are depicted in exactly 1 collectables or artwork series
[[{'concept': 'Q2342494'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?v WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } } GROUP BY ?v } . FILTER ( ?w = 1 ) }
military personnel explorer ballet dancer herder hobo odalisque Kassandra physician
Kassandra, military personnel and explorer are depicted in exactly 1 collectables or artwork series
Kassandra military personnel explorer
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'collectable'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?v WHERE { ?m rdf:type ?k . VALUES ( ?k ) { ( ontology:artwork_series ) ( ontology:collectable ) } } GROUP BY ?v } . FILTER ( ?w = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170779
P40
Q22988604
USER
Who have Kassandra as a child ?
(c(Q22988604),P40,Q170779)
action filter_type
action find_reverse
entity Q170779
relation P40
type Q22988604
[{'concept': 'Q22988604'}, 'P40', 'Q170779']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q170779 . ?n rdf:type ontology:Q22988604 }
Kassandra
action filter_type
action find_reverse
entity Kassandra
relation child
type mythological Greek character
[{'concept': 'mythological Greek character'}, 'child', 'Kassandra']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Kassandra . ?n rdf:type ontology:mythological_Greek_character }
[]
mythological Greek character
Q170473 Q193433
SYSTEM
Priam, Hecuba
Q170473 Q193433
(c(Q22988604),P40,Q170779)
action filter_type
action find_reverse
entity Q170779
relation P40
type Q22988604
[ANSWERS] have Kassandra as a child
[{'concept': 'Q22988604'}, 'P40', 'Q170779']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q170779 . ?n rdf:type ontology:Q22988604 }
Priam Hecuba
Priam and Hecuba have Kassandra as a child
Priam Hecuba
action filter_type
action find_reverse
entity Kassandra
relation child
type mythological Greek character
[{'concept': 'mythological Greek character'}, 'child', 'Kassandra']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Kassandra . ?n rdf:type ontology:mythological_Greek_character }
[]
Clarification
Simple Question|Single Entity|Indirect
Q170473
P22
Q22988604
USER
Which mythological Greek character has that one as a parent ?
(c(Q22988604),P22,Q170473)
action filter_type
action find_reverse
entity Q170473
relation P22
type Q22988604
[{'concept': 'Q22988604'}, 'P22', 'Q170473']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q22988604 . ?p property:P22 resource:Q170473 }
Priam
action filter_type
action find_reverse
entity Priam
relation father
type mythological Greek character
[{'concept': 'mythological Greek character'}, 'father', 'Priam']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:mythological_Greek_character . ?p property:father resource:Priam }
[]
mythological Greek character
Clarification for simple ques.
Q170473
SYSTEM
Did you mean Priam ?
Q170473 Q193433
(c(Q22988604),P22,Q170473) (c(Q22988604),P22,Q193433)
[ANSWER]
[{'concept': 'Q22988604'}, 'P22', 'Q170473'] [{'concept': 'Q22988604'}, 'P22', 'Q193433']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q22988604 . ?p property:P22 resource:Q170473 }
Priam Hecuba
Did you mean Priam ?
Priam
[{'concept': 'mythological Greek character'}, 'father', 'Priam'] [{'concept': 'mythological Greek character'}, 'father', 'Hecuba']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:mythological_Greek_character . ?p property:father resource:Priam }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q22988604),P22,Q170473)
[{'concept': 'Q22988604'}, 'P22', 'Q170473']
[{'concept': 'mythological Greek character'}, 'father', 'Priam']
[]
Q1178583
SYSTEM
Laodice
Q1178583
(c(Q22988604),P22,Q170473)
action filter_type
action find_reverse
entity Q170473
relation P22
type Q22988604
[ANSWER] has that one as a parent
[{'concept': 'Q22988604'}, 'P22', 'Q170473']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q22988604 . ?p property:P22 resource:Q170473 }
Laodice
Laodice has that one as a parent
Laodice
action filter_type
action find_reverse
entity Priam
relation father
type mythological Greek character
[{'concept': 'mythological Greek character'}, 'father', 'Priam']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:mythological_Greek_character . ?p property:father resource:Priam }
[]