Simple Question (Direct)
Simple Question
Q1201450
P102
Q7210356
USER
Which parties do Detlev Neudeck belong to ?
(Q1201450,P102,c(Q7210356))
action filter_type
action find
entity Q1201450
relation P102
type Q7210356
['Q1201450', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q1201450 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Detlev Neudeck
action filter_type
action find
entity Detlev Neudeck
relation member of political party
type political organization
['Detlev Neudeck', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Detlev_Neudeck property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q131692 Q653833
SYSTEM
Austrian Freedom Party, Alliance for the Future of Austria
Q131692 Q653833
(Q1201450,P102,c(Q7210356))
action filter_type
action find
entity Q1201450
relation P102
type Q7210356
Detlev Neudeck belong to [ANSWERS]
['Q1201450', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q1201450 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Austrian Freedom Party Alliance for the Future of Austria
Detlev Neudeck belong to Austrian Freedom Party and Alliance for the Future of Austria
Austrian Freedom Party Alliance for the Future of Austria
action filter_type
action find
entity Detlev Neudeck
relation member of political party
type political organization
['Detlev Neudeck', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Detlev_Neudeck property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1201450
P21
Q290
USER
Which sex does that person belong to ?
(Q131692,P21,c(Q290)) (Q653833,P21,c(Q290))
action filter_type
action find
entity Q1201450
relation P21
type Q290
['Q131692', 'P21', {'concept': 'Q290'}] ['Q653833', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1201450 property:P21 ?s . ?s rdf:type ontology:Q290 }
Detlev Neudeck
action filter_type
action find
entity Detlev Neudeck
relation gender
type sex
['Austrian Freedom Party', 'gender', {'concept': 'sex'}] ['Alliance for the Future of Austria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Detlev_Neudeck property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q131692,P21,c(Q290)) (Q653833,P21,c(Q290))
action filter_type
action find
entity Q1201450
relation P21
type Q290
That person belongs to [ANSWER]
['Q131692', 'P21', {'concept': 'Q290'}] ['Q653833', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q1201450 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Detlev Neudeck
relation gender
type sex
['Austrian Freedom Party', 'gender', {'concept': 'sex'}] ['Alliance for the Future of Austria', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Detlev_Neudeck property:gender ?s . ?s rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q3811212
P21
Q502895
USER
Does July B have the gender as that sex ?
(Q3811212,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3811212
relation P21
['Q3811212', 'P21', 'Q6581097']
ASK WHERE { resource:Q3811212 property:P21 resource:Q6581097 }
male July B
action is_in
entity male
action find
entity July B
relation gender
['July B', 'gender', 'male']
ASK WHERE { resource:July_B property:gender resource:male }
[]
common name
SYSTEM
YES
(Q3811212,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3811212
relation P21
[ANSWER]
['Q3811212', 'P21', 'Q6581097']
ASK WHERE { resource:Q3811212 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity July B
relation gender
['July B', 'gender', 'male']
ASK WHERE { resource:July_B property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1201450
P937
Q56061
USER
What is the work location of Detlev Neudeck ?
(Q1201450,P937,c(Q56061))
action filter_type
action find
entity Q1201450
relation P937
type Q56061
['Q1201450', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q1201450 property:P937 ?p }
Detlev Neudeck
action filter_type
action find
entity Detlev Neudeck
relation work location
type administrative territorial entity
['Detlev Neudeck', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Detlev_Neudeck property:work_location ?p }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1201450,P937,c(Q56061))
action filter_type
action find
entity Q1201450
relation P937
type Q56061
The work location of Detlev Neudeck is in [ANSWER]
['Q1201450', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q1201450 property:P937 ?p }
Vienna
The work location of Detlev Neudeck is in Vienna
Vienna
action filter_type
action find
entity Detlev Neudeck
relation work location
type administrative territorial entity
['Detlev Neudeck', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Detlev_Neudeck property:work_location ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P915
Q838948
USER
Which works of art were filmed at that administrative territory ?
(c(Q838948),P915,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1741']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P915 resource:Q1741 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Vienna']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:filming_location resource:Vienna }
[]
work of art
Q17548046 Q190956 Q464111
SYSTEM
Mission: Impossible – Rogue Nation, Amadeus, The Boys from Brazil
Q1418932 Q659609 Q159690 Q1732325 Q276523 Q14954288 Q1737987 Q691669 Q1653284 Q17548046 Q7974350 Q7997600 Q644749 Q7045098 Q312565 Q1591914 Q874043 Q673643 Q272064 Q190956 Q25206310 Q18209001 Q737065 Q4666737 Q17103323 Q699132 Q188159 Q508931 Q26856862 Q21869333 Q875234 Q880665 Q665016 Q271830 Q167411 Q16253440 Q1090322 Q672402 Q20814890 Q2568798 Q568465 Q698274 Q1033185 Q464111
(c(Q838948),P915,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P915
type Q838948
[ANSWERS] were filmed at that administrative territory
[{'concept': 'Q838948'}, 'P915', 'Q1741']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P915 resource:Q1741 }
Firefox Before Sunrise The Piano Teacher Karl May Batman & Robin Gold on the Street The Seven-Per-Cent Solution Time of the Wolf 360 Mission: Impossible – Rogue Nation Watermarks Whom the Gods Love Scorpio No Time for Flowers The Night Porter Premiere Maskerade Benny's Video The Living Daylights Amadeus Last Stop It's Only Love The Cardinal Abendland Stolen Identity Revanche A Dangerous Method The Three Musketeers Love Maybe Exit... nur keine Panik Franz Schubert Bad Timing Miracle of the White Stallions The Third Man The Counterfeiters Museum Hours Come Fly with Me For a Moment Voices of Spring Vienna 1910 Klimt Dead in 3 Days Paradise: Love The Boys from Brazil
Mission: Impossible – Rogue Nation, Amadeus and The Boys from Brazil were filmed at that administrative territory
Mission: Impossible – Rogue Nation Amadeus The Boys from Brazil
action filter_type
action find_reverse
entity Vienna
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Vienna']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:filming_location resource:Vienna }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q43766 Q1201450
P27
Q1048835
USER
Which political territories are the native countriesof Detlev Neudeck or Robert Palfrader ?
OR((Q1201450,P27,c(Q1048835)), (Q43766,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1201450
relation P27
action find
entity Q43766
relation P27
type Q1048835
{'OR': [['Q1201450', 'P27', {'concept': 'Q1048835'}], ['Q43766', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1201450 property:P27 ?g } UNION { resource:Q43766 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
Robert Palfrader Detlev Neudeck
action filter_type
action union
action find
entity Detlev Neudeck
relation country of citizenship
action find
entity Robert Palfrader
relation country of citizenship
type political territorial entity
{'OR': [['Detlev Neudeck', 'country of citizenship', {'concept': 'political territorial entity'}], ['Robert Palfrader', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Detlev_Neudeck property:country_of_citizenship ?g } UNION { resource:Robert_Palfrader property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
OR((Q1201450,P27,c(Q1048835)), (Q43766,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1201450
relation P27
action find
entity Q43766
relation P27
type Q1048835
[ANSWER] is the native countriesof Detlev Neudeck or Robert Palfrader
{'OR': [['Q1201450', 'P27', {'concept': 'Q1048835'}], ['Q43766', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1201450 property:P27 ?g } UNION { resource:Q43766 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
Austria
Austria is the native countriesof Detlev Neudeck or Robert Palfrader
Austria
action filter_type
action union
action find
entity Detlev Neudeck
relation country of citizenship
action find
entity Robert Palfrader
relation country of citizenship
type political territorial entity
{'OR': [['Detlev Neudeck', 'country of citizenship', {'concept': 'political territorial entity'}], ['Robert Palfrader', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Detlev_Neudeck property:country_of_citizenship ?g } UNION { resource:Robert_Palfrader property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with atleast 10 political territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 10
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?d ) WHERE { ?u property:P530 ?n . ?n rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?d >= 10 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?d ) WHERE { ?u property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?d >= 10 ) }
[]
political territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 10
[ANSWER] have tactful political relations with atleast 10 political territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?d ) WHERE { ?u property:P530 ?n . ?n rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?d >= 10 ) }
Georgia
Georgia have tactful political relations with atleast 10 political territories
Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?n ) AS ?d ) WHERE { ?u property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?d >= 10 ) }
[]