Simple Question (Direct)
Simple Question
Q1462739
P463
Q19335303
USER
Which organization was Friedrich Wassermann a member of ?
(Q1462739,P463,c(Q19335303))
action filter_type
action find
entity Q1462739
relation P463
type Q19335303
['Q1462739', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q19335303 . resource:Q1462739 property:P463 ?g }
Friedrich Wassermann
action filter_type
action find
entity Friedrich Wassermann
relation member of
type type of business entity in Germany
['Friedrich Wassermann', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:type_of_business_entity_in_Germany . resource:Friedrich_Wassermann property:member_of ?g }
[]
type of business entity in Germany
Q543804
SYSTEM
German Academy of Sciences Leopoldina
Q543804
(Q1462739,P463,c(Q19335303))
action filter_type
action find
entity Q1462739
relation P463
type Q19335303
The [ANSWER] was Friedrich Wassermann a member of
['Q1462739', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q19335303 . resource:Q1462739 property:P463 ?g }
German Academy of Sciences Leopoldina
The German Academy of Sciences Leopoldina was Friedrich Wassermann a member of
German Academy of Sciences Leopoldina
action filter_type
action find
entity Friedrich Wassermann
relation member of
type type of business entity in Germany
['Friedrich Wassermann', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:type_of_business_entity_in_Germany . resource:Friedrich_Wassermann property:member_of ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q543804
P112
Q502895
USER
Which people were the founders of that German business organization ?
(Q543804,P112,c(Q502895))
action filter_type
action find
entity Q543804
relation P112
type Q502895
['Q543804', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q543804 property:P112 ?t . ?t rdf:type ontology:Q502895 }
German Academy of Sciences Leopoldina
action filter_type
action find
entity German Academy of Sciences Leopoldina
relation founder
type common name
['German Academy of Sciences Leopoldina', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:German_Academy_of_Sciences_Leopoldina property:founder ?t . ?t rdf:type ontology:common_name }
[]
common name
Q98496 Q104854 Q1575280
SYSTEM
Johann Lorenz Bausch, Georg Balthasar Metzger, Johann Michael Fehr
Q98496 Q104854 Q1575280
(Q543804,P112,c(Q502895))
action filter_type
action find
entity Q543804
relation P112
type Q502895
[ANSWERS] were the founders of that German business organization
['Q543804', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q543804 property:P112 ?t . ?t rdf:type ontology:Q502895 }
Johann Lorenz Bausch Georg Balthasar Metzger Johann Michael Fehr
Johann Lorenz Bausch, Georg Balthasar Metzger and Johann Michael Fehr were the founders of that German business organization
Johann Lorenz Bausch Georg Balthasar Metzger Johann Michael Fehr
action filter_type
action find
entity German Academy of Sciences Leopoldina
relation founder
type common name
['German Academy of Sciences Leopoldina', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:German_Academy_of_Sciences_Leopoldina property:founder ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q98496
P21
Q290
USER
Which sex does Johann Lorenz Bausch belong to ?
(Q98496,P21,c(Q290))
action filter_type
action find
entity Q98496
relation P21
type Q290
['Q98496', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q98496 property:P21 ?s }
Johann Lorenz Bausch
action filter_type
action find
entity Johann Lorenz Bausch
relation gender
type sex
['Johann Lorenz Bausch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Johann_Lorenz_Bausch property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q98496,P21,c(Q290))
action filter_type
action find
entity Q98496
relation P21
type Q290
Johann Lorenz Bausch belongs to [ANSWER]
['Q98496', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q98496 property:P21 ?s }
male
Johann Lorenz Bausch belongs to male
male
action filter_type
action find
entity Johann Lorenz Bausch
relation gender
type sex
['Johann Lorenz Bausch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Johann_Lorenz_Bausch property:gender ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q98496
P19
Q15617994
USER
Which administrative territory is the birthplace of that person ?
(Q6581097,P19,c(Q15617994))
action filter_type
action find
entity Q98496
relation P19
type Q15617994
['Q6581097', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q98496 property:P19 ?x }
Johann Lorenz Bausch
action filter_type
action find
entity Johann Lorenz Bausch
relation place of birth
type designation for an administrative territorial entity
['male', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Johann_Lorenz_Bausch property:place_of_birth ?x }
[]
designation for an administrative territorial entity
Q4126
SYSTEM
Schweinfurt
Q4126
(Q6581097,P19,c(Q15617994))
action filter_type
action find
entity Q98496
relation P19
type Q15617994
[ANSWER] is the birthplace of that person
['Q6581097', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q98496 property:P19 ?x }
Schweinfurt
Schweinfurt is the birthplace of that person
Schweinfurt
action filter_type
action find
entity Johann Lorenz Bausch
relation place of birth
type designation for an administrative territorial entity
['male', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Johann_Lorenz_Bausch property:place_of_birth ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4126
P190
Q20667921
USER
Which french administrative division is the sister city of that administrative territory ?
(Q4126,P190,c(Q20667921))
action filter_type
action find
entity Q4126
relation P190
type Q20667921
['Q4126', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q4126 property:P190 ?y . ?y rdf:type ontology:Q20667921 }
Schweinfurt
action filter_type
action find
entity Schweinfurt
relation sister city
type type of french administrative division
['Schweinfurt', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Schweinfurt property:sister_city ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q181886
SYSTEM
Châteaudun
Q181886
(Q4126,P190,c(Q20667921))
action filter_type
action find
entity Q4126
relation P190
type Q20667921
[ANSWER] is the sister city of that administrative territory
['Q4126', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q4126 property:P190 ?y . ?y rdf:type ontology:Q20667921 }
Châteaudun
Châteaudun is the sister city of that administrative territory
Châteaudun
action filter_type
action find
entity Schweinfurt
relation sister city
type type of french administrative division
['Schweinfurt', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Schweinfurt property:sister_city ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181886
P20
Q502895
USER
Who died in that french administrative division ?
(c(Q502895),P20,Q181886)
action filter_type
action find_reverse
entity Q181886
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q181886']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q181886 . ?l rdf:type ontology:Q502895 }
Châteaudun
action filter_type
action find_reverse
entity Châteaudun
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Châteaudun']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Châteaudun . ?l rdf:type ontology:common_name }
[]
common name
Q274885 Q4400402 Q15969323
SYSTEM
Émile Amélineau, Pierre Roussel, Jules Raimbault-Courtin
Q2458273 Q23902955 Q15969323 Q3503517 Q436498 Q4400402 Q2287794 Q2166635 Q554816 Q274885
(c(Q502895),P20,Q181886)
action filter_type
action find_reverse
entity Q181886
relation P20
type Q502895
[ANSWERS] died in that french administrative division
[{'concept': 'Q502895'}, 'P20', 'Q181886']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q181886 . ?l rdf:type ontology:Q502895 }
Achille Guenée Louis-Joseph Brossollet Jules Raimbault-Courtin Sulpice II d'Amboise François II, Duke of Longueville Pierre Roussel Georges Paulmier William I of Craon Denis Vrain-Lucas Émile Amélineau
Émile Amélineau, Pierre Roussel and Jules Raimbault-Courtin died in that french administrative division
Émile Amélineau Pierre Roussel Jules Raimbault-Courtin
action filter_type
action find_reverse
entity Châteaudun
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Châteaudun']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Châteaudun . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q15324 Q355304 Q20667921
USER
Which french administrative divisions are located nearby min number of bodies of water and watercourses ?
(c(Q20667921),P206,c(Q15324)|c(Q355304))
action argmin
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q355304
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?l ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } . ?m rdf:type ?l } GROUP BY ?q } } . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?o ) WHERE { { ?j property:P206 ?a . ?j rdf:type ontology:Q20667921 . ?a rdf:type ontology:Q15324 } UNION { ?j property:P206 ?a . ?j rdf:type ontology:Q20667921 . ?a rdf:type ontology:Q355304 } } GROUP BY ?j } . FILTER ( ?o = ?b ) }
action argmin
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?l ) { ( ontology:body_of_water ) ( ontology:watercourse ) } . ?m rdf:type ?l } GROUP BY ?q } } . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?o ) WHERE { { ?j property:located_next_to_body_of_water ?a . ?j rdf:type ontology:type_of_french_administrative_division . ?a rdf:type ontology:body_of_water } UNION { ?j property:located_next_to_body_of_water ?a . ?j rdf:type ontology:type_of_french_administrative_division . ?a rdf:type ontology:watercourse } } GROUP BY ?j } . FILTER ( ?o = ?b ) }
[]
body of water watercourse type of french administrative division
Q47045 Q249884 Q44401
SYSTEM
Saint-Denis, Saint-Pierre, Cayenne
Q224023 Q3769 Q1649363 Q467030 Q956943 Q877744 Q147606 Q429770 Q160199 Q266886 Q1014763 Q652100 Q683550 Q453263 Q1326390 Q751619 Q14112 Q47045 Q926768 Q1649370 Q1617681 Q654000 Q249884 Q1031980 Q1014814 Q662942 Q382048 Q1164176 Q26583 Q478215 Q1757048 Q1014771 Q1014731 Q44401 Q1001582 Q691092 Q752535 Q1165029
(c(Q20667921),P206,c(Q15324)|c(Q355304))
action argmin
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q355304
[ANSWERS] are located nearby min number of bodies of water and watercourses
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?l ) { ( ontology:Q15324 ) ( ontology:Q355304 ) } . ?m rdf:type ?l } GROUP BY ?q } } . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?o ) WHERE { { ?j property:P206 ?a . ?j rdf:type ontology:Q20667921 . ?a rdf:type ontology:Q15324 } UNION { ?j property:P206 ?a . ?j rdf:type ontology:Q20667921 . ?a rdf:type ontology:Q355304 } } GROUP BY ?j } . FILTER ( ?o = ?b ) }
Penvénan French Guiana Saint-Leu L'Île-Rousse Le Port Le Portel Fort-Mahon-Plage La Possession Cherbourg-Octeville Sisco Trois-Bassins Saint-Philippe Urville-Nacqueville Pleumeur-Bodou Petite-Île Sérignan Corsica Saint-Denis Tahaa Saint-André Saint-Louis Monticello Saint-Pierre Escalles Les Avirons Sainte-Marie Tardinghen Saint-Léonard Béhuard Saint-Benoît Sainte-Suzanne L'Étang-Salé Sainte-Rose Cayenne Batz-sur-Mer Bras-Panon Valras-Plage Le Pouliguen
Saint-Denis, Saint-Pierre and Cayenne are located nearby min number of bodies of water and watercourses
Saint-Denis Saint-Pierre Cayenne
action argmin
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?w ) AS ?b ) { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?l ) { ( ontology:body_of_water ) ( ontology:watercourse ) } . ?m rdf:type ?l } GROUP BY ?q } } . { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?o ) WHERE { { ?j property:located_next_to_body_of_water ?a . ?j rdf:type ontology:type_of_french_administrative_division . ?a rdf:type ontology:body_of_water } UNION { ?j property:located_next_to_body_of_water ?a . ?j rdf:type ontology:type_of_french_administrative_division . ?a rdf:type ontology:watercourse } } GROUP BY ?j } . FILTER ( ?o = ?b ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q47045 Q249884 Q44401
P1376
Q20667921
USER
Which french administrative divisions have those ones have their first city ?
(Q47045,P1376,c(Q20667921)) (Q249884,P1376,c(Q20667921)) (Q44401,P1376,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P1376
type Q20667921
['Q47045', 'P1376', {'concept': 'Q20667921'}] ['Q249884', 'P1376', {'concept': 'Q20667921'}] ['Q44401', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?k ) { ( resource:Q224023 ) ( resource:Q3769 ) ( resource:Q1649363 ) } . ?q rdf:type ontology:Q20667921 . ?k property:P1376 ?q }
Saint-Denis Saint-Pierre Cayenne
action filter_type
action find
entity prev_answer
relation capital of
type type of french administrative division
['Saint-Denis', 'capital of', {'concept': 'type of french administrative division'}] ['Saint-Pierre', 'capital of', {'concept': 'type of french administrative division'}] ['Cayenne', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?k ) { ( resource:Penvénan ) ( resource:French_Guiana ) ( resource:Saint-Leu ) } . ?q rdf:type ontology:type_of_french_administrative_division . ?k property:capital_of ?q }
[]
type of french administrative division
Q3769 Q1536470 Q1536783
SYSTEM
French Guiana, canton of Saint-Denis-1, canton of Saint-Denis-3
Q1536470 Q1536783 Q1536800 Q1547258 Q652969 Q1536815 Q1547675 Q163882 Q1547705 Q2750526 Q2430919 Q2750524 Q2513430 Q3769 Q1504660 Q1505063 Q1504081 Q632280 Q683199 Q1504648
(Q47045,P1376,c(Q20667921)) (Q249884,P1376,c(Q20667921)) (Q44401,P1376,c(Q20667921))
action filter_type
action find
entity prev_answer
relation P1376
type Q20667921
[ANSWERS] have those ones have their first city
['Q47045', 'P1376', {'concept': 'Q20667921'}] ['Q249884', 'P1376', {'concept': 'Q20667921'}] ['Q44401', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?k ) { ( resource:Q224023 ) ( resource:Q3769 ) ( resource:Q1649363 ) } . ?q rdf:type ontology:Q20667921 . ?k property:P1376 ?q }
canton of Saint-Denis-1 canton of Saint-Denis-3 canton of Saint-Denis-2 canton of Saint-Denis-8 canton of Saint-Denis-6 canton of Saint-Denis-4 canton of Saint-Denis-7 canton of Saint-Denis-9 canton of Saint-Denis-5 canton of Saint-Pierre-2 canton of Saint-Pierre-1 canton of Saint-Pierre-3 canton of Saint-Pierre-4 French Guiana Canton of Cayenne Nord-Est Canton of Cayenne Nord-Ouest Canton of Cayenne Sud Canton of Cayenne Centre Canton of Cayenne Sud-Ouest Canton of Cayenne Sud-Est
French Guiana, canton of Saint-Denis-1 and canton of Saint-Denis-3 have those ones have their first city
French Guiana canton of Saint-Denis-1 canton of Saint-Denis-3
action filter_type
action find
entity prev_answer
relation capital of
type type of french administrative division
['Saint-Denis', 'capital of', {'concept': 'type of french administrative division'}] ['Saint-Pierre', 'capital of', {'concept': 'type of french administrative division'}] ['Cayenne', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?k ) { ( resource:Penvénan ) ( resource:French_Guiana ) ( resource:Saint-Leu ) } . ?q rdf:type ontology:type_of_french_administrative_division . ?k property:capital_of ?q }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3769 Q1536470 Q1536783
P1376
Q20667921
USER
Which french administrative divisions are center of administration for those ones ?
(c(Q20667921),P1376,Q3769) (c(Q20667921),P1376,Q1536470) (c(Q20667921),P1376,Q1536783)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q3769'] [{'concept': 'Q20667921'}, 'P1376', 'Q1536470'] [{'concept': 'Q20667921'}, 'P1376', 'Q1536783']
SELECT DISTINCT ?c WHERE { ?c property:P1376 ?o . ?c rdf:type ontology:Q20667921 . VALUES ( ?o ) { ( resource:Q1536470 ) ( resource:Q1536783 ) ( resource:Q1536800 ) } }
French Guiana canton of Saint-Denis-1 canton of Saint-Denis-3
action filter_type
action find_reverse
entity prev_answer
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'French Guiana'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Denis-1'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Denis-3']
SELECT DISTINCT ?c WHERE { ?c property:capital_of ?o . ?c rdf:type ontology:type_of_french_administrative_division . VALUES ( ?o ) { ( resource:canton_of_Saint-Denis-1 ) ( resource:canton_of_Saint-Denis-3 ) ( resource:canton_of_Saint-Denis-2 ) } }
[]
type of french administrative division
Q44401 Q47045 Q47045
SYSTEM
Cayenne for 1st, Saint-Denis for 2nd, 3rd
Q44401 Q47045 Q47045
(c(Q20667921),P1376,Q3769) (c(Q20667921),P1376,Q1536470) (c(Q20667921),P1376,Q1536783)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q20667921
[ANSWERS]
[{'concept': 'Q20667921'}, 'P1376', 'Q3769'] [{'concept': 'Q20667921'}, 'P1376', 'Q1536470'] [{'concept': 'Q20667921'}, 'P1376', 'Q1536783']
SELECT DISTINCT ?c WHERE { ?c property:P1376 ?o . ?c rdf:type ontology:Q20667921 . VALUES ( ?o ) { ( resource:Q1536470 ) ( resource:Q1536783 ) ( resource:Q1536800 ) } }
Cayenne Saint-Denis Saint-Denis
Cayenne, Saint-Denis and Saint-Denis are center of administration for those ones
Cayenne Saint-Denis Saint-Denis
action filter_type
action find_reverse
entity prev_answer
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'French Guiana'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Denis-1'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Saint-Denis-3']
SELECT DISTINCT ?c WHERE { ?c property:capital_of ?o . ?c rdf:type ontology:type_of_french_administrative_division . VALUES ( ?o ) { ( resource:canton_of_Saint-Denis-1 ) ( resource:canton_of_Saint-Denis-3 ) ( resource:canton_of_Saint-Denis-2 ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47045
P1383
Q56061
USER
Which administrative territory is in Saint-Denis ?
(Q47045,P1383,c(Q56061))
action filter_type
action find
entity Q47045
relation P1383
type Q56061
['Q47045', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q47045 property:P1383 ?d . ?d rdf:type ontology:Q56061 }
Saint-Denis
action filter_type
action find
entity Saint-Denis
relation contains settlement
type administrative territorial entity
['Saint-Denis', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Saint-Denis property:contains_settlement ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3224799
SYSTEM
Le Moufia
Q3224799
(Q47045,P1383,c(Q56061))
action filter_type
action find
entity Q47045
relation P1383
type Q56061
[ANSWER] is in Saint-Denis
['Q47045', 'P1383', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q47045 property:P1383 ?d . ?d rdf:type ontology:Q56061 }
Le Moufia
Le Moufia is in Saint-Denis
Le Moufia
action filter_type
action find
entity Saint-Denis
relation contains settlement
type administrative territorial entity
['Saint-Denis', 'contains settlement', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Saint-Denis property:contains_settlement ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3224799 Q142 Q149478
P17
Q15617994
USER
Is that administrative territory present in France and South Hampstead ?
(Q3224799,P17,Q142) (Q3224799,P17,Q149478)
action is_in
entity Q3224799
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q149478
relation P17
['Q3224799', 'P17', 'Q142'] ['Q3224799', 'P17', 'Q149478']
ASK WHERE { resource:Q3224799 property:P17 resource:Q142 . resource:Q3224799 property:P17 resource:Q149478 }
Le Moufia France South Hampstead
action is_in
entity Le Moufia
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity South Hampstead
relation country
['Le Moufia', 'country', 'France'] ['Le Moufia', 'country', 'South Hampstead']
ASK WHERE { resource:Le_Moufia property:country resource:France . resource:Le_Moufia property:country resource:South_Hampstead }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3224799,P17,Q142) (Q3224799,P17,Q149478)
action is_in
entity Q3224799
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q149478
relation P17
[ANSWER]
['Q3224799', 'P17', 'Q142'] ['Q3224799', 'P17', 'Q149478']
ASK WHERE { resource:Q3224799 property:P17 resource:Q142 . resource:Q3224799 property:P17 resource:Q149478 }
YES and NO respectively
action is_in
entity Le Moufia
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity South Hampstead
relation country
['Le Moufia', 'country', 'France'] ['Le Moufia', 'country', 'South Hampstead']
ASK WHERE { resource:Le_Moufia property:country resource:France . resource:Le_Moufia property:country resource:South_Hampstead }
[]